mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix(server): accept showAt and hideAt for creating memories (#26429)
* fix(server): accept showAt and hideAt for creating memories * fix history
This commit is contained in:
@@ -18651,6 +18651,22 @@
|
||||
"data": {
|
||||
"$ref": "#/components/schemas/OnThisDayDto"
|
||||
},
|
||||
"hideAt": {
|
||||
"description": "Date when memory should be hidden",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v2.6.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v2.6.0",
|
||||
"state": "Stable"
|
||||
}
|
||||
],
|
||||
"x-immich-state": "Stable"
|
||||
},
|
||||
"isSaved": {
|
||||
"description": "Is memory saved",
|
||||
"type": "boolean"
|
||||
@@ -18665,6 +18681,22 @@
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"showAt": {
|
||||
"description": "Date when memory should be shown",
|
||||
"format": "date-time",
|
||||
"type": "string",
|
||||
"x-immich-history": [
|
||||
{
|
||||
"version": "v2.6.0",
|
||||
"state": "Added"
|
||||
},
|
||||
{
|
||||
"version": "v2.6.0",
|
||||
"state": "Stable"
|
||||
}
|
||||
],
|
||||
"x-immich-state": "Stable"
|
||||
},
|
||||
"type": {
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
@@ -1404,12 +1404,16 @@ export type MemoryCreateDto = {
|
||||
/** Asset IDs to associate with memory */
|
||||
assetIds?: string[];
|
||||
data: OnThisDayDto;
|
||||
/** Date when memory should be hidden */
|
||||
hideAt?: string;
|
||||
/** Is memory saved */
|
||||
isSaved?: boolean;
|
||||
/** Memory date */
|
||||
memoryAt: string;
|
||||
/** Date when memory was seen */
|
||||
seenAt?: string;
|
||||
/** Date when memory should be shown */
|
||||
showAt?: string;
|
||||
/** Memory type */
|
||||
"type": MemoryType;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user