@comfyorg/comfyui-frontend-types 1.8.4 → 1.8.5
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 +7 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -369,6 +369,12 @@ export declare class ComfyApi extends EventTarget {
|
|
|
369
369
|
getRawLogs(): Promise<LogsRawResponse>;
|
|
370
370
|
subscribeLogs(enabled: boolean): Promise<void>;
|
|
371
371
|
getFolderPaths(): Promise<Record<string, string[]>>;
|
|
372
|
+
/**
|
|
373
|
+
* Gets the custom nodes i18n data from the server.
|
|
374
|
+
*
|
|
375
|
+
* @returns The custom nodes i18n data
|
|
376
|
+
*/
|
|
377
|
+
getCustomNodesI18n(): Promise<Record<string, any>>;
|
|
372
378
|
}
|
|
373
379
|
|
|
374
380
|
/**
|
|
@@ -1022,7 +1028,7 @@ export declare class ComfyApp {
|
|
|
1022
1028
|
|
|
1023
1029
|
declare type SettingCustomRenderer = (name: string, setter: (v: any) => void, value: any, attrs: any) => HTMLElement;
|
|
1024
1030
|
|
|
1025
|
-
declare type SettingInputType = 'boolean' | 'number' | 'slider' | 'combo' | 'text' | 'image' | 'color' | 'hidden';
|
|
1031
|
+
declare type SettingInputType = 'boolean' | 'number' | 'slider' | 'combo' | 'text' | 'image' | 'color' | 'url' | 'hidden';
|
|
1026
1032
|
|
|
1027
1033
|
declare interface SettingOption {
|
|
1028
1034
|
text: string;
|