mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-26 01:09:46 +00:00
Export types for frontend repo DTS (#353)
This commit is contained in:
@@ -44,13 +44,13 @@ export type INodeProperties = Dictionary<unknown> & {
|
|||||||
horizontal?: boolean
|
horizontal?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IMouseOverData {
|
export interface IMouseOverData {
|
||||||
inputId: number | null
|
inputId: number | null
|
||||||
outputId: number | null
|
outputId: number | null
|
||||||
overWidget: IWidget | null
|
overWidget: IWidget | null
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ConnectByTypeOptions {
|
export interface ConnectByTypeOptions {
|
||||||
/** @deprecated Events */
|
/** @deprecated Events */
|
||||||
createEventInCase?: boolean
|
createEventInCase?: boolean
|
||||||
/** Allow our wildcard slot to connect to typed slots on remote node. Default: true */
|
/** Allow our wildcard slot to connect to typed slots on remote node. Default: true */
|
||||||
@@ -62,12 +62,12 @@ interface ConnectByTypeOptions {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Internal type used for type safety when implementing generic checks for inputs & outputs */
|
/** Internal type used for type safety when implementing generic checks for inputs & outputs */
|
||||||
interface IGenericLinkOrLinks {
|
export interface IGenericLinkOrLinks {
|
||||||
links?: INodeOutputSlot["links"]
|
links?: INodeOutputSlot["links"]
|
||||||
link?: INodeInputSlot["link"]
|
link?: INodeInputSlot["link"]
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FindFreeSlotOptions {
|
export interface FindFreeSlotOptions {
|
||||||
/** Slots matching these types will be ignored. Default: [] */
|
/** Slots matching these types will be ignored. Default: [] */
|
||||||
typesNotAccepted?: ISlotType[]
|
typesNotAccepted?: ISlotType[]
|
||||||
/** If true, the slot itself is returned instead of the index. Default: false */
|
/** If true, the slot itself is returned instead of the index. Default: false */
|
||||||
|
|||||||
Reference in New Issue
Block a user