@almadar/std 16.209.0 → 16.211.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.
Files changed (113) hide show
  1. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +2 -2
  2. package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +5 -5
  3. package/behaviors/lolo/infra/atoms/std-cascade-on-delete.lolo +7 -1
  4. package/behaviors/lolo/infra/atoms/std-circuit-breaker.lolo +3 -3
  5. package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +1 -0
  6. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +40 -41
  7. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +25 -19
  8. package/behaviors/lolo/ui/core/atoms/std-confirmation.lolo +2 -0
  9. package/behaviors/lolo/ui/core/atoms/std-esign-request.lolo +2 -2
  10. package/behaviors/lolo/ui/core/atoms/std-graphs.lolo +1 -1
  11. package/behaviors/lolo/ui/core/atoms/std-modal.lolo +3 -1
  12. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +1 -1
  13. package/behaviors/lolo/ui/core/atoms/std-step-flow.lolo +4 -3
  14. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +1 -4
  15. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +33 -30
  16. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  17. package/behaviors/lolo/ui/core/atoms/ui-radio.lolo +1 -1
  18. package/behaviors/lolo/ui/core/atoms/ui-range-slider.lolo +1 -1
  19. package/behaviors/lolo/ui/core/atoms/ui-switch.lolo +1 -1
  20. package/behaviors/lolo/ui/core/atoms/ui-text-highlight.lolo +1 -1
  21. package/behaviors/lolo/ui/core/atoms/ui-time-slot-cell.lolo +1 -1
  22. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +2 -2
  23. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +1 -1
  24. package/behaviors/lolo/ui/core/molecules/ui-date-range-picker.lolo +2 -2
  25. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +2 -2
  26. package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +1 -1
  27. package/behaviors/lolo/ui/core/molecules/ui-number-stepper.lolo +1 -1
  28. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +1 -1
  29. package/behaviors/lolo/ui/core/molecules/ui-popover.lolo +1 -1
  30. package/behaviors/lolo/ui/core/molecules/ui-relation-select.lolo +1 -1
  31. package/behaviors/lolo/ui/core/molecules/ui-rich-text-editor.lolo +1 -1
  32. package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +1 -1
  33. package/behaviors/lolo/ui/core/molecules/ui-sidebar.lolo +1 -1
  34. package/behaviors/lolo/ui/core/molecules/ui-star-rating.lolo +1 -1
  35. package/behaviors/lolo/ui/core/molecules/ui-wizard-navigation.lolo +2 -2
  36. package/behaviors/lolo/ui/core/organisms/ui-split-pane.lolo +1 -1
  37. package/behaviors/lolo/ui/game/atoms/ui-draw-skinned-mesh.lolo +126 -0
  38. package/behaviors/lolo/ui/game/atoms/ui-trait-slot.lolo +1 -1
  39. package/behaviors/lolo/ui/game/organisms/std-arcade-board-3d.lolo +10 -10
  40. package/behaviors/lolo/ui/game/organisms/std-crew-board-2d.lolo +10 -10
  41. package/behaviors/lolo/ui/game/organisms/std-dungeon-board-2d.lolo +36 -36
  42. package/behaviors/lolo/ui/game/organisms/std-market-board-3d.lolo +36 -36
  43. package/behaviors/lolo/ui/game/organisms/std-objective-board-3d.lolo +34 -34
  44. package/behaviors/lolo/ui/game/organisms/std-survival-board-3d.lolo +10 -10
  45. package/behaviors/lolo/ui/game/organisms/std-tactics-board-2d.lolo +12 -12
  46. package/behaviors/lolo/ui/game/organisms/std-tactics-board-3d.lolo +12 -12
  47. package/behaviors/lolo/ui/game/organisms/std-worldmap-board-2d.lolo +20 -20
  48. package/behaviors/registry/infra/atoms/std-approval-gate.orb +20 -9
  49. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +5 -0
  50. package/behaviors/registry/infra/atoms/std-cascade-on-delete.orb +28 -0
  51. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +3 -0
  52. package/behaviors/registry/infra/atoms/std-notification-center.orb +56 -24
  53. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +12 -6
  54. package/behaviors/registry/ui/core/atoms/std-app-layout.orb +20 -0
  55. package/behaviors/registry/ui/core/atoms/std-browse.orb +51 -137
  56. package/behaviors/registry/ui/core/atoms/std-calendar.orb +101 -24
  57. package/behaviors/registry/ui/core/atoms/std-confirmation.orb +44 -18
  58. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +44 -18
  59. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +19 -8
  60. package/behaviors/registry/ui/core/atoms/std-form-advanced.orb +20 -9
  61. package/behaviors/registry/ui/core/atoms/std-graphs.orb +1 -0
  62. package/behaviors/registry/ui/core/atoms/std-modal.orb +52 -24
  63. package/behaviors/registry/ui/core/atoms/std-stats.orb +1 -0
  64. package/behaviors/registry/ui/core/atoms/std-step-flow.orb +0 -3
  65. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +2 -9
  66. package/behaviors/registry/ui/core/atoms/std-thread.orb +134 -40
  67. package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -0
  68. package/behaviors/registry/ui/core/atoms/ui-radio.orb +1 -0
  69. package/behaviors/registry/ui/core/atoms/ui-range-slider.orb +1 -0
  70. package/behaviors/registry/ui/core/atoms/ui-switch.orb +1 -0
  71. package/behaviors/registry/ui/core/atoms/ui-text-highlight.orb +1 -0
  72. package/behaviors/registry/ui/core/atoms/ui-time-slot-cell.orb +1 -0
  73. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +2 -0
  74. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +1 -0
  75. package/behaviors/registry/ui/core/molecules/ui-date-range-picker.orb +2 -0
  76. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +2 -0
  77. package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +1 -0
  78. package/behaviors/registry/ui/core/molecules/ui-number-stepper.orb +1 -0
  79. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +1 -0
  80. package/behaviors/registry/ui/core/molecules/ui-popover.orb +1 -0
  81. package/behaviors/registry/ui/core/molecules/ui-relation-select.orb +1 -0
  82. package/behaviors/registry/ui/core/molecules/ui-rich-text-editor.orb +1 -0
  83. package/behaviors/registry/ui/core/molecules/ui-search-input.orb +1 -0
  84. package/behaviors/registry/ui/core/molecules/ui-sidebar.orb +1 -0
  85. package/behaviors/registry/ui/core/molecules/ui-star-rating.orb +1 -0
  86. package/behaviors/registry/ui/core/molecules/ui-wizard-navigation.orb +2 -0
  87. package/behaviors/registry/ui/core/organisms/ui-split-pane.orb +1 -0
  88. package/behaviors/registry/ui/game/atoms/ui-draw-skinned-mesh.orb +687 -0
  89. package/behaviors/registry/ui/game/atoms/ui-trait-slot.orb +1 -0
  90. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +10 -30
  91. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +10 -30
  92. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +36 -108
  93. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +36 -108
  94. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +34 -102
  95. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +10 -30
  96. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -36
  97. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +12 -36
  98. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +20 -60
  99. package/dist/behaviors/exports-reader.js +2147 -2212
  100. package/dist/behaviors/functions/index.d.ts +111 -34
  101. package/dist/behaviors/functions/index.js +2145 -2211
  102. package/dist/behaviors/index.d.ts +1 -1
  103. package/dist/behaviors/index.js +2148 -2213
  104. package/dist/behaviors/query.js +2147 -2212
  105. package/dist/behaviors-embeddings.hash.json +3 -3
  106. package/dist/behaviors-embeddings.json +11 -7
  107. package/dist/behaviors-registry.json +997 -759
  108. package/dist/index.d.ts +1 -1
  109. package/dist/index.js +2148 -2213
  110. package/dist/knob-embeddings.hash.json +3 -3
  111. package/dist/knob-embeddings.json +1 -1
  112. package/dist/registry/factory-signatures.json +1 -1
  113. package/package.json +3 -3
