@comfyorg/comfyui-frontend-types 1.7.9 → 1.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +24 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ declare interface BackendApiCalls {
|
|
|
44
44
|
execution_start: ExecutionStartWsMessage;
|
|
45
45
|
execution_success: ExecutionSuccessWsMessage;
|
|
46
46
|
execution_error: ExecutionErrorWsMessage;
|
|
47
|
+
execution_interrupted: ExecutionInterruptedWsMessage;
|
|
47
48
|
execution_cached: ExecutionCachedWsMessage;
|
|
48
49
|
logs: LogsWsMessage;
|
|
49
50
|
/** Mr Blob Preview, I presume? */
|
|
@@ -904,6 +905,8 @@ export declare class ComfyApp {
|
|
|
904
905
|
|
|
905
906
|
declare type ExecutionErrorWsMessage = z.infer<typeof zExecutionErrorWsMessage>;
|
|
906
907
|
|
|
908
|
+
declare type ExecutionInterruptedWsMessage = z.infer<typeof zExecutionInterruptedWsMessage>;
|
|
909
|
+
|
|
907
910
|
declare type ExecutionStartWsMessage = z.infer<typeof zExecutionStartWsMessage>;
|
|
908
911
|
|
|
909
912
|
declare type ExecutionSuccessWsMessage = z.infer<typeof zExecutionSuccessWsMessage>;
|
|
@@ -7243,6 +7246,27 @@ export declare class ComfyApp {
|
|
|
7243
7246
|
current_outputs?: any;
|
|
7244
7247
|
}>;
|
|
7245
7248
|
|
|
7249
|
+
declare const zExecutionInterruptedWsMessage: z.ZodObject<z.objectUtil.extendShape<{
|
|
7250
|
+
prompt_id: z.ZodString;
|
|
7251
|
+
timestamp: z.ZodNumber;
|
|
7252
|
+
}, {
|
|
7253
|
+
node_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
7254
|
+
node_type: z.ZodString;
|
|
7255
|
+
executed: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
7256
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7257
|
+
prompt_id?: string;
|
|
7258
|
+
timestamp?: number;
|
|
7259
|
+
node_id?: string | number;
|
|
7260
|
+
node_type?: string;
|
|
7261
|
+
executed?: (string | number)[];
|
|
7262
|
+
}, {
|
|
7263
|
+
prompt_id?: string;
|
|
7264
|
+
timestamp?: number;
|
|
7265
|
+
node_id?: string | number;
|
|
7266
|
+
node_type?: string;
|
|
7267
|
+
executed?: (string | number)[];
|
|
7268
|
+
}>;
|
|
7269
|
+
|
|
7246
7270
|
declare const zExecutionStartWsMessage: z.ZodObject<{
|
|
7247
7271
|
prompt_id: z.ZodString;
|
|
7248
7272
|
timestamp: z.ZodNumber;
|