hippofish/packages/backend/src/models/schema/queue.ts
ThatOneCalculator 6b00abf05c
refactor: 🎨 rome
2023-01-12 20:40:33 -08:00

30 lines
473 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;