mirror of
https://github.com/immich-app/immich.git
synced 2026-02-13 04:17:56 +03:00
Use nulls, make-sql
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user