@decaf-ts/ui-decorators 0.20.8 → 0.21.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 (217) hide show
  1. package/dist/ui-decorators.cjs +1 -1
  2. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs +19 -0
  3. package/lib/cjs/graph/catalog/GraphManifestCompiler.cjs.map +1 -1
  4. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs +15 -0
  5. package/lib/cjs/graph/catalog/GraphPortManifestElement.cjs.map +1 -0
  6. package/lib/cjs/graph/catalog/index.cjs +1 -0
  7. package/lib/cjs/graph/catalog/index.cjs.map +1 -1
  8. package/lib/cjs/graph/{nodes/category-styles.cjs → category-styles.cjs} +2 -2
  9. package/lib/cjs/graph/category-styles.cjs.map +1 -0
  10. package/lib/cjs/graph/index.cjs +1 -1
  11. package/lib/cjs/graph/index.cjs.map +1 -1
  12. package/lib/cjs/graph/reader.cjs +26 -0
  13. package/lib/cjs/graph/reader.cjs.map +1 -1
  14. package/lib/cjs/graph/snapshot.cjs +0 -691
  15. package/lib/cjs/graph/snapshot.cjs.map +1 -1
  16. package/lib/cjs/index.cjs +3 -3
  17. package/lib/esm/graph/catalog/GraphManifestCompiler.js +20 -1
  18. package/lib/esm/graph/catalog/GraphManifestCompiler.js.map +1 -1
  19. package/lib/esm/graph/catalog/GraphPortManifest.js.map +1 -1
  20. package/lib/esm/graph/catalog/GraphPortManifestElement.js +11 -0
  21. package/lib/esm/graph/catalog/GraphPortManifestElement.js.map +1 -0
  22. package/lib/esm/graph/catalog/index.js +1 -0
  23. package/lib/esm/graph/catalog/index.js.map +1 -1
  24. package/lib/esm/graph/{nodes/category-styles.js → category-styles.js} +2 -2
  25. package/lib/esm/graph/category-styles.js.map +1 -0
  26. package/lib/esm/graph/index.js +1 -1
  27. package/lib/esm/graph/index.js.map +1 -1
  28. package/lib/esm/graph/reader.js +25 -0
  29. package/lib/esm/graph/reader.js.map +1 -1
  30. package/lib/esm/graph/snapshot.js +1 -679
  31. package/lib/esm/graph/snapshot.js.map +1 -1
  32. package/lib/esm/index.js +3 -3
  33. package/lib/types/graph/catalog/GraphPortManifest.d.cts +2 -0
  34. package/lib/types/graph/catalog/GraphPortManifest.d.mts +2 -0
  35. package/lib/types/graph/catalog/GraphPortManifestElement.d.cts +7 -0
  36. package/lib/types/graph/catalog/GraphPortManifestElement.d.mts +7 -0
  37. package/lib/types/graph/catalog/index.d.cts +1 -0
  38. package/lib/types/graph/catalog/index.d.mts +1 -0
  39. package/lib/types/graph/document/GraphNodeInstance.d.cts +20 -0
  40. package/lib/types/graph/document/GraphNodeInstance.d.mts +20 -0
  41. package/lib/types/graph/index.d.cts +1 -1
  42. package/lib/types/graph/index.d.mts +1 -1
  43. package/lib/types/graph/reader.d.cts +12 -0
  44. package/lib/types/graph/reader.d.mts +12 -0
  45. package/lib/types/graph/snapshot.d.cts +4 -144
  46. package/lib/types/graph/snapshot.d.mts +4 -144
  47. package/lib/types/graph/types.d.cts +1 -1
  48. package/lib/types/graph/types.d.mts +1 -1
  49. package/lib/types/index.d.cts +3 -3
  50. package/lib/types/index.d.mts +3 -3
  51. package/package.json +1 -1
  52. package/lib/cjs/graph/nodes/agents/agent.cjs +0 -110
  53. package/lib/cjs/graph/nodes/agents/agent.cjs.map +0 -1
  54. package/lib/cjs/graph/nodes/base.cjs +0 -36
  55. package/lib/cjs/graph/nodes/base.cjs.map +0 -1
  56. package/lib/cjs/graph/nodes/boundary/input-value.cjs +0 -57
  57. package/lib/cjs/graph/nodes/boundary/input-value.cjs.map +0 -1
  58. package/lib/cjs/graph/nodes/category-styles.cjs.map +0 -1
  59. package/lib/cjs/graph/nodes/flow-control/break.cjs +0 -63
  60. package/lib/cjs/graph/nodes/flow-control/break.cjs.map +0 -1
  61. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs +0 -67
  62. package/lib/cjs/graph/nodes/flow-control/error-boundary.cjs.map +0 -1
  63. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs +0 -69
  64. package/lib/cjs/graph/nodes/flow-control/human-approval.cjs.map +0 -1
  65. package/lib/cjs/graph/nodes/flow-control/if.cjs +0 -71
  66. package/lib/cjs/graph/nodes/flow-control/if.cjs.map +0 -1
  67. package/lib/cjs/graph/nodes/flow-control/parallel.cjs +0 -61
  68. package/lib/cjs/graph/nodes/flow-control/parallel.cjs.map +0 -1
  69. package/lib/cjs/graph/nodes/flow-control/switch.cjs +0 -126
  70. package/lib/cjs/graph/nodes/flow-control/switch.cjs.map +0 -1
  71. package/lib/cjs/graph/nodes/index.cjs +0 -123
  72. package/lib/cjs/graph/nodes/index.cjs.map +0 -1
  73. package/lib/cjs/graph/nodes/loops/foreach.cjs +0 -86
  74. package/lib/cjs/graph/nodes/loops/foreach.cjs.map +0 -1
  75. package/lib/cjs/graph/nodes/loops/until.cjs +0 -74
  76. package/lib/cjs/graph/nodes/loops/until.cjs.map +0 -1
  77. package/lib/cjs/graph/nodes/loops/while.cjs +0 -74
  78. package/lib/cjs/graph/nodes/loops/while.cjs.map +0 -1
  79. package/lib/cjs/graph/nodes/manifests.cjs +0 -342
  80. package/lib/cjs/graph/nodes/manifests.cjs.map +0 -1
  81. package/lib/cjs/graph/nodes/triggers/chat.cjs +0 -70
  82. package/lib/cjs/graph/nodes/triggers/chat.cjs.map +0 -1
  83. package/lib/cjs/graph/nodes/triggers/event.cjs +0 -58
  84. package/lib/cjs/graph/nodes/triggers/event.cjs.map +0 -1
  85. package/lib/cjs/graph/nodes/triggers/form.cjs +0 -59
  86. package/lib/cjs/graph/nodes/triggers/form.cjs.map +0 -1
  87. package/lib/cjs/graph/nodes/triggers/manual.cjs +0 -60
  88. package/lib/cjs/graph/nodes/triggers/manual.cjs.map +0 -1
  89. package/lib/cjs/graph/nodes/triggers/schedule.cjs +0 -60
  90. package/lib/cjs/graph/nodes/triggers/schedule.cjs.map +0 -1
  91. package/lib/cjs/graph/nodes/triggers/webhook.cjs +0 -62
  92. package/lib/cjs/graph/nodes/triggers/webhook.cjs.map +0 -1
  93. package/lib/cjs/graph/nodes/utility/code.cjs +0 -99
  94. package/lib/cjs/graph/nodes/utility/code.cjs.map +0 -1
  95. package/lib/cjs/graph/nodes/utility/delay.cjs +0 -61
  96. package/lib/cjs/graph/nodes/utility/delay.cjs.map +0 -1
  97. package/lib/cjs/graph/nodes/utility/log.cjs +0 -62
  98. package/lib/cjs/graph/nodes/utility/log.cjs.map +0 -1
  99. package/lib/cjs/graph/nodes/utility/map.cjs +0 -61
  100. package/lib/cjs/graph/nodes/utility/map.cjs.map +0 -1
  101. package/lib/cjs/graph/nodes/utility/merge.cjs +0 -62
  102. package/lib/cjs/graph/nodes/utility/merge.cjs.map +0 -1
  103. package/lib/cjs/graph/nodes/utility/return.cjs +0 -61
  104. package/lib/cjs/graph/nodes/utility/return.cjs.map +0 -1
  105. package/lib/cjs/graph/nodes/utility/utility-log.cjs +0 -66
  106. package/lib/cjs/graph/nodes/utility/utility-log.cjs.map +0 -1
  107. package/lib/esm/graph/nodes/agents/agent.js +0 -101
  108. package/lib/esm/graph/nodes/agents/agent.js.map +0 -1
  109. package/lib/esm/graph/nodes/base.js +0 -31
  110. package/lib/esm/graph/nodes/base.js.map +0 -1
  111. package/lib/esm/graph/nodes/boundary/input-value.js +0 -48
  112. package/lib/esm/graph/nodes/boundary/input-value.js.map +0 -1
  113. package/lib/esm/graph/nodes/category-styles.js.map +0 -1
  114. package/lib/esm/graph/nodes/flow-control/break.js +0 -54
  115. package/lib/esm/graph/nodes/flow-control/break.js.map +0 -1
  116. package/lib/esm/graph/nodes/flow-control/error-boundary.js +0 -58
  117. package/lib/esm/graph/nodes/flow-control/error-boundary.js.map +0 -1
  118. package/lib/esm/graph/nodes/flow-control/human-approval.js +0 -60
  119. package/lib/esm/graph/nodes/flow-control/human-approval.js.map +0 -1
  120. package/lib/esm/graph/nodes/flow-control/if.js +0 -62
  121. package/lib/esm/graph/nodes/flow-control/if.js.map +0 -1
  122. package/lib/esm/graph/nodes/flow-control/parallel.js +0 -52
  123. package/lib/esm/graph/nodes/flow-control/parallel.js.map +0 -1
  124. package/lib/esm/graph/nodes/flow-control/switch.js +0 -117
  125. package/lib/esm/graph/nodes/flow-control/switch.js.map +0 -1
  126. package/lib/esm/graph/nodes/index.js +0 -105
  127. package/lib/esm/graph/nodes/index.js.map +0 -1
  128. package/lib/esm/graph/nodes/loops/foreach.js +0 -77
  129. package/lib/esm/graph/nodes/loops/foreach.js.map +0 -1
  130. package/lib/esm/graph/nodes/loops/until.js +0 -65
  131. package/lib/esm/graph/nodes/loops/until.js.map +0 -1
  132. package/lib/esm/graph/nodes/loops/while.js +0 -65
  133. package/lib/esm/graph/nodes/loops/while.js.map +0 -1
  134. package/lib/esm/graph/nodes/manifests.js +0 -338
  135. package/lib/esm/graph/nodes/manifests.js.map +0 -1
  136. package/lib/esm/graph/nodes/triggers/chat.js +0 -61
  137. package/lib/esm/graph/nodes/triggers/chat.js.map +0 -1
  138. package/lib/esm/graph/nodes/triggers/event.js +0 -49
  139. package/lib/esm/graph/nodes/triggers/event.js.map +0 -1
  140. package/lib/esm/graph/nodes/triggers/form.js +0 -50
  141. package/lib/esm/graph/nodes/triggers/form.js.map +0 -1
  142. package/lib/esm/graph/nodes/triggers/manual.js +0 -51
  143. package/lib/esm/graph/nodes/triggers/manual.js.map +0 -1
  144. package/lib/esm/graph/nodes/triggers/schedule.js +0 -51
  145. package/lib/esm/graph/nodes/triggers/schedule.js.map +0 -1
  146. package/lib/esm/graph/nodes/triggers/webhook.js +0 -53
  147. package/lib/esm/graph/nodes/triggers/webhook.js.map +0 -1
  148. package/lib/esm/graph/nodes/utility/code.js +0 -90
  149. package/lib/esm/graph/nodes/utility/code.js.map +0 -1
  150. package/lib/esm/graph/nodes/utility/delay.js +0 -52
  151. package/lib/esm/graph/nodes/utility/delay.js.map +0 -1
  152. package/lib/esm/graph/nodes/utility/log.js +0 -53
  153. package/lib/esm/graph/nodes/utility/log.js.map +0 -1
  154. package/lib/esm/graph/nodes/utility/map.js +0 -52
  155. package/lib/esm/graph/nodes/utility/map.js.map +0 -1
  156. package/lib/esm/graph/nodes/utility/merge.js +0 -53
  157. package/lib/esm/graph/nodes/utility/merge.js.map +0 -1
  158. package/lib/esm/graph/nodes/utility/return.js +0 -52
  159. package/lib/esm/graph/nodes/utility/return.js.map +0 -1
  160. package/lib/esm/graph/nodes/utility/utility-log.js +0 -57
  161. package/lib/esm/graph/nodes/utility/utility-log.js.map +0 -1
  162. package/lib/types/graph/nodes/agents/agent.d.cts +0 -44
  163. package/lib/types/graph/nodes/agents/agent.d.mts +0 -44
  164. package/lib/types/graph/nodes/base.d.cts +0 -28
  165. package/lib/types/graph/nodes/base.d.mts +0 -28
  166. package/lib/types/graph/nodes/boundary/input-value.d.cts +0 -13
  167. package/lib/types/graph/nodes/boundary/input-value.d.mts +0 -13
  168. package/lib/types/graph/nodes/flow-control/break.d.cts +0 -15
  169. package/lib/types/graph/nodes/flow-control/break.d.mts +0 -15
  170. package/lib/types/graph/nodes/flow-control/error-boundary.d.cts +0 -12
  171. package/lib/types/graph/nodes/flow-control/error-boundary.d.mts +0 -12
  172. package/lib/types/graph/nodes/flow-control/human-approval.d.cts +0 -13
  173. package/lib/types/graph/nodes/flow-control/human-approval.d.mts +0 -13
  174. package/lib/types/graph/nodes/flow-control/if.d.cts +0 -16
  175. package/lib/types/graph/nodes/flow-control/if.d.mts +0 -16
  176. package/lib/types/graph/nodes/flow-control/parallel.d.cts +0 -11
  177. package/lib/types/graph/nodes/flow-control/parallel.d.mts +0 -11
  178. package/lib/types/graph/nodes/flow-control/switch.d.cts +0 -21
  179. package/lib/types/graph/nodes/flow-control/switch.d.mts +0 -21
  180. package/lib/types/graph/nodes/index.d.cts +0 -79
  181. package/lib/types/graph/nodes/index.d.mts +0 -79
  182. package/lib/types/graph/nodes/loops/foreach.d.cts +0 -19
  183. package/lib/types/graph/nodes/loops/foreach.d.mts +0 -19
  184. package/lib/types/graph/nodes/loops/until.d.cts +0 -16
  185. package/lib/types/graph/nodes/loops/until.d.mts +0 -16
  186. package/lib/types/graph/nodes/loops/while.d.cts +0 -16
  187. package/lib/types/graph/nodes/loops/while.d.mts +0 -16
  188. package/lib/types/graph/nodes/manifests.d.cts +0 -62
  189. package/lib/types/graph/nodes/manifests.d.mts +0 -62
  190. package/lib/types/graph/nodes/triggers/chat.d.cts +0 -13
  191. package/lib/types/graph/nodes/triggers/chat.d.mts +0 -13
  192. package/lib/types/graph/nodes/triggers/event.d.cts +0 -10
  193. package/lib/types/graph/nodes/triggers/event.d.mts +0 -10
  194. package/lib/types/graph/nodes/triggers/form.d.cts +0 -11
  195. package/lib/types/graph/nodes/triggers/form.d.mts +0 -11
  196. package/lib/types/graph/nodes/triggers/manual.d.cts +0 -12
  197. package/lib/types/graph/nodes/triggers/manual.d.mts +0 -12
  198. package/lib/types/graph/nodes/triggers/schedule.d.cts +0 -11
  199. package/lib/types/graph/nodes/triggers/schedule.d.mts +0 -11
  200. package/lib/types/graph/nodes/triggers/webhook.d.cts +0 -11
  201. package/lib/types/graph/nodes/triggers/webhook.d.mts +0 -11
  202. package/lib/types/graph/nodes/utility/code.d.cts +0 -31
  203. package/lib/types/graph/nodes/utility/code.d.mts +0 -31
  204. package/lib/types/graph/nodes/utility/delay.d.cts +0 -11
  205. package/lib/types/graph/nodes/utility/delay.d.mts +0 -11
  206. package/lib/types/graph/nodes/utility/log.d.cts +0 -13
  207. package/lib/types/graph/nodes/utility/log.d.mts +0 -13
  208. package/lib/types/graph/nodes/utility/map.d.cts +0 -11
  209. package/lib/types/graph/nodes/utility/map.d.mts +0 -11
  210. package/lib/types/graph/nodes/utility/merge.d.cts +0 -12
  211. package/lib/types/graph/nodes/utility/merge.d.mts +0 -12
  212. package/lib/types/graph/nodes/utility/return.d.cts +0 -11
  213. package/lib/types/graph/nodes/utility/return.d.mts +0 -11
  214. package/lib/types/graph/nodes/utility/utility-log.d.cts +0 -15
  215. package/lib/types/graph/nodes/utility/utility-log.d.mts +0 -15
  216. /package/lib/types/graph/{nodes/category-styles.d.cts → category-styles.d.cts} +0 -0
  217. /package/lib/types/graph/{nodes/category-styles.d.mts → category-styles.d.mts} +0 -0
