@comfyorg/comfyui-frontend-types 1.26.7 → 1.26.9
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 +6 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -896,6 +896,9 @@ export declare class ComfyApi extends EventTarget {
|
|
|
896
896
|
getRawLogs(): Promise<LogsRawResponse>;
|
|
897
897
|
subscribeLogs(enabled: boolean): Promise<void>;
|
|
898
898
|
getFolderPaths(): Promise<Record<string, string[]>>;
|
|
899
|
+
freeMemory(options: {
|
|
900
|
+
freeExecutionCache: boolean;
|
|
901
|
+
}): Promise<void>;
|
|
899
902
|
/**
|
|
900
903
|
* Gets the custom nodes i18n data from the server.
|
|
901
904
|
*
|
|
@@ -904,13 +907,13 @@ export declare class ComfyApi extends EventTarget {
|
|
|
904
907
|
getCustomNodesI18n(): Promise<Record<string, any>>;
|
|
905
908
|
/**
|
|
906
909
|
* Checks if the server supports a specific feature.
|
|
907
|
-
* @param featureName The name of the feature to check
|
|
910
|
+
* @param featureName The name of the feature to check (supports dot notation for nested values)
|
|
908
911
|
* @returns true if the feature is supported, false otherwise
|
|
909
912
|
*/
|
|
910
913
|
serverSupportsFeature(featureName: string): boolean;
|
|
911
914
|
/**
|
|
912
915
|
* Gets a server feature flag value.
|
|
913
|
-
* @param featureName The name of the feature to get
|
|
916
|
+
* @param featureName The name of the feature to get (supports dot notation for nested values)
|
|
914
917
|
* @param defaultValue The default value if the feature is not found
|
|
915
918
|
* @returns The feature value or default
|
|
916
919
|
*/
|
|
@@ -1912,7 +1915,7 @@ export declare class ComfyApp {
|
|
|
1912
1915
|
* If overriding, ensure that the set is passed on all recursive calls.
|
|
1913
1916
|
* @returns The node and the origin ID / slot index of the output.
|
|
1914
1917
|
*/
|
|
1915
|
-
resolveInput(slot: number, visited?: Set<string
|
|
1918
|
+
resolveInput(slot: number, visited?: Set<string>, type?: ISlotType): ResolvedInput | undefined;
|
|
1916
1919
|
/**
|
|
1917
1920
|
* Determines whether this output is a valid endpoint for a link (non-virtual, non-bypass).
|
|
1918
1921
|
* @param slot The slot index of the output.
|