@inf-monkeys-tech/monkeys 1.1.35 → 1.1.37

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.
Files changed (56) hide show
  1. package/README.md +4 -0
  2. package/lib/contracts/agent.d.ts +1 -5
  3. package/lib/contracts/agent.d.ts.map +1 -1
  4. package/lib/contracts/agent.js +3 -3
  5. package/lib/contracts/agent.js.map +1 -1
  6. package/lib/contracts/design-board.d.ts +357 -0
  7. package/lib/contracts/design-board.d.ts.map +1 -0
  8. package/lib/contracts/design-board.js +75 -0
  9. package/lib/contracts/design-board.js.map +1 -0
  10. package/lib/contracts/index.d.ts +1 -0
  11. package/lib/contracts/index.d.ts.map +1 -1
  12. package/lib/contracts/index.js +1 -0
  13. package/lib/contracts/index.js.map +1 -1
  14. package/lib/contracts/menu.d.ts +5 -5
  15. package/lib/contracts/tenant.d.ts +1 -25
  16. package/lib/contracts/tenant.d.ts.map +1 -1
  17. package/lib/contracts/tenant.js +0 -4
  18. package/lib/contracts/tenant.js.map +1 -1
  19. package/lib/esm/{chunk-DBIRUF5K.mjs → chunk-5CETMB6U.mjs} +2 -2
  20. package/lib/esm/{chunk-4QMWKKPP.mjs → chunk-NENE42EE.mjs} +56 -3
  21. package/lib/esm/chunk-NENE42EE.mjs.map +1 -0
  22. package/lib/esm/{chunk-NTH4LWR3.mjs → chunk-R7ICFUBP.mjs} +2 -2
  23. package/lib/esm/{chunk-EJJLMGKU.mjs → chunk-T3ZHGLLF.mjs} +2 -2
  24. package/lib/esm/{chunk-RSHMTLT6.mjs → chunk-U33TFV3C.mjs} +7 -3
  25. package/lib/esm/{chunk-RSHMTLT6.mjs.map → chunk-U33TFV3C.mjs.map} +1 -1
  26. package/lib/esm/{chunk-TNA3ZX6I.mjs → chunk-ZSE6AAEE.mjs} +2083 -1973
  27. package/lib/esm/chunk-ZSE6AAEE.mjs.map +1 -0
  28. package/lib/esm/contracts/index.mjs +24 -4
  29. package/lib/esm/index.mjs +30 -6
  30. package/lib/esm/index.mjs.map +1 -1
  31. package/lib/esm/runtime/index.mjs +7 -3
  32. package/lib/esm/schemas/index.mjs +7 -3
  33. package/lib/json-schema/design-board-commit-command.schema.json +408 -0
  34. package/lib/json-schema/design-board-document.schema.json +380 -0
  35. package/lib/json-schema/index.json +2 -0
  36. package/lib/json-schema/tenant-product-config.schema.json +0 -11
  37. package/lib/json-schema/tenant-runtime-config.schema.json +0 -11
  38. package/lib/runtime/design-board.d.ts +4 -0
  39. package/lib/runtime/design-board.d.ts.map +1 -0
  40. package/lib/runtime/design-board.js +57 -0
  41. package/lib/runtime/design-board.js.map +1 -0
  42. package/lib/runtime/index.d.ts +1 -0
  43. package/lib/runtime/index.d.ts.map +1 -1
  44. package/lib/runtime/index.js +1 -0
  45. package/lib/runtime/index.js.map +1 -1
  46. package/lib/schemas/index.d.ts +145 -14
  47. package/lib/schemas/index.d.ts.map +1 -1
  48. package/lib/schemas/index.js +7 -1
  49. package/lib/schemas/index.js.map +1 -1
  50. package/package.json +1 -1
  51. package/test/fixtures/tenant-product-config.public.json +1 -2
  52. package/lib/esm/chunk-4QMWKKPP.mjs.map +0 -1
  53. package/lib/esm/chunk-TNA3ZX6I.mjs.map +0 -1
  54. /package/lib/esm/{chunk-DBIRUF5K.mjs.map → chunk-5CETMB6U.mjs.map} +0 -0
  55. /package/lib/esm/{chunk-NTH4LWR3.mjs.map → chunk-R7ICFUBP.mjs.map} +0 -0
  56. /package/lib/esm/{chunk-EJJLMGKU.mjs.map → chunk-T3ZHGLLF.mjs.map} +0 -0
