chore: update openapi (#8470)

This commit is contained in:
Alex
2024-04-02 14:21:58 -05:00
committed by GitHub
parent 6dfa9e1146
commit 8337da183c
15 changed files with 173 additions and 12 deletions
+13 -2
View File
@@ -8769,7 +8769,7 @@
"type": "array"
},
"data": {
"type": "object"
"$ref": "#/components/schemas/OnThisDayDto"
},
"isSaved": {
"type": "boolean"
@@ -8829,7 +8829,7 @@
"type": "string"
},
"data": {
"type": "object"
"$ref": "#/components/schemas/OnThisDayDto"
},
"deletedAt": {
"format": "date-time",
@@ -9110,6 +9110,17 @@
],
"type": "object"
},
"OnThisDayDto": {
"properties": {
"year": {
"type": "number"
}
},
"required": [
"year"
],
"type": "object"
},
"PartnerResponseDto": {
"properties": {
"avatarColor": {
+5 -2
View File
@@ -494,10 +494,13 @@ export type ValidateLibraryImportPathResponseDto = {
export type ValidateLibraryResponseDto = {
importPaths?: ValidateLibraryImportPathResponseDto[];
};
export type OnThisDayDto = {
year: number;
};
export type MemoryResponseDto = {
assets: AssetResponseDto[];
createdAt: string;
data: object;
data: OnThisDayDto;
deletedAt?: string;
id: string;
isSaved: boolean;
@@ -509,7 +512,7 @@ export type MemoryResponseDto = {
};
export type MemoryCreateDto = {
assetIds?: string[];
data: object;
data: OnThisDayDto;
isSaved?: boolean;
memoryAt: string;
seenAt?: string;