Remove deprecated type def on ComfyNodeDef (#1720)

This commit is contained in:
Chenlei Hu
2024-11-27 13:16:50 -08:00
committed by GitHub
parent 08f3370828
commit e79013dcfe
3 changed files with 1 additions and 24 deletions

View File

@@ -73,7 +73,6 @@ export async function checkBeforeAndAfterReload(graph, cb) {
* @param { string } name
* @param { Record<string, string | [string | string[], any]> } input
* @param { (string | string[])[] | Record<string, string | string[]> } output
* @returns { Record<string, import("../../src/types/comfy").ComfyObjectInfo> }
*/
export function makeNodeDef(name, input, output = {}) {
const nodeDef = {

View File

@@ -29,14 +29,10 @@ export interface APIConfig {
userData?: Record<string, any>
}
/**
* @typedef { import("../../src/types/comfy").ComfyObjectInfo } ComfyObjectInfo
*/
/**
* @param {{
* mockExtensions?: string[],
* mockNodeDefs?: Record<string, ComfyObjectInfo>,
* mockNodeDefs?: Record<string, any>,
* settings?: Record<string, string>
* userConfig?: {storage: "server" | "browser", users?: Record<string, any>, migrated?: boolean },
* userData?: Record<string, any>