@@ -0,0 +1,380 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "engine": {
6
+ "type": "string",
7
+ "const": "excalidraw"
8
+ },
9
+ "schemaVersion": {
10
+ "type": "number",
11
+ "const": 1
12
+ },
13
+ "document": {
14
+ "type": "object",
15
+ "properties": {
16
+ "elements": {
17
+ "maxItems": 20000,
18
+ "type": "array",
19
+ "items": {
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string",
24
+ "minLength": 1,
25
+ "maxLength": 256
26
+ },
27
+ "type": {
28
+ "type": "string",
29
+ "minLength": 1
30
+ },
31
+ "x": {
32
+ "type": "number"
33
+ },
34
+ "y": {
35
+ "type": "number"
36
+ },
37
+ "width": {
38
+ "type": "number",
39
+ "minimum": 0
40
+ },
41
+ "height": {
42
+ "type": "number",
43
+ "minimum": 0
44
+ }
45
+ },
46
+ "required": [
47
+ "id",
48
+ "type",
49
+ "x",
50
+ "y",
51
+ "width",
52
+ "height"
53
+ ],
54
+ "additionalProperties": {
55
+ "$ref": "#/$defs/__schema0"
56
+ }
57
+ }
58
+ },
59
+ "appState": {
60
+ "type": "object",
61
+ "propertyNames": {
62
+ "type": "string"
63
+ },
64
+ "additionalProperties": {
65
+ "$ref": "#/$defs/__schema0"
66
+ }
67
+ },
68
+ "files": {
69
+ "type": "object",
70
+ "properties": {},
71
+ "additionalProperties": false
72
+ }
73
+ },
74
+ "required": [
75
+ "elements"
76
+ ],
77
+ "additionalProperties": false
78
+ },
79
+ "domain": {
80
+ "type": "object",
81
+ "properties": {
82
+ "schemaVersion": {
83
+ "type": "number",
84
+ "const": 1
85
+ },
86
+ "boardId": {
87
+ "type": "string",
88
+ "minLength": 1,
89
+ "maxLength": 256
90
+ },
91
+ "projectId": {
92
+ "type": "string",
93
+ "minLength": 1,
94
+ "maxLength": 256
95
+ },
96
+ "revision": {
97
+ "type": "integer",
98
+ "minimum": 0,
99
+ "maximum": 9007199254740991
100
+ },
101
+ "pages": {
102
+ "minItems": 1,
103
+ "maxItems": 200,
104
+ "type": "array",
105
+ "items": {
106
+ "type": "object",
107
+ "properties": {
108
+ "id": {
109
+ "type": "string",
110
+ "minLength": 1,
111
+ "maxLength": 256
112
+ },
113
+ "name": {
114
+ "type": "string",
115
+ "minLength": 1,
116
+ "maxLength": 2000
117
+ },
118
+ "order": {
119
+ "type": "integer",
120
+ "minimum": 0,
121
+ "maximum": 9007199254740991
122
+ },
123
+ "backgroundColor": {
124
+ "type": "string",
125
+ "maxLength": 128
126
+ },
127
+ "backgroundFileRef": {
128
+ "type": "string",
129
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}$"
130
+ }
131
+ },
132
+ "required": [
133
+ "id",
134
+ "name",
135
+ "order"
136
+ ],
137
+ "additionalProperties": false
138
+ }
139
+ },
140
+ "nodes": {
141
+ "maxItems": 10000,
142
+ "type": "array",
143
+ "items": {
144
+ "type": "object",
145
+ "properties": {
146
+ "id": {
147
+ "type": "string",
148
+ "minLength": 1,
149
+ "maxLength": 256
150
+ },
151
+ "pageId": {
152
+ "type": "string",
153
+ "minLength": 1,
154
+ "maxLength": 256
155
+ },
156
+ "kind": {
157
+ "type": "string",
158
+ "enum": [
159
+ "workflow",
160
+ "instruction",
161
+ "output",
162
+ "live-image",
163
+ "live-image-workflow",
164
+ "linesheet-slot",
165
+ "linesheet-table",
166
+ "note",
167
+ "other"
168
+ ]
169
+ },
170
+ "title": {
171
+ "type": "string",
172
+ "maxLength": 2000
173
+ },
174
+ "x": {
175
+ "type": "number"
176
+ },
177
+ "y": {
178
+ "type": "number"
179
+ },
180
+ "width": {
181
+ "type": "number",
182
+ "exclusiveMinimum": 0
183
+ },
184
+ "height": {
185
+ "type": "number",
186
+ "exclusiveMinimum": 0
187
+ },
188
+ "props": {
189
+ "type": "object",
190
+ "propertyNames": {
191
+ "type": "string"
192
+ },
193
+ "additionalProperties": {
194
+ "$ref": "#/$defs/__schema0"
195
+ }
196
+ },
197
+ "meta": {
198
+ "type": "object",
199
+ "propertyNames": {
200
+ "type": "string"
201
+ },
202
+ "additionalProperties": {
203
+ "$ref": "#/$defs/__schema0"
204
+ }
205
+ },
206
+ "deleted": {
207
+ "type": "boolean"
208
+ }
209
+ },
210
+ "required": [
211
+ "id",
212
+ "pageId",
213
+ "kind",
214
+ "title",
215
+ "x",
216
+ "y",
217
+ "width",
218
+ "height",
219
+ "props",
220
+ "meta"
221
+ ],
222
+ "additionalProperties": false
223
+ }
224
+ },
225
+ "connections": {
226
+ "maxItems": 20000,
227
+ "type": "array",
228
+ "items": {
229
+ "type": "object",
230
+ "properties": {
231
+ "id": {
232
+ "type": "string",
233
+ "minLength": 1,
234
+ "maxLength": 256
235
+ },
236
+ "pageId": {
237
+ "type": "string",
238
+ "minLength": 1,
239
+ "maxLength": 256
240
+ },
241
+ "from": {
242
+ "type": "string",
243
+ "minLength": 1,
244
+ "maxLength": 256
245
+ },
246
+ "to": {
247
+ "type": "string",
248
+ "minLength": 1,
249
+ "maxLength": 256
250
+ },
251
+ "label": {
252
+ "type": "string",
253
+ "maxLength": 2000
254
+ },
255
+ "kind": {
256
+ "type": "string",
257
+ "minLength": 1,
258
+ "maxLength": 256
259
+ },
260
+ "props": {
261
+ "type": "object",
262
+ "propertyNames": {
263
+ "type": "string"
264
+ },
265
+ "additionalProperties": {
266
+ "$ref": "#/$defs/__schema0"
267
+ }
268
+ },
269
+ "deleted": {
270
+ "type": "boolean"
271
+ }
272
+ },
273
+ "required": [
274
+ "id",
275
+ "pageId",
276
+ "from",
277
+ "to",
278
+ "kind",
279
+ "props"
280
+ ],
281
+ "additionalProperties": false
282
+ }
283
+ },
284
+ "files": {
285
+ "maxItems": 10000,
286
+ "type": "array",
287
+ "items": {
288
+ "type": "object",
289
+ "properties": {
290
+ "canonicalUri": {
291
+ "type": "string",
292
+ "pattern": "^file:\\/\\/[A-Za-z0-9][A-Za-z0-9_-]{0,127}(?:#[A-Za-z0-9_-]+)?$"
293
+ },
294
+ "fileId": {
295
+ "type": "string",
296
+ "minLength": 1,
297
+ "maxLength": 256
298
+ },
299
+ "mimeType": {
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "maxLength": 128
303
+ },
304
+ "byteSize": {
305
+ "type": "integer",
306
+ "minimum": 0,
307
+ "maximum": 9007199254740991
308
+ },
309
+ "contentHash": {
310
+ "type": "string"
311
+ },
312
+ "role": {
313
+ "type": "string",
314
+ "minLength": 1,
315
+ "maxLength": 256
316
+ }
317
+ },
318
+ "required": [
319
+ "canonicalUri",
320
+ "mimeType",
321
+ "role"
322
+ ],
323
+ "additionalProperties": false
324
+ }
325
+ }
326
+ },
327
+ "required": [
328
+ "schemaVersion",
329
+ "boardId",
330
+ "pages",
331
+ "nodes",
332
+ "connections",
333
+ "files"
334
+ ],
335
+ "additionalProperties": false
336
+ }
337
+ },
338
+ "required": [
339
+ "engine",
340
+ "schemaVersion",
341
+ "document",
342
+ "domain"
343
+ ],
344
+ "additionalProperties": false,
345
+ "$defs": {
346
+ "__schema0": {
347
+ "anyOf": [
348
+ {
349
+ "type": "string"
350
+ },
351
+ {
352
+ "type": "number"
353
+ },
354
+ {
355
+ "type": "boolean"
356
+ },
357
+ {
358
+ "type": "null"
359
+ },
360
+ {
361
+ "type": "array",
362
+ "items": {
363
+ "$ref": "#/$defs/__schema0"
364
+ }
365
+ },
366
+ {
367
+ "type": "object",
368
+ "propertyNames": {
369
+ "type": "string"
370
+ },
371
+ "additionalProperties": {
372
+ "$ref": "#/$defs/__schema0"
373
+ }
374
+ }
375
+ ]
376
+ }
377
+ },
378
+ "$id": "https://schemas.infmonkeys.com/contracts/design-board-document.schema.json",
379
+ "title": "design-board-document"
380
+ }
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "schemas": {
3
+ "design-board-document": "./design-board-document.schema.json",
4
+ "design-board-commit-command": "./design-board-commit-command.schema.json",
3
5
  "aggregate-commit-request": "./aggregate-commit-request.schema.json",
4
6
  "workflow-column-binding": "./workflow-column-binding.schema.json",
5
7
  "agent-session-command": "./agent-session-command.schema.json",
@@ -3063,17 +3063,6 @@
3063
3063
  }
