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:
@@ -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'],
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user