1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-10 23:22:22 +02:00

feat(server): resume queues (#2104)

* feat(server): resume queues

* chore: regenerate open-api
This commit is contained in:
Jason Rasmussen
2023-03-28 14:25:22 -04:00
committed by GitHub
parent 8563bd463c
commit 9adbbd42be
9 changed files with 21 additions and 0 deletions

View File

@@ -25,12 +25,14 @@ class JobCommand {
static const start = JobCommand._(r'start');
static const pause = JobCommand._(r'pause');
static const resume = JobCommand._(r'resume');
static const empty = JobCommand._(r'empty');
/// List of all possible values in this [enum][JobCommand].
static const values = <JobCommand>[
start,
pause,
resume,
empty,
];
@@ -72,6 +74,7 @@ class JobCommandTypeTransformer {
switch (data.toString()) {
case r'start': return JobCommand.start;
case r'pause': return JobCommand.pause;
case r'resume': return JobCommand.resume;
case r'empty': return JobCommand.empty;
default:
if (!allowNull) {