Skip to content

Commit

Permalink
chore(ui): update typegen schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rikublock committed Dec 6, 2024
1 parent 0bf431f commit eae9092
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions invokeai/frontend/web/src/services/api/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,26 @@ export type paths = {
patch?: never;
trace?: never;
};
"/api/v1/queue/{queue_id}/cancel_all_except_current": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
get?: never;
/**
* Cancel All Except Current
* @description Immediately cancels all queue items except in-processing items
*/
put: operations["cancel_all_except_current"];
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/v1/queue/{queue_id}/cancel_by_batch_ids": {
parameters: {
query?: never;
Expand Down Expand Up @@ -3327,6 +3347,17 @@ export type components = {
*/
type: "calculate_image_tiles_output";
};
/**
* CancelAllExceptCurrentResult
* @description Result of canceling all except current
*/
CancelAllExceptCurrentResult: {
/**
* Canceled
* @description Number of queue items canceled
*/
canceled: number;
};
/**
* CancelByBatchIDsResult
* @description Result of canceling by list of batch ids
Expand Down Expand Up @@ -21174,6 +21205,38 @@ export interface operations {
};
};
};
cancel_all_except_current: {
parameters: {
query?: never;
header?: never;
path: {
/** @description The queue id to perform this operation on */
queue_id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["CancelAllExceptCurrentResult"];
};
};
/** @description Validation Error */
422: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["HTTPValidationError"];
};
};
};
};
cancel_by_batch_ids: {
parameters: {
query?: never;
Expand Down

0 comments on commit eae9092

Please sign in to comment.