From 5c76bec611e80465cd5541160fd992c0ebe365be Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Fri, 18 Apr 2025 21:01:10 +1000 Subject: [PATCH] [TS] Export types (#933) Re-exports module-level exports at the package level. --- src/litegraph.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/litegraph.ts b/src/litegraph.ts index dda9e022c..cba4da8cd 100644 --- a/src/litegraph.ts +++ b/src/litegraph.ts @@ -113,20 +113,28 @@ export type { IOptionalSlotData, ISlotType, KeysOfType, + LinkNetwork, + LinkSegment, MethodNames, PickByType, + Point, + Positionable, + ReadonlyLinkNetwork, + ReadOnlyPoint, + ReadOnlyRect, Rect, Rect32, Size, } from "./interfaces" export { LGraph } from "./LGraph" -export { BadgePosition, LGraphBadge } from "./LGraphBadge" +export { BadgePosition, LGraphBadge, type LGraphBadgeOptions } from "./LGraphBadge" export { LGraphCanvas, type LGraphCanvasState } from "./LGraphCanvas" export { LGraphGroup } from "./LGraphGroup" -export { LGraphNode } from "./LGraphNode" -export { LLink } from "./LLink" +export { LGraphNode, type NodeId } from "./LGraphNode" +export { type LinkId, LLink } from "./LLink" export { createBounds } from "./measure" -export { Reroute } from "./Reroute" +export { Reroute, type RerouteId } from "./Reroute" +export type { CanvasPointerEvent } from "./types/events" export { CanvasItem, EaseFunction,