@@ -371,9 +371,6 @@
371
371
  "kind": "fetch",
372
372
  "resource": "FormEntry"
373
373
  },
374
- {
375
- "kind": "notify"
376
- },
377
374
  {
378
375
  "kind": "persist",
379
376
  "resource": "FormEntry"
@@ -381,6 +378,10 @@
381
378
  {
382
379
  "kind": "render-ui",
383
380
  "resource": "main"
381
+ },
382
+ {
383
+ "kind": "render-ui",
384
+ "resource": "toast"
384
385
  }
385
386
  ],
386
387
  "emits": [
@@ -842,9 +843,14 @@
842
843
  {
843
844
  "effects": [
844
845
  [
845
- "notify",
846
- "error",
847
- "Failed to load form"
846
+ "render-ui",
847
+ "toast",
848
+ {
849
+ "dismissible": true,
850
+ "message": "Failed to load form",
851
+ "type": "alert",
852
+ "variant": "error"
853
+ }
848
854
  ]
849
855
  ],
850
856
  "event": "FormEntryLoadFailed",
@@ -927,9 +933,14 @@
927
933
  {
928
934
  "effects": [
929
935
  [
930
- "notify",
931
- "error",
932
- "Failed to save form entry"
936
+ "render-ui",
937
+ "toast",
938
+ {
939
+ "dismissible": true,
940
+ "message": "Failed to save form entry",
941
+ "type": "alert",
942
+ "variant": "error"
943
+ }
933
944
  ]
934
945
  ],
935
946
  "event": "FormEntrySaveFailed",
@@ -68,6 +68,7 @@
68
68
  {
69
69
  "default": [],
70
70
  "description": "The data points used to render the chart.",
71
+ "intrinsic": true,
71
72
  "items": {
72
73
  "properties": {
73
74
  "label": {
@@ -265,14 +265,15 @@
265
265
  "kind": "fetch",
266
266
  "resource": "ModalRecord"
267
267
  },
268
- {
269
- "kind": "notify"
270
- },
271
268
  {
272
269
  "kind": "render-ui",
273
270
  "resolved": false,
274
271
  "resource": "@config.detailSlot"
275
272
  },
273
+ {
274
+ "kind": "render-ui",
275
+ "resource": "toast"
276
+ },
276
277
  {
277
278
  "kind": "set",
278
279
  "resource": "@entity.id"
@@ -386,6 +387,24 @@
386
387
  "key": "INIT",
387
388
  "name": "Initialize"
388
389
  },
390
+ {
391
+ "description": "Indicates a failure to load the record data.",
392
+ "id": "evt_01KXG04GVS0KS8WXT183DREMAC",
393
+ "key": "ModalRecordLoadFailed",
394
+ "name": "ModalRecord load failed",
395
+ "payloadSchema": [
396
+ {
397
+ "name": "error",
398
+ "type": "string"
399
+ },
400
+ {
401
+ "name": "code",
402
+ "type": "string"
403
+ }
404
+ ],
405
+ "synonyms": "error, failure, problem, unsuccessful",
406
+ "tier": "internal"
407
+ },
389
408
  {
390
409
  "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.",
391
410
  "id": "evt_01M15CRJ6RE1E1ZFKT9Y1PXNZK",
@@ -495,24 +514,6 @@
495
514
  "synonyms": "submit, persist, confirm",
496
515
  "tier": "domain"
497
516
  },
498
- {
499
- "description": "Indicates a failure to load the record data.",
500
- "id": "evt_01KXG04GVS0KS8WXT183DREMAC",
501
- "key": "ModalRecordLoadFailed",
502
- "name": "ModalRecord load failed",
503
- "payloadSchema": [
504
- {
505
- "name": "error",
506
- "type": "string"
507
- },
508
- {
509
- "name": "code",
510
- "type": "string"
511
- }
512
- ],
513
- "synonyms": "error, failure, problem, unsuccessful",
514
- "tier": "internal"
515
- },
516
517
  {
517
518
  "description": "Signals that the modal's data has been successfully loaded.",
518
519
  "id": "evt_01KXG04GVS3BQFMQRN09N23MX6",
@@ -583,6 +584,28 @@
583
584
  "from": "closed",
584
585
  "to": "closed"
585
586
  },
587
+ {
588
+ "effects": [
589
+ [
590
+ "render-ui",
591
+ "toast",
592
+ {
593
+ "dismissible": true,
594
+ "message": [
595
+ "str/concat",
596
+ "Couldn't load the record — ",
597
+ "@payload.error"
598
+ ],
599
+ "type": "alert",
600
+ "variant": "error"
601
+ }
602
+ ]
603
+ ],
604
+ "event": "ModalRecordLoadFailed",
605
+ "eventId": "evt_01KXG04GVS0KS8WXT183DREMAC",
606
+ "from": "closed",
607
+ "to": "closed"
608
+ },
586
609
  {
587
610
  "effects": [
588
611
  [
@@ -707,9 +730,14 @@
707
730
  null
708
731
  ],
709
732
  [
710
- "notify",
711
- "Cancelled",
712
- "info"
733
+ "render-ui",
734
+ "toast",
735
+ {
736
+ "dismissible": true,
737
+ "message": "Cancelled",
738
+ "type": "alert",
739
+ "variant": "info"
740
+ }
713
741
  ]
714
742
  ],
715
743
  "event": "CLOSE",
@@ -68,6 +68,7 @@
68
68
  {
69
69
  "default": [],
70
70
  "description": "A collection of statistical cards to display.",
71
+ "intrinsic": true,
71
72
  "items": {
72
73
  "properties": {
73
74
  "clickEvent": {
@@ -200,7 +200,6 @@
200
200
  },
201
201
  {
202
202
  "default": 0.0,
203
- "intrinsic": true,
204
203
  "name": "currentStepIndex",
205
204
  "type": "number"
206
205
  },
@@ -264,7 +263,6 @@
264
263
  },
265
264
  {
266
265
  "default": "",
267
- "intrinsic": true,
268
266
  "name": "finalStatus",
269
267
  "type": "string",
270
268
  "values": [
@@ -276,7 +274,6 @@
276
274
  },
277
275
  {
278
276
  "default": "",
279
- "intrinsic": true,
280
277
  "name": "rejectionReason",
281
278
  "type": "string"
282
279
  },
@@ -392,13 +392,6 @@
392
392
  "synonyms": "chosen, picked, activated, highlighted",
393
393
  "tier": "domain"
394
394
  },
395
- {
396
- "description": "Opens the create-tag form (rendered only when allowEdit is on); the creation lands at the level currently open.",
397
- "event": "NEW_TAG",
398
- "eventId": "evt_01M169QR0DYJMCCP7409YMSH6A",
399
- "synonyms": "add tag, create category, new category",
400
- "tier": "domain"
401
- },
402
395
  {
403
396
  "description": "The new-category form committed; data carries the name and the parent level.",
404
397
  "event": "COMMIT_TAG",
@@ -617,11 +610,11 @@
617
610
  "name": "Show Root"
618
611
  },
619
612
  {
620
- "description": "Opens the create-tag form (rendered only when allowEdit is on); the creation lands at the level currently open.",
613
+ "description": "The New-category affordance was clicked.",
621
614
  "id": "evt_01M169QR0DYJMCCP7409YMSH6A",
622
615
  "key": "NEW_TAG",
623
616
  "name": "New Tag",
624
- "synonyms": "add tag, create category, new category",
617
+ "synonyms": "add tag, create category",
625
618
  "tier": "domain"
626
619
  },
627
620
  {
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "std-thread — forum-style nested replies with collapse + flat-mode toggle. Owns ThreadPost (persistent). flat:true covers 1:1 linear inquiry threads; flat:false renders forum-style nested. INIT fetches, scoped by @config.threadRootId when set (blank = every root, the default). REPLY persists a child post under @payload.parentId, stamped with the real @user identity. A consumer that mounts this as page comments forwards its own document-opened signal to SET_THREAD_ROOT { rootId }, which stamps the frame and refetches filtered by the payload; the after-create and after-select refetch arms keep filtering by @config.threadRootId, so a mutation re-widens the panel until the consumer re-fires SET_THREAD_ROOT. Layer 3 variants override `bodyContent` to deliver chat-bubble, email-threaded, or linear-comments UX while inheriting the same trait, state machine, emits, and listens. A non-empty sectionTitle switches the default bodyContent into titled-comments mode: header + post list + a standalone composer button (without it an empty thread has no REPLY emitter at all — the affordance only existed per-row).",
2
+ "description": "std-thread — forum-style nested replies with collapse + flat-mode toggle. Owns ThreadPost (persistent). flat:true covers 1:1 linear inquiry threads; flat:false renders forum-style nested. INIT fetches, scoped by @config.threadRootId when set (blank = every root, the default). REPLY persists a child post under @payload.parentId, stamped with the real @user identity. A consumer that mounts this as page comments forwards its own document-opened signal to SET_THREAD_ROOT { rootId }, which stamps @entity.replyRootId (scratch — the persisted threadRootId column is written only by the reply persist create) and refetches filtered by the payload; a plain INIT re-entry now also falls back through @entity.replyRootId before @config.threadRootId, so it stays scoped to the last SET_THREAD_ROOT instead of re-widening — only the after-create/after-select refetches still scope directly off their own event payload. Layer 3 variants override `bodyContent` to deliver chat-bubble, email-threaded, or linear-comments UX while inheriting the same trait, state machine, emits, and listens. A non-empty sectionTitle switches the default bodyContent into titled-comments mode: header + post list + a standalone composer button (without it an empty thread has no REPLY emitter at all — the affordance only existed per-row).",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01KXG04HSZB16HRNNZWKASR1J1": {
@@ -213,12 +213,34 @@
213
213
  {
214
214
  "default": {},
215
215
  "description": "The currently selected or active row within the thread.",
216
+ "intrinsic": true,
216
217
  "items": {
217
218
  "type": "scalar"
218
219
  },
219
220
  "name": "focusedRow",
220
221
  "synonyms": "selection, active, current",
221
222
  "type": "object"
223
+ },
224
+ {
225
+ "default": "",
226
+ "description": "Reply text being composed.",
227
+ "intrinsic": true,
228
+ "name": "replyDraft",
229
+ "type": "string"
230
+ },
231
+ {
232
+ "default": "",
233
+ "description": "Post the reply being composed answers.",
234
+ "intrinsic": true,
235
+ "name": "replyParentId",
236
+ "type": "string"
237
+ },
238
+ {
239
+ "default": "",
240
+ "description": "Thread root the reply being composed belongs to.",
241
+ "intrinsic": true,
242
+ "name": "replyRootId",
243
+ "type": "string"
222
244
  }
223
245
  ],
224
246
  "id": "ent_01KXG04HSZB16HRNNZWKASR1J1",
@@ -485,19 +507,19 @@
485
507
  },
486
508
  {
487
509
  "kind": "set",
488
- "resource": "@entity.content"
510
+ "resource": "@entity.focusedRow"
489
511
  },
490
512
  {
491
513
  "kind": "set",
492
- "resource": "@entity.focusedRow"
514
+ "resource": "@entity.replyDraft"
493
515
  },
494
516
  {
495
517
  "kind": "set",
496
- "resource": "@entity.parentId"
518
+ "resource": "@entity.replyParentId"
497
519
  },
498
520
  {
499
521
  "kind": "set",
500
- "resource": "@entity.threadRootId"
522
+ "resource": "@entity.replyRootId"
501
523
  }
502
524
  ],
503
525
  "emits": [
@@ -626,6 +648,18 @@
626
648
  {
627
649
  "name": "focusedRow",
628
650
  "type": "Map<string,scalar>"
651
+ },
652
+ {
653
+ "name": "replyDraft",
654
+ "type": "string"
655
+ },
656
+ {
657
+ "name": "replyParentId",
658
+ "type": "string"
659
+ },
660
+ {
661
+ "name": "replyRootId",
662
+ "type": "string"
629
663
  }
630
664
  ],
631
665
  "type": "[object]"
@@ -705,6 +739,18 @@
705
739
  {
706
740
  "name": "focusedRow",
707
741
  "type": "Map<string,scalar>"
742
+ },
743
+ {
744
+ "name": "replyDraft",
745
+ "type": "string"
746
+ },
747
+ {
748
+ "name": "replyParentId",
749
+ "type": "string"
750
+ },
751
+ {
752
+ "name": "replyRootId",
753
+ "type": "string"
708
754
  }
709
755
  ],
710
756
  "scope": "internal",
@@ -731,10 +777,10 @@
731
777
  ],
732
778
  "entityContract": {
733
779
  "provides": [
734
- "content",
735
780
  "focusedRow",
736
- "parentId",
737
- "threadRootId"
781
+ "replyDraft",
782
+ "replyParentId",
783
+ "replyRootId"
738
784
  ],
739
785
  "requires": []
740
786
  },
@@ -812,6 +858,18 @@
812
858
  {
813
859
  "name": "focusedRow",
814
860
  "type": "Map<string,scalar>"
861
+ },
862
+ {
863
+ "name": "replyDraft",
864
+ "type": "string"
865
+ },
866
+ {
867
+ "name": "replyParentId",
868
+ "type": "string"
869
+ },
870
+ {
871
+ "name": "replyRootId",
872
+ "type": "string"
815
873
  }
816
874
  ],
817
875
  "type": "[object]"
@@ -930,6 +988,18 @@
930
988
  {
931
989
  "name": "focusedRow",
932
990
  "type": "Map<string,scalar>"
991
+ },
992
+ {
993
+ "name": "replyDraft",
994
+ "type": "string"
995
+ },
996
+ {
997
+ "name": "replyParentId",
998
+ "type": "string"
999
+ },
1000
+ {
1001
+ "name": "replyRootId",
1002
+ "type": "string"
933
1003
  }
934
1004
  ],
935
1005
  "synonyms": "new post, added, created",
@@ -1034,7 +1104,11 @@
1034
1104
  "or",
1035
1105
  [
1036
1106
  "=",
1037
- "@config.threadRootId",
1107
+ [
1108
+ "str/default",
1109
+ "@entity.replyRootId",
1110
+ "@config.threadRootId"
1111
+ ],
1038
1112
  ""
1039
1113
  ],
1040
1114
  [
@@ -1044,7 +1118,11 @@
1044
1118
  "@entity",
1045
1119
  "threadRootId"
1046
1120
  ],
1047
- "@config.threadRootId"
1121
+ [
1122
+ "str/default",
1123
+ "@entity.replyRootId",
1124
+ "@config.threadRootId"
1125
+ ]
1048
1126
  ]
1049
1127
  ],
1050
1128
  "include": [
@@ -1100,7 +1178,7 @@
1100
1178
  "effects": [
1101
1179
  [
1102
1180
  "set",
1103
- "@entity.threadRootId",
1181
+ "@entity.replyRootId",
1104
1182
  "@payload.rootId"
1105
1183
  ],
1106
1184
  [
@@ -1161,7 +1239,11 @@
1161
1239
  "or",
1162
1240
  [
1163
1241
  "=",
1164
- "@config.threadRootId",
1242
+ [
1243
+ "str/default",
1244
+ "@entity.replyRootId",
1245
+ "@config.threadRootId"
1246
+ ],
1165
1247
  ""
1166
1248
  ],
1167
1249
  [
@@ -1171,7 +1253,11 @@
1171
1253
  "@entity",
1172
1254
  "threadRootId"
1173
1255
  ],
1174
- "@config.threadRootId"
1256
+ [
1257
+ "str/default",
1258
+ "@entity.replyRootId",
1259
+ "@config.threadRootId"
1260
+ ]
1175
1261
  ]
1176
1262
  ],
1177
1263
  "include": [
@@ -1226,7 +1312,7 @@
1226
1312
  "@payload.parentNodeId",
1227
1313
  [
1228
1314
  "str/default",
1229
- "@entity.threadRootId",
1315
+ "@entity.replyRootId",
1230
1316
  [
1231
1317
  "str/default",
1232
1318
  "@config.threadRootId",
@@ -1264,7 +1350,7 @@
1264
1350
  "effects": [
1265
1351
  [
1266
1352
  "set",
1267
- "@entity.parentId",
1353
+ "@entity.replyParentId",
1268
1354
  [
1269
1355
  "str/default",
1270
1356
  "@payload.parentNodeId",
@@ -1273,13 +1359,13 @@
1273
1359
  ],
1274
1360
  [
1275
1361
  "set",
1276
- "@entity.threadRootId",
1362
+ "@entity.replyRootId",
1277
1363
  [
1278
1364
  "str/default",
1279
1365
  "@payload.parentNodeId",
1280
1366
  [
1281
1367
  "str/default",
1282
- "@entity.threadRootId",
1368
+ "@entity.replyRootId",
1283
1369
  [
1284
1370
  "str/default",
1285
1371
  "@config.threadRootId",
@@ -1348,12 +1434,12 @@
1348
1434
  "effects": [
1349
1435
  [
1350
1436
  "set",
1351
- "@entity.content",
1437
+ "@entity.replyDraft",
1352
1438
  ""
1353
1439
  ],
1354
1440
  [
1355
1441
  "set",
1356
- "@entity.parentId",
1442
+ "@entity.replyParentId",
1357
1443
  ""
1358
1444
  ],
1359
1445
  [
@@ -1439,7 +1525,7 @@
1439
1525
  "effects": [
1440
1526
  [
1441
1527
  "set",
1442
- "@entity.content",
1528
+ "@entity.replyDraft",
1443
1529
  "@payload.value"
1444
1530
  ]
1445
1531
  ],
@@ -1457,15 +1543,15 @@
1457
1543
  {
1458
1544
  "authorId": "@user.id",
1459
1545
  "authorName": "@user.name",
1460
- "content": "@entity.content",
1546
+ "content": "@entity.replyDraft",
1461
1547
  "parentId": [
1462
1548
  "str/default",
1463
- "@entity.parentId",
1549
+ "@entity.replyParentId",
1464
1550
  ""
1465
1551
  ],
1466
1552
  "threadRootId": [
1467
1553
  "str/default",
1468
- "@entity.threadRootId",
1554
+ "@entity.replyRootId",
1469
1555
  [
1470
1556
  "str/default",
1471
1557
  "@config.threadRootId",
@@ -1490,7 +1576,7 @@
1490
1576
  "=",
1491
1577
  [
1492
1578
  "str/default",
1493
- "@entity.content",
1579
+ "@entity.replyDraft",
1494
1580
  ""
1495
1581
  ],
1496
1582
  ""
@@ -1502,12 +1588,12 @@
1502
1588
  "effects": [
1503
1589
  [
1504
1590
  "set",
1505
- "@entity.content",
1591
+ "@entity.replyDraft",
1506
1592
  ""
1507
1593
  ],
1508
1594
  [
1509
1595
  "set",
1510
- "@entity.parentId",
1596
+ "@entity.replyParentId",
1511
1597
  ""
1512
1598
  ]
1513
1599
  ],
@@ -1554,7 +1640,7 @@
1554
1640
  "effects": [
1555
1641
  [
1556
1642
  "set",
1557
- "@entity.threadRootId",
1643
+ "@entity.replyRootId",
1558
1644
  "@payload.rootId"
1559
1645
  ],
1560
1646
  [
@@ -1605,7 +1691,7 @@
1605
1691
  "effects": [
1606
1692
  [
1607
1693
  "set",
1608
- "@entity.content",
1694
+ "@entity.replyDraft",
1609
1695
  "@payload.value"
1610
1696
  ]
1611
1697
  ],
@@ -1623,15 +1709,15 @@
1623
1709
  {
1624
1710
  "authorId": "@user.id",
1625
1711
  "authorName": "@user.name",
1626
- "content": "@entity.content",
1712
+ "content": "@entity.replyDraft",
1627
1713
  "parentId": [
1628
1714
  "str/default",
1629
- "@entity.parentId",
1715
+ "@entity.replyParentId",
1630
1716
  ""
1631
1717
  ],
1632
1718
  "threadRootId": [
1633
1719
  "str/default",
1634
- "@entity.threadRootId",
1720
+ "@entity.replyRootId",
1635
1721
  [
1636
1722
  "str/default",
1637
1723
  "@config.threadRootId",
@@ -1656,7 +1742,7 @@
1656
1742
  "=",
1657
1743
  [
1658
1744
  "str/default",
1659
- "@entity.content",
1745
+ "@entity.replyDraft",
1660
1746
  ""
1661
1747
  ],
1662
1748
  ""
@@ -1668,12 +1754,12 @@
1668
1754
  "effects": [
1669
1755
  [
1670
1756
  "set",
1671
- "@entity.content",
1757
+ "@entity.replyDraft",
1672
1758
  ""
1673
1759
  ],
1674
1760
  [
1675
1761
  "set",
1676
- "@entity.parentId",
1762
+ "@entity.replyParentId",
1677
1763
  ""
1678
1764
  ]
1679
1765
  ],
@@ -1686,12 +1772,12 @@
1686
1772
  "effects": [
1687
1773
  [
1688
1774
  "set",
1689
- "@entity.content",
1775
+ "@entity.replyDraft",
1690
1776
  ""
1691
1777
  ],
1692
1778
  [
1693
1779
  "set",
1694
- "@entity.parentId",
1780
+ "@entity.replyParentId",
1695
1781
  ""
1696
1782
  ],
1697
1783
  [
@@ -1751,7 +1837,7 @@
1751
1837
  "effects": [
1752
1838
  [
1753
1839
  "set",
1754
- "@entity.threadRootId",
1840
+ "@entity.replyRootId",
1755
1841
  "@payload.rootId"
1756
1842
  ],
1757
1843
  [
@@ -1812,7 +1898,11 @@
1812
1898
  "or",
1813
1899
  [
1814
1900
  "=",
1815
- "@config.threadRootId",
1901
+ [
1902
+ "str/default",
1903
+ "@entity.replyRootId",
1904
+ "@config.threadRootId"
1905
+ ],
1816
1906
  ""
1817
1907
  ],
1818
1908
  [
@@ -1822,7 +1912,11 @@
1822
1912
  "@entity",
1823
1913
  "threadRootId"
1824
1914
  ],
1825
- "@config.threadRootId"
1915
+ [
1916
+ "str/default",
1917
+ "@entity.replyRootId",
1918
+ "@config.threadRootId"
1919
+ ]
1826
1920
  ]
1827
1921
  ],
1828
1922
  "include": [
@@ -1848,7 +1942,7 @@
1848
1942
  "effects": [
1849
1943
  [
1850
1944
  "set",
1851
- "@entity.threadRootId",
1945
+ "@entity.replyRootId",
1852
1946
  "@payload.rootId"
1853
1947
  ],
1854
1948
  [
@@ -186,6 +186,7 @@
186
186
  {
187
187
  "default": "",
188
188
  "description": "The current search query the user submitted.",
189
+ "intrinsic": true,
189
190
  "name": "searchTerm",
190
191
  "synonyms": "query, term, q",
191
192
  "type": "string"