3064
3064
  },
3065
3065
  "additionalProperties": false
3066
- },
3067
- "navigationMode": {
3068
- "type": "string",
3069
- "enum": [
3070
- "default",
3071
- "session",
3072
- "trend"
3073
- ]
3074
- },
3075
- "quickStartEnabled": {
3076
- "type": "boolean"
3077
3066
  }
3078
3067
  },
3079
3068
  "additionalProperties": false
@@ -3127,17 +3127,6 @@
3127
3127
  }
3128
3128
  },
3129
3129
  "additionalProperties": false
3130
- },
3131
- "navigationMode": {
3132
- "type": "string",
3133
- "enum": [
3134
- "default",
3135
- "session",
3136
- "trend"
3137
- ]
3138
- },
3139
- "quickStartEnabled": {
3140
- "type": "boolean"
3141
3130
  }
3142
3131
  },
3143
3132
  "additionalProperties": false
@@ -0,0 +1,4 @@
1
+ import { type DesignBoardChanges, type DesignBoardDocument } from '../contracts/design-board';
2
+ export declare function diffDesignBoardDocuments(before: DesignBoardDocument, after: DesignBoardDocument): DesignBoardChanges;
3
+ export declare function applyDesignBoardChanges(document: DesignBoardDocument, changes: DesignBoardChanges): DesignBoardDocument;
4
+ //# sourceMappingURL=design-board.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-board.d.ts","sourceRoot":"","sources":["../../src/runtime/design-board.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,KAAK,kBAAkB,EAAE,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAUnJ,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,mBAAmB,EAAE,KAAK,EAAE,mBAAmB,GAAG,kBAAkB,CAmBpH;AAED,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,OAAO,EAAE,kBAAkB,GAAG,mBAAmB,CAuBvH"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.applyDesignBoardChanges = exports.diffDesignBoardDocuments = void 0;
4
+ const design_board_1 = require("../contracts/design-board");
5
+ const stable = (value) => JSON.stringify(value, (_key, item) => item && typeof item === 'object' && !Array.isArray(item)
6
+ ? Object.fromEntries(Object.keys(item).sort().map((key) => [key, item[key]])) : item);
7
+ const changed = (before, after, identity) => {
8
+ const previous = new Map(before.map((value) => [identity(value), stable(value)]));
9
+ return after.filter((value) => previous.get(identity(value)) !== stable(value));
10
+ };
11
+ function diffDesignBoardDocuments(before, after) {
12
+ const pageElements = (document, id) => document.document.elements.filter((element) => String(element.customData?.designBoard?.pageId || document.domain.pages[0]?.id) === id);
13
+ const removed = (left, right, identity) => {
14
+ const kept = new Set(right.map(identity));
15
+ return left.map(identity).filter((id) => !kept.has(id));
16
+ };
17
+ return design_board_1.DesignBoardChangesSchema.parse({
18
+ ...(stable(before.document.appState) !== stable(after.document.appState) ? { appState: after.document.appState ?? {} } : {}),
19
+ ...(stable(before.domain.pages) !== stable(after.domain.pages) ? { pages: after.domain.pages } : {}),
20
+ scenes: after.domain.pages.filter((page) => stable(pageElements(before, page.id)) !== stable(pageElements(after, page.id)))
21
+ .map((page) => ({ pageId: page.id, elements: pageElements(after, page.id) })),
22
+ nodes: changed(before.domain.nodes, after.domain.nodes, (node) => node.id),
23
+ removedNodeIds: removed(before.domain.nodes, after.domain.nodes, (node) => node.id),
24
+ connections: changed(before.domain.connections, after.domain.connections, (edge) => edge.id),
25
+ removedConnectionIds: removed(before.domain.connections, after.domain.connections, (edge) => edge.id),
26
+ files: changed(before.domain.files, after.domain.files, (file) => file.canonicalUri),
27
+ removedFileUris: removed(before.domain.files, after.domain.files, (file) => file.canonicalUri),
28
+ });
29
+ }
30
+ exports.diffDesignBoardDocuments = diffDesignBoardDocuments;
31
+ function applyDesignBoardChanges(document, changes) {
32
+ changes = design_board_1.DesignBoardChangesSchema.parse(changes);
33
+ const identities = [changes.scenes.map((scene) => scene.pageId), changes.nodes.map((node) => node.id), changes.connections.map((edge) => edge.id), changes.files.map((file) => file.canonicalUri)];
34
+ if (identities.some((ids) => new Set(ids).size !== ids.length))
35
+ throw new Error('DESIGN_BOARD_CHANGE_IDENTITIES_DUPLICATE');
36
+ const apply = (previous, updates, removed, identity) => {
37
+ const values = new Map(previous.map((item) => [identity(item), item]));
38
+ removed.forEach((id) => values.delete(id));
39
+ updates.forEach((item) => values.set(identity(item), item));
40
+ return [...values.values()];
41
+ };
42
+ const pages = changes.pages || document.domain.pages;
43
+ const pageIds = new Set(pages.map((page) => page.id));
44
+ if (changes.scenes.some((scene) => !pageIds.has(scene.pageId)))
45
+ throw new Error('DESIGN_BOARD_CHANGE_PAGE_MISSING');
46
+ const scenes = new Map(changes.scenes.map((scene) => [scene.pageId, scene.elements]));
47
+ const elements = pages.flatMap((page) => scenes.get(page.id) ?? document.document.elements.filter((element) => String(element.customData?.designBoard?.pageId || document.domain.pages[0]?.id) === page.id));
48
+ const result = { ...document, document: { ...document.document, elements, files: {}, ...(changes.appState === undefined ? {} : { appState: changes.appState }) }, domain: {
49
+ ...document.domain, pages,
50
+ nodes: apply(document.domain.nodes, changes.nodes, changes.removedNodeIds, (node) => node.id).filter((node) => pageIds.has(node.pageId)),
51
+ connections: apply(document.domain.connections, changes.connections, changes.removedConnectionIds, (edge) => edge.id).filter((edge) => pageIds.has(edge.pageId)),
52
+ files: apply(document.domain.files, changes.files, changes.removedFileUris, (file) => file.canonicalUri),
53
+ } };
54
+ return design_board_1.DesignBoardDocumentSchema.parse(result);
55
+ }
56
+ exports.applyDesignBoardChanges = applyDesignBoardChanges;
57
+ //# sourceMappingURL=design-board.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-board.js","sourceRoot":"","sources":["../../src/runtime/design-board.ts"],"names":[],"mappings":";;;AAAA,4DAAmJ;AAEnJ,MAAM,MAAM,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;IACvI,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,C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,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAChK,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC;SACzG,EAAE,CAAC;IACJ,OAAO,wCAAyB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC;AAvBD,0DAuBC"}
@@ -15,6 +15,7 @@ export * from './declarative-runtime-contract';
15
15
  export * from './view-render-model';
