@software-dlc/cli 0.205.2 → 0.207.1
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/CHANGELOG.md +30 -0
- package/README.md +33 -11
- package/dist/cli-help.js +1 -1
- package/dist/cli-help.js.map +1 -1
- package/dist/cli-login.d.ts +1 -1
- package/dist/cli-login.d.ts.map +1 -1
- package/dist/cli-login.js +33 -3
- package/dist/cli-login.js.map +1 -1
- package/dist/cli-snapshot.d.ts +3 -3
- package/dist/cli.js +12 -1
- package/dist/cli.js.map +1 -1
- package/dist/local/domain-definitions.d.ts +96 -0
- package/dist/local/domain-definitions.d.ts.map +1 -0
- package/dist/local/domain-definitions.js +267 -0
- package/dist/local/domain-definitions.js.map +1 -0
- package/dist/local/health-schema.d.ts +2 -2
- package/dist/local/pending-recovery.d.ts.map +1 -1
- package/dist/local/pending-recovery.js +3 -1
- package/dist/local/pending-recovery.js.map +1 -1
- package/dist/local/projection.d.ts +15 -0
- package/dist/local/projection.d.ts.map +1 -1
- package/dist/local/projection.js +85 -18
- package/dist/local/projection.js.map +1 -1
- package/dist/local/source-evidence/schema.d.ts +2 -2
- package/dist/local/task-context-observations.d.ts +8 -8
- package/dist/local/task-context-schema.d.ts +1 -1
- package/dist/local/workspace-change-commit.d.ts +2 -2
- package/dist/local/workspace-change-commit.d.ts.map +1 -1
- package/dist/local/workspace-change-commit.js +4 -7
- package/dist/local/workspace-change-commit.js.map +1 -1
- package/dist/local/workspace-cli.d.ts.map +1 -1
- package/dist/local/workspace-cli.js +14 -0
- package/dist/local/workspace-cli.js.map +1 -1
- package/dist/local/workspace-graph-store.d.ts +6 -0
- package/dist/local/workspace-graph-store.d.ts.map +1 -1
- package/dist/local/workspace-graph-store.js +12 -2
- package/dist/local/workspace-graph-store.js.map +1 -1
- package/dist/local/workspace-graph-tree.d.ts +15 -2
- package/dist/local/workspace-graph-tree.d.ts.map +1 -1
- package/dist/local/workspace-graph-tree.js +37 -26
- package/dist/local/workspace-graph-tree.js.map +1 -1
- package/dist/local/workspace-integration-trees.d.ts.map +1 -1
- package/dist/local/workspace-integration-trees.js +18 -3
- package/dist/local/workspace-integration-trees.js.map +1 -1
- package/dist/local/workspace-merge.d.ts +2 -3
- package/dist/local/workspace-merge.d.ts.map +1 -1
- package/dist/local/workspace-merge.js +65 -22
- package/dist/local/workspace-merge.js.map +1 -1
- package/dist/local/workspace-overlap-index.d.ts.map +1 -1
- package/dist/local/workspace-overlap-index.js +8 -6
- package/dist/local/workspace-overlap-index.js.map +1 -1
- package/dist/local/workspace-pick.d.ts.map +1 -1
- package/dist/local/workspace-pick.js +20 -4
- package/dist/local/workspace-pick.js.map +1 -1
- package/dist/local/workspace-remote-transfer.d.ts.map +1 -1
- package/dist/local/workspace-remote-transfer.js +17 -0
- package/dist/local/workspace-remote-transfer.js.map +1 -1
- package/dist/local/workspace-runtime.d.ts +38 -0
- package/dist/local/workspace-runtime.d.ts.map +1 -1
- package/dist/local/workspace-runtime.js +83 -3
- package/dist/local/workspace-runtime.js.map +1 -1
- package/dist/local/workspace-scope.d.ts +7 -1
- package/dist/local/workspace-scope.d.ts.map +1 -1
- package/dist/local/workspace-scope.js +14 -2
- package/dist/local/workspace-scope.js.map +1 -1
- package/dist/local/workspace-store-database.d.ts +17 -0
- package/dist/local/workspace-store-database.d.ts.map +1 -1
- package/dist/local/workspace-store-database.js +71 -7
- package/dist/local/workspace-store-database.js.map +1 -1
- package/dist/local/worktree-projection.d.ts.map +1 -1
- package/dist/local/worktree-projection.js +12 -1
- package/dist/local/worktree-projection.js.map +1 -1
- package/migrations/0.205.3.md +35 -0
- package/package.json +2 -2
- package/reference/public-graph-schema.md +36 -36
|
@@ -102,7 +102,7 @@ A distinct user, role, or external system that interacts with the product; for a
|
|
|
102
102
|
|
|
103
103
|
Allowed parent types: none; it sits at the top level
|
|
104
104
|
Required fields under data: none
|
|
105
|
-
Optional fields under data: actor.actor_kind; actor.role; actor.external; actor.responsibilities; actor.pain_points
|
|
105
|
+
Optional fields under data: actor.actor_kind (string); actor.role (string); actor.external (boolean); actor.responsibilities (list of string); actor.pain_points (list of string)
|
|
106
106
|
Optional values: actor.actor_kind (one of: person, team, organization, external_system, service)
|
|
107
107
|
|
|
108
108
|
## Node type: product
|
|
@@ -113,7 +113,7 @@ A durable product boundary that organizes user-recognizable features. Its kind i
|
|
|
113
113
|
|
|
114
114
|
Allowed parent types: none; it sits at the top level
|
|
115
115
|
Required fields under data: none
|
|
116
|
-
Optional fields under data: product.kind
|
|
116
|
+
Optional fields under data: product.kind (string)
|
|
117
117
|
Optional values: product.kind (one of: shipped, internal)
|
|
118
118
|
|
|
119
119
|
## Node type: feature
|
|
@@ -133,7 +133,7 @@ A product or module boundary that owns goals and their structural implementation
|
|
|
133
133
|
|
|
134
134
|
Allowed parent types: none; it sits at the top level
|
|
135
135
|
Required fields under data: none
|
|
136
|
-
Optional fields under data: system.purpose; system.boundary; system.owner; system.external; system.responsibilities
|
|
136
|
+
Optional fields under data: system.purpose (string); system.boundary (string); system.owner (string); system.external (boolean); system.responsibilities (list of string)
|
|
137
137
|
|
|
138
138
|
## Node type: goal
|
|
139
139
|
|
|
@@ -143,7 +143,7 @@ A desired outcome that one or more actors care about within a system.
|
|
|
143
143
|
|
|
144
144
|
Allowed parent types: system (or none, at the top level)
|
|
145
145
|
Required fields under data: none
|
|
146
|
-
Optional fields under data: goal.outcome; goal.success_metrics; goal.priority
|
|
146
|
+
Optional fields under data: goal.outcome (string); goal.success_metrics (list of string); goal.priority (string)
|
|
147
147
|
Optional values: goal.priority (one of: low, medium, high, critical)
|
|
148
148
|
|
|
149
149
|
## Node type: story
|
|
@@ -154,7 +154,7 @@ A user story that decomposes product intent into a concrete flow of steps.
|
|
|
154
154
|
|
|
155
155
|
Allowed parent types: feature (or none, at the top level)
|
|
156
156
|
Required fields under data: none
|
|
157
|
-
Optional fields under data: story.narrative; story.actor_ref; story.goal_ref; story.priority; story.journey_entry
|
|
157
|
+
Optional fields under data: story.narrative (string); story.actor_ref (string); story.goal_ref (string); story.priority (string); story.journey_entry (object)
|
|
158
158
|
Optional values: story.priority (one of: low, medium, high, critical)
|
|
159
159
|
|
|
160
160
|
## Node type: start
|
|
@@ -165,7 +165,7 @@ The single entry point of a story flow.
|
|
|
165
165
|
|
|
166
166
|
Allowed parent types: story (or none, at the top level)
|
|
167
167
|
Required fields under data: none
|
|
168
|
-
Optional fields under data: start.trigger; start.preconditions
|
|
168
|
+
Optional fields under data: start.trigger (string); start.preconditions (list of string)
|
|
169
169
|
|
|
170
170
|
## Node type: process
|
|
171
171
|
|
|
@@ -175,7 +175,7 @@ An operational step or activity within a story flow. It may say who performs it:
|
|
|
175
175
|
|
|
176
176
|
Allowed parent types: story (or none, at the top level)
|
|
177
177
|
Required fields under data: none
|
|
178
|
-
Optional fields under data: process.action; process.owner; process.expected_result; process.performed_by
|
|
178
|
+
Optional fields under data: process.action (string); process.owner (string); process.expected_result (string); process.performed_by (object)
|
|
179
179
|
|
|
180
180
|
## Node type: decision
|
|
181
181
|
|
|
@@ -185,7 +185,7 @@ A conditional branch point whose paths must rejoin or terminate. It may say who
|
|
|
185
185
|
|
|
186
186
|
Allowed parent types: story (or none, at the top level)
|
|
187
187
|
Required fields under data: none
|
|
188
|
-
Optional fields under data: decision.question; decision.conditions; decision.default_branch; decision.decided_by
|
|
188
|
+
Optional fields under data: decision.question (string); decision.conditions (list of string); decision.default_branch (string); decision.decided_by (object)
|
|
189
189
|
|
|
190
190
|
## Node type: end
|
|
191
191
|
|
|
@@ -195,7 +195,7 @@ A terminal outcome for a story path.
|
|
|
195
195
|
|
|
196
196
|
Allowed parent types: story (or none, at the top level)
|
|
197
197
|
Required fields under data: none
|
|
198
|
-
Optional fields under data: end.outcome; end.postconditions; end.success
|
|
198
|
+
Optional fields under data: end.outcome (string); end.postconditions (list of string); end.success (boolean)
|
|
199
199
|
|
|
200
200
|
## Node type: context
|
|
201
201
|
|
|
@@ -205,7 +205,7 @@ A top-level architecture boundary that organizes major structural subsystems.
|
|
|
205
205
|
|
|
206
206
|
Allowed parent types: none; it sits at the top level
|
|
207
207
|
Required fields under data: none
|
|
208
|
-
Optional fields under data: context.purpose; context.boundary; context.environment; context.responsibilities
|
|
208
|
+
Optional fields under data: context.purpose (string); context.boundary (string); context.environment (string); context.responsibilities (list of string)
|
|
209
209
|
Optional values: context.environment (one of: product, platform, external, development, test, production)
|
|
210
210
|
|
|
211
211
|
## Node type: container
|
|
@@ -216,7 +216,7 @@ A deployable C4 unit such as an application, service, UI, or datastore.
|
|
|
216
216
|
|
|
217
217
|
Allowed parent types: context (or none, at the top level)
|
|
218
218
|
Required fields under data: none
|
|
219
|
-
Optional fields under data: container.technology; container.runtime; container.deployment_unit; container.responsibilities
|
|
219
|
+
Optional fields under data: container.technology (string); container.runtime (string); container.deployment_unit (string); container.responsibilities (list of string)
|
|
220
220
|
|
|
221
221
|
## Node type: workload
|
|
222
222
|
|
|
@@ -246,7 +246,7 @@ A logical storage boundary for files, media, backups, or blob objects.
|
|
|
246
246
|
|
|
247
247
|
Allowed parent types: context (or none, at the top level)
|
|
248
248
|
Required fields under data: none
|
|
249
|
-
Optional fields under data: object_store.provider
|
|
249
|
+
Optional fields under data: object_store.provider (string)
|
|
250
250
|
Optional values: object_store.provider (one of: aws_s3, gcs, azure_blob, supabase_storage, other)
|
|
251
251
|
|
|
252
252
|
## Node type: message_broker
|
|
@@ -257,7 +257,7 @@ A logical asynchronous messaging boundary that owns topics and queues.
|
|
|
257
257
|
|
|
258
258
|
Allowed parent types: context (or none, at the top level)
|
|
259
259
|
Required fields under data: none
|
|
260
|
-
Optional fields under data: message_broker.provider
|
|
260
|
+
Optional fields under data: message_broker.provider (string)
|
|
261
261
|
Optional values: message_broker.provider (one of: kafka, rabbitmq, sns_sqs, pubsub, nats, other)
|
|
262
262
|
|
|
263
263
|
## Node type: cache
|
|
@@ -268,7 +268,7 @@ A logical cache boundary for transient, derived, or edge-cached data.
|
|
|
268
268
|
|
|
269
269
|
Allowed parent types: context (or none, at the top level)
|
|
270
270
|
Required fields under data: none
|
|
271
|
-
Optional fields under data: cache.provider; cache.ttl_seconds
|
|
271
|
+
Optional fields under data: cache.provider (string); cache.ttl_seconds (number)
|
|
272
272
|
Optional values: cache.provider (one of: redis, memcached, cloudflare_cache, browser, other)
|
|
273
273
|
|
|
274
274
|
## Node type: website
|
|
@@ -279,7 +279,7 @@ A public or internal web user-interface surface.
|
|
|
279
279
|
|
|
280
280
|
Allowed parent types: context (or none, at the top level)
|
|
281
281
|
Required fields under data: none
|
|
282
|
-
Optional fields under data: website.domain; website.path; website.framework; website.route_prefix; website.theme
|
|
282
|
+
Optional fields under data: website.domain (string); website.path (string); website.framework (string); website.route_prefix (string); website.theme (object)
|
|
283
283
|
|
|
284
284
|
## Node type: app
|
|
285
285
|
|
|
@@ -290,7 +290,7 @@ An installed mobile or desktop client that is not served as a website, with its
|
|
|
290
290
|
Allowed parent types: context (or none, at the top level)
|
|
291
291
|
Required fields under data: app.platform (one of: ios, android, cross_platform_mobile, desktop)
|
|
292
292
|
Every app node needs its data.app block.
|
|
293
|
-
Optional fields under data: app.framework; app.distribution; app.theme
|
|
293
|
+
Optional fields under data: app.framework (string); app.distribution (string); app.theme (object)
|
|
294
294
|
Optional values: app.distribution (one of: app_store, play_store, installer, package_manager, internal, other)
|
|
295
295
|
Minimal valid data: {"label":"Orders mobile app","app":{"platform":"ios"}}
|
|
296
296
|
|
|
@@ -302,7 +302,7 @@ A reusable code package other code depends on and that is not deployed on its ow
|
|
|
302
302
|
|
|
303
303
|
Allowed parent types: context (or none, at the top level)
|
|
304
304
|
Required fields under data: none
|
|
305
|
-
Optional fields under data: library.package_name; library.ecosystem; library.version; library.license
|
|
305
|
+
Optional fields under data: library.package_name (string); library.ecosystem (string); library.version (string); library.license (string)
|
|
306
306
|
|
|
307
307
|
## Node type: api_gateway
|
|
308
308
|
|
|
@@ -312,7 +312,7 @@ An API ingress boundary in front of downstream services or containers.
|
|
|
312
312
|
|
|
313
313
|
Allowed parent types: context (or none, at the top level)
|
|
314
314
|
Required fields under data: none
|
|
315
|
-
Optional fields under data: api_gateway.name; api_gateway.openapi; api_gateway.openapi_hash; api_gateway.endpoints
|
|
315
|
+
Optional fields under data: api_gateway.name (string); api_gateway.openapi (object); api_gateway.openapi_hash (string); api_gateway.endpoints (list of string)
|
|
316
316
|
|
|
317
317
|
## Node type: table
|
|
318
318
|
|
|
@@ -323,7 +323,7 @@ A relational table inside a logical database boundary.
|
|
|
323
323
|
Allowed parent types: database (or none, at the top level)
|
|
324
324
|
Required fields under data: table.definition
|
|
325
325
|
The data.table block is optional; a node that carries it gives every field above.
|
|
326
|
-
Optional fields under data: table.rls_enabled; table.rls_policies
|
|
326
|
+
Optional fields under data: table.rls_enabled (boolean); table.rls_policies (list of object)
|
|
327
327
|
Minimal valid data: {"label":"orders","table":{"definition":{"type":"create","keyword":"table","table":[{"db":"","table":"orders"}],"create_definitions":[{"id":"orders_id","column":{"type":"column_ref","table":null,"column":"id"},"definition":{"dataType":"uuid"},"resource":"column"}]}}}
|
|
328
328
|
|
|
329
329
|
## Node type: collection
|
|
@@ -334,7 +334,7 @@ A NoSQL document or key-value collection inside a database boundary.
|
|
|
334
334
|
|
|
335
335
|
Allowed parent types: database (or none, at the top level)
|
|
336
336
|
Required fields under data: none
|
|
337
|
-
Optional fields under data: collection.name; collection.document_schema_ref
|
|
337
|
+
Optional fields under data: collection.name (string); collection.document_schema_ref (string)
|
|
338
338
|
|
|
339
339
|
## Node type: bucket
|
|
340
340
|
|
|
@@ -344,7 +344,7 @@ An addressable object-store container that holds files or blob objects.
|
|
|
344
344
|
|
|
345
345
|
Allowed parent types: object_store (or none, at the top level)
|
|
346
346
|
Required fields under data: none
|
|
347
|
-
Optional fields under data: bucket.name; bucket.versioned
|
|
347
|
+
Optional fields under data: bucket.name (string); bucket.versioned (boolean)
|
|
348
348
|
|
|
349
349
|
## Node type: topic
|
|
350
350
|
|
|
@@ -354,7 +354,7 @@ A publish/subscribe topic, stream, or event channel.
|
|
|
354
354
|
|
|
355
355
|
Allowed parent types: message_broker (or none, at the top level)
|
|
356
356
|
Required fields under data: none
|
|
357
|
-
Optional fields under data: topic.name; topic.ordering
|
|
357
|
+
Optional fields under data: topic.name (string); topic.ordering (boolean)
|
|
358
358
|
|
|
359
359
|
## Node type: queue
|
|
360
360
|
|
|
@@ -364,7 +364,7 @@ A point-to-point queue or dead-letter queue for asynchronous work.
|
|
|
364
364
|
|
|
365
365
|
Allowed parent types: message_broker (or none, at the top level)
|
|
366
366
|
Required fields under data: none
|
|
367
|
-
Optional fields under data: queue.name; queue.fifo; queue.dead_letter
|
|
367
|
+
Optional fields under data: queue.name (string); queue.fifo (boolean); queue.dead_letter (boolean)
|
|
368
368
|
|
|
369
369
|
## Node type: component
|
|
370
370
|
|
|
@@ -374,7 +374,7 @@ An internal code or module boundary inside a container, website, app, page, libr
|
|
|
374
374
|
|
|
375
375
|
Allowed parent types: container, page, library, website, app, component (or none, at the top level)
|
|
376
376
|
Required fields under data: none
|
|
377
|
-
Optional fields under data: component.technology; component.module_path; component.responsibilities
|
|
377
|
+
Optional fields under data: component.technology (string); component.module_path (string); component.responsibilities (list of string)
|
|
378
378
|
|
|
379
379
|
## Node type: page
|
|
380
380
|
|
|
@@ -384,7 +384,7 @@ An individual screen or view within a website or an app.
|
|
|
384
384
|
|
|
385
385
|
Allowed parent types: website, app (or none, at the top level)
|
|
386
386
|
Required fields under data: none
|
|
387
|
-
Optional fields under data: page.route_path; page.route_pattern; page.title; page.auth_required; page.states; page.anchors
|
|
387
|
+
Optional fields under data: page.route_path (string); page.route_pattern (string); page.title (string); page.auth_required (boolean); page.states (list of string); page.anchors (list of object)
|
|
388
388
|
|
|
389
389
|
## Node type: ui_component_definition
|
|
390
390
|
|
|
@@ -395,7 +395,7 @@ A reusable visual component, layout, or page-template definition without executa
|
|
|
395
395
|
Allowed parent types: container, website, app, library (or none, at the top level)
|
|
396
396
|
Required fields under data: ui_component_definition.name; ui_component_definition.role (one of: component, layout, page_template); ui_component_definition.dialect_id (one of: react-mui-web, html-web, terminal-text, swiftui, jetpack-compose, flutter, react-native); ui_component_definition.props_schema; ui_component_definition.slot_definitions; ui_component_definition.variant_sets; ui_component_definition.root_instance_tree
|
|
397
397
|
Every ui_component_definition node needs its data.ui_component_definition block.
|
|
398
|
-
Optional fields under data: ui_component_definition.local_state_definitions; ui_component_definition.source_asset; ui_component_definition.fork_of; ui_component_definition.component_upgrade_policy; ui_component_definition.authored_tree_changes; ui_component_definition.prop_definitions; ui_component_definition.recipe_definitions; ui_component_definition.exposed_prop_definitions; ui_component_definition.interaction_bindings; ui_component_definition.data_bindings; ui_component_definition.dependency_approvals; ui_component_definition.summary; ui_component_definition.documentation
|
|
398
|
+
Optional fields under data: ui_component_definition.local_state_definitions (list of object); ui_component_definition.source_asset (object); ui_component_definition.fork_of (object); ui_component_definition.component_upgrade_policy (string); ui_component_definition.authored_tree_changes (list of object); ui_component_definition.prop_definitions (list of object); ui_component_definition.recipe_definitions (list of object); ui_component_definition.exposed_prop_definitions (list of object); ui_component_definition.interaction_bindings (list of object); ui_component_definition.data_bindings (list of object); ui_component_definition.dependency_approvals (object); ui_component_definition.summary (string); ui_component_definition.documentation (string)
|
|
399
399
|
Optional values: ui_component_definition.component_upgrade_policy (one of: manual, auto)
|
|
400
400
|
Minimal valid data: {"label":"Order card","ui_component_definition":{"name":"Order card","role":"component","dialect_id":"react-mui-web","props_schema":[],"slot_definitions":[],"variant_sets":[],"root_instance_tree":{"id":"root","source_primitive_id":"core.stack","props":{},"variant_selection":{},"children":[{"id":"text_1","source_primitive_id":"core.text","props":{"content":"Order 1042"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_2","source_primitive_id":"core.text","props":{"content":"Shipped"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_3","source_primitive_id":"core.text","props":{"content":"$42.00"},"variant_selection":{},"children":[],"slot_assignments":[]}],"slot_assignments":[]}}}
|
|
401
401
|
|
|
@@ -408,7 +408,7 @@ A designed screen, state, or flow-step artifact shown to users.
|
|
|
408
408
|
Allowed parent types: page, website, app (or none, at the top level)
|
|
409
409
|
Required fields under data: ui_frame.name; ui_frame.role (one of: screen, page_state, component_state, flow_step); ui_frame.dialect_id (one of: react-mui-web, html-web, terminal-text, swiftui, jetpack-compose, flutter, react-native); ui_frame.root_instance_tree
|
|
410
410
|
Every ui_frame node needs its data.ui_frame block.
|
|
411
|
-
Optional fields under data: ui_frame.local_state_definitions; ui_frame.default_render_size; ui_frame.source_asset; ui_frame.fork_of; ui_frame.component_upgrade_policy; ui_frame.authored_tree_changes; ui_frame.variant_selection; ui_frame.interaction_bindings; ui_frame.data_bindings; ui_frame.dependency_approvals; ui_frame.summary; ui_frame.documentation
|
|
411
|
+
Optional fields under data: ui_frame.local_state_definitions (list of object); ui_frame.default_render_size (object); ui_frame.source_asset (object); ui_frame.fork_of (object); ui_frame.component_upgrade_policy (string); ui_frame.authored_tree_changes (list of object); ui_frame.variant_selection (object); ui_frame.interaction_bindings (list of object); ui_frame.data_bindings (list of object); ui_frame.dependency_approvals (object); ui_frame.summary (string); ui_frame.documentation (string)
|
|
412
412
|
Optional values: ui_frame.component_upgrade_policy (one of: manual, auto)
|
|
413
413
|
Minimal valid data: {"label":"Orders list","ui_frame":{"name":"Orders list","role":"screen","dialect_id":"react-mui-web","root_instance_tree":{"id":"root","source_primitive_id":"core.stack","props":{},"variant_selection":{},"children":[{"id":"text_1","source_primitive_id":"core.text","props":{"content":"Orders"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_2","source_primitive_id":"core.text","props":{"content":"Order 1042: shipped"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_3","source_primitive_id":"core.text","props":{"content":"Order 1043: packing"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_4","source_primitive_id":"core.text","props":{"content":"Order 1044: paid"},"variant_selection":{},"children":[],"slot_assignments":[]},{"id":"text_5","source_primitive_id":"core.text","props":{"content":"Showing 3 of 3 orders"},"variant_selection":{},"children":[],"slot_assignments":[]}],"slot_assignments":[]}}}
|
|
414
414
|
|
|
@@ -421,7 +421,7 @@ A callable unit of behavior with typed input, output, and error signatures. func
|
|
|
421
421
|
Allowed parent types: container, workload, website, app, library, database, api_gateway, page, component, ui_component_definition, ui_frame, http_operation, async_operation, rpc_operation, job (or none, at the top level)
|
|
422
422
|
Required fields under data: function.name; function.signatures
|
|
423
423
|
The data.function block is optional; a node that carries it gives every field above.
|
|
424
|
-
Optional fields under data: function.summary; function.async; function.start_code_node_id
|
|
424
|
+
Optional fields under data: function.summary (string); function.async (boolean); function.start_code_node_id (string)
|
|
425
425
|
Minimal valid data: {"label":"createOrder","function":{"name":"createOrder","signatures":[{"id":"default","input_schema":{"type":"object","properties":{"customer_id":{"type":"string"}},"required":["customer_id"]},"output_schema":{"type":"object"}}]}}
|
|
426
426
|
|
|
427
427
|
## Node type: http_operation
|
|
@@ -433,7 +433,7 @@ An HTTP operation contract identified by method, path, and operation semantics;
|
|
|
433
433
|
Allowed parent types: api_gateway, website, app, container, workload, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
434
434
|
Required fields under data: http_operation.name
|
|
435
435
|
The data.http_operation block is optional; a node that carries it gives every field above.
|
|
436
|
-
Optional fields under data: http_operation.operation_id; http_operation.openapi_operation; http_operation.openapi_doc_ref; http_operation.method; http_operation.path; http_operation.summary; http_operation.description; http_operation.examples
|
|
436
|
+
Optional fields under data: http_operation.operation_id (string); http_operation.openapi_operation (object); http_operation.openapi_doc_ref (string); http_operation.method (string); http_operation.path (string); http_operation.summary (string); http_operation.description (string); http_operation.examples (list of object)
|
|
437
437
|
Optional values: http_operation.method (one of: get, post, put, patch, delete, options, head, any)
|
|
438
438
|
Minimal valid data: {"label":"POST /orders","http_operation":{"name":"Create order","method":"post"}}
|
|
439
439
|
|
|
@@ -446,7 +446,7 @@ An asynchronous operation contract identified by action and messaging semantics.
|
|
|
446
446
|
Allowed parent types: workload, container, api_gateway, website, app, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
447
447
|
Required fields under data: async_operation.name
|
|
448
448
|
The data.async_operation block is optional; a node that carries it gives every field above.
|
|
449
|
-
Optional fields under data: async_operation.operation_id; async_operation.asyncapi_operation; async_operation.asyncapi_doc_ref; async_operation.action; async_operation.summary; async_operation.description; async_operation.examples
|
|
449
|
+
Optional fields under data: async_operation.operation_id (string); async_operation.asyncapi_operation (object); async_operation.asyncapi_doc_ref (string); async_operation.action (string); async_operation.summary (string); async_operation.description (string); async_operation.examples (list of object)
|
|
450
450
|
Optional values: async_operation.action (one of: send, receive)
|
|
451
451
|
Minimal valid data: {"label":"Consume order update","async_operation":{"name":"Consume order update","action":"receive"}}
|
|
452
452
|
|
|
@@ -459,7 +459,7 @@ A non-REST operation contract (gRPC method, GraphQL root field, tRPC procedure,
|
|
|
459
459
|
Allowed parent types: api_gateway, website, app, container, workload, page, ui_component_definition, ui_frame, component (or none, at the top level)
|
|
460
460
|
Required fields under data: rpc_operation.name; rpc_operation.protocol (one of: grpc, graphql, trpc, jsonrpc, soap, thrift)
|
|
461
461
|
The data.rpc_operation block is optional; a node that carries it gives every field above.
|
|
462
|
-
Optional fields under data: rpc_operation.service; rpc_operation.kind; rpc_operation.contract_ref; rpc_operation.summary; rpc_operation.description; rpc_operation.examples
|
|
462
|
+
Optional fields under data: rpc_operation.service (string); rpc_operation.kind (string); rpc_operation.contract_ref (string); rpc_operation.summary (string); rpc_operation.description (string); rpc_operation.examples (list of object)
|
|
463
463
|
Optional values: rpc_operation.kind (one of: unary, server_stream, client_stream, bidi_stream, query, mutation, subscription, request)
|
|
464
464
|
Minimal valid data: {"label":"GetOrder","rpc_operation":{"name":"GetOrder","protocol":"grpc"}}
|
|
465
465
|
|
|
@@ -472,7 +472,7 @@ Background work started by a schedule, an operator, or a workflow, with its trig
|
|
|
472
472
|
Allowed parent types: container, workload, job (a parent is required)
|
|
473
473
|
Required fields under data: job.trigger.kind: schedule (with cron), manual, workflow, step
|
|
474
474
|
Every job node needs its data.job block.
|
|
475
|
-
Optional fields under data: job.engine; job.retry; job.timeout_seconds; job.concurrency; job.idempotent; job.summary; job.description
|
|
475
|
+
Optional fields under data: job.engine (string); job.retry (object); job.timeout_seconds (number); job.concurrency (string); job.idempotent (boolean); job.summary (string); job.description (string)
|
|
476
476
|
Optional values: job.engine (one of: cron, celery, sidekiq, hangfire, quartz, spring, kubernetes_cronjob, vercel_cron, pg_cron, temporal, airflow, step_functions, dagster, github_actions, other); job.concurrency (one of: allow, forbid, replace)
|
|
477
477
|
Minimal valid data: {"label":"Nightly order export","job":{"trigger":{"kind":"schedule","cron":"0 3 * * *","timezone":"UTC"}}}
|
|
478
478
|
|
|
@@ -485,7 +485,7 @@ A reusable structured data contract referenced by functions, operations, or othe
|
|
|
485
485
|
Allowed parent types: schema, database, container, api_gateway, http_operation, rpc_operation, function, library (or none, at the top level)
|
|
486
486
|
Required fields under data: schema.name; schema.schema
|
|
487
487
|
The data.schema block is optional; a node that carries it gives every field above.
|
|
488
|
-
Optional fields under data: schema.summary; schema.description
|
|
488
|
+
Optional fields under data: schema.summary (string); schema.description (string)
|
|
489
489
|
Minimal valid data: {"label":"Order","schema":{"name":"Order","schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}
|
|
490
490
|
|
|
491
491
|
## Node type: code
|
|
@@ -496,7 +496,7 @@ A concrete source artifact such as a file, module, or snippet linked to a modele
|
|
|
496
496
|
|
|
497
497
|
Allowed parent types: function, container, database, table, schema, component, page, http_operation, async_operation, rpc_operation, job, ui_component_definition, ui_frame, library (or none, at the top level)
|
|
498
498
|
Required fields under data: none
|
|
499
|
-
Optional fields under data: code.path; code.symbol; code.language; code.artifact_kind; code.start_line; code.end_line
|
|
499
|
+
Optional fields under data: code.path (string); code.symbol (string); code.language (string); code.artifact_kind (string); code.start_line (number); code.end_line (number)
|
|
500
500
|
Optional values: code.artifact_kind (one of: file, module, function, class, test, config, migration, script, snippet)
|
|
501
501
|
|
|
502
502
|
## Node type: team
|
|
@@ -519,7 +519,7 @@ A kind of work a member of the organization does, such as Engineering Manager or
|
|
|
519
519
|
Allowed parent types: job_function (or none, at the top level)
|
|
520
520
|
Required fields under data: label; job_function.key
|
|
521
521
|
Every job_function node needs its label and its data.job_function block.
|
|
522
|
-
Optional fields under data: job_function.requires_person; job_function.escalable
|
|
522
|
+
Optional fields under data: job_function.requires_person (boolean); job_function.escalable (boolean)
|
|
523
523
|
Minimal valid data: {"label":"Engineer","job_function":{"key":"engineer"}}
|
|
524
524
|
|
|
525
525
|
## Node type: post
|
|
@@ -575,7 +575,7 @@ A place the work runs, such as local, staging, or production, with its kind and
|
|
|
575
575
|
Allowed parent types: none; it sits at the top level
|
|
576
576
|
Required fields under data: label; environment.key; environment.kind (one of: local, development, preview, test, staging, production, other)
|
|
577
577
|
Every environment node needs its label and its data.environment block.
|
|
578
|
-
Optional fields under data: environment.ref; environment.order
|
|
578
|
+
Optional fields under data: environment.ref (string); environment.order (number)
|
|
579
579
|
Minimal valid data: {"label":"Staging","environment":{"key":"staging","kind":"staging"}}
|
|
580
580
|
|
|
581
581
|
## All relationship types
|