mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-21 06:49:37 +00:00
Remove deprecated type def on ComfyNodeDef (#1720)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user