16
16
  export * from './workflow-compiler';
17
17
  export * from './workflow-column';
18
+ export * from './design-board';
18
19
  export * from './access-compiler';
19
20
  export { compileComponentAssemblyValidator } from "./component-assembly";
20
21
  export * from './page-expression';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AAErC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,eAAe,CAAC;AAE9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sBAAsB,CAAC;AAEzE,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AAErC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,eAAe,CAAC;AAE9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oBAAoB,CAAC"}
@@ -32,6 +32,7 @@ __exportStar(require("./declarative-runtime-contract"), exports);
32
32
  __exportStar(require("./view-render-model"), exports);
33
33
  __exportStar(require("./workflow-compiler"), exports);
34
34
  __exportStar(require("./workflow-column"), exports);
35
+ __exportStar(require("./design-board"), exports);
35
36
  __exportStar(require("./access-compiler"), exports);
36
37
  var component_assembly_1 = require("./component-assembly");
37
38
  Object.defineProperty(exports, "compileComponentAssemblyValidator", { enumerable: true, get: function () { return component_assembly_1.compileComponentAssemblyValidator; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,iEAA+C;AAC/C,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,oDAAkC;AAElC,2DAAyE;AAAhE,uIAAA,iCAAiC,OAAA;AAE1C,oDAAkC;AAClC,uDAAqC;AAErC,wDAAsC;AAEtC,wDAAsC;AAEtC,gDAA8B;AAE9B,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,4DAA0C;AAC1C,yDAAuC;AACvC,iEAA+C;AAC/C,4DAA0C;AAC1C,kDAAgC;AAChC,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,kDAAgC;AAChC,4DAA0C;AAC1C,iDAA+B;AAC/B,2DAAyC;AACzC,iEAA+C;AAC/C,sDAAoC;AACpC,sDAAoC;AACpC,oDAAkC;AAClC,iDAA+B;AAC/B,oDAAkC;AAElC,2DAAyE;AAAhE,uIAAA,iCAAiC,OAAA;AAE1C,oDAAkC;AAClC,uDAAqC;AAErC,wDAAsC;AAEtC,wDAAsC;AAEtC,gDAA8B;AAE9B,0DAAwC;AACxC,4DAA0C;AAC1C,qDAAmC"}