Use nulls, make-sql

This commit is contained in:
Min Idzelis
2025-05-03 02:06:34 +00:00
parent 0ed2a2fd2e
commit aea2c9506d
19 changed files with 186 additions and 205 deletions

View File

@@ -13576,7 +13576,7 @@
"type": "string"
},
{
"type": "number"
"type": "null"
}
]
},
@@ -13632,7 +13632,7 @@
"type": "string"
},
{
"type": "number"
"type": "null"
}
]
},
@@ -13661,7 +13661,7 @@
"type": "string"
},
{
"type": "number"
"type": "null"
}
]
},
@@ -13677,7 +13677,14 @@
"stack": {
"default": [],
"items": {
"$ref": "#/components/schemas/TimelineStackResponseDto"
"oneOf": [
{
"type": "TimelineStackResponseDto"
},
{
"type": "null"
}
]
},
"type": "array"
},
@@ -13689,7 +13696,7 @@
"type": "string"
},
{
"type": "number"
"type": "null"
}
]
},
@@ -13762,25 +13769,6 @@
],
"type": "object"
},
"TimelineStackResponseDto": {
"properties": {
"assetCount": {
"type": "number"
},
"id": {
"type": "string"
},
"primaryAssetId": {
"type": "string"
}
},
"required": [
"assetCount",
"id",
"primaryAssetId"
],
"type": "object"
},
"ToneMapping": {
"enum": [
"hable",

View File

@@ -1388,27 +1388,22 @@ export type TimelineAssetDescriptionDto = {
city: string | null;
country: string | null;
};
export type TimelineStackResponseDto = {
assetCount: number;
id: string;
primaryAssetId: string;
};
export type TimeBucketAssetResponseDto = {
description: TimelineAssetDescriptionDto[];
duration: (string | number)[];
duration: (string | null)[];
id: string[];
isArchived: number[];
isFavorite: number[];
isImage: number[];
isTrashed: number[];
isVideo: number[];
livePhotoVideoId: (string | number)[];
livePhotoVideoId: (string | null)[];
localDateTime: string[];
ownerId: string[];
projectionType: (string | number)[];
projectionType: (string | null)[];
ratio: number[];
stack: TimelineStackResponseDto[];
thumbhash: (string | number)[];
stack: (any | null)[];
thumbhash: (string | null)[];
};
export type TimeBucketResponseDto = {
bucketAssets: TimeBucketAssetResponseDto;