mirror of
https://github.com/immich-app/immich.git
synced 2026-07-15 01:21:29 +00:00
fix: update datetimeRelative description to minutes instead of seconds (#29137)
This commit is contained in:
parent
ce59cc9241
commit
d307ab60ca
4 changed files with 4 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ class AssetBulkUpdateDto {
|
||||||
///
|
///
|
||||||
Optional<String?> dateTimeOriginal;
|
Optional<String?> dateTimeOriginal;
|
||||||
|
|
||||||
/// Relative time offset in seconds
|
/// Relative time offset in minutes
|
||||||
///
|
///
|
||||||
/// Minimum value: -9007199254740991
|
/// Minimum value: -9007199254740991
|
||||||
/// Maximum value: 9007199254740991
|
/// Maximum value: 9007199254740991
|
||||||
|
|
|
||||||
|
|
@ -16868,7 +16868,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"dateTimeRelative": {
|
"dateTimeRelative": {
|
||||||
"description": "Relative time offset in seconds",
|
"description": "Relative time offset in minutes",
|
||||||
"maximum": 9007199254740991,
|
"maximum": 9007199254740991,
|
||||||
"minimum": -9007199254740991,
|
"minimum": -9007199254740991,
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
|
|
||||||
|
|
@ -673,7 +673,7 @@ export type AssetMediaResponseDto = {
|
||||||
export type AssetBulkUpdateDto = {
|
export type AssetBulkUpdateDto = {
|
||||||
/** Original date and time */
|
/** Original date and time */
|
||||||
dateTimeOriginal?: string;
|
dateTimeOriginal?: string;
|
||||||
/** Relative time offset in seconds */
|
/** Relative time offset in minutes */
|
||||||
dateTimeRelative?: number;
|
dateTimeRelative?: number;
|
||||||
/** Asset description */
|
/** Asset description */
|
||||||
description?: string;
|
description?: string;
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ const UpdateAssetBaseSchema = z
|
||||||
const AssetBulkUpdateBaseSchema = UpdateAssetBaseSchema.extend({
|
const AssetBulkUpdateBaseSchema = UpdateAssetBaseSchema.extend({
|
||||||
ids: z.array(z.uuidv4()).describe('Asset IDs to update'),
|
ids: z.array(z.uuidv4()).describe('Asset IDs to update'),
|
||||||
duplicateId: z.string().nullish().describe('Duplicate ID'),
|
duplicateId: z.string().nullish().describe('Duplicate ID'),
|
||||||
dateTimeRelative: z.int().optional().describe('Relative time offset in seconds'),
|
dateTimeRelative: z.int().optional().describe('Relative time offset in minutes'),
|
||||||
timeZone: z.string().optional().describe('Time zone (IANA timezone)'),
|
timeZone: z.string().optional().describe('Time zone (IANA timezone)'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue