orcasvn-react-diagrams 0.1.19 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/types/models/IEditorContext.d.ts +1 -1
- package/dist/cjs/types/models/implementations/EditorContext.d.ts +1 -1
- package/dist/cjs/types/models/index.d.ts +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/models/IEditorContext.d.ts +1 -1
- package/dist/esm/types/models/implementations/EditorContext.d.ts +1 -1
- package/dist/esm/types/models/index.d.ts +2 -1
- package/dist/index.d.ts +29 -29
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import IPort from "./IPort";
|
|
|
5
5
|
import IText, { IPaperText } from "./IText";
|
|
6
6
|
import IPosition from "./position";
|
|
7
7
|
import ISize from "./size";
|
|
8
|
-
export interface IEditorContext {
|
|
8
|
+
export default interface IEditorContext {
|
|
9
9
|
elements: IElement[];
|
|
10
10
|
links: IElementLink[];
|
|
11
11
|
texts: IPaperText[];
|
|
@@ -5,7 +5,7 @@ import IText, { IPaperText } from "../IText";
|
|
|
5
5
|
import IPosition from "../position";
|
|
6
6
|
import IPort from "../IPort";
|
|
7
7
|
import ISize from "../size";
|
|
8
|
-
import
|
|
8
|
+
import IEditorContext from "../IEditorContext";
|
|
9
9
|
export declare class EditorContext implements IEditorContext {
|
|
10
10
|
private _elements;
|
|
11
11
|
private _links;
|
|
@@ -10,9 +10,10 @@ import type IShape from "./IShape";
|
|
|
10
10
|
import type ISize from "./size";
|
|
11
11
|
import type IText from "./IText";
|
|
12
12
|
import type ITextProps from "./ITextProps";
|
|
13
|
+
import type IEditorContext from "./IEditorContext";
|
|
13
14
|
export * from './enums';
|
|
14
15
|
export * from './implementations';
|
|
15
16
|
export * from './callbackTypes';
|
|
16
17
|
export * from './IText';
|
|
17
18
|
export * from './IPortProps';
|
|
18
|
-
export { IElement, IElementLink, IElementLinkProps, IElementProps, IPort, IPosition, IResizability, ISelectionFrameProps, IShape, ISize, IText, ITextProps };
|
|
19
|
+
export { IEditorContext, IElement, IElementLink, IElementLinkProps, IElementProps, IPort, IPosition, IResizability, ISelectionFrameProps, IShape, ISize, IText, ITextProps };
|