Skip to content

Commit

Permalink
Merge pull request #9 from gravity-ui/fix_export_types
Browse files Browse the repository at this point in the history
chore(types): fix exports states and events types
  • Loading branch information
Antamansid authored Oct 22, 2024
2 parents 2ee30d0 + c850e63 commit 4e4a4ba
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 4e4a4ba

Please sign in to comment.