@dxos/diagram 0.11.1 → 0.14.0
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/lib/chunk-parse.mjs +9406 -0
- package/dist/lib/chunk-parse.mjs.map +1 -0
- package/dist/lib/extension.mjs +204 -0
- package/dist/lib/extension.mjs.map +1 -0
- package/dist/lib/index.mjs +497 -2846
- package/dist/lib/index.mjs.map +1 -1
- package/dist/types/src/aesthetics.d.ts +12 -0
- package/dist/types/src/aesthetics.d.ts.map +1 -0
- package/dist/types/src/aesthetics.test.d.ts +2 -0
- package/dist/types/src/aesthetics.test.d.ts.map +1 -0
- package/dist/types/src/appeal.d.ts +55 -0
- package/dist/types/src/appeal.d.ts.map +1 -0
- package/dist/types/src/appeal.test.d.ts +2 -0
- package/dist/types/src/appeal.test.d.ts.map +1 -0
- package/dist/types/src/architecture.d.ts +86 -0
- package/dist/types/src/architecture.d.ts.map +1 -0
- package/dist/types/src/architecture.test.d.ts +2 -0
- package/dist/types/src/architecture.test.d.ts.map +1 -0
- package/dist/types/src/compact.d.ts +39 -0
- package/dist/types/src/compact.d.ts.map +1 -0
- package/dist/types/src/compact.test.d.ts +2 -0
- package/dist/types/src/compact.test.d.ts.map +1 -0
- package/dist/types/src/diagnostics.d.ts +70 -3
- package/dist/types/src/diagnostics.d.ts.map +1 -1
- package/dist/types/src/dsl/cli.d.ts +2 -0
- package/dist/types/src/dsl/cli.d.ts.map +1 -0
- package/dist/types/src/dsl/compile.d.ts +12 -0
- package/dist/types/src/dsl/compile.d.ts.map +1 -0
- package/dist/types/src/dsl/convert.d.ts +45 -0
- package/dist/types/src/dsl/convert.d.ts.map +1 -0
- package/dist/types/src/dsl/convert.test.d.ts +2 -0
- package/dist/types/src/dsl/convert.test.d.ts.map +1 -0
- package/dist/types/src/dsl/dsl.test.d.ts +2 -0
- package/dist/types/src/dsl/dsl.test.d.ts.map +1 -0
- package/dist/types/src/dsl/gen/diagram.d.ts +3 -0
- package/dist/types/src/dsl/gen/diagram.d.ts.map +1 -0
- package/dist/types/src/dsl/index.d.ts +7 -0
- package/dist/types/src/dsl/index.d.ts.map +1 -0
- package/dist/types/src/dsl/parse.d.ts +49 -0
- package/dist/types/src/dsl/parse.d.ts.map +1 -0
- package/dist/types/src/dsl/print.d.ts +19 -0
- package/dist/types/src/dsl/print.d.ts.map +1 -0
- package/dist/types/src/dsl/semantic.test.d.ts +2 -0
- package/dist/types/src/dsl/semantic.test.d.ts.map +1 -0
- package/dist/types/src/dsl/vocabulary.d.ts +61 -0
- package/dist/types/src/dsl/vocabulary.d.ts.map +1 -0
- package/dist/types/src/dx-svg.d.ts +12 -0
- package/dist/types/src/dx-svg.d.ts.map +1 -0
- package/dist/types/src/dx-svg.test.d.ts +2 -0
- package/dist/types/src/dx-svg.test.d.ts.map +1 -0
- package/dist/types/src/extension/complete.d.ts +3 -0
- package/dist/types/src/extension/complete.d.ts.map +1 -0
- package/dist/types/src/extension/extension.test.d.ts +2 -0
- package/dist/types/src/extension/extension.test.d.ts.map +1 -0
- package/dist/types/src/extension/highlight.d.ts +14 -0
- package/dist/types/src/extension/highlight.d.ts.map +1 -0
- package/dist/types/src/extension/index.d.ts +6 -0
- package/dist/types/src/extension/index.d.ts.map +1 -0
- package/dist/types/src/extension/language.d.ts +13 -0
- package/dist/types/src/extension/language.d.ts.map +1 -0
- package/dist/types/src/extension/lint.d.ts +21 -0
- package/dist/types/src/extension/lint.d.ts.map +1 -0
- package/dist/types/src/extension/syntax.d.ts +3 -0
- package/dist/types/src/extension/syntax.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +14 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/mermaid-engine.d.ts +40 -1
- package/dist/types/src/mermaid-engine.d.ts.map +1 -1
- package/dist/types/src/mermaid.d.ts +3 -3
- package/dist/types/src/mermaid.d.ts.map +1 -1
- package/dist/types/src/nudge.d.ts +30 -0
- package/dist/types/src/nudge.d.ts.map +1 -0
- package/dist/types/src/nudge.test.d.ts +2 -0
- package/dist/types/src/nudge.test.d.ts.map +1 -0
- package/dist/types/src/objective.d.ts +4 -0
- package/dist/types/src/objective.d.ts.map +1 -1
- package/dist/types/src/ortho-router.d.ts +13 -1
- package/dist/types/src/ortho-router.d.ts.map +1 -1
- package/dist/types/src/ports.d.ts +40 -0
- package/dist/types/src/ports.d.ts.map +1 -0
- package/dist/types/src/ports.test.d.ts +2 -0
- package/dist/types/src/ports.test.d.ts.map +1 -0
- package/dist/types/src/relations.test.d.ts +2 -0
- package/dist/types/src/relations.test.d.ts.map +1 -0
- package/dist/types/src/rules.d.ts +30 -0
- package/dist/types/src/rules.d.ts.map +1 -0
- package/dist/types/src/scene.d.ts +108 -74
- package/dist/types/src/scene.d.ts.map +1 -1
- package/dist/types/src/score.d.ts +54 -0
- package/dist/types/src/score.d.ts.map +1 -0
- package/dist/types/src/score.test.d.ts +2 -0
- package/dist/types/src/score.test.d.ts.map +1 -0
- package/dist/types/src/semantic-engine.d.ts +41 -0
- package/dist/types/src/semantic-engine.d.ts.map +1 -0
- package/dist/types/src/semantic-engine.test.d.ts +2 -0
- package/dist/types/src/semantic-engine.test.d.ts.map +1 -0
- package/dist/types/src/semantic-place.d.ts +81 -0
- package/dist/types/src/semantic-place.d.ts.map +1 -0
- package/dist/types/src/semantic-route.d.ts +133 -0
- package/dist/types/src/semantic-route.d.ts.map +1 -0
- package/dist/types/src/semantic.d.ts +164 -0
- package/dist/types/src/semantic.d.ts.map +1 -0
- package/dist/types/src/uml-grid.d.ts.map +1 -1
- package/dist/types/src/uml.d.ts +3 -5
- package/dist/types/src/uml.d.ts.map +1 -1
- package/dist/types/src/view.d.ts +53 -0
- package/dist/types/src/view.d.ts.map +1 -0
- package/dist/types/src/view.test.d.ts +2 -0
- package/dist/types/src/view.test.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -5
- package/rules/DIAGRAM.mdl +388 -0
- package/src/aesthetics.test.ts +89 -0
- package/src/aesthetics.ts +148 -0
- package/src/appeal.test.ts +144 -0
- package/src/appeal.ts +586 -0
- package/src/architecture.test.ts +94 -0
- package/src/architecture.ts +215 -0
- package/src/compact.test.ts +67 -0
- package/src/compact.ts +219 -0
- package/src/diagnostics.test.ts +207 -1
- package/src/diagnostics.ts +481 -37
- package/src/dsl/cli.ts +46 -0
- package/src/dsl/compile.ts +28 -0
- package/src/dsl/convert.test.ts +51 -0
- package/src/dsl/convert.ts +98 -0
- package/src/dsl/diagram.grammar +195 -0
- package/src/dsl/dsl.test.ts +286 -0
- package/src/dsl/gen/diagram.ts +22 -0
- package/src/dsl/index.ts +44 -0
- package/src/dsl/parse.ts +1054 -0
- package/src/dsl/print.ts +198 -0
- package/src/dsl/semantic.test.ts +216 -0
- package/src/dsl/vocabulary.ts +150 -0
- package/src/dx-svg.test.ts +44 -0
- package/src/dx-svg.ts +77 -0
- package/src/extension/complete.ts +105 -0
- package/src/extension/extension.test.ts +135 -0
- package/src/extension/highlight.ts +23 -0
- package/src/extension/index.ts +9 -0
- package/src/extension/language.ts +31 -0
- package/src/extension/lint.ts +60 -0
- package/src/extension/syntax.ts +62 -0
- package/src/index.ts +14 -0
- package/src/mermaid-engine.test.ts +6 -6
- package/src/mermaid-engine.ts +569 -119
- package/src/mermaid.test.ts +17 -1
- package/src/mermaid.ts +30 -18
- package/src/nudge.test.ts +186 -0
- package/src/nudge.ts +387 -0
- package/src/objective.test.ts +2 -0
- package/src/objective.ts +17 -1
- package/src/ortho-router.ts +240 -80
- package/src/ports.test.ts +157 -0
- package/src/ports.ts +186 -0
- package/src/relations.test.ts +98 -0
- package/src/rules.ts +117 -0
- package/src/scene.ts +66 -5
- package/src/score.test.ts +64 -0
- package/src/score.ts +130 -0
- package/src/semantic-engine.test.ts +635 -0
- package/src/semantic-engine.ts +891 -0
- package/src/semantic-place.ts +1508 -0
- package/src/semantic-route.ts +1136 -0
- package/src/semantic.ts +278 -0
- package/src/typings.d.ts +8 -0
- package/src/uml-grid.ts +6 -1
- package/src/uml.test.ts +5 -1
- package/src/uml.ts +24 -11
- package/src/view.test.ts +139 -0
- package/src/view.ts +376 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
2
|
export declare const Color: Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>;
|
|
3
3
|
export type Color = Schema.Schema.Type<typeof Color>;
|
|
4
|
-
|
|
4
|
+
/** `tint` is a light wash of the element's color, for backdrops such as group frames that text sits on. */
|
|
5
|
+
export declare const Fill: Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>;
|
|
5
6
|
export type Fill = Schema.Schema.Type<typeof Fill>;
|
|
6
7
|
export declare const Stroke: Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>;
|
|
7
8
|
export type Stroke = Schema.Schema.Type<typeof Stroke>;
|
|
@@ -12,10 +13,16 @@ export declare const Point: Schema.Struct<{
|
|
|
12
13
|
readonly y: Schema.Number;
|
|
13
14
|
}>;
|
|
14
15
|
export type Point = Schema.Schema.Type<typeof Point>;
|
|
16
|
+
/** The closed-shape kinds {@link Box} covers. */
|
|
17
|
+
export declare const BoxKind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
18
|
+
export type BoxKind = Schema.Schema.Type<typeof BoxKind>;
|
|
19
|
+
/** Which corners a rect rounds. */
|
|
20
|
+
export declare const Corners: Schema.Literals<readonly ["top", "bottom", "none"]>;
|
|
21
|
+
export type Corners = Schema.Schema.Type<typeof Corners>;
|
|
15
22
|
/** Closed shape drawn inside a local bounding box. */
|
|
16
23
|
export declare const Box: Schema.Struct<{
|
|
17
24
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
18
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
25
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
19
26
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
20
27
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
21
28
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -32,7 +39,7 @@ export type Box = Schema.Schema.Type<typeof Box>;
|
|
|
32
39
|
/** Circle sugar; reads back as an ellipse. */
|
|
33
40
|
export declare const Circle: Schema.Struct<{
|
|
34
41
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
35
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
42
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
36
43
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
37
44
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
38
45
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -46,7 +53,7 @@ export type Circle = Schema.Schema.Type<typeof Circle>;
|
|
|
46
53
|
/** Straight segment or open polyline through the given points. */
|
|
47
54
|
export declare const Polyline: Schema.Struct<{
|
|
48
55
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
49
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
56
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
50
57
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
51
58
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
52
59
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -61,7 +68,7 @@ export type Polyline = Schema.Schema.Type<typeof Polyline>;
|
|
|
61
68
|
/** Smooth curve through the given points (spline). */
|
|
62
69
|
export declare const Curve: Schema.Struct<{
|
|
63
70
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
64
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
71
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
65
72
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
66
73
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
67
74
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -79,7 +86,7 @@ export type Curve = Schema.Schema.Type<typeof Curve>;
|
|
|
79
86
|
*/
|
|
80
87
|
export declare const Arc: Schema.Struct<{
|
|
81
88
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
82
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
89
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
83
90
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
84
91
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
85
92
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -94,7 +101,7 @@ export type Arc = Schema.Schema.Type<typeof Arc>;
|
|
|
94
101
|
/** Free-standing text. */
|
|
95
102
|
export declare const Text: Schema.Struct<{
|
|
96
103
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
97
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
104
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
98
105
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
99
106
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
100
107
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -108,8 +115,27 @@ export type Text = Schema.Schema.Type<typeof Text>;
|
|
|
108
115
|
/** UML-style end markers: the head sits at the target, the tail at the source. */
|
|
109
116
|
export declare const ArrowHead: Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>;
|
|
110
117
|
export type ArrowHead = Schema.Schema.Type<typeof ArrowHead>;
|
|
111
|
-
export declare const ArrowTail: Schema.Literals<readonly ["none", "circle"]>;
|
|
118
|
+
export declare const ArrowTail: Schema.Literals<readonly ["none", "circle", "arrow"]>;
|
|
112
119
|
export type ArrowTail = Schema.Schema.Type<typeof ArrowTail>;
|
|
120
|
+
/**
|
|
121
|
+
* What a connector means, in UML and ER terms; renderers derive its end markers and dash from it.
|
|
122
|
+
* The source end is the subtype (inheritance, implementation), the whole (composition), the owner
|
|
123
|
+
* (aggregation), or the one side (one-to-many); the target end is the other.
|
|
124
|
+
*/
|
|
125
|
+
export declare const Relation: Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>;
|
|
126
|
+
export type Relation = Schema.Schema.Type<typeof Relation>;
|
|
127
|
+
/** A marker a renderer draws at a connector end. */
|
|
128
|
+
export type Marker = 'arrow' | 'open' | 'triangle' | 'crowsfoot' | 'one' | 'diamond' | 'diamond-filled' | 'circle';
|
|
129
|
+
export type RelationMarkers = {
|
|
130
|
+
start?: Marker;
|
|
131
|
+
end?: Marker;
|
|
132
|
+
dashed: boolean;
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* The markers an arrow draws: its relation's, unless `head` or `tail` says otherwise, which keeps
|
|
136
|
+
* documents written before relations existed drawing as they did.
|
|
137
|
+
*/
|
|
138
|
+
export declare const markersOf: (arrow: Pick<Arrow, 'relation' | 'head' | 'tail' | 'stroke'>) => RelationMarkers;
|
|
113
139
|
/**
|
|
114
140
|
* Connector. Endpoints are element refs — `"<elementId>"` within the same object or
|
|
115
141
|
* `"<objectId>/<elementId>"` across objects, either with an optional `#<port>` naming an
|
|
@@ -118,7 +144,7 @@ export type ArrowTail = Schema.Schema.Type<typeof ArrowTail>;
|
|
|
118
144
|
*/
|
|
119
145
|
export declare const Arrow: Schema.Struct<{
|
|
120
146
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
121
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
147
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
122
148
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
123
149
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
124
150
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -135,7 +161,8 @@ export declare const Arrow: Schema.Struct<{
|
|
|
135
161
|
}>>;
|
|
136
162
|
readonly text: Schema.optional<Schema.String>;
|
|
137
163
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
138
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
164
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
165
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
139
166
|
}>;
|
|
140
167
|
export type Arrow = Schema.Schema.Type<typeof Arrow>;
|
|
141
168
|
/** A parsed endpoint ref; `object` is absent for a ref within the same object. */
|
|
@@ -159,7 +186,7 @@ export declare const resolveRef: (ref: string, objectId: string) => string;
|
|
|
159
186
|
*/
|
|
160
187
|
export declare const Portal: Schema.Struct<{
|
|
161
188
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
162
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
189
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
163
190
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
164
191
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
165
192
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -174,7 +201,7 @@ export declare const Portal: Schema.Struct<{
|
|
|
174
201
|
export type Portal = Schema.Schema.Type<typeof Portal>;
|
|
175
202
|
export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
176
203
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
177
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
204
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
178
205
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
179
206
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
180
207
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -188,7 +215,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
188
215
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
189
216
|
}>, Schema.Struct<{
|
|
190
217
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
191
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
218
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
192
219
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
193
220
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
194
221
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -199,7 +226,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
199
226
|
readonly text: Schema.optional<Schema.String>;
|
|
200
227
|
}>, Schema.Struct<{
|
|
201
228
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
202
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
229
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
203
230
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
204
231
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
205
232
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -211,7 +238,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
211
238
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
212
239
|
}>, Schema.Struct<{
|
|
213
240
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
214
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
241
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
215
242
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
216
243
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
217
244
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -222,7 +249,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
222
249
|
}>>;
|
|
223
250
|
}>, Schema.Struct<{
|
|
224
251
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
225
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
252
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
226
253
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
227
254
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
228
255
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -234,7 +261,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
234
261
|
readonly endAngle: Schema.Number;
|
|
235
262
|
}>, Schema.Struct<{
|
|
236
263
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
237
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
264
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
238
265
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
239
266
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
240
267
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -245,7 +272,7 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
245
272
|
readonly text: Schema.String;
|
|
246
273
|
}>, Schema.Struct<{
|
|
247
274
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
248
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
275
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
249
276
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
250
277
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
251
278
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -262,10 +289,11 @@ export declare const Element: Schema.Union<readonly [Schema.Struct<{
|
|
|
262
289
|
}>>;
|
|
263
290
|
readonly text: Schema.optional<Schema.String>;
|
|
264
291
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
265
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
292
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
293
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
266
294
|
}>, Schema.Struct<{
|
|
267
295
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
268
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
296
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
269
297
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
270
298
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
271
299
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -295,7 +323,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
295
323
|
readonly ref: Schema.optional<Schema.String>;
|
|
296
324
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
297
325
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
298
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
326
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
299
327
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
300
328
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
301
329
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -309,7 +337,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
309
337
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
310
338
|
}>, Schema.Struct<{
|
|
311
339
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
312
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
340
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
313
341
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
314
342
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
315
343
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -320,7 +348,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
320
348
|
readonly text: Schema.optional<Schema.String>;
|
|
321
349
|
}>, Schema.Struct<{
|
|
322
350
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
323
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
351
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
324
352
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
325
353
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
326
354
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -332,7 +360,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
332
360
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
333
361
|
}>, Schema.Struct<{
|
|
334
362
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
335
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
363
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
336
364
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
337
365
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
338
366
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -343,7 +371,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
343
371
|
}>>;
|
|
344
372
|
}>, Schema.Struct<{
|
|
345
373
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
346
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
374
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
347
375
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
348
376
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
349
377
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -355,7 +383,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
355
383
|
readonly endAngle: Schema.Number;
|
|
356
384
|
}>, Schema.Struct<{
|
|
357
385
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
358
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
386
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
359
387
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
360
388
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
361
389
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -366,7 +394,7 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
366
394
|
readonly text: Schema.String;
|
|
367
395
|
}>, Schema.Struct<{
|
|
368
396
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
369
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
397
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
370
398
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
371
399
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
372
400
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -383,10 +411,11 @@ export declare const WorldObject: Schema.Struct<{
|
|
|
383
411
|
}>>;
|
|
384
412
|
readonly text: Schema.optional<Schema.String>;
|
|
385
413
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
386
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
414
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
415
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
387
416
|
}>, Schema.Struct<{
|
|
388
417
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
389
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
418
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
390
419
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
391
420
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
392
421
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -412,7 +441,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
412
441
|
readonly ref: Schema.optional<Schema.String>;
|
|
413
442
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
414
443
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
415
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
444
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
416
445
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
417
446
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
418
447
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -426,7 +455,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
426
455
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
427
456
|
}>, Schema.Struct<{
|
|
428
457
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
429
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
458
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
430
459
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
431
460
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
432
461
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -437,7 +466,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
437
466
|
readonly text: Schema.optional<Schema.String>;
|
|
438
467
|
}>, Schema.Struct<{
|
|
439
468
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
440
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
469
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
441
470
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
442
471
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
443
472
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -449,7 +478,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
449
478
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
450
479
|
}>, Schema.Struct<{
|
|
451
480
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
452
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
481
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
453
482
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
454
483
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
455
484
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -460,7 +489,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
460
489
|
}>>;
|
|
461
490
|
}>, Schema.Struct<{
|
|
462
491
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
463
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
492
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
464
493
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
465
494
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
466
495
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -472,7 +501,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
472
501
|
readonly endAngle: Schema.Number;
|
|
473
502
|
}>, Schema.Struct<{
|
|
474
503
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
475
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
504
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
476
505
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
477
506
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
478
507
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -483,7 +512,7 @@ export declare const Scene: Schema.Struct<{
|
|
|
483
512
|
readonly text: Schema.String;
|
|
484
513
|
}>, Schema.Struct<{
|
|
485
514
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
486
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
515
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
487
516
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
488
517
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
489
518
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -500,10 +529,11 @@ export declare const Scene: Schema.Struct<{
|
|
|
500
529
|
}>>;
|
|
501
530
|
readonly text: Schema.optional<Schema.String>;
|
|
502
531
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
503
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
532
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
533
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
504
534
|
}>, Schema.Struct<{
|
|
505
535
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
506
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
536
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
507
537
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
508
538
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
509
539
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -531,7 +561,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
531
561
|
readonly ref: Schema.optional<Schema.String>;
|
|
532
562
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
533
563
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
534
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
564
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
535
565
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
536
566
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
537
567
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -545,7 +575,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
545
575
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
546
576
|
}>, Schema.Struct<{
|
|
547
577
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
548
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
578
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
549
579
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
550
580
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
551
581
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -556,7 +586,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
556
586
|
readonly text: Schema.optional<Schema.String>;
|
|
557
587
|
}>, Schema.Struct<{
|
|
558
588
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
559
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
589
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
560
590
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
561
591
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
562
592
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -568,7 +598,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
568
598
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
569
599
|
}>, Schema.Struct<{
|
|
570
600
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
571
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
601
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
572
602
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
573
603
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
574
604
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -579,7 +609,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
579
609
|
}>>;
|
|
580
610
|
}>, Schema.Struct<{
|
|
581
611
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
582
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
612
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
583
613
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
584
614
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
585
615
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -591,7 +621,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
591
621
|
readonly endAngle: Schema.Number;
|
|
592
622
|
}>, Schema.Struct<{
|
|
593
623
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
594
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
624
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
595
625
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
596
626
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
597
627
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -602,7 +632,7 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
602
632
|
readonly text: Schema.String;
|
|
603
633
|
}>, Schema.Struct<{
|
|
604
634
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
605
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
635
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
606
636
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
607
637
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
608
638
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -619,10 +649,11 @@ export declare const UpsertObject: Schema.Struct<{
|
|
|
619
649
|
}>>;
|
|
620
650
|
readonly text: Schema.optional<Schema.String>;
|
|
621
651
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
622
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
652
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
653
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
623
654
|
}>, Schema.Struct<{
|
|
624
655
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
625
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
656
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
626
657
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
627
658
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
628
659
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -641,7 +672,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
641
672
|
readonly objectId: Schema.String;
|
|
642
673
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
643
674
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
644
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
675
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
645
676
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
646
677
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
647
678
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -655,7 +686,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
655
686
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
656
687
|
}>, Schema.Struct<{
|
|
657
688
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
658
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
689
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
659
690
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
660
691
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
661
692
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -666,7 +697,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
666
697
|
readonly text: Schema.optional<Schema.String>;
|
|
667
698
|
}>, Schema.Struct<{
|
|
668
699
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
669
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
700
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
670
701
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
671
702
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
672
703
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -678,7 +709,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
678
709
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
679
710
|
}>, Schema.Struct<{
|
|
680
711
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
681
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
712
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
682
713
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
683
714
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
684
715
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -689,7 +720,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
689
720
|
}>>;
|
|
690
721
|
}>, Schema.Struct<{
|
|
691
722
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
692
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
723
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
693
724
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
694
725
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
695
726
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -701,7 +732,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
701
732
|
readonly endAngle: Schema.Number;
|
|
702
733
|
}>, Schema.Struct<{
|
|
703
734
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
704
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
735
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
705
736
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
706
737
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
707
738
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -712,7 +743,7 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
712
743
|
readonly text: Schema.String;
|
|
713
744
|
}>, Schema.Struct<{
|
|
714
745
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
715
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
746
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
716
747
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
717
748
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
718
749
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -729,10 +760,11 @@ export declare const UpsertElements: Schema.Struct<{
|
|
|
729
760
|
}>>;
|
|
730
761
|
readonly text: Schema.optional<Schema.String>;
|
|
731
762
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
732
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
763
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
764
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
733
765
|
}>, Schema.Struct<{
|
|
734
766
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
735
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
767
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
736
768
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
737
769
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
738
770
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -775,7 +807,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
775
807
|
readonly ref: Schema.optional<Schema.String>;
|
|
776
808
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
777
809
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
778
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
810
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
779
811
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
780
812
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
781
813
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -789,7 +821,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
789
821
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
790
822
|
}>, Schema.Struct<{
|
|
791
823
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
792
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
824
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
793
825
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
794
826
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
795
827
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -800,7 +832,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
800
832
|
readonly text: Schema.optional<Schema.String>;
|
|
801
833
|
}>, Schema.Struct<{
|
|
802
834
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
803
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
835
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
804
836
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
805
837
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
806
838
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -812,7 +844,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
812
844
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
813
845
|
}>, Schema.Struct<{
|
|
814
846
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
815
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
847
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
816
848
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
817
849
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
818
850
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -823,7 +855,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
823
855
|
}>>;
|
|
824
856
|
}>, Schema.Struct<{
|
|
825
857
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
826
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
858
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
827
859
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
828
860
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
829
861
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -835,7 +867,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
835
867
|
readonly endAngle: Schema.Number;
|
|
836
868
|
}>, Schema.Struct<{
|
|
837
869
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
838
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
870
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
839
871
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
840
872
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
841
873
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -846,7 +878,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
846
878
|
readonly text: Schema.String;
|
|
847
879
|
}>, Schema.Struct<{
|
|
848
880
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
849
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
881
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
850
882
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
851
883
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
852
884
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -863,10 +895,11 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
863
895
|
}>>;
|
|
864
896
|
readonly text: Schema.optional<Schema.String>;
|
|
865
897
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
866
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
898
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
899
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
867
900
|
}>, Schema.Struct<{
|
|
868
901
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
869
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
902
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
870
903
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
871
904
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
872
905
|
readonly kind: Schema.Literal<"portal">;
|
|
@@ -884,7 +917,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
884
917
|
readonly objectId: Schema.String;
|
|
885
918
|
readonly elements: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
886
919
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
887
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
920
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
888
921
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
889
922
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
890
923
|
readonly kind: Schema.Literals<readonly ["rect", "ellipse", "diamond", "triangle"]>;
|
|
@@ -898,7 +931,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
898
931
|
readonly corners: Schema.optional<Schema.Literals<readonly ["top", "bottom", "none"]>>;
|
|
899
932
|
}>, Schema.Struct<{
|
|
900
933
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
901
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
934
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
902
935
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
903
936
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
904
937
|
readonly kind: Schema.Literal<"circle">;
|
|
@@ -909,7 +942,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
909
942
|
readonly text: Schema.optional<Schema.String>;
|
|
910
943
|
}>, Schema.Struct<{
|
|
911
944
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
912
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
945
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
913
946
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
914
947
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
915
948
|
readonly kind: Schema.Literal<"line">;
|
|
@@ -921,7 +954,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
921
954
|
readonly closed: Schema.optional<Schema.Boolean>;
|
|
922
955
|
}>, Schema.Struct<{
|
|
923
956
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
924
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
957
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
925
958
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
926
959
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
927
960
|
readonly kind: Schema.Literal<"curve">;
|
|
@@ -932,7 +965,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
932
965
|
}>>;
|
|
933
966
|
}>, Schema.Struct<{
|
|
934
967
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
935
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
968
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
936
969
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
937
970
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
938
971
|
readonly kind: Schema.Literal<"arc">;
|
|
@@ -944,7 +977,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
944
977
|
readonly endAngle: Schema.Number;
|
|
945
978
|
}>, Schema.Struct<{
|
|
946
979
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
947
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
980
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
948
981
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
949
982
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
950
983
|
readonly kind: Schema.Literal<"text">;
|
|
@@ -955,7 +988,7 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
955
988
|
readonly text: Schema.String;
|
|
956
989
|
}>, Schema.Struct<{
|
|
957
990
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
958
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
991
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
959
992
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
960
993
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
961
994
|
readonly kind: Schema.Literal<"arrow">;
|
|
@@ -972,10 +1005,11 @@ export declare const Command: Schema.Union<readonly [Schema.Struct<{
|
|
|
972
1005
|
}>>;
|
|
973
1006
|
readonly text: Schema.optional<Schema.String>;
|
|
974
1007
|
readonly head: Schema.optional<Schema.Literals<readonly ["arrow", "triangle", "crowsfoot", "none"]>>;
|
|
975
|
-
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle"]>>;
|
|
1008
|
+
readonly tail: Schema.optional<Schema.Literals<readonly ["none", "circle", "arrow"]>>;
|
|
1009
|
+
readonly relation: Schema.optional<Schema.Literals<readonly ["association", "dependency", "inheritance", "implementation", "composition", "aggregation", "one-to-many", "many-to-many"]>>;
|
|
976
1010
|
}>, Schema.Struct<{
|
|
977
1011
|
readonly color: Schema.optional<Schema.Literals<readonly ["black", "grey", "light-violet", "violet", "blue", "light-blue", "yellow", "orange", "green", "light-green", "light-red", "red", "white"]>>;
|
|
978
|
-
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern"]>>;
|
|
1012
|
+
readonly fill: Schema.optional<Schema.Literals<readonly ["none", "solid", "pattern", "tint"]>>;
|
|
979
1013
|
readonly stroke: Schema.optional<Schema.Literals<readonly ["sketchy", "solid", "dashed", "dotted"]>>;
|
|
980
1014
|
readonly weight: Schema.optional<Schema.Literals<readonly ["s", "m", "l", "xl"]>>;
|
|
981
1015
|
readonly kind: Schema.Literal<"portal">;
|