File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed
invokeai/frontend/web/src/services/api Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -1098,6 +1098,26 @@ export type paths = {
1098
1098
patch?: never;
1099
1099
trace?: never;
1100
1100
};
1101
+ "/api/v1/queue/{queue_id}/cancel_all_except_current": {
1102
+ parameters: {
1103
+ query?: never;
1104
+ header?: never;
1105
+ path?: never;
1106
+ cookie?: never;
1107
+ };
1108
+ get?: never;
1109
+ /**
1110
+ * Cancel All Except Current
1111
+ * @description Immediately cancels all queue items except in-processing items
1112
+ */
1113
+ put: operations["cancel_all_except_current"];
1114
+ post?: never;
1115
+ delete?: never;
1116
+ options?: never;
1117
+ head?: never;
1118
+ patch?: never;
1119
+ trace?: never;
1120
+ };
1101
1121
"/api/v1/queue/{queue_id}/cancel_by_batch_ids": {
1102
1122
parameters: {
1103
1123
query?: never;
@@ -3322,6 +3342,17 @@ export type components = {
3322
3342
*/
3323
3343
type: "calculate_image_tiles_output";
3324
3344
};
3345
+ /**
3346
+ * CancelAllExceptCurrentResult
3347
+ * @description Result of canceling all except current
3348
+ */
3349
+ CancelAllExceptCurrentResult: {
3350
+ /**
3351
+ * Canceled
3352
+ * @description Number of queue items canceled
3353
+ */
3354
+ canceled: number;
3355
+ };
3325
3356
/**
3326
3357
* CancelByBatchIDsResult
3327
3358
* @description Result of canceling by list of batch ids
@@ -21928,6 +21959,38 @@ export interface operations {
21928
21959
};
21929
21960
};
21930
21961
};
21962
+ cancel_all_except_current: {
21963
+ parameters: {
21964
+ query?: never;
21965
+ header?: never;
21966
+ path: {
21967
+ /** @description The queue id to perform this operation on */
21968
+ queue_id: string;
21969
+ };
21970
+ cookie?: never;
21971
+ };
21972
+ requestBody?: never;
21973
+ responses: {
21974
+ /** @description Successful Response */
21975
+ 200: {
21976
+ headers: {
21977
+ [name: string]: unknown;
21978
+ };
21979
+ content: {
21980
+ "application/json": components["schemas"]["CancelAllExceptCurrentResult"];
21981
+ };
21982
+ };
21983
+ /** @description Validation Error */
21984
+ 422: {
21985
+ headers: {
21986
+ [name: string]: unknown;
21987
+ };
21988
+ content: {
21989
+ "application/json": components["schemas"]["HTTPValidationError"];
21990
+ };
21991
+ };
21992
+ };
21993
+ };
21931
21994
cancel_by_batch_ids: {
21932
21995
parameters: {
21933
21996
query?: never;
You can’t perform that action at this time.
0 commit comments