@@ -1,62 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/manifests
3
- * @summary Built-in node manifests (DECAF-50 §4.12).
4
- * @description The catalogue-published JSON manifests for every node kind
5
- * the backend ships. Loop manifests are hand-authored (their loop-body
6
- * shapes are structural); the rest are compiled from the shared
7
- * `@node`-decorated classes via `graphNodeManifest`, so the served shape is
8
- * identical to what the Angular palette consumes. Aggregated in
9
- * `GRAPH_BUILT_IN_NODE_MANIFESTS` and indexed by kind in
10
- * `GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND`.
11
- */
12
- import type { GraphNodeManifest } from "../catalog/index.d.mts";
13
- /** Manifest for the `core.loop.foreach` node: runs the loop body once per item (or slice) of the input array. */
14
- export declare const FOREACH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
15
- /** Manifest for the `core.loop.while` node: repeats the loop body while the condition holds. */
16
- export declare const WHILE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
17
- /** Manifest for the `core.loop.until` node: repeats the loop body until the condition holds. */
18
- export declare const UNTIL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
19
- /** Manifest for the `core.flow.switch` node: routes execution by switch-case conditions (cases live under `parameters["switch"]`). */
20
- export declare const SWITCH_GRAPH_NODE_MANIFEST: GraphNodeManifest;
21
- /** Manifest for the manual-trigger node (starts a run on demand). */
22
- export declare const MANUAL_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
23
- /** Manifest for the webhook-trigger node (starts a run from an inbound webhook). */
24
- export declare const WEBHOOK_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
25
- /** Manifest for the schedule-trigger node (starts a run on a schedule). */
26
- export declare const SCHEDULE_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
27
- /** Manifest for the event-trigger node (starts a run on an observed event). */
28
- export declare const EVENT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
29
- /** Manifest for the form-trigger node (starts a run from a form submission). */
30
- export declare const FORM_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
31
- /** Manifest for the chat-trigger node (starts a run from a chat message). */
32
- export declare const CHAT_TRIGGER_GRAPH_NODE_MANIFEST: GraphNodeManifest;
33
- /** Manifest for the if node (conditional branch on a boolean condition). */
34
- export declare const IF_GRAPH_NODE_MANIFEST: GraphNodeManifest;
35
- /** Manifest for the parallel node (runs branches concurrently). */
36
- export declare const PARALLEL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
37
- /** Manifest for the merge node (joins parallel branches). */
38
- export declare const MERGE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
39
- /** Manifest for the map node (transforms each input item). */
40
- export declare const MAP_GRAPH_NODE_MANIFEST: GraphNodeManifest;
41
- /** Manifest for the delay node (pauses execution for a duration). */
42
- export declare const DELAY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
43
- /** Manifest for the error-boundary node (isolates branch failures). */
44
- export declare const ERROR_BOUNDARY_GRAPH_NODE_MANIFEST: GraphNodeManifest;
45
- /** Manifest for the human-approval node (waits for an approval decision). */
46
- export declare const HUMAN_APPROVAL_GRAPH_NODE_MANIFEST: GraphNodeManifest;
47
- /** Manifest for the return node (terminates the workflow with output values). */
48
- export declare const RETURN_GRAPH_NODE_MANIFEST: GraphNodeManifest;
49
- /** Manifest for the code node (executes user code). */
50
- export declare const CODE_GRAPH_NODE_MANIFEST: GraphNodeManifest;
51
- /** Manifest for the log node (logs its input). */
52
- export declare const LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
53
- /** Manifest for the utility-log node (log-shaped utility sink). */
54
- export declare const UTILITY_LOG_GRAPH_NODE_MANIFEST: GraphNodeManifest;
55
- /** Manifest for the break node (exits the enclosing loop). */
56
- export declare const BREAK_GRAPH_NODE_MANIFEST: GraphNodeManifest;
57
- /** Manifest for the agent node (delegates work to an agent). */
58
- export declare const AGENT_GRAPH_NODE_MANIFEST: GraphNodeManifest;
59
- /** All built-in node manifests, in catalogue display order. */
60
- export declare const GRAPH_BUILT_IN_NODE_MANIFESTS: GraphNodeManifest[];
61
- /** Built-in manifests indexed by node `kind` — the source for built-in catalogue registrations. */
62
- export declare const GRAPH_BUILT_IN_NODE_MANIFESTS_BY_KIND: Record<string, GraphNodeManifest>;
@@ -1,13 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/chat
3
- * @summary Chat trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Chat trigger — chat message entrypoint; message/sessionId/
5
- * userId schema.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class ChatTriggerNode extends Model {
10
- message: string;
11
- sessionId: string;
12
- userId: string;
13
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/chat
3
- * @summary Chat trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Chat trigger — chat message entrypoint; message/sessionId/
5
- * userId schema.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class ChatTriggerNode extends Model {
10
- message: string;
11
- sessionId: string;
12
- userId: string;
13
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/event
3
- * @summary Event trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Event trigger — internal event bus topic subscriber.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class EventTriggerNode extends Model {
9
- payload: unknown;
10
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/event
3
- * @summary Event trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Event trigger — internal event bus topic subscriber.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class EventTriggerNode extends Model {
9
- payload: unknown;
10
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/form
3
- * @summary Form trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Form trigger — generated public/internal form; field
5
- * definitions.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class FormTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/form
3
- * @summary Form trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Form trigger — generated public/internal form; field
5
- * definitions.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class FormTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/manual
3
- * @summary Manual trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Manual trigger — user clicks Run; input form generated from
5
- * `inputSchema`. Triggers are metadata-only entrypoints: they define how a
6
- * workflow starts and produce a trigger payload on their `@output` ports.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import "../category-styles";
10
- export declare class ManualTriggerNode extends Model {
11
- payload: unknown;
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/manual
3
- * @summary Manual trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Manual trigger — user clicks Run; input form generated from
5
- * `inputSchema`. Triggers are metadata-only entrypoints: they define how a
6
- * workflow starts and produce a trigger payload on their `@output` ports.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import "../category-styles";
10
- export declare class ManualTriggerNode extends Model {
11
- payload: unknown;
12
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/schedule
3
- * @summary Schedule trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Schedule trigger — cron-like schedule; timezone + payload
5
- * config.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class ScheduleTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/schedule
3
- * @summary Schedule trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Schedule trigger — cron-like schedule; timezone + payload
5
- * config.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class ScheduleTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/webhook
3
- * @summary Webhook trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Webhook trigger — HTTP request received; path/method/auth/
5
- * responseMode config.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class WebhookTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/triggers/webhook
3
- * @summary Webhook trigger node declaration (DECAF-32 §22.2.1).
4
- * @description Webhook trigger — HTTP request received; path/method/auth/
5
- * responseMode config.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class WebhookTriggerNode extends Model {
10
- payload: unknown;
11
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/code
3
- * @summary Code utility node declaration (ALFRED-5 §7, DECAF-32 §22.4).
4
- * @description Code — sandboxed JS/TS code execution. The engine's
5
- * `CodeGraphNodeExecutor` delegates to the pluggable `CodeSandboxEvaluator`.
6
- * The default `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`)
7
- * enforces the Code Node restrictions: no imports, no requires, pure
8
- * functions only. The sandbox context exposes `$input`, `$vars`, `$item`,
9
- * `$index`, `$node`, and `$output` as data variables. TypeScript is
10
- * supported via transpilation.
11
- *
12
- * The `@input` on `CodeFlowNode.input` is a schema group — the nested
13
- * model's `@input` ports are spliced into the parent unprefixed. `code` has
14
- * `@input` + `@uielement("code-editor")`, so it appears as a port AND in the
15
- * CRUD modal (the only visible field). `data` has `@input` + `@hidden()` but
16
- * no `@uielement`, so it is a canvas-only port (for edge connections from
17
- * workflow input badges) but never appears in the CRUD modal. `language` has
18
- * no `@input` and no `@uielement`, so it is neither a port nor rendered — it
19
- * defaults to `"javascript"`.
20
- */
21
- import { Model } from "@decaf-ts/decorator-validation";
22
- import "../category-styles";
23
- export declare class CodeInputSchema extends Model {
24
- language: string;
25
- code: string;
26
- data?: unknown;
27
- }
28
- export declare class CodeFlowNode extends Model {
29
- input: CodeInputSchema;
30
- result: unknown;
31
- }
@@ -1,31 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/code
3
- * @summary Code utility node declaration (ALFRED-5 §7, DECAF-32 §22.4).
4
- * @description Code — sandboxed JS/TS code execution. The engine's
5
- * `CodeGraphNodeExecutor` delegates to the pluggable `CodeSandboxEvaluator`.
6
- * The default `IsolatedVmCodeSandboxEvaluator` (backed by `isolated-vm`)
7
- * enforces the Code Node restrictions: no imports, no requires, pure
8
- * functions only. The sandbox context exposes `$input`, `$vars`, `$item`,
9
- * `$index`, `$node`, and `$output` as data variables. TypeScript is
10
- * supported via transpilation.
11
- *
12
- * The `@input` on `CodeFlowNode.input` is a schema group — the nested
13
- * model's `@input` ports are spliced into the parent unprefixed. `code` has
14
- * `@input` + `@uielement("code-editor")`, so it appears as a port AND in the
15
- * CRUD modal (the only visible field). `data` has `@input` + `@hidden()` but
16
- * no `@uielement`, so it is a canvas-only port (for edge connections from
17
- * workflow input badges) but never appears in the CRUD modal. `language` has
18
- * no `@input` and no `@uielement`, so it is neither a port nor rendered — it
19
- * defaults to `"javascript"`.
20
- */
21
- import { Model } from "@decaf-ts/decorator-validation";
22
- import "../category-styles";
23
- export declare class CodeInputSchema extends Model {
24
- language: string;
25
- code: string;
26
- data?: unknown;
27
- }
28
- export declare class CodeFlowNode extends Model {
29
- input: CodeInputSchema;
30
- result: unknown;
31
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/delay
3
- * @summary Delay utility node declaration (DECAF-32 §22.2.2).
4
- * @description Delay — pauses execution for a configured duration.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class DelayFlowNode extends Model {
9
- value: unknown;
10
- valueOut: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/delay
3
- * @summary Delay utility node declaration (DECAF-32 §22.2.2).
4
- * @description Delay — pauses execution for a configured duration.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class DelayFlowNode extends Model {
9
- value: unknown;
10
- valueOut: unknown;
11
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/log
3
- * @summary Log utility node declaration (DECAF-32 §22.2.2).
4
- * @description Log — logs the input value and forwards it unchanged on the
5
- * `logged` output port. Useful for debugging, audit trails, and
6
- * discard/side-effect branches in a workflow.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import "../category-styles";
10
- export declare class LogFlowNode extends Model {
11
- value: unknown;
12
- logged: unknown;
13
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/log
3
- * @summary Log utility node declaration (DECAF-32 §22.2.2).
4
- * @description Log — logs the input value and forwards it unchanged on the
5
- * `logged` output port. Useful for debugging, audit trails, and
6
- * discard/side-effect branches in a workflow.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import "../category-styles";
10
- export declare class LogFlowNode extends Model {
11
- value: unknown;
12
- logged: unknown;
13
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/map
3
- * @summary Map utility node declaration (DECAF-32 §22.2.2).
4
- * @description Map — transforms the current input into a new output object.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class MapFlowNode extends Model {
9
- value: unknown;
10
- result: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/map
3
- * @summary Map utility node declaration (DECAF-32 §22.2.2).
4
- * @description Map — transforms the current input into a new output object.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class MapFlowNode extends Model {
9
- value: unknown;
10
- result: unknown;
11
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/merge
3
- * @summary Merge utility node declaration (DECAF-32 §22.2.2).
4
- * @description Merge — normalises branch/parallel outputs into a single
5
- * output.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class MergeFlowNode extends Model {
10
- values: unknown[];
11
- merged: unknown;
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/merge
3
- * @summary Merge utility node declaration (DECAF-32 §22.2.2).
4
- * @description Merge — normalises branch/parallel outputs into a single
5
- * output.
6
- */
7
- import { Model } from "@decaf-ts/decorator-validation";
8
- import "../category-styles";
9
- export declare class MergeFlowNode extends Model {
10
- values: unknown[];
11
- merged: unknown;
12
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/return
3
- * @summary Return utility node declaration (DECAF-32 §22.2.2).
4
- * @description Return — defines and normalises the final workflow output.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class ReturnFlowNode extends Model {
9
- value: unknown;
10
- result: unknown;
11
- }
@@ -1,11 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/return
3
- * @summary Return utility node declaration (DECAF-32 §22.2.2).
4
- * @description Return — defines and normalises the final workflow output.
5
- */
6
- import { Model } from "@decaf-ts/decorator-validation";
7
- import "../category-styles";
8
- export declare class ReturnFlowNode extends Model {
9
- value: unknown;
10
- result: unknown;
11
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/utility-log
3
- * @summary Utility Log node declaration (DECAF-48 §4.3).
4
- * @description Utility Log — logs the input value through the run's
5
- * `ctx.logger` at a configurable level and forwards it unchanged on the
6
- * `logged` output port.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import type { LogNodeLevel } from "../../types.d.cts";
10
- import "../category-styles";
11
- export declare class UtilityLogNode extends Model {
12
- value: unknown;
13
- level: LogNodeLevel;
14
- logged: unknown;
15
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * @module ui-decorators/graph/nodes/utility/utility-log
3
- * @summary Utility Log node declaration (DECAF-48 §4.3).
4
- * @description Utility Log — logs the input value through the run's
5
- * `ctx.logger` at a configurable level and forwards it unchanged on the
6
- * `logged` output port.
7
- */
8
- import { Model } from "@decaf-ts/decorator-validation";
9
- import type { LogNodeLevel } from "../../types.d.mts";
10
- import "../category-styles";
11
- export declare class UtilityLogNode extends Model {
12
- value: unknown;
13
- level: LogNodeLevel;
14
- logged: unknown;
15
- }