merge: Add missing paused state (!992)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/992

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
This commit is contained in:
Hazelnoot 2025-05-08 14:05:52 +00:00
commit 1a19301c90
2 changed files with 4 additions and 2 deletions

View file

@ -20,7 +20,7 @@ export const paramDef = {
type: 'object', type: 'object',
properties: { properties: {
queue: { type: 'string', enum: QUEUE_TYPES }, queue: { type: 'string', enum: QUEUE_TYPES },
state: { type: 'array', items: { type: 'string', enum: ['active', 'wait', 'delayed', 'completed', 'failed'] } }, state: { type: 'array', items: { type: 'string', enum: ['active', 'paused', 'wait', 'delayed', 'completed', 'failed'] } },
search: { type: 'string' }, search: { type: 'string' },
}, },
required: ['queue', 'state'], required: ['queue', 'state'],

View file

@ -9578,7 +9578,7 @@ export type operations = {
'application/json': { 'application/json': {
/** @enum {string} */ /** @enum {string} */
queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver'; queue: 'system' | 'endedPollNotification' | 'deliver' | 'inbox' | 'db' | 'relationship' | 'objectStorage' | 'userWebhookDeliver' | 'systemWebhookDeliver';
state: ('active' | 'wait' | 'delayed' | 'completed' | 'failed')[]; state: ('active' | 'paused' | 'wait' | 'delayed' | 'completed' | 'failed')[];
search?: string; search?: string;
}; };
}; };
@ -17529,6 +17529,8 @@ export type operations = {
sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null; sort?: '+createdAt' | '-createdAt' | '+name' | '-name' | '+size' | '-size' | null;
/** @default */ /** @default */
searchQuery?: string; searchQuery?: string;
/** @default false */
showAll?: boolean;
}; };
}; };
}; };