From ad8dd7a9d89546650892fc9a02c10ac8bf59722b Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Tue, 25 Feb 2025 12:08:04 +1100 Subject: [PATCH] Export enum (#589) * Revert "Export enum (#587)" This reverts commit cf8565eb133ba1d7c16385566fd5db1343f64bb8. * Export enums --- src/litegraph.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/litegraph.ts b/src/litegraph.ts index afdd91d43..2a169ab2b 100644 --- a/src/litegraph.ts +++ b/src/litegraph.ts @@ -25,7 +25,7 @@ import type { import { isColorable } from "./typeGuards" import type { SlotShape, LabelPosition, SlotDirection, SlotType } from "./draw" import type { IWidget } from "./types/widgets" -import { RenderShape, TitleMode } from "./types/globalEnums" +import type { RenderShape, TitleMode } from "./types/globalEnums" import type { CanvasEventDetail } from "./types/events" import { LiteGraphGlobal } from "./LiteGraphGlobal" import { loadPolyfills } from "./polyfills" @@ -79,9 +79,8 @@ export { } export { IWidget } export { LGraphBadge, BadgePosition } -export { RenderShape, TitleMode } export { SlotShape, LabelPosition, SlotDirection, SlotType } -export { EaseFunction, LinkMarkerShape, LGraphEventMode } from "./types/globalEnums" +export { CanvasItem, EaseFunction, LinkMarkerShape, LGraphEventMode, RenderShape, TitleMode } from "./types/globalEnums" export type { SerialisableGraph, SerialisableLLink,