@comfyorg/comfyui-frontend-types 1.27.5 → 1.28.0

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.
Files changed (2) hide show
  1. package/index.d.ts +12 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -6003,10 +6003,7 @@ export declare class ComfyApp {
6003
6003
  };
6004
6004
  };
6005
6005
 
6006
- declare interface ModelFile {
6007
- name: string;
6008
- pathIndex: number;
6009
- }
6006
+ declare type ModelFile = z.infer<typeof zModelFile>;
6010
6007
 
6011
6008
  declare interface ModelFolderInfo {
6012
6009
  name: string;
@@ -11275,4 +11272,15 @@ export declare class ComfyApp {
11275
11272
  targetElementId?: string | undefined;
11276
11273
  }>;
11277
11274
 
11275
+ declare const zModelFile: z.ZodObject<{
11276
+ name: z.ZodString;
11277
+ pathIndex: z.ZodNumber;
11278
+ }, "strip", z.ZodTypeAny, {
11279
+ name: string;
11280
+ pathIndex: number;
11281
+ }, {
11282
+ name: string;
11283
+ pathIndex: number;
11284
+ }>;
11285
+
11278
11286
  export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.27.5",
3
+ "version": "1.28.0",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"