mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
refactor!: migrate class-validator to zod (#26597)
This commit is contained in:
+5
-2
@@ -13,11 +13,14 @@ part of openapi.api;
|
||||
class MemoriesResponse {
|
||||
/// Returns a new [MemoriesResponse] instance.
|
||||
MemoriesResponse({
|
||||
this.duration = 5,
|
||||
this.enabled = true,
|
||||
required this.duration,
|
||||
required this.enabled,
|
||||
});
|
||||
|
||||
/// Memory duration in seconds
|
||||
///
|
||||
/// Minimum value: -9007199254740991
|
||||
/// Maximum value: 9007199254740991
|
||||
int duration;
|
||||
|
||||
/// Whether memories are enabled
|
||||
|
||||
Reference in New Issue
Block a user