1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 02:36:32 +02:00
Files
misskey/packages/backend/src/models/json-schema/queue.ts
2024-02-13 15:50:11 +00:00

31 lines
573 B
TypeScript

/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
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;