@comfyorg/comfyui-frontend-types 1.47.6 → 1.47.8
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 +243 -31
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1785,6 +1785,7 @@ export declare class ComfyApp {
|
|
|
1785
1785
|
* This is an experimental API and may be changed or removed in the future.
|
|
1786
1786
|
*/
|
|
1787
1787
|
onAuthUserLogout?(): Promise<void> | void;
|
|
1788
|
+
onNodeOutputsUpdated?(nodeOutputs: Record<NodeLocatorId, NodeExecutionOutput>): void;
|
|
1788
1789
|
[key: string]: unknown;
|
|
1789
1790
|
}
|
|
1790
1791
|
|
|
@@ -2340,7 +2341,6 @@ export declare class ComfyApp {
|
|
|
2340
2341
|
'Comfy.Canvas.MouseWheelScroll'?: string | undefined;
|
|
2341
2342
|
'Comfy.VueNodes.Enabled'?: boolean | undefined;
|
|
2342
2343
|
'Comfy.AppBuilder.VueNodeSwitchDismissed'?: boolean | undefined;
|
|
2343
|
-
'Comfy.VueNodes.AutoScaleLayout'?: boolean | undefined;
|
|
2344
2344
|
'Comfy.Assets.UseAssetAPI'?: boolean | undefined;
|
|
2345
2345
|
'Comfy.Queue.QPOV2'?: boolean | undefined;
|
|
2346
2346
|
'Comfy.Queue.ShowRunProgressBar'?: boolean | undefined;
|
|
@@ -2728,6 +2728,14 @@ export declare class ComfyApp {
|
|
|
2728
2728
|
pt?: DialogPassThroughOptions;
|
|
2729
2729
|
closeOnEscape?: boolean;
|
|
2730
2730
|
dismissableMask?: boolean;
|
|
2731
|
+
/**
|
|
2732
|
+
* When `false`, the Reka dialog does not dismiss when focus leaves its
|
|
2733
|
+
* content. Set on container dialogs (e.g. Settings) that host nested dialogs,
|
|
2734
|
+
* where a nested dialog closing can move focus onto an ordinary app element
|
|
2735
|
+
* — a programmatic shift that must not be read as a dismiss. Escape and
|
|
2736
|
+
* outside-pointer dismissal are unaffected. Defaults to `true`.
|
|
2737
|
+
*/
|
|
2738
|
+
dismissOnFocusOutside?: boolean;
|
|
2731
2739
|
unstyled?: boolean;
|
|
2732
2740
|
headless?: boolean;
|
|
2733
2741
|
renderer?: DialogRenderer;
|
|
@@ -4041,13 +4049,15 @@ export declare class ComfyApp {
|
|
|
4041
4049
|
value: string;
|
|
4042
4050
|
}
|
|
4043
4051
|
|
|
4044
|
-
declare type ISerialisableNodeInput = Omit<INodeInputSlot, 'boundingRect' | 'widget'> & {
|
|
4052
|
+
declare type ISerialisableNodeInput = Omit<INodeInputSlot, 'boundingRect' | 'widget' | 'link' | '_floatingLinks'> & {
|
|
4053
|
+
link?: number | null;
|
|
4045
4054
|
widget?: {
|
|
4046
4055
|
name: string;
|
|
4047
4056
|
};
|
|
4048
4057
|
};
|
|
4049
4058
|
|
|
4050
|
-
declare type ISerialisableNodeOutput = Omit<INodeOutputSlot, 'boundingRect' | '_data'> & {
|
|
4059
|
+
declare type ISerialisableNodeOutput = Omit<INodeOutputSlot, 'boundingRect' | '_data' | 'links' | '_floatingLinks'> & {
|
|
4060
|
+
links?: number[] | null;
|
|
4051
4061
|
widget?: {
|
|
4052
4062
|
name: string;
|
|
4053
4063
|
};
|
|
@@ -4059,7 +4069,7 @@ export declare class ComfyApp {
|
|
|
4059
4069
|
*/
|
|
4060
4070
|
declare interface ISerialisedGraph extends BaseExportedGraph {
|
|
4061
4071
|
last_node_id: SerializedNodeId;
|
|
4062
|
-
last_link_id:
|
|
4072
|
+
last_link_id: number;
|
|
4063
4073
|
nodes: ISerialisedNode[];
|
|
4064
4074
|
links: SerialisedLLinkArray[];
|
|
4065
4075
|
floatingLinks?: SerialisableLLink[];
|
|
@@ -4261,6 +4271,14 @@ export declare class ComfyApp {
|
|
|
4261
4271
|
socketless?: boolean;
|
|
4262
4272
|
/** If `true`, the widget will not be rendered by the Vue renderer. */
|
|
4263
4273
|
canvasOnly?: boolean;
|
|
4274
|
+
/**
|
|
4275
|
+
* If `true`, the widget still renders on the node but is omitted from the
|
|
4276
|
+
* right side panel. Unlike {@link IWidgetOptions.canvasOnly}, the node body
|
|
4277
|
+
* keeps rendering it via the Vue renderer. Used for widgets that hold
|
|
4278
|
+
* non-syncable state (e.g. a Three.js viewport) where a second instance in
|
|
4279
|
+
* the panel would diverge from the one on the node.
|
|
4280
|
+
*/
|
|
4281
|
+
hideInPanel?: boolean;
|
|
4264
4282
|
/** Used as a temporary override for determining the asset type in vue mode*/
|
|
4265
4283
|
nodeType?: string;
|
|
4266
4284
|
/**
|
|
@@ -4446,8 +4464,8 @@ export declare class ComfyApp {
|
|
|
4446
4464
|
get last_node_id(): number;
|
|
4447
4465
|
set last_node_id(value: number);
|
|
4448
4466
|
/** @deprecated See {@link state}.{@link LGraphState.lastLinkId lastLinkId} */
|
|
4449
|
-
get last_link_id():
|
|
4450
|
-
set last_link_id(value:
|
|
4467
|
+
get last_link_id(): LinkId;
|
|
4468
|
+
set last_link_id(value: LinkId);
|
|
4451
4469
|
onNodeAdded?(node: LGraphNode): void;
|
|
4452
4470
|
onNodeRemoved?(node: LGraphNode): void;
|
|
4453
4471
|
onTrigger?: LGraphTriggerHandler;
|
|
@@ -4687,9 +4705,9 @@ export declare class ComfyApp {
|
|
|
4687
4705
|
* @param pos Position in graph space
|
|
4688
4706
|
* @param before The existing link segment (reroute, link) that will be after this reroute,
|
|
4689
4707
|
* going from the node output to input.
|
|
4690
|
-
* @returns The newly created reroute
|
|
4708
|
+
* @returns The newly created reroute, or undefined when the segment cannot be resolved.
|
|
4691
4709
|
*/
|
|
4692
|
-
createReroute(pos: Point, before: LinkSegment): Reroute;
|
|
4710
|
+
createReroute(pos: Point, before: LinkSegment): Reroute | undefined;
|
|
4693
4711
|
/**
|
|
4694
4712
|
* Removes a reroute from the graph
|
|
4695
4713
|
* @param id ID of reroute to remove
|
|
@@ -7106,7 +7124,9 @@ export declare class ComfyApp {
|
|
|
7106
7124
|
CENTER = 5
|
|
7107
7125
|
}
|
|
7108
7126
|
|
|
7109
|
-
declare type LinkId = number
|
|
7127
|
+
export declare type LinkId = number & {
|
|
7128
|
+
readonly __brand: 'LinkId';
|
|
7129
|
+
};
|
|
7110
7130
|
|
|
7111
7131
|
/** The marker in the middle of a link */
|
|
7112
7132
|
declare enum LinkMarkerShape {
|
|
@@ -7185,7 +7205,7 @@ export declare class ComfyApp {
|
|
|
7185
7205
|
*/
|
|
7186
7206
|
declare class LiteGraphGlobal {
|
|
7187
7207
|
SlotShape: typeof SlotShape;
|
|
7188
|
-
SlotDirection: typeof
|
|
7208
|
+
SlotDirection: typeof SlotDirection_2;
|
|
7189
7209
|
SlotType: typeof SlotType;
|
|
7190
7210
|
LabelPosition: typeof LabelPosition;
|
|
7191
7211
|
/** Used in serialised graphs at one point. */
|
|
@@ -8019,6 +8039,8 @@ export declare class ComfyApp {
|
|
|
8019
8039
|
readonly __brand: 'NodeExecutionId';
|
|
8020
8040
|
};
|
|
8021
8041
|
|
|
8042
|
+
declare type NodeExecutionOutput = z.infer<typeof zOutputs>;
|
|
8043
|
+
|
|
8022
8044
|
export declare type NodeId = string & {
|
|
8023
8045
|
readonly __brand: 'NodeId';
|
|
8024
8046
|
};
|
|
@@ -8227,6 +8249,8 @@ export declare class ComfyApp {
|
|
|
8227
8249
|
localNodeId: NodeId;
|
|
8228
8250
|
} | null;
|
|
8229
8251
|
|
|
8252
|
+
declare type PaymentIntentSource = 'subscription_required' | 'out_of_credits' | 'top_up_blocked' | 'deep_link' | 'subscribe_to_run' | 'subscribe_now_button' | 'upgrade_to_add_credits' | 'settings_billing_panel' | 'avatar_menu_plans' | 'team_members_panel' | 'invite_member_upsell' | 'upload_model_upgrade' | 'team_upgrade_resume';
|
|
8253
|
+
|
|
8230
8254
|
declare interface PendingWarnings {
|
|
8231
8255
|
missingNodeTypes?: MissingNodeType[];
|
|
8232
8256
|
missingModelCandidates?: MissingModelCandidate[];
|
|
@@ -8255,7 +8279,7 @@ export declare class ComfyApp {
|
|
|
8255
8279
|
* May contain other {@link Positionable} objects.
|
|
8256
8280
|
*/
|
|
8257
8281
|
declare interface Positionable extends Parent<Positionable>, HasBoundingRect {
|
|
8258
|
-
readonly id: NodeId | RerouteId |
|
|
8282
|
+
readonly id: NodeId | RerouteId | GroupId;
|
|
8259
8283
|
/**
|
|
8260
8284
|
* Position in graph coordinates. This may be the top-left corner,
|
|
8261
8285
|
* the centre, or another point depending on concrete type.
|
|
@@ -8600,7 +8624,6 @@ export declare class ComfyApp {
|
|
|
8600
8624
|
* and a `WeakRef` to a {@link LinkNetwork} to resolve them.
|
|
8601
8625
|
*/
|
|
8602
8626
|
declare class Reroute implements Positionable, LinkSegment, Serialisable<SerialisableReroute> {
|
|
8603
|
-
readonly id: RerouteId;
|
|
8604
8627
|
static radius: number;
|
|
8605
8628
|
/** Maximum distance from reroutes to their bezier curve control points. */
|
|
8606
8629
|
static maxSplineOffset: number;
|
|
@@ -8608,6 +8631,7 @@ export declare class ComfyApp {
|
|
|
8608
8631
|
static slotRadius: number;
|
|
8609
8632
|
/** Distance from reroute centre to slot centre. */
|
|
8610
8633
|
static get slotOffset(): number;
|
|
8634
|
+
readonly id: RerouteId;
|
|
8611
8635
|
/** The network this reroute belongs to. Contains all valid links and reroutes. */
|
|
8612
8636
|
private readonly network;
|
|
8613
8637
|
private parentIdInternal?;
|
|
@@ -8784,7 +8808,9 @@ export declare class ComfyApp {
|
|
|
8784
8808
|
asSerialisable(): SerialisableReroute;
|
|
8785
8809
|
}
|
|
8786
8810
|
|
|
8787
|
-
declare type RerouteId = number
|
|
8811
|
+
export declare type RerouteId = number & {
|
|
8812
|
+
readonly __brand: 'RerouteId';
|
|
8813
|
+
};
|
|
8788
8814
|
|
|
8789
8815
|
declare type ResolvedConnection = BaseResolvedConnection & ((ResolvedSubgraphInput & ResolvedNormalOutput) | (ResolvedNormalInput & ResolvedSubgraphOutput) | (ResolvedNormalInput & ResolvedNormalOutput));
|
|
8790
8816
|
|
|
@@ -8857,7 +8883,7 @@ export declare class ComfyApp {
|
|
|
8857
8883
|
declare interface SerialisableGraph extends BaseExportedGraph {
|
|
8858
8884
|
/** Schema version. @remarks Version bump should add to const union, which is used to narrow type during deserialise. */
|
|
8859
8885
|
version: 0 | 1;
|
|
8860
|
-
state:
|
|
8886
|
+
state: SerialisableGraphState;
|
|
8861
8887
|
groups?: ISerialisedGroup[];
|
|
8862
8888
|
nodes?: ISerialisedNode[];
|
|
8863
8889
|
links?: SerialisableLLink[];
|
|
@@ -8866,9 +8892,16 @@ export declare class ComfyApp {
|
|
|
8866
8892
|
extra?: LGraphExtra;
|
|
8867
8893
|
}
|
|
8868
8894
|
|
|
8895
|
+
declare interface SerialisableGraphState {
|
|
8896
|
+
lastGroupId: GroupId;
|
|
8897
|
+
lastNodeId: number;
|
|
8898
|
+
lastLinkId: number;
|
|
8899
|
+
lastRerouteId: number;
|
|
8900
|
+
}
|
|
8901
|
+
|
|
8869
8902
|
declare interface SerialisableLLink {
|
|
8870
8903
|
/** Link ID */
|
|
8871
|
-
id:
|
|
8904
|
+
id: number;
|
|
8872
8905
|
/** Output node ID */
|
|
8873
8906
|
origin_id: SerializedNodeId;
|
|
8874
8907
|
/** Output slot index */
|
|
@@ -8880,19 +8913,19 @@ export declare class ComfyApp {
|
|
|
8880
8913
|
/** Data type of the link */
|
|
8881
8914
|
type: ISlotType;
|
|
8882
8915
|
/** ID of the last reroute (from input to output) that this link passes through, otherwise `undefined` */
|
|
8883
|
-
parentId?:
|
|
8916
|
+
parentId?: number;
|
|
8884
8917
|
}
|
|
8885
8918
|
|
|
8886
8919
|
declare interface SerialisableReroute {
|
|
8887
|
-
id:
|
|
8888
|
-
parentId?:
|
|
8920
|
+
id: number;
|
|
8921
|
+
parentId?: number;
|
|
8889
8922
|
pos: Point;
|
|
8890
|
-
linkIds:
|
|
8923
|
+
linkIds: number[];
|
|
8891
8924
|
floating?: FloatingRerouteSlot;
|
|
8892
8925
|
}
|
|
8893
8926
|
|
|
8894
8927
|
declare type SerialisedLLinkArray = [
|
|
8895
|
-
id:
|
|
8928
|
+
id: number,
|
|
8896
8929
|
origin_id: SerializedNodeId,
|
|
8897
8930
|
origin_slot: number,
|
|
8898
8931
|
target_id: SerializedNodeId,
|
|
@@ -8916,6 +8949,7 @@ export declare class ComfyApp {
|
|
|
8916
8949
|
defaultValue: TValue | (() => TValue);
|
|
8917
8950
|
defaultsByInstallVersion?: Record<`${number}.${number}.${number}`, TValue>;
|
|
8918
8951
|
onChange?(newValue: TValue, oldValue?: TValue): void;
|
|
8952
|
+
telemetry?: SettingTelemetryOptions;
|
|
8919
8953
|
category?: string[];
|
|
8920
8954
|
experimental?: boolean;
|
|
8921
8955
|
deprecated?: boolean;
|
|
@@ -8928,6 +8962,14 @@ export declare class ComfyApp {
|
|
|
8928
8962
|
|
|
8929
8963
|
export declare type Settings = z.infer<typeof zSettings>;
|
|
8930
8964
|
|
|
8965
|
+
declare type SettingTelemetryOptions = {
|
|
8966
|
+
trackChanges: false;
|
|
8967
|
+
includeValues?: never;
|
|
8968
|
+
} | {
|
|
8969
|
+
trackChanges?: true;
|
|
8970
|
+
includeValues?: boolean;
|
|
8971
|
+
};
|
|
8972
|
+
|
|
8931
8973
|
declare type ShareableAssetsResponse = z.infer<typeof zShareableAssetsResponse>;
|
|
8932
8974
|
|
|
8933
8975
|
declare interface ShowDialogOptions<H extends Component = Component, B extends Component = Component, F extends Component = Component> {
|
|
@@ -8999,12 +9041,19 @@ export declare class ComfyApp {
|
|
|
8999
9041
|
renderingColor(colorContext: DefaultConnectionColors): CanvasColour;
|
|
9000
9042
|
}
|
|
9001
9043
|
|
|
9044
|
+
export declare type SlotDirection = 'input' | 'output';
|
|
9045
|
+
|
|
9002
9046
|
/** @see LinkDirection */
|
|
9003
|
-
declare enum
|
|
9047
|
+
declare enum SlotDirection_2 {
|
|
9004
9048
|
}
|
|
9005
9049
|
|
|
9006
|
-
|
|
9007
|
-
|
|
9050
|
+
export declare type SlotId = string & {
|
|
9051
|
+
readonly __brand: 'SlotId';
|
|
9052
|
+
};
|
|
9053
|
+
|
|
9054
|
+
export declare function slotId(nodeId: NodeId, direction: SlotDirection, index: SlotIndex): SlotId;
|
|
9055
|
+
|
|
9056
|
+
export declare type SlotIndex = number;
|
|
9008
9057
|
|
|
9009
9058
|
/** @see RenderShape */
|
|
9010
9059
|
declare enum SlotShape {
|
|
@@ -9228,7 +9277,7 @@ export declare class ComfyApp {
|
|
|
9228
9277
|
/** The data type this slot uses. Unlike nodes, this does not support legacy numeric types. */
|
|
9229
9278
|
type: string;
|
|
9230
9279
|
/** Links connected to this slot, or `undefined` if not connected. An output slot should only ever have one link. */
|
|
9231
|
-
linkIds?:
|
|
9280
|
+
linkIds?: number[];
|
|
9232
9281
|
}
|
|
9233
9282
|
|
|
9234
9283
|
declare abstract class SubgraphIONodeBase<TSlot extends SubgraphInput | SubgraphOutput> implements Positionable, Hoverable, Serialisable<ExportedSubgraphIONode> {
|
|
@@ -9493,7 +9542,15 @@ export declare class ComfyApp {
|
|
|
9493
9542
|
editorAlpha?: number;
|
|
9494
9543
|
}
|
|
9495
9544
|
|
|
9496
|
-
declare
|
|
9545
|
+
declare interface SubscriptionDialogOptions {
|
|
9546
|
+
reason?: PaymentIntentSource;
|
|
9547
|
+
/**
|
|
9548
|
+
* Forces the unified pricing dialog to open on a specific plan tab,
|
|
9549
|
+
* overriding the workspace-derived default (e.g. an "Upgrade to Team" CTA
|
|
9550
|
+
* always lands on the team tab even from a personal workspace).
|
|
9551
|
+
*/
|
|
9552
|
+
planMode?: 'personal' | 'team';
|
|
9553
|
+
}
|
|
9497
9554
|
|
|
9498
9555
|
export declare type SystemStats = z.infer<typeof zSystemStats>;
|
|
9499
9556
|
|
|
@@ -9694,6 +9751,8 @@ export declare class ComfyApp {
|
|
|
9694
9751
|
connectToRerouteOutput(): void;
|
|
9695
9752
|
}
|
|
9696
9753
|
|
|
9754
|
+
export declare function toLinkId(value: number): LinkId;
|
|
9755
|
+
|
|
9697
9756
|
export declare function toNodeId(value: ToNodeIdInput): NodeId;
|
|
9698
9757
|
|
|
9699
9758
|
declare type ToNodeIdInput = number | (string & {
|
|
@@ -9772,6 +9831,8 @@ export declare class ComfyApp {
|
|
|
9772
9831
|
tooltip?: string;
|
|
9773
9832
|
}
|
|
9774
9833
|
|
|
9834
|
+
export declare function toRerouteId(value: number): RerouteId;
|
|
9835
|
+
|
|
9775
9836
|
/**
|
|
9776
9837
|
* Widget for hierarchical tree selection.
|
|
9777
9838
|
* This widget only has a Vue implementation.
|
|
@@ -9796,9 +9857,7 @@ export declare class ComfyApp {
|
|
|
9796
9857
|
showApiNodesSignInDialog: (apiNodeNames: string[]) => Promise<boolean>;
|
|
9797
9858
|
showSignInDialog: () => Promise<boolean>;
|
|
9798
9859
|
showPublishDialog: () => Promise<void>;
|
|
9799
|
-
showSubscriptionRequiredDialog: (options?:
|
|
9800
|
-
reason?: SubscriptionDialogReason;
|
|
9801
|
-
}) => Promise<void>;
|
|
9860
|
+
showSubscriptionRequiredDialog: (options?: SubscriptionDialogOptions) => Promise<void>;
|
|
9802
9861
|
showTopUpCreditsDialog: (options?: {
|
|
9803
9862
|
isInsufficientCredits?: boolean;
|
|
9804
9863
|
}) => Promise<DialogInstance | undefined>;
|
|
@@ -9844,6 +9903,7 @@ export declare class ComfyApp {
|
|
|
9844
9903
|
position?: "left" | "top" | "right" | "bottom" | "center" | "topleft" | "topright" | "bottomleft" | "bottomright";
|
|
9845
9904
|
closeOnEscape: boolean;
|
|
9846
9905
|
dismissableMask: boolean;
|
|
9906
|
+
dismissOnFocusOutside?: boolean;
|
|
9847
9907
|
unstyled?: boolean;
|
|
9848
9908
|
headless?: boolean;
|
|
9849
9909
|
renderer: "primevue" | "reka";
|
|
@@ -48359,6 +48419,161 @@ export declare class ComfyApp {
|
|
|
48359
48419
|
id?: string | undefined;
|
|
48360
48420
|
}>;
|
|
48361
48421
|
|
|
48422
|
+
declare const zOutputs: z.ZodObject<{
|
|
48423
|
+
audio: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48424
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48425
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48426
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48427
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48428
|
+
}, "strip", z.ZodTypeAny, {
|
|
48429
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48430
|
+
filename?: string | undefined;
|
|
48431
|
+
display_name?: string | undefined;
|
|
48432
|
+
subfolder?: string | undefined;
|
|
48433
|
+
}, {
|
|
48434
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48435
|
+
filename?: string | undefined;
|
|
48436
|
+
display_name?: string | undefined;
|
|
48437
|
+
subfolder?: string | undefined;
|
|
48438
|
+
}>, "many">>;
|
|
48439
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48440
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48441
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48442
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48443
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48444
|
+
}, "strip", z.ZodTypeAny, {
|
|
48445
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48446
|
+
filename?: string | undefined;
|
|
48447
|
+
display_name?: string | undefined;
|
|
48448
|
+
subfolder?: string | undefined;
|
|
48449
|
+
}, {
|
|
48450
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48451
|
+
filename?: string | undefined;
|
|
48452
|
+
display_name?: string | undefined;
|
|
48453
|
+
subfolder?: string | undefined;
|
|
48454
|
+
}>, "many">>;
|
|
48455
|
+
video: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48456
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48457
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48458
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48459
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48460
|
+
}, "strip", z.ZodTypeAny, {
|
|
48461
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48462
|
+
filename?: string | undefined;
|
|
48463
|
+
display_name?: string | undefined;
|
|
48464
|
+
subfolder?: string | undefined;
|
|
48465
|
+
}, {
|
|
48466
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48467
|
+
filename?: string | undefined;
|
|
48468
|
+
display_name?: string | undefined;
|
|
48469
|
+
subfolder?: string | undefined;
|
|
48470
|
+
}>, "many">>;
|
|
48471
|
+
animated: z.ZodOptional<z.ZodArray<z.ZodBoolean, "many">>;
|
|
48472
|
+
text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
48473
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
48474
|
+
audio: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48475
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48476
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48477
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48478
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48479
|
+
}, "strip", z.ZodTypeAny, {
|
|
48480
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48481
|
+
filename?: string | undefined;
|
|
48482
|
+
display_name?: string | undefined;
|
|
48483
|
+
subfolder?: string | undefined;
|
|
48484
|
+
}, {
|
|
48485
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48486
|
+
filename?: string | undefined;
|
|
48487
|
+
display_name?: string | undefined;
|
|
48488
|
+
subfolder?: string | undefined;
|
|
48489
|
+
}>, "many">>;
|
|
48490
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48491
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48492
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48493
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48494
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48495
|
+
}, "strip", z.ZodTypeAny, {
|
|
48496
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48497
|
+
filename?: string | undefined;
|
|
48498
|
+
display_name?: string | undefined;
|
|
48499
|
+
subfolder?: string | undefined;
|
|
48500
|
+
}, {
|
|
48501
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48502
|
+
filename?: string | undefined;
|
|
48503
|
+
display_name?: string | undefined;
|
|
48504
|
+
subfolder?: string | undefined;
|
|
48505
|
+
}>, "many">>;
|
|
48506
|
+
video: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48507
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48508
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48509
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48510
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48511
|
+
}, "strip", z.ZodTypeAny, {
|
|
48512
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48513
|
+
filename?: string | undefined;
|
|
48514
|
+
display_name?: string | undefined;
|
|
48515
|
+
subfolder?: string | undefined;
|
|
48516
|
+
}, {
|
|
48517
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48518
|
+
filename?: string | undefined;
|
|
48519
|
+
display_name?: string | undefined;
|
|
48520
|
+
subfolder?: string | undefined;
|
|
48521
|
+
}>, "many">>;
|
|
48522
|
+
animated: z.ZodOptional<z.ZodArray<z.ZodBoolean, "many">>;
|
|
48523
|
+
text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
48524
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
48525
|
+
audio: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48526
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48527
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48528
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48529
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48530
|
+
}, "strip", z.ZodTypeAny, {
|
|
48531
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48532
|
+
filename?: string | undefined;
|
|
48533
|
+
display_name?: string | undefined;
|
|
48534
|
+
subfolder?: string | undefined;
|
|
48535
|
+
}, {
|
|
48536
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48537
|
+
filename?: string | undefined;
|
|
48538
|
+
display_name?: string | undefined;
|
|
48539
|
+
subfolder?: string | undefined;
|
|
48540
|
+
}>, "many">>;
|
|
48541
|
+
images: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48542
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48543
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48544
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48545
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48546
|
+
}, "strip", z.ZodTypeAny, {
|
|
48547
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48548
|
+
filename?: string | undefined;
|
|
48549
|
+
display_name?: string | undefined;
|
|
48550
|
+
subfolder?: string | undefined;
|
|
48551
|
+
}, {
|
|
48552
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48553
|
+
filename?: string | undefined;
|
|
48554
|
+
display_name?: string | undefined;
|
|
48555
|
+
subfolder?: string | undefined;
|
|
48556
|
+
}>, "many">>;
|
|
48557
|
+
video: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48558
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
48559
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
48560
|
+
type: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
48561
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
48562
|
+
}, "strip", z.ZodTypeAny, {
|
|
48563
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48564
|
+
filename?: string | undefined;
|
|
48565
|
+
display_name?: string | undefined;
|
|
48566
|
+
subfolder?: string | undefined;
|
|
48567
|
+
}, {
|
|
48568
|
+
type?: "input" | "output" | "temp" | undefined;
|
|
48569
|
+
filename?: string | undefined;
|
|
48570
|
+
display_name?: string | undefined;
|
|
48571
|
+
subfolder?: string | undefined;
|
|
48572
|
+
}>, "many">>;
|
|
48573
|
+
animated: z.ZodOptional<z.ZodArray<z.ZodBoolean, "many">>;
|
|
48574
|
+
text: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
48575
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
48576
|
+
|
|
48362
48577
|
declare const zPreviewMethod: z.ZodEnum<["default", "none", "auto", "latent2rgb", "taesd"]>;
|
|
48363
48578
|
|
|
48364
48579
|
declare const zProgressStateWsMessage: z.ZodObject<{
|
|
@@ -50099,7 +50314,6 @@ export declare class ComfyApp {
|
|
|
50099
50314
|
'Comfy.Canvas.MouseWheelScroll': z.ZodString;
|
|
50100
50315
|
'Comfy.VueNodes.Enabled': z.ZodBoolean;
|
|
50101
50316
|
'Comfy.AppBuilder.VueNodeSwitchDismissed': z.ZodBoolean;
|
|
50102
|
-
'Comfy.VueNodes.AutoScaleLayout': z.ZodBoolean;
|
|
50103
50317
|
'Comfy.Assets.UseAssetAPI': z.ZodBoolean;
|
|
50104
50318
|
'Comfy.Queue.QPOV2': z.ZodBoolean;
|
|
50105
50319
|
'Comfy.Queue.ShowRunProgressBar': z.ZodBoolean;
|
|
@@ -50644,7 +50858,6 @@ export declare class ComfyApp {
|
|
|
50644
50858
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
50645
50859
|
'Comfy.VueNodes.Enabled': boolean;
|
|
50646
50860
|
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
50647
|
-
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
50648
50861
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
50649
50862
|
'Comfy.Queue.QPOV2': boolean;
|
|
50650
50863
|
'Comfy.Queue.ShowRunProgressBar': boolean;
|
|
@@ -51186,7 +51399,6 @@ export declare class ComfyApp {
|
|
|
51186
51399
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
51187
51400
|
'Comfy.VueNodes.Enabled': boolean;
|
|
51188
51401
|
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
51189
|
-
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
51190
51402
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
51191
51403
|
'Comfy.Queue.QPOV2': boolean;
|
|
51192
51404
|
'Comfy.Queue.ShowRunProgressBar': boolean;
|