mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-09-21 10:42:00 +03:00
26 lines
458 B
TypeScript
26 lines
458 B
TypeScript
|
export const packedQueueCountSchema = {
|
||
|
type: 'object',
|
||
|
properties: {
|
||
|
waiting: {
|
||
|
type: 'number',
|
||
|
optional: false, nullable: false,
|
||
|
},
|
||
|
active: {
|
||
|
type: 'number',
|
||
|
optional: false, nullable: false,
|
||
|
},
|
||
|
completed: {
|
||
|
type: 'number',
|
||
|
optional: false, nullable: false,
|
||
|
},
|
||
|
failed: {
|
||
|
type: 'number',
|
||
|
optional: false, nullable: false,
|
||
|
},
|
||
|
delayed: {
|
||
|
type: 'number',
|
||
|
optional: false, nullable: false,
|
||
|
},
|
||
|
},
|
||
|
} as const;
|