@objectstack/spec 1.0.11 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -1
- package/dist/ai/index.d.mts +2 -1
- package/dist/ai/index.d.ts +2 -1
- package/dist/ai/index.js +2047 -1944
- package/dist/ai/index.js.map +1 -1
- package/dist/ai/index.mjs +2047 -1944
- package/dist/ai/index.mjs.map +1 -1
- package/dist/api/index.d.mts +3 -1
- package/dist/api/index.d.ts +3 -1
- package/dist/api/index.js +2599 -2292
- package/dist/api/index.js.map +1 -1
- package/dist/api/index.mjs +2587 -2292
- package/dist/api/index.mjs.map +1 -1
- package/dist/automation/index.d.mts +2 -1
- package/dist/automation/index.d.ts +2 -1
- package/dist/automation/index.js +83 -0
- package/dist/automation/index.js.map +1 -1
- package/dist/automation/index.mjs +77 -0
- package/dist/automation/index.mjs.map +1 -1
- package/dist/contracts/index.d.mts +3 -2
- package/dist/contracts/index.d.ts +3 -2
- package/dist/data/index.d.mts +3 -2
- package/dist/data/index.d.ts +3 -2
- package/dist/data/index.js +658 -556
- package/dist/data/index.js.map +1 -1
- package/dist/data/index.mjs +656 -556
- package/dist/data/index.mjs.map +1 -1
- package/dist/{driver.zod-lfi00zVT.d.ts → driver.zod-CfGk9GYh.d.ts} +2164 -11
- package/dist/{driver.zod-BOM_Etco.d.mts → driver.zod-y1cX6R3c.d.mts} +2164 -11
- package/dist/hub/index.d.mts +1 -1
- package/dist/hub/index.d.ts +1 -1
- package/dist/hub/index.js +789 -724
- package/dist/hub/index.js.map +1 -1
- package/dist/hub/index.mjs +789 -724
- package/dist/hub/index.mjs.map +1 -1
- package/dist/{index-C67cfwmW.d.ts → index-B0Hf65bV.d.ts} +13 -5
- package/dist/{index-DLcySG7U.d.ts → index-B5pKM0My.d.ts} +335 -4370
- package/dist/{index-Os7lItRe.d.mts → index-BA022mg2.d.ts} +6178 -129
- package/dist/{index-B5-VbOKg.d.mts → index-BGeLoH2z.d.ts} +4251 -74
- package/dist/{index-CH5zloR3.d.ts → index-BwO__aqV.d.ts} +1 -1
- package/dist/{index-Dp7GFJ8V.d.mts → index-Cia3JPQ8.d.mts} +13 -5
- package/dist/{index-D12rNohm.d.mts → index-CpD1q1FP.d.ts} +35 -18
- package/dist/{index-Os7lItRe.d.ts → index-D5RSFPuB.d.mts} +6178 -129
- package/dist/{index-CU4m6noq.d.mts → index-DGjpaj0X.d.mts} +1 -1
- package/dist/{index-D12rNohm.d.ts → index-Dfn5VXl6.d.mts} +35 -18
- package/dist/{index-l6WIlmOD.d.mts → index-Dgybxlky.d.mts} +177 -158
- package/dist/{index-l6WIlmOD.d.ts → index-Dgybxlky.d.ts} +177 -158
- package/dist/{index-DLcySG7U.d.mts → index-Dpsk8PF4.d.mts} +335 -4370
- package/dist/{index-CyognKSZ.d.ts → index-DrNah5E0.d.ts} +1952 -6990
- package/dist/{index-DE_lJ11p.d.mts → index-OO84R20k.d.mts} +1952 -6990
- package/dist/{index-B5-VbOKg.d.ts → index-upA3Xt04.d.mts} +4251 -74
- package/dist/index.d.mts +8072 -1922
- package/dist/index.d.ts +8072 -1922
- package/dist/index.js +8563 -8249
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8563 -8249
- package/dist/index.mjs.map +1 -1
- package/dist/integration/index.d.mts +1 -1
- package/dist/integration/index.d.ts +1 -1
- package/dist/kernel/index.d.mts +2 -1
- package/dist/kernel/index.d.ts +2 -1
- package/dist/kernel/index.js +884 -684
- package/dist/kernel/index.js.map +1 -1
- package/dist/kernel/index.mjs +870 -684
- package/dist/kernel/index.mjs.map +1 -1
- package/dist/package-registry.zod-JMcOYNxM.d.mts +21119 -0
- package/dist/package-registry.zod-JMcOYNxM.d.ts +21119 -0
- package/dist/state-machine.zod-B-lFFSxQ.d.mts +285 -0
- package/dist/state-machine.zod-B-lFFSxQ.d.ts +285 -0
- package/dist/system/index.d.mts +2 -1
- package/dist/system/index.d.ts +2 -1
- package/dist/system/index.js +749 -651
- package/dist/system/index.js.map +1 -1
- package/dist/system/index.mjs +749 -651
- package/dist/system/index.mjs.map +1 -1
- package/dist/ui/index.d.mts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/json-schema/ai/Agent.json +499 -0
- package/json-schema/ai/DevOpsAgent.json +499 -0
- package/json-schema/ai/FeedbackLoop.json +2188 -186
- package/json-schema/ai/Resolution.json +2188 -186
- package/json-schema/api/ApiRoutes.json +4 -0
- package/json-schema/api/CompileManifestResponse.json +40 -10
- package/json-schema/api/DisablePackageRequest.json +18 -0
- package/json-schema/api/DisablePackageResponse.json +1521 -0
- package/json-schema/api/Discovery.json +4 -0
- package/json-schema/api/EnablePackageRequest.json +18 -0
- package/json-schema/api/EnablePackageResponse.json +1521 -0
- package/json-schema/api/GetDiscoveryResponse.json +4 -0
- package/json-schema/api/GetPackageRequest.json +18 -0
- package/json-schema/api/GetPackageResponse.json +1518 -0
- package/json-schema/api/InstallPackageRequest.json +1483 -0
- package/json-schema/api/InstallPackageResponse.json +1521 -0
- package/json-schema/api/ListPackagesRequest.json +42 -0
- package/json-schema/api/ListPackagesResponse.json +1525 -0
- package/json-schema/api/ObjectDefinitionResponse.json +1001 -0
- package/json-schema/api/ObjectStackProtocol.json +86 -1
- package/json-schema/api/RestApiConfig.json +5 -0
- package/json-schema/api/RestServerConfig.json +5 -0
- package/json-schema/api/UninstallPackageRequest.json +18 -0
- package/json-schema/api/UninstallPackageResponse.json +25 -0
- package/json-schema/automation/ActionRef.json +30 -0
- package/json-schema/automation/Event.json +24 -0
- package/json-schema/automation/Flow.json +1 -0
- package/json-schema/automation/FlowNode.json +1 -0
- package/json-schema/automation/FlowNodeAction.json +1 -0
- package/json-schema/automation/GuardRef.json +30 -0
- package/json-schema/automation/StateMachine.json +504 -0
- package/json-schema/automation/StateNode.json +324 -0
- package/json-schema/automation/Transition.json +73 -0
- package/json-schema/data/Object.json +1001 -0
- package/json-schema/data/ObjectExtension.json +2376 -0
- package/json-schema/data/ObjectOwnershipEnum.json +13 -0
- package/json-schema/hub/ComposerResponse.json +40 -10
- package/json-schema/kernel/DisablePackageRequest.json +18 -0
- package/json-schema/kernel/DisablePackageResponse.json +1521 -0
- package/json-schema/kernel/EnablePackageRequest.json +18 -0
- package/json-schema/kernel/EnablePackageResponse.json +1521 -0
- package/json-schema/kernel/EventBusConfig.json +15 -0
- package/json-schema/kernel/EventHandler.json +6 -0
- package/json-schema/kernel/EventPersistence.json +3 -0
- package/json-schema/kernel/EventRoute.json +3 -0
- package/json-schema/kernel/EventWebhookConfig.json +3 -0
- package/json-schema/kernel/GetPackageRequest.json +18 -0
- package/json-schema/kernel/GetPackageResponse.json +1518 -0
- package/json-schema/kernel/InstallPackageRequest.json +1483 -0
- package/json-schema/kernel/InstallPackageResponse.json +1521 -0
- package/json-schema/kernel/InstalledPackage.json +1509 -0
- package/json-schema/kernel/ListPackagesRequest.json +42 -0
- package/json-schema/kernel/ListPackagesResponse.json +1525 -0
- package/json-schema/kernel/Manifest.json +40 -10
- package/json-schema/kernel/PackageStatusEnum.json +16 -0
- package/json-schema/kernel/Plugin.json +5 -0
- package/json-schema/kernel/PluginContext.json +31 -7
- package/json-schema/kernel/PluginLifecycle.json +7 -1
- package/json-schema/kernel/RealTimeNotificationConfig.json +3 -0
- package/json-schema/kernel/UninstallPackageRequest.json +18 -0
- package/json-schema/kernel/UninstallPackageResponse.json +25 -0
- package/json-schema/system/ChangeSet.json +2188 -186
- package/json-schema/system/CreateObjectOperation.json +1001 -0
- package/json-schema/system/MigrationOperation.json +1001 -0
- package/package.json +29 -15
- package/prompts/create-new-project.md +37 -19
- package/dist/{index-I3piy4U4.d.mts → index-BmU_sD1f.d.mts} +8 -8
- package/dist/{index-CkhpsEUw.d.ts → index-BnXuc_HO.d.ts} +8 -8
- package/dist/{index-CIDI-8zR.d.mts → index-C_NTOcet.d.mts} +98 -98
- package/dist/{index-CIDI-8zR.d.ts → index-C_NTOcet.d.ts} +98 -98
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { z as ApprovalActionSchema, y as ApprovalActionType, G as ApprovalProcess, D as ApprovalProcessSchema, I as ApprovalStep, B as ApprovalStepSchema, A as ApproverType, a8 as AuthField, a7 as AuthFieldSchema, ac as Authentication, ab as AuthenticationSchema, a6 as AuthenticationType, a5 as AuthenticationTypeSchema, au as ConflictResolution, at as ConflictResolutionSchema, am as Connector, C as ConnectorActionRefSchema, a4 as ConnectorCategory, a3 as ConnectorCategorySchema, ao as ConnectorInstance, an as ConnectorInstanceSchema, ai as ConnectorOperation, ah as ConnectorOperationSchema, al as ConnectorSchema, ak as ConnectorTrigger, aj as ConnectorTriggerSchema, a as CustomScriptActionSchema, ay as DataDestinationConfig, ax as DataDestinationConfigSchema, aw as DataSourceConfig, av as DataSourceConfigSchema, aA as DataSyncConfig, az as DataSyncConfigSchema, a2 as ETL, O as ETLDestination, N as ETLDestinationSchema, K as ETLEndpointType, J as ETLEndpointTypeSchema, Z as ETLPipeline, a1 as ETLPipelineRun, a0 as ETLPipelineRunSchema, Y as ETLPipelineSchema, $ as ETLRunStatus, _ as ETLRunStatusSchema, M as ETLSource, L as ETLSourceSchema, X as ETLSyncMode, V as ETLSyncModeSchema, U as ETLTransformation, S as ETLTransformationSchema, R as ETLTransformationType, Q as ETLTransformationTypeSchema, E as EmailAlertActionSchema, F as FieldUpdateActionSchema, n as Flow, r as FlowEdge, s as FlowEdgeParsed, l as FlowEdgeSchema, p as FlowNode, h as FlowNodeAction, q as FlowNodeParsed, k as FlowNodeSchema, o as FlowParsed, m as FlowSchema, j as FlowVariableSchema, H as HttpCallActionSchema, aa as OAuth2Config, a9 as OAuth2ConfigSchema, ag as OperationParameter, af as OperationParameterSchema, ae as OperationType, ad as OperationTypeSchema, P as PushNotificationActionSchema, aF as Sync, aq as SyncDirection, ap as SyncDirectionSchema, aE as SyncExecutionResult, aD as SyncExecutionResultSchema, aC as SyncExecutionStatus, aB as SyncExecutionStatusSchema, as as SyncMode, ar as SyncModeSchema, T as TaskCreationActionSchema, g as TimeTrigger, d as TimeTriggerSchema, w as Webhook, x as WebhookReceiver, v as WebhookReceiverSchema, u as WebhookSchema, t as WebhookTriggerType, c as WorkflowAction, b as WorkflowActionSchema, f as WorkflowRule, e as WorkflowRuleSchema, W as WorkflowTriggerType } from '../index-Dfn5VXl6.mjs';
|
|
2
|
+
export { A as ActionRef, a as ActionRefSchema, E as EventSchema, G as GuardRefSchema, b as StateMachineConfig, c as StateMachineSchema, S as StateNodeConfig, d as StateNodeSchema, T as Transition, e as TransitionSchema } from '../state-machine.zod-B-lFFSxQ.mjs';
|
|
2
3
|
import 'zod';
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { z as ApprovalActionSchema, y as ApprovalActionType, G as ApprovalProcess, D as ApprovalProcessSchema, I as ApprovalStep, B as ApprovalStepSchema, A as ApproverType, a8 as AuthField, a7 as AuthFieldSchema, ac as Authentication, ab as AuthenticationSchema, a6 as AuthenticationType, a5 as AuthenticationTypeSchema, au as ConflictResolution, at as ConflictResolutionSchema, am as Connector, C as ConnectorActionRefSchema, a4 as ConnectorCategory, a3 as ConnectorCategorySchema, ao as ConnectorInstance, an as ConnectorInstanceSchema, ai as ConnectorOperation, ah as ConnectorOperationSchema, al as ConnectorSchema, ak as ConnectorTrigger, aj as ConnectorTriggerSchema, a as CustomScriptActionSchema, ay as DataDestinationConfig, ax as DataDestinationConfigSchema, aw as DataSourceConfig, av as DataSourceConfigSchema, aA as DataSyncConfig, az as DataSyncConfigSchema, a2 as ETL, O as ETLDestination, N as ETLDestinationSchema, K as ETLEndpointType, J as ETLEndpointTypeSchema, Z as ETLPipeline, a1 as ETLPipelineRun, a0 as ETLPipelineRunSchema, Y as ETLPipelineSchema, $ as ETLRunStatus, _ as ETLRunStatusSchema, M as ETLSource, L as ETLSourceSchema, X as ETLSyncMode, V as ETLSyncModeSchema, U as ETLTransformation, S as ETLTransformationSchema, R as ETLTransformationType, Q as ETLTransformationTypeSchema, E as EmailAlertActionSchema, F as FieldUpdateActionSchema, n as Flow, r as FlowEdge, s as FlowEdgeParsed, l as FlowEdgeSchema, p as FlowNode, h as FlowNodeAction, q as FlowNodeParsed, k as FlowNodeSchema, o as FlowParsed, m as FlowSchema, j as FlowVariableSchema, H as HttpCallActionSchema, aa as OAuth2Config, a9 as OAuth2ConfigSchema, ag as OperationParameter, af as OperationParameterSchema, ae as OperationType, ad as OperationTypeSchema, P as PushNotificationActionSchema, aF as Sync, aq as SyncDirection, ap as SyncDirectionSchema, aE as SyncExecutionResult, aD as SyncExecutionResultSchema, aC as SyncExecutionStatus, aB as SyncExecutionStatusSchema, as as SyncMode, ar as SyncModeSchema, T as TaskCreationActionSchema, g as TimeTrigger, d as TimeTriggerSchema, w as Webhook, x as WebhookReceiver, v as WebhookReceiverSchema, u as WebhookSchema, t as WebhookTriggerType, c as WorkflowAction, b as WorkflowActionSchema, f as WorkflowRule, e as WorkflowRuleSchema, W as WorkflowTriggerType } from '../index-CpD1q1FP.js';
|
|
2
|
+
export { A as ActionRef, a as ActionRefSchema, E as EventSchema, G as GuardRefSchema, b as StateMachineConfig, c as StateMachineSchema, S as StateNodeConfig, d as StateNodeSchema, T as Transition, e as TransitionSchema } from '../state-machine.zod-B-lFFSxQ.js';
|
|
2
3
|
import 'zod';
|
package/dist/automation/index.js
CHANGED
|
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/automation/index.ts
|
|
21
21
|
var automation_exports = {};
|
|
22
22
|
__export(automation_exports, {
|
|
23
|
+
ActionRefSchema: () => ActionRefSchema,
|
|
23
24
|
ApprovalActionSchema: () => ApprovalActionSchema,
|
|
24
25
|
ApprovalActionType: () => ApprovalActionType,
|
|
25
26
|
ApprovalProcess: () => ApprovalProcess,
|
|
@@ -52,17 +53,21 @@ __export(automation_exports, {
|
|
|
52
53
|
ETLTransformationSchema: () => ETLTransformationSchema,
|
|
53
54
|
ETLTransformationTypeSchema: () => ETLTransformationTypeSchema,
|
|
54
55
|
EmailAlertActionSchema: () => EmailAlertActionSchema,
|
|
56
|
+
EventSchema: () => EventSchema,
|
|
55
57
|
FieldUpdateActionSchema: () => FieldUpdateActionSchema,
|
|
56
58
|
FlowEdgeSchema: () => FlowEdgeSchema,
|
|
57
59
|
FlowNodeAction: () => FlowNodeAction,
|
|
58
60
|
FlowNodeSchema: () => FlowNodeSchema,
|
|
59
61
|
FlowSchema: () => FlowSchema,
|
|
60
62
|
FlowVariableSchema: () => FlowVariableSchema,
|
|
63
|
+
GuardRefSchema: () => GuardRefSchema,
|
|
61
64
|
HttpCallActionSchema: () => HttpCallActionSchema,
|
|
62
65
|
OAuth2ConfigSchema: () => OAuth2ConfigSchema,
|
|
63
66
|
OperationParameterSchema: () => OperationParameterSchema,
|
|
64
67
|
OperationTypeSchema: () => OperationTypeSchema,
|
|
65
68
|
PushNotificationActionSchema: () => PushNotificationActionSchema,
|
|
69
|
+
StateMachineSchema: () => StateMachineSchema,
|
|
70
|
+
StateNodeSchema: () => StateNodeSchema,
|
|
66
71
|
Sync: () => Sync,
|
|
67
72
|
SyncDirectionSchema: () => SyncDirectionSchema,
|
|
68
73
|
SyncExecutionResultSchema: () => SyncExecutionResultSchema,
|
|
@@ -70,6 +75,7 @@ __export(automation_exports, {
|
|
|
70
75
|
SyncModeSchema: () => SyncModeSchema,
|
|
71
76
|
TaskCreationActionSchema: () => TaskCreationActionSchema,
|
|
72
77
|
TimeTriggerSchema: () => TimeTriggerSchema,
|
|
78
|
+
TransitionSchema: () => TransitionSchema,
|
|
73
79
|
WebhookReceiverSchema: () => WebhookReceiverSchema,
|
|
74
80
|
WebhookSchema: () => WebhookSchema,
|
|
75
81
|
WebhookTriggerType: () => WebhookTriggerType,
|
|
@@ -236,6 +242,8 @@ var FlowNodeAction = import_zod3.z.enum([
|
|
|
236
242
|
// Webhook/API Call
|
|
237
243
|
"script",
|
|
238
244
|
// Custom Script (JS/TS)
|
|
245
|
+
"screen",
|
|
246
|
+
// Screen / User-Input Element
|
|
239
247
|
"wait",
|
|
240
248
|
// Delay/Sleep
|
|
241
249
|
"subflow",
|
|
@@ -1534,8 +1542,78 @@ var Sync = {
|
|
|
1534
1542
|
enabled: true
|
|
1535
1543
|
})
|
|
1536
1544
|
};
|
|
1545
|
+
|
|
1546
|
+
// src/automation/state-machine.zod.ts
|
|
1547
|
+
var import_zod10 = require("zod");
|
|
1548
|
+
var ActionRefSchema = import_zod10.z.union([
|
|
1549
|
+
import_zod10.z.string().describe("Action Name"),
|
|
1550
|
+
import_zod10.z.object({
|
|
1551
|
+
type: import_zod10.z.string(),
|
|
1552
|
+
// e.g., 'xstate.assign', 'log', 'email'
|
|
1553
|
+
params: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.any()).optional()
|
|
1554
|
+
})
|
|
1555
|
+
]);
|
|
1556
|
+
var GuardRefSchema = import_zod10.z.union([
|
|
1557
|
+
import_zod10.z.string().describe('Guard Name (e.g., "isManager", "amountGT1000")'),
|
|
1558
|
+
import_zod10.z.object({
|
|
1559
|
+
type: import_zod10.z.string(),
|
|
1560
|
+
params: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.any()).optional()
|
|
1561
|
+
})
|
|
1562
|
+
]);
|
|
1563
|
+
var TransitionSchema = import_zod10.z.object({
|
|
1564
|
+
target: import_zod10.z.string().optional().describe("Target State ID"),
|
|
1565
|
+
cond: GuardRefSchema.optional().describe("Condition (Guard) required to take this path"),
|
|
1566
|
+
actions: import_zod10.z.array(ActionRefSchema).optional().describe("Actions to execute during transition"),
|
|
1567
|
+
description: import_zod10.z.string().optional().describe("Human readable description of this rule")
|
|
1568
|
+
});
|
|
1569
|
+
var EventSchema = import_zod10.z.object({
|
|
1570
|
+
type: import_zod10.z.string().describe('Event Type (e.g. "APPROVE", "REJECT", "Submit")'),
|
|
1571
|
+
// Payload validation schema could go here if we want deep validation
|
|
1572
|
+
schema: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.any()).optional().describe("Expected event payload structure")
|
|
1573
|
+
});
|
|
1574
|
+
var StateNodeSchema = import_zod10.z.lazy(() => import_zod10.z.object({
|
|
1575
|
+
/** Type of state */
|
|
1576
|
+
type: import_zod10.z.enum(["atomic", "compound", "parallel", "final", "history"]).default("atomic"),
|
|
1577
|
+
/** Entry/Exit Actions */
|
|
1578
|
+
entry: import_zod10.z.array(ActionRefSchema).optional().describe("Actions to run when entering this state"),
|
|
1579
|
+
exit: import_zod10.z.array(ActionRefSchema).optional().describe("Actions to run when leaving this state"),
|
|
1580
|
+
/** Transitions (Events) */
|
|
1581
|
+
on: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.union([
|
|
1582
|
+
import_zod10.z.string(),
|
|
1583
|
+
// Shorthand target
|
|
1584
|
+
TransitionSchema,
|
|
1585
|
+
import_zod10.z.array(TransitionSchema)
|
|
1586
|
+
])).optional().describe("Map of Event Type -> Transition Definition"),
|
|
1587
|
+
/** Always Transitions (Eventless) */
|
|
1588
|
+
always: import_zod10.z.array(TransitionSchema).optional(),
|
|
1589
|
+
/** Nesting (Hierarchical States) */
|
|
1590
|
+
initial: import_zod10.z.string().optional().describe("Initial child state (if compound)"),
|
|
1591
|
+
states: import_zod10.z.record(import_zod10.z.string(), StateNodeSchema).optional(),
|
|
1592
|
+
/** Metadata for UI/AI */
|
|
1593
|
+
meta: import_zod10.z.object({
|
|
1594
|
+
label: import_zod10.z.string().optional(),
|
|
1595
|
+
description: import_zod10.z.string().optional(),
|
|
1596
|
+
color: import_zod10.z.string().optional(),
|
|
1597
|
+
// For UI diagrams
|
|
1598
|
+
// Instructions for AI Agent when in this state
|
|
1599
|
+
aiInstructions: import_zod10.z.string().optional().describe("Specific instructions for AI when in this state")
|
|
1600
|
+
}).optional()
|
|
1601
|
+
}));
|
|
1602
|
+
var StateMachineSchema = import_zod10.z.object({
|
|
1603
|
+
id: SnakeCaseIdentifierSchema.describe("Unique Machine ID"),
|
|
1604
|
+
description: import_zod10.z.string().optional(),
|
|
1605
|
+
/** Context (Memory) Schema */
|
|
1606
|
+
contextSchema: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.any()).optional().describe("Zod Schema for the machine context/memory"),
|
|
1607
|
+
/** Initial State */
|
|
1608
|
+
initial: import_zod10.z.string().describe("Initial State ID"),
|
|
1609
|
+
/** State Definitions */
|
|
1610
|
+
states: import_zod10.z.record(import_zod10.z.string(), StateNodeSchema).describe("State Nodes"),
|
|
1611
|
+
/** Global Listeners */
|
|
1612
|
+
on: import_zod10.z.record(import_zod10.z.string(), import_zod10.z.union([import_zod10.z.string(), TransitionSchema, import_zod10.z.array(TransitionSchema)])).optional()
|
|
1613
|
+
});
|
|
1537
1614
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1538
1615
|
0 && (module.exports = {
|
|
1616
|
+
ActionRefSchema,
|
|
1539
1617
|
ApprovalActionSchema,
|
|
1540
1618
|
ApprovalActionType,
|
|
1541
1619
|
ApprovalProcess,
|
|
@@ -1568,17 +1646,21 @@ var Sync = {
|
|
|
1568
1646
|
ETLTransformationSchema,
|
|
1569
1647
|
ETLTransformationTypeSchema,
|
|
1570
1648
|
EmailAlertActionSchema,
|
|
1649
|
+
EventSchema,
|
|
1571
1650
|
FieldUpdateActionSchema,
|
|
1572
1651
|
FlowEdgeSchema,
|
|
1573
1652
|
FlowNodeAction,
|
|
1574
1653
|
FlowNodeSchema,
|
|
1575
1654
|
FlowSchema,
|
|
1576
1655
|
FlowVariableSchema,
|
|
1656
|
+
GuardRefSchema,
|
|
1577
1657
|
HttpCallActionSchema,
|
|
1578
1658
|
OAuth2ConfigSchema,
|
|
1579
1659
|
OperationParameterSchema,
|
|
1580
1660
|
OperationTypeSchema,
|
|
1581
1661
|
PushNotificationActionSchema,
|
|
1662
|
+
StateMachineSchema,
|
|
1663
|
+
StateNodeSchema,
|
|
1582
1664
|
Sync,
|
|
1583
1665
|
SyncDirectionSchema,
|
|
1584
1666
|
SyncExecutionResultSchema,
|
|
@@ -1586,6 +1668,7 @@ var Sync = {
|
|
|
1586
1668
|
SyncModeSchema,
|
|
1587
1669
|
TaskCreationActionSchema,
|
|
1588
1670
|
TimeTriggerSchema,
|
|
1671
|
+
TransitionSchema,
|
|
1589
1672
|
WebhookReceiverSchema,
|
|
1590
1673
|
WebhookSchema,
|
|
1591
1674
|
WebhookTriggerType,
|