diff --git a/src/index.ts b/src/index.ts index 0647c79..d43fe67 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,15 +1,17 @@ +export { Anchor, type TAnchor } from "./components/canvas/anchors"; +export { Block as CanvasBlock, type TBlock } from "./components/canvas/blocks/Block"; export * from "./graph"; +export type { TGraphColors, TGraphConstants } from "./graphConfig"; +export * from "./plugins"; export * from "./react-component"; -export * from "./store"; -export { type TBlock, Block as CanvasBlock } from "./components/canvas/blocks/Block"; export { ECameraScaleLevel } from "./services/camera/CameraService"; -export { type TPoint, type TRect } from "./utils/types/shapes"; -export type { TBlockId } from "./store/block/Block"; -export * from "./utils/renderers/text"; -export { type TAnchor, Anchor } from "./components/canvas/anchors"; -export type { TConnection } from "./store/connection/ConnectionState"; -export { ECanChangeBlockGeometry } from "./store/settings"; -export { EAnchorType } from "./store/anchor/Anchor"; -export type { TGraphConstants, TGraphColors } from "./graphConfig"; export * from "./services/Layer"; -export * from "./plugins"; +export * from "./store"; +export { EAnchorType } from "./store/anchor/Anchor"; +export type { BlockState, TBlockId } from "./store/block/Block"; +export type { ConnectionState, TConnection } from "./store/connection/ConnectionState"; +export { ECanChangeBlockGeometry } from "./store/settings"; +export * from "./utils/renderers/text"; +export { EVENTS } from "./utils/types/events"; +export { type TPoint, type TRect } from "./utils/types/shapes"; +export { ESelectionStrategy } from "./utils/types/types";