Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export types for frontend repo DTS #353

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/LGraphNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ export type INodeProperties = Dictionary<unknown> & {
horizontal?: boolean
}

interface IMouseOverData {
export interface IMouseOverData {
inputId: number | null
outputId: number | null
overWidget: IWidget | null
}

interface ConnectByTypeOptions {
export interface ConnectByTypeOptions {
/** @deprecated Events */
createEventInCase?: boolean
/** Allow our wildcard slot to connect to typed slots on remote node. Default: true */
Expand All @@ -62,12 +62,12 @@ interface ConnectByTypeOptions {
}

/** Internal type used for type safety when implementing generic checks for inputs & outputs */
interface IGenericLinkOrLinks {
export interface IGenericLinkOrLinks {
links?: INodeOutputSlot["links"]
link?: INodeInputSlot["link"]
}

interface FindFreeSlotOptions {
export interface FindFreeSlotOptions {
/** Slots matching these types will be ignored. Default: [] */
typesNotAccepted?: ISlotType[]
/** If true, the slot itself is returned instead of the index. Default: false */
Expand Down