@comfyorg/comfyui-frontend-types 1.37.2 → 1.37.4

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 +25 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { AssetDownloadWsMessage } from '../schemas/apiSchema';
1
2
  import { ComfyApiWorkflow } from '../platform/workflow/validation/schemas/workflowSchema';
2
3
  import { ComfyWorkflowJSON } from '../platform/workflow/validation/schemas/workflowSchema';
3
4
  import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schemas/workflowSchema';
@@ -139,6 +140,7 @@ declare interface BackendApiCalls {
139
140
  progress_text: ProgressTextWsMessage;
140
141
  progress_state: ProgressStateWsMessage;
141
142
  feature_flags: FeatureFlagsWsMessage;
143
+ asset_download: AssetDownloadWsMessage;
142
144
  }
143
145
 
144
146
  declare enum BadgePosition {
@@ -7619,6 +7621,14 @@ export declare class ComfyApp {
7619
7621
 
7620
7622
  export { SystemStats }
7621
7623
 
7624
+ declare enum TemplateIncludeOnDistributionEnum {
7625
+ Cloud = "cloud",
7626
+ Local = "local",
7627
+ Desktop = "desktop",
7628
+ Mac = "mac",
7629
+ Windows = "windows"
7630
+ }
7631
+
7622
7632
  declare interface TemplateInfo {
7623
7633
  name: string;
7624
7634
  /**
@@ -7653,6 +7663,21 @@ export declare class ComfyApp {
7653
7663
  * Templates with this field will be hidden on local installations temporarily.
7654
7664
  */
7655
7665
  requiresCustomNodes?: string[];
7666
+ /**
7667
+ * Manual ranking boost/demotion for "Recommended" sort. Scale 1-10, default 5.
7668
+ * Higher values promote the template, lower values demote it.
7669
+ */
7670
+ searchRank?: number;
7671
+ /**
7672
+ * Usage score based on real world usage statistics.
7673
+ * Used for popular templates sort and for "Recommended" sort boost.
7674
+ */
7675
+ usage?: number;
7676
+ /**
7677
+ * Manage template's visibility across different distributions by specifying which distributions it should be included on.
7678
+ * If not specified, the template will be included on all distributions.
7679
+ */
7680
+ includeOnDistributions?: TemplateIncludeOnDistributionEnum[];
7656
7681
  }
7657
7682
 
7658
7683
  export { TerminalSize }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.37.2",
3
+ "version": "1.37.4",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"