@almadar/std 16.190.0 → 16.192.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/behaviors/lolo/infra/atoms/std-approval-gate.lolo +184 -18
- package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +16 -3
- package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +1 -0
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +3 -0
- package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +37 -4
- package/behaviors/lolo/ui/core/atoms/std-modal.lolo +20 -6
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +40 -3
- package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +176 -4
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +3 -1
- package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +25 -1
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +37 -1
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +46 -1
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +30 -2
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +14 -29
- package/behaviors/lolo/ui/core/molecules/ui-positioned-canvas.lolo +19 -1
- package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +21 -1
- package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +15 -1
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +36 -1
- package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +41 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +34 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +30 -1
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -1
- package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +39 -1
- package/behaviors/lolo/ui/core/organisms/ui-form.lolo +39 -1
- package/behaviors/lolo/ui/core/organisms/ui-master-detail.lolo +24 -1
- package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +30 -1
- package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +37 -1
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +18 -1
- package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +21 -1
- package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +16 -1
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +7 -2
- package/behaviors/lolo/ui/marketing/organisms/ui-book-chapter-view.lolo +12 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-book-table-of-contents.lolo +13 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-book-viewer.lolo +23 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-case-study-organism.lolo +23 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-feature-grid-organism.lolo +24 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-hero-organism.lolo +22 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-pricing-organism.lolo +23 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-showcase-organism.lolo +24 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-stats-organism.lolo +22 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-step-flow-organism.lolo +25 -1
- package/behaviors/lolo/ui/marketing/organisms/ui-team-organism.lolo +23 -1
- package/behaviors/lolo/ui/marketing/templates/ui-about-page-template.lolo +11 -1
- package/behaviors/lolo/ui/marketing/templates/ui-feature-detail-page-template.lolo +11 -1
- package/behaviors/lolo/ui/marketing/templates/ui-landing-page-template.lolo +13 -1
- package/behaviors/lolo/ui/marketing/templates/ui-pricing-page-template.lolo +11 -1
- package/behaviors/registry/infra/atoms/std-approval-gate.orb +717 -45
- package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +85 -10
- package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +5 -2
- package/behaviors/registry/ui/core/atoms/std-browse.orb +12 -0
- package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +129 -7
- package/behaviors/registry/ui/core/atoms/std-modal.orb +95 -3
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +319 -3
- package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +539 -1
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +5 -1
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +43 -0
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +55 -0
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +64 -0
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +106 -1
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +18 -80
- package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +37 -0
- package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +39 -0
- package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +45 -0
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +54 -0
- package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +59 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +52 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +48 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -0
- package/behaviors/registry/ui/core/organisms/ui-form-section.orb +57 -0
- package/behaviors/registry/ui/core/organisms/ui-form.orb +57 -0
- package/behaviors/registry/ui/core/organisms/ui-master-detail.orb +42 -0
- package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +48 -0
- package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +55 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +36 -0
- package/behaviors/registry/ui/core/templates/ui-counter-template.orb +39 -0
- package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +34 -0
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +543 -496
- package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +30 -0
- package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +31 -0
- package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +41 -0
- package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +41 -0
- package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +42 -0
- package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +40 -0
- package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +41 -0
- package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +42 -0
- package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +40 -0
- package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +43 -0
- package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +41 -0
- package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +29 -0
- package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +29 -0
- package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +31 -0
- package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +29 -0
- package/dist/behaviors/exports-reader.js +2651 -50
- package/dist/behaviors/functions/index.d.ts +138 -19
- package/dist/behaviors/functions/index.js +2650 -51
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +2652 -51
- package/dist/behaviors/query.js +2651 -50
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +961 -929
- package/dist/behaviors-registry.json +106 -58
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2652 -51
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +3 -3
|
@@ -37,6 +37,15 @@
|
|
|
37
37
|
"parent": "trt_01KXG04FHBK5YSDQ1S4CCJRKYW",
|
|
38
38
|
"renames": []
|
|
39
39
|
},
|
|
40
|
+
"evt_01M16B4D84NQ48FBP2K2PFGP33": {
|
|
41
|
+
"bakedName": "StatusPersisted",
|
|
42
|
+
"curName": "StatusPersisted",
|
|
43
|
+
"id": "evt_01M16B4D84NQ48FBP2K2PFGP33",
|
|
44
|
+
"kind": "event",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"parent": "trt_01KXG04FHBK5YSDQ1S4CCJRKYW",
|
|
47
|
+
"renames": []
|
|
48
|
+
},
|
|
40
49
|
"orb_01KXG04FHBQAS21E3QH0H7VC27": {
|
|
41
50
|
"bakedName": "StatusLifecycleOrbital",
|
|
42
51
|
"curName": "StatusLifecycleOrbital",
|
|
@@ -216,6 +225,31 @@
|
|
|
216
225
|
],
|
|
217
226
|
"scope": "external"
|
|
218
227
|
},
|
|
228
|
+
{
|
|
229
|
+
"event": "StatusPersisted",
|
|
230
|
+
"eventId": "evt_01M16B4D84NQ48FBP2K2PFGP33",
|
|
231
|
+
"payloadSchema": [
|
|
232
|
+
{
|
|
233
|
+
"name": "id",
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "row",
|
|
238
|
+
"properties": [
|
|
239
|
+
{
|
|
240
|
+
"name": "id",
|
|
241
|
+
"required": true,
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "status",
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"type": "object"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
219
253
|
{
|
|
220
254
|
"event": "StatusChangeFailed",
|
|
221
255
|
"eventId": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
|
|
@@ -228,7 +262,8 @@
|
|
|
228
262
|
"name": "code",
|
|
229
263
|
"type": "string"
|
|
230
264
|
}
|
|
231
|
-
]
|
|
265
|
+
],
|
|
266
|
+
"scope": "external"
|
|
232
267
|
}
|
|
233
268
|
],
|
|
234
269
|
"entityContract": {
|
|
@@ -265,6 +300,21 @@
|
|
|
265
300
|
}
|
|
266
301
|
]
|
|
267
302
|
},
|
|
303
|
+
{
|
|
304
|
+
"id": "evt_01M16B4D84NQ48FBP2K2PFGP33",
|
|
305
|
+
"key": "StatusPersisted",
|
|
306
|
+
"name": "Status persisted",
|
|
307
|
+
"payloadSchema": [
|
|
308
|
+
{
|
|
309
|
+
"name": "id",
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "row",
|
|
314
|
+
"type": "StatusRecord"
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
},
|
|
268
318
|
{
|
|
269
319
|
"id": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
|
|
270
320
|
"key": "StatusChangeFailed",
|
|
@@ -320,17 +370,9 @@
|
|
|
320
370
|
{
|
|
321
371
|
"emit": {
|
|
322
372
|
"failure": "StatusChangeFailed",
|
|
323
|
-
"success": "
|
|
373
|
+
"success": "StatusPersisted"
|
|
324
374
|
}
|
|
325
375
|
}
|
|
326
|
-
],
|
|
327
|
-
[
|
|
328
|
-
"emit",
|
|
329
|
-
"StatusChanged",
|
|
330
|
-
{
|
|
331
|
-
"entityId": "@payload.id",
|
|
332
|
-
"status": "@payload.to"
|
|
333
|
-
}
|
|
334
376
|
]
|
|
335
377
|
],
|
|
336
378
|
"event": "ChangeStatusRequested",
|
|
@@ -371,6 +413,39 @@
|
|
|
371
413
|
],
|
|
372
414
|
"to": "idle"
|
|
373
415
|
},
|
|
416
|
+
{
|
|
417
|
+
"effects": [
|
|
418
|
+
[
|
|
419
|
+
"emit",
|
|
420
|
+
"StatusChanged",
|
|
421
|
+
{
|
|
422
|
+
"entityId": "@payload.id",
|
|
423
|
+
"status": [
|
|
424
|
+
"str/default",
|
|
425
|
+
[
|
|
426
|
+
"object/get",
|
|
427
|
+
"@payload.row",
|
|
428
|
+
"@config.statusField"
|
|
429
|
+
],
|
|
430
|
+
""
|
|
431
|
+
]
|
|
432
|
+
}
|
|
433
|
+
]
|
|
434
|
+
],
|
|
435
|
+
"event": "StatusPersisted",
|
|
436
|
+
"eventId": "evt_01M16B4D84NQ48FBP2K2PFGP33",
|
|
437
|
+
"from": "idle",
|
|
438
|
+
"guard": [
|
|
439
|
+
"!=",
|
|
440
|
+
[
|
|
441
|
+
"str/default",
|
|
442
|
+
"@payload.id",
|
|
443
|
+
""
|
|
444
|
+
],
|
|
445
|
+
""
|
|
446
|
+
],
|
|
447
|
+
"to": "idle"
|
|
448
|
+
},
|
|
374
449
|
{
|
|
375
450
|
"event": "StatusChangeFailed",
|
|
376
451
|
"eventId": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
|
|
@@ -237,6 +237,10 @@
|
|
|
237
237
|
"maxInlineActions": {
|
|
238
238
|
"default": 2.0,
|
|
239
239
|
"type": "unknown"
|
|
240
|
+
},
|
|
241
|
+
"selfFetch": {
|
|
242
|
+
"default": false,
|
|
243
|
+
"type": "unknown"
|
|
240
244
|
}
|
|
241
245
|
},
|
|
242
246
|
"id": "trt_01KYGG0J813545ADJDSSED6T49",
|
|
@@ -253,8 +257,7 @@
|
|
|
253
257
|
}
|
|
254
258
|
],
|
|
255
259
|
"name": "DenseHoursTable",
|
|
256
|
-
"ref": "TableView.traits.TableViewRender"
|
|
257
|
-
"refId": "trt_01KXG04RSAMGZ70BX7E6M2EKPH"
|
|
260
|
+
"ref": "TableView.traits.TableViewRender"
|
|
258
261
|
},
|
|
259
262
|
{
|
|
260
263
|
"category": "interaction",
|
|
@@ -240,6 +240,10 @@
|
|
|
240
240
|
"pageSize": {
|
|
241
241
|
"default": "@config.displayPageSize",
|
|
242
242
|
"type": "unknown"
|
|
243
|
+
},
|
|
244
|
+
"selfFetch": {
|
|
245
|
+
"default": false,
|
|
246
|
+
"type": "unknown"
|
|
243
247
|
}
|
|
244
248
|
},
|
|
245
249
|
"id": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
|
|
@@ -291,6 +295,10 @@
|
|
|
291
295
|
"selectable": {
|
|
292
296
|
"default": "@config.selectable",
|
|
293
297
|
"type": "unknown"
|
|
298
|
+
},
|
|
299
|
+
"selfFetch": {
|
|
300
|
+
"default": false,
|
|
301
|
+
"type": "unknown"
|
|
294
302
|
}
|
|
295
303
|
},
|
|
296
304
|
"id": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
|
|
@@ -327,6 +335,10 @@
|
|
|
327
335
|
"default": "@config.maxInlineActions",
|
|
328
336
|
"type": "unknown"
|
|
329
337
|
},
|
|
338
|
+
"selfFetch": {
|
|
339
|
+
"default": false,
|
|
340
|
+
"type": "unknown"
|
|
341
|
+
},
|
|
330
342
|
"variant": {
|
|
331
343
|
"default": "compact",
|
|
332
344
|
"type": "unknown"
|
|
@@ -91,6 +91,15 @@
|
|
|
91
91
|
"parent": "trt_01KXG04GPPQ5ZGZHEQZS2K348W",
|
|
92
92
|
"renames": []
|
|
93
93
|
},
|
|
94
|
+
"evt_01M16934M0W8Y527DED848HZ4A": {
|
|
95
|
+
"bakedName": "UploadedImageStored",
|
|
96
|
+
"curName": "UploadedImageStored",
|
|
97
|
+
"id": "evt_01M16934M0W8Y527DED848HZ4A",
|
|
98
|
+
"kind": "event",
|
|
99
|
+
"owner": "workspace",
|
|
100
|
+
"parent": "trt_01KXG04GPPQ5ZGZHEQZS2K348W",
|
|
101
|
+
"renames": []
|
|
102
|
+
},
|
|
94
103
|
"orb_01KXG04GPP9XFE8XCDV7B7GEJX": {
|
|
95
104
|
"bakedName": "UploadedImageOrbital",
|
|
96
105
|
"curName": "UploadedImageOrbital",
|
|
@@ -215,6 +224,13 @@
|
|
|
215
224
|
"tier": "domain",
|
|
216
225
|
"type": "string"
|
|
217
226
|
},
|
|
227
|
+
"bucket": {
|
|
228
|
+
"default": "images",
|
|
229
|
+
"description": "Object-storage bucket the batch uploads into",
|
|
230
|
+
"label": "Storage bucket",
|
|
231
|
+
"tier": "domain",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
218
234
|
"maxBytesPerImage": {
|
|
219
235
|
"default": 10485760.0,
|
|
220
236
|
"description": "Per-image upload size cap",
|
|
@@ -246,7 +262,7 @@
|
|
|
246
262
|
{
|
|
247
263
|
"name": "files",
|
|
248
264
|
"required": true,
|
|
249
|
-
"type": "
|
|
265
|
+
"type": "[UploadBatchFile]"
|
|
250
266
|
}
|
|
251
267
|
],
|
|
252
268
|
"synonyms": "start, initiate, begin",
|
|
@@ -339,6 +355,23 @@
|
|
|
339
355
|
"synonyms": "added, new, received",
|
|
340
356
|
"tier": "domain"
|
|
341
357
|
},
|
|
358
|
+
{
|
|
359
|
+
"description": "The storage service accepted the whole batch; items carry each file's stored address and metadata, ready to persist.",
|
|
360
|
+
"event": "UploadedImageStored",
|
|
361
|
+
"eventId": "evt_01M16934M0W8Y527DED848HZ4A",
|
|
362
|
+
"payloadSchema": [
|
|
363
|
+
{
|
|
364
|
+
"name": "items",
|
|
365
|
+
"type": "[StoredImageItem]"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "count",
|
|
369
|
+
"type": "number"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"synonyms": "uploaded, stored, saved to storage",
|
|
373
|
+
"tier": "internal"
|
|
374
|
+
},
|
|
342
375
|
{
|
|
343
376
|
"description": "Indicates a single image upload encountered an error.",
|
|
344
377
|
"event": "UploadedImageUploadFailed",
|
|
@@ -443,8 +476,27 @@
|
|
|
443
476
|
"payloadSchema": [
|
|
444
477
|
{
|
|
445
478
|
"name": "files",
|
|
479
|
+
"properties": [
|
|
480
|
+
{
|
|
481
|
+
"name": "name",
|
|
482
|
+
"required": true,
|
|
483
|
+
"type": "string"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "size",
|
|
487
|
+
"type": "number"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "type",
|
|
491
|
+
"type": "string"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "content",
|
|
495
|
+
"type": "string"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
446
498
|
"required": true,
|
|
447
|
-
"type": "object"
|
|
499
|
+
"type": "[object]"
|
|
448
500
|
}
|
|
449
501
|
],
|
|
450
502
|
"synonyms": "start, initiate, begin",
|
|
@@ -498,6 +550,51 @@
|
|
|
498
550
|
"synonyms": "failed delete, deletion error",
|
|
499
551
|
"tier": "internal"
|
|
500
552
|
},
|
|
553
|
+
{
|
|
554
|
+
"description": "The storage service accepted the whole batch; items carry each file's stored address and metadata, ready to persist.",
|
|
555
|
+
"id": "evt_01M16934M0W8Y527DED848HZ4A",
|
|
556
|
+
"key": "UploadedImageStored",
|
|
557
|
+
"name": "UploadedImage stored",
|
|
558
|
+
"payloadSchema": [
|
|
559
|
+
{
|
|
560
|
+
"name": "items",
|
|
561
|
+
"properties": [
|
|
562
|
+
{
|
|
563
|
+
"name": "id",
|
|
564
|
+
"required": true,
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "key",
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"name": "url",
|
|
573
|
+
"type": "string"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"name": "name",
|
|
577
|
+
"type": "string"
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "sizeBytes",
|
|
581
|
+
"type": "number"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "mimeType",
|
|
585
|
+
"type": "string"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"type": "[object]"
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"name": "count",
|
|
592
|
+
"type": "number"
|
|
593
|
+
}
|
|
594
|
+
],
|
|
595
|
+
"synonyms": "uploaded, stored, saved to storage",
|
|
596
|
+
"tier": "internal"
|
|
597
|
+
},
|
|
501
598
|
{
|
|
502
599
|
"description": "A new image has been successfully uploaded.",
|
|
503
600
|
"id": "evt_01KXG04GPSNJT5ZBBRNCBPBV46",
|
|
@@ -700,14 +797,19 @@
|
|
|
700
797
|
{
|
|
701
798
|
"effects": [
|
|
702
799
|
[
|
|
703
|
-
"
|
|
704
|
-
"
|
|
705
|
-
"
|
|
706
|
-
|
|
800
|
+
"call-service",
|
|
801
|
+
"storage",
|
|
802
|
+
"uploadMany",
|
|
803
|
+
{
|
|
804
|
+
"acl": "public",
|
|
805
|
+
"bucket": "@config.bucket",
|
|
806
|
+
"files": "@payload.files",
|
|
807
|
+
"maxSize": "@config.maxBytesPerImage"
|
|
808
|
+
},
|
|
707
809
|
{
|
|
708
810
|
"emit": {
|
|
709
811
|
"failure": "UploadedImageUploadFailed",
|
|
710
|
-
"success": "
|
|
812
|
+
"success": "UploadedImageStored"
|
|
711
813
|
}
|
|
712
814
|
}
|
|
713
815
|
],
|
|
@@ -796,6 +898,26 @@
|
|
|
796
898
|
"from": "browsing",
|
|
797
899
|
"to": "error"
|
|
798
900
|
},
|
|
901
|
+
{
|
|
902
|
+
"effects": [
|
|
903
|
+
[
|
|
904
|
+
"persist",
|
|
905
|
+
"create",
|
|
906
|
+
"UploadedImage",
|
|
907
|
+
"@payload.items",
|
|
908
|
+
{
|
|
909
|
+
"emit": {
|
|
910
|
+
"failure": "UploadedImageUploadFailed",
|
|
911
|
+
"success": "UploadedImageCreated"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
],
|
|
916
|
+
"event": "UploadedImageStored",
|
|
917
|
+
"eventId": "evt_01M16934M0W8Y527DED848HZ4A",
|
|
918
|
+
"from": "uploading",
|
|
919
|
+
"to": "uploading"
|
|
920
|
+
},
|
|
799
921
|
{
|
|
800
922
|
"effects": [
|
|
801
923
|
[
|
|
@@ -64,6 +64,15 @@
|
|
|
64
64
|
"parent": "trt_01KXG04GVS1W2103BQKJT7KZRZ",
|
|
65
65
|
"renames": []
|
|
66
66
|
},
|
|
67
|
+
"evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK": {
|
|
68
|
+
"bakedName": "SEED",
|
|
69
|
+
"curName": "SEED",
|
|
70
|
+
"id": "evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK",
|
|
71
|
+
"kind": "event",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"parent": "trt_01KXG04GVS1W2103BQKJT7KZRZ",
|
|
74
|
+
"renames": []
|
|
75
|
+
},
|
|
67
76
|
"orb_01KXG04GVS05DXYNB5ZR3H2X72": {
|
|
68
77
|
"bakedName": "ModalRecordOrbital",
|
|
69
78
|
"curName": "ModalRecordOrbital",
|
|
@@ -124,6 +133,18 @@
|
|
|
124
133
|
"pending"
|
|
125
134
|
]
|
|
126
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"default": {},
|
|
138
|
+
"description": "The row an edit-mode OPEN pre-fills from when its payload carries no row. Stashed by SEED — hosts route the surface's loaded event here (e.g. a document look's RecordItemLoaded) so scalar-only action events ({ id }) can still open a fully seeded settings form.",
|
|
139
|
+
"intrinsic": true,
|
|
140
|
+
"name": "seedRow",
|
|
141
|
+
"relation": {
|
|
142
|
+
"cardinality": "one",
|
|
143
|
+
"entity": "ModalRecord",
|
|
144
|
+
"entityId": "ent_01KXG04GVS68RDSK2NDK0G2TT5"
|
|
145
|
+
},
|
|
146
|
+
"type": "relation"
|
|
147
|
+
},
|
|
127
148
|
{
|
|
128
149
|
"name": "createdAt",
|
|
129
150
|
"type": "string"
|
|
@@ -291,7 +312,9 @@
|
|
|
291
312
|
}
|
|
292
313
|
],
|
|
293
314
|
"entityContract": {
|
|
294
|
-
"provides": [
|
|
315
|
+
"provides": [
|
|
316
|
+
"seedRow"
|
|
317
|
+
],
|
|
295
318
|
"requires": []
|
|
296
319
|
},
|
|
297
320
|
"entityRebindable": true,
|
|
@@ -310,6 +333,20 @@
|
|
|
310
333
|
"key": "INIT",
|
|
311
334
|
"name": "Initialize"
|
|
312
335
|
},
|
|
336
|
+
{
|
|
337
|
+
"description": "Stash the row an edit-mode OPEN will pre-fill from. Hosts route the owning surface's loaded event here (e.g. RecordItemLoaded from a document look) so an OPEN carrying only { id } still opens a fully seeded form.",
|
|
338
|
+
"id": "evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK",
|
|
339
|
+
"key": "SEED",
|
|
340
|
+
"name": "Seed",
|
|
341
|
+
"payloadSchema": [
|
|
342
|
+
{
|
|
343
|
+
"name": "row",
|
|
344
|
+
"type": "ModalRecord"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"synonyms": "preload row, stash record, seed form, prefill",
|
|
348
|
+
"tier": "domain"
|
|
349
|
+
},
|
|
313
350
|
{
|
|
314
351
|
"description": "A request to display the modal window.",
|
|
315
352
|
"id": "evt_01KXG04GVS6WNYYGFS0H53BHKC",
|
|
@@ -412,6 +449,23 @@
|
|
|
412
449
|
"from": "closed",
|
|
413
450
|
"to": "closed"
|
|
414
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"effects": [
|
|
454
|
+
[
|
|
455
|
+
"set",
|
|
456
|
+
"@entity.seedRow",
|
|
457
|
+
[
|
|
458
|
+
"object/merge",
|
|
459
|
+
"@payload.row",
|
|
460
|
+
{}
|
|
461
|
+
]
|
|
462
|
+
]
|
|
463
|
+
],
|
|
464
|
+
"event": "SEED",
|
|
465
|
+
"eventId": "evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK",
|
|
466
|
+
"from": "closed",
|
|
467
|
+
"to": "closed"
|
|
468
|
+
},
|
|
415
469
|
{
|
|
416
470
|
"effects": [
|
|
417
471
|
[
|
|
@@ -445,7 +499,15 @@
|
|
|
445
499
|
},
|
|
446
500
|
{
|
|
447
501
|
"cancelEvent": "CLOSE",
|
|
448
|
-
"entity":
|
|
502
|
+
"entity": [
|
|
503
|
+
"object/merge",
|
|
504
|
+
"@entity.seedRow",
|
|
505
|
+
[
|
|
506
|
+
"object/merge",
|
|
507
|
+
"@payload.row",
|
|
508
|
+
{}
|
|
509
|
+
]
|
|
510
|
+
],
|
|
449
511
|
"fieldOverrides": "@config.fieldOverrides",
|
|
450
512
|
"fields": "@config.fields",
|
|
451
513
|
"mode": "@config.mode",
|
|
@@ -469,8 +531,38 @@
|
|
|
469
531
|
"@config.mode",
|
|
470
532
|
"create"
|
|
471
533
|
],
|
|
472
|
-
"@payload.row"
|
|
534
|
+
"@payload.row",
|
|
535
|
+
[
|
|
536
|
+
"!=",
|
|
537
|
+
[
|
|
538
|
+
"str/default",
|
|
539
|
+
[
|
|
540
|
+
"object/get",
|
|
541
|
+
"@entity.seedRow",
|
|
542
|
+
"id"
|
|
543
|
+
],
|
|
544
|
+
""
|
|
545
|
+
],
|
|
546
|
+
""
|
|
547
|
+
]
|
|
548
|
+
],
|
|
549
|
+
"to": "open"
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"effects": [
|
|
553
|
+
[
|
|
554
|
+
"set",
|
|
555
|
+
"@entity.seedRow",
|
|
556
|
+
[
|
|
557
|
+
"object/merge",
|
|
558
|
+
"@payload.row",
|
|
559
|
+
{}
|
|
560
|
+
]
|
|
561
|
+
]
|
|
473
562
|
],
|
|
563
|
+
"event": "SEED",
|
|
564
|
+
"eventId": "evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK",
|
|
565
|
+
"from": "open",
|
|
474
566
|
"to": "open"
|
|
475
567
|
},
|
|
476
568
|
{
|