Adapt web client to consume new server response format
This commit is contained in:
@@ -13847,6 +13847,13 @@
|
||||
},
|
||||
"TimeBucketAssetResponseDto": {
|
||||
"properties": {
|
||||
"description": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/TimelineAssetDescriptionDto"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"duration": {
|
||||
"default": [],
|
||||
"items": {
|
||||
@@ -13976,6 +13983,7 @@
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"description",
|
||||
"duration",
|
||||
"id",
|
||||
"isArchived",
|
||||
@@ -14023,6 +14031,23 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"TimelineAssetDescriptionDto": {
|
||||
"properties": {
|
||||
"city": {
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
},
|
||||
"country": {
|
||||
"nullable": true,
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"city",
|
||||
"country"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"TimelineStackResponseDto": {
|
||||
"properties": {
|
||||
"assetCount": {
|
||||
|
||||
@@ -1407,12 +1407,17 @@ export type TagBulkAssetsResponseDto = {
|
||||
export type TagUpdateDto = {
|
||||
color?: string | null;
|
||||
};
|
||||
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)[];
|
||||
id: string[];
|
||||
isArchived: number[];
|
||||
|
||||
Reference in New Issue
Block a user