@contractspec/example.workflow-system 1.44.1 → 1.45.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/dist/approval/approval.enum.d.ts +3 -3
- package/dist/approval/approval.enum.d.ts.map +1 -1
- package/dist/approval/approval.event.d.ts +31 -31
- package/dist/approval/approval.event.d.ts.map +1 -1
- package/dist/approval/approval.event.js +4 -4
- package/dist/approval/approval.event.js.map +1 -1
- package/dist/approval/approval.operations.d.ts +136 -136
- package/dist/approval/approval.operations.js +8 -8
- package/dist/approval/approval.operations.js.map +1 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.d.ts.map +1 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/instance.d.ts +47 -47
- package/dist/entities/step.d.ts +32 -32
- package/dist/entities/workflow.d.ts +23 -23
- package/dist/example.d.ts +3 -36
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +16 -11
- package/dist/example.js.map +1 -1
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/instance/instance.event.d.ts +87 -87
- package/dist/instance/instance.event.d.ts.map +1 -1
- package/dist/instance/instance.event.js +9 -9
- package/dist/instance/instance.event.js.map +1 -1
- package/dist/instance/instance.operations.d.ts +261 -261
- package/dist/instance/instance.operations.d.ts.map +1 -1
- package/dist/instance/instance.operations.js +15 -15
- package/dist/instance/instance.operations.js.map +1 -1
- package/dist/instance/instance.schema.d.ts +54 -54
- package/dist/presentations/index.js +11 -11
- package/dist/presentations/index.js.map +1 -1
- package/dist/shared/types.d.ts +1 -1
- package/dist/state-machine/index.d.ts +2 -2
- package/dist/state-machine/index.js.map +1 -1
- package/dist/workflow/workflow.enum.d.ts +5 -5
- package/dist/workflow/workflow.event.d.ts +33 -33
- package/dist/workflow/workflow.event.d.ts.map +1 -1
- package/dist/workflow/workflow.event.js +5 -5
- package/dist/workflow/workflow.event.js.map +1 -1
- package/dist/workflow/workflow.handler.js +1 -1
- package/dist/workflow/workflow.handler.js.map +1 -1
- package/dist/workflow/workflow.operations.d.ts +250 -250
- package/dist/workflow/workflow.operations.js +10 -10
- package/dist/workflow/workflow.operations.js.map +1 -1
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.d.ts.map +1 -1
- package/dist/workflow/workflow.schema.js +1 -1
- package/dist/workflow/workflow.schema.js.map +1 -1
- package/dist/workflow-system.feature.js +71 -71
- package/dist/workflow-system.feature.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema254 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/instance.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Instance status enum - lifecycle of a workflow instance.
|
|
6
6
|
*/
|
|
7
|
-
declare const InstanceStatusEnum:
|
|
7
|
+
declare const InstanceStatusEnum: _contractspec_lib_schema254.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Step execution status enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const StepExecutionStatusEnum:
|
|
11
|
+
declare const StepExecutionStatusEnum: _contractspec_lib_schema254.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* WorkflowInstance entity - a running instance of a workflow.
|
|
14
14
|
*
|
|
15
15
|
* When a workflow is triggered, an instance is created. The instance
|
|
16
16
|
* tracks the current state and all data associated with this execution.
|
|
17
17
|
*/
|
|
18
|
-
declare const WorkflowInstanceEntity:
|
|
19
|
-
id:
|
|
20
|
-
workflowDefinitionId:
|
|
21
|
-
referenceId:
|
|
22
|
-
referenceType:
|
|
23
|
-
status:
|
|
24
|
-
currentStepId:
|
|
25
|
-
contextData:
|
|
26
|
-
triggeredBy:
|
|
27
|
-
triggerSource:
|
|
28
|
-
organizationId:
|
|
29
|
-
priority:
|
|
30
|
-
dueAt:
|
|
31
|
-
outcome:
|
|
32
|
-
resultData:
|
|
33
|
-
errorMessage:
|
|
34
|
-
createdAt:
|
|
35
|
-
updatedAt:
|
|
36
|
-
startedAt:
|
|
37
|
-
completedAt:
|
|
38
|
-
workflowDefinition:
|
|
39
|
-
currentStep:
|
|
40
|
-
stepExecutions:
|
|
41
|
-
approvalRequests:
|
|
18
|
+
declare const WorkflowInstanceEntity: _contractspec_lib_schema254.EntitySpec<{
|
|
19
|
+
id: _contractspec_lib_schema254.EntityScalarField;
|
|
20
|
+
workflowDefinitionId: _contractspec_lib_schema254.EntityScalarField;
|
|
21
|
+
referenceId: _contractspec_lib_schema254.EntityScalarField;
|
|
22
|
+
referenceType: _contractspec_lib_schema254.EntityScalarField;
|
|
23
|
+
status: _contractspec_lib_schema254.EntityEnumField;
|
|
24
|
+
currentStepId: _contractspec_lib_schema254.EntityScalarField;
|
|
25
|
+
contextData: _contractspec_lib_schema254.EntityScalarField;
|
|
26
|
+
triggeredBy: _contractspec_lib_schema254.EntityScalarField;
|
|
27
|
+
triggerSource: _contractspec_lib_schema254.EntityScalarField;
|
|
28
|
+
organizationId: _contractspec_lib_schema254.EntityScalarField;
|
|
29
|
+
priority: _contractspec_lib_schema254.EntityScalarField;
|
|
30
|
+
dueAt: _contractspec_lib_schema254.EntityScalarField;
|
|
31
|
+
outcome: _contractspec_lib_schema254.EntityScalarField;
|
|
32
|
+
resultData: _contractspec_lib_schema254.EntityScalarField;
|
|
33
|
+
errorMessage: _contractspec_lib_schema254.EntityScalarField;
|
|
34
|
+
createdAt: _contractspec_lib_schema254.EntityScalarField;
|
|
35
|
+
updatedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
36
|
+
startedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
37
|
+
completedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
38
|
+
workflowDefinition: _contractspec_lib_schema254.EntityRelationField;
|
|
39
|
+
currentStep: _contractspec_lib_schema254.EntityRelationField;
|
|
40
|
+
stepExecutions: _contractspec_lib_schema254.EntityRelationField;
|
|
41
|
+
approvalRequests: _contractspec_lib_schema254.EntityRelationField;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* StepExecution entity - tracks execution of a step within an instance.
|
|
45
45
|
*/
|
|
46
|
-
declare const StepExecutionEntity:
|
|
47
|
-
id:
|
|
48
|
-
workflowInstanceId:
|
|
49
|
-
workflowStepId:
|
|
50
|
-
status:
|
|
51
|
-
executionOrder:
|
|
52
|
-
inputData:
|
|
53
|
-
outputData:
|
|
54
|
-
actionTaken:
|
|
55
|
-
transitionedTo:
|
|
56
|
-
executedBy:
|
|
57
|
-
errorMessage:
|
|
58
|
-
errorDetails:
|
|
59
|
-
retryCount:
|
|
60
|
-
createdAt:
|
|
61
|
-
updatedAt:
|
|
62
|
-
startedAt:
|
|
63
|
-
completedAt:
|
|
64
|
-
workflowInstance:
|
|
65
|
-
workflowStep:
|
|
46
|
+
declare const StepExecutionEntity: _contractspec_lib_schema254.EntitySpec<{
|
|
47
|
+
id: _contractspec_lib_schema254.EntityScalarField;
|
|
48
|
+
workflowInstanceId: _contractspec_lib_schema254.EntityScalarField;
|
|
49
|
+
workflowStepId: _contractspec_lib_schema254.EntityScalarField;
|
|
50
|
+
status: _contractspec_lib_schema254.EntityEnumField;
|
|
51
|
+
executionOrder: _contractspec_lib_schema254.EntityScalarField;
|
|
52
|
+
inputData: _contractspec_lib_schema254.EntityScalarField;
|
|
53
|
+
outputData: _contractspec_lib_schema254.EntityScalarField;
|
|
54
|
+
actionTaken: _contractspec_lib_schema254.EntityScalarField;
|
|
55
|
+
transitionedTo: _contractspec_lib_schema254.EntityScalarField;
|
|
56
|
+
executedBy: _contractspec_lib_schema254.EntityScalarField;
|
|
57
|
+
errorMessage: _contractspec_lib_schema254.EntityScalarField;
|
|
58
|
+
errorDetails: _contractspec_lib_schema254.EntityScalarField;
|
|
59
|
+
retryCount: _contractspec_lib_schema254.EntityScalarField;
|
|
60
|
+
createdAt: _contractspec_lib_schema254.EntityScalarField;
|
|
61
|
+
updatedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
62
|
+
startedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
63
|
+
completedAt: _contractspec_lib_schema254.EntityScalarField;
|
|
64
|
+
workflowInstance: _contractspec_lib_schema254.EntityRelationField;
|
|
65
|
+
workflowStep: _contractspec_lib_schema254.EntityRelationField;
|
|
66
66
|
}>;
|
|
67
67
|
//#endregion
|
|
68
68
|
export { InstanceStatusEnum, StepExecutionEntity, StepExecutionStatusEnum, WorkflowInstanceEntity };
|
package/dist/entities/step.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema300 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/step.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Step type enum - what kind of step this is.
|
|
6
6
|
*/
|
|
7
|
-
declare const StepTypeEnum:
|
|
7
|
+
declare const StepTypeEnum: _contractspec_lib_schema300.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Approval mode enum - how approvals are handled.
|
|
10
10
|
*/
|
|
11
|
-
declare const ApprovalModeEnum:
|
|
11
|
+
declare const ApprovalModeEnum: _contractspec_lib_schema300.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* WorkflowStep entity - defines a step in a workflow.
|
|
14
14
|
*
|
|
15
15
|
* Each step represents a state in the workflow state machine,
|
|
16
16
|
* with transitions defined by the `transitions` JSON field.
|
|
17
17
|
*/
|
|
18
|
-
declare const WorkflowStepEntity:
|
|
19
|
-
id:
|
|
20
|
-
workflowDefinitionId:
|
|
21
|
-
name:
|
|
22
|
-
key:
|
|
23
|
-
description:
|
|
24
|
-
type:
|
|
25
|
-
position:
|
|
26
|
-
transitions:
|
|
27
|
-
approvalMode:
|
|
28
|
-
approverRoles:
|
|
29
|
-
approverUserIds:
|
|
30
|
-
escalationConfig:
|
|
31
|
-
assigneeRoles:
|
|
32
|
-
taskTemplate:
|
|
33
|
-
conditionExpression:
|
|
34
|
-
waitDuration:
|
|
35
|
-
waitForEvent:
|
|
36
|
-
actionType:
|
|
37
|
-
actionConfig:
|
|
38
|
-
timeoutSeconds:
|
|
39
|
-
slaSeconds:
|
|
40
|
-
notifyOnEnter:
|
|
41
|
-
notifyOnExit:
|
|
42
|
-
metadata:
|
|
43
|
-
createdAt:
|
|
44
|
-
updatedAt:
|
|
45
|
-
workflowDefinition:
|
|
46
|
-
executions:
|
|
18
|
+
declare const WorkflowStepEntity: _contractspec_lib_schema300.EntitySpec<{
|
|
19
|
+
id: _contractspec_lib_schema300.EntityScalarField;
|
|
20
|
+
workflowDefinitionId: _contractspec_lib_schema300.EntityScalarField;
|
|
21
|
+
name: _contractspec_lib_schema300.EntityScalarField;
|
|
22
|
+
key: _contractspec_lib_schema300.EntityScalarField;
|
|
23
|
+
description: _contractspec_lib_schema300.EntityScalarField;
|
|
24
|
+
type: _contractspec_lib_schema300.EntityEnumField;
|
|
25
|
+
position: _contractspec_lib_schema300.EntityScalarField;
|
|
26
|
+
transitions: _contractspec_lib_schema300.EntityScalarField;
|
|
27
|
+
approvalMode: _contractspec_lib_schema300.EntityEnumField;
|
|
28
|
+
approverRoles: _contractspec_lib_schema300.EntityScalarField;
|
|
29
|
+
approverUserIds: _contractspec_lib_schema300.EntityScalarField;
|
|
30
|
+
escalationConfig: _contractspec_lib_schema300.EntityScalarField;
|
|
31
|
+
assigneeRoles: _contractspec_lib_schema300.EntityScalarField;
|
|
32
|
+
taskTemplate: _contractspec_lib_schema300.EntityScalarField;
|
|
33
|
+
conditionExpression: _contractspec_lib_schema300.EntityScalarField;
|
|
34
|
+
waitDuration: _contractspec_lib_schema300.EntityScalarField;
|
|
35
|
+
waitForEvent: _contractspec_lib_schema300.EntityScalarField;
|
|
36
|
+
actionType: _contractspec_lib_schema300.EntityScalarField;
|
|
37
|
+
actionConfig: _contractspec_lib_schema300.EntityScalarField;
|
|
38
|
+
timeoutSeconds: _contractspec_lib_schema300.EntityScalarField;
|
|
39
|
+
slaSeconds: _contractspec_lib_schema300.EntityScalarField;
|
|
40
|
+
notifyOnEnter: _contractspec_lib_schema300.EntityScalarField;
|
|
41
|
+
notifyOnExit: _contractspec_lib_schema300.EntityScalarField;
|
|
42
|
+
metadata: _contractspec_lib_schema300.EntityScalarField;
|
|
43
|
+
createdAt: _contractspec_lib_schema300.EntityScalarField;
|
|
44
|
+
updatedAt: _contractspec_lib_schema300.EntityScalarField;
|
|
45
|
+
workflowDefinition: _contractspec_lib_schema300.EntityRelationField;
|
|
46
|
+
executions: _contractspec_lib_schema300.EntityRelationField;
|
|
47
47
|
}>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ApprovalModeEnum, StepTypeEnum, WorkflowStepEntity };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema463 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/workflow.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Workflow status enum - the lifecycle state of a workflow definition.
|
|
6
6
|
*/
|
|
7
|
-
declare const WorkflowStatusEnum:
|
|
7
|
+
declare const WorkflowStatusEnum: _contractspec_lib_schema463.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Workflow trigger type enum - what initiates a workflow.
|
|
10
10
|
*/
|
|
11
|
-
declare const WorkflowTriggerTypeEnum:
|
|
11
|
+
declare const WorkflowTriggerTypeEnum: _contractspec_lib_schema463.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* WorkflowDefinition entity - defines a workflow blueprint.
|
|
14
14
|
*
|
|
15
15
|
* A workflow definition specifies the structure, steps, and rules
|
|
16
16
|
* for a business process. Instances are created from definitions.
|
|
17
17
|
*/
|
|
18
|
-
declare const WorkflowDefinitionEntity:
|
|
19
|
-
id:
|
|
20
|
-
name:
|
|
21
|
-
key:
|
|
22
|
-
description:
|
|
23
|
-
version:
|
|
24
|
-
status:
|
|
25
|
-
triggerType:
|
|
26
|
-
triggerConfig:
|
|
27
|
-
initialStepId:
|
|
28
|
-
featureFlagKey:
|
|
29
|
-
settings:
|
|
30
|
-
metadata:
|
|
31
|
-
organizationId:
|
|
32
|
-
createdBy:
|
|
33
|
-
createdAt:
|
|
34
|
-
updatedAt:
|
|
35
|
-
publishedAt:
|
|
36
|
-
steps:
|
|
37
|
-
instances:
|
|
18
|
+
declare const WorkflowDefinitionEntity: _contractspec_lib_schema463.EntitySpec<{
|
|
19
|
+
id: _contractspec_lib_schema463.EntityScalarField;
|
|
20
|
+
name: _contractspec_lib_schema463.EntityScalarField;
|
|
21
|
+
key: _contractspec_lib_schema463.EntityScalarField;
|
|
22
|
+
description: _contractspec_lib_schema463.EntityScalarField;
|
|
23
|
+
version: _contractspec_lib_schema463.EntityScalarField;
|
|
24
|
+
status: _contractspec_lib_schema463.EntityEnumField;
|
|
25
|
+
triggerType: _contractspec_lib_schema463.EntityEnumField;
|
|
26
|
+
triggerConfig: _contractspec_lib_schema463.EntityScalarField;
|
|
27
|
+
initialStepId: _contractspec_lib_schema463.EntityScalarField;
|
|
28
|
+
featureFlagKey: _contractspec_lib_schema463.EntityScalarField;
|
|
29
|
+
settings: _contractspec_lib_schema463.EntityScalarField;
|
|
30
|
+
metadata: _contractspec_lib_schema463.EntityScalarField;
|
|
31
|
+
organizationId: _contractspec_lib_schema463.EntityScalarField;
|
|
32
|
+
createdBy: _contractspec_lib_schema463.EntityScalarField;
|
|
33
|
+
createdAt: _contractspec_lib_schema463.EntityScalarField;
|
|
34
|
+
updatedAt: _contractspec_lib_schema463.EntityScalarField;
|
|
35
|
+
publishedAt: _contractspec_lib_schema463.EntityScalarField;
|
|
36
|
+
steps: _contractspec_lib_schema463.EntityRelationField;
|
|
37
|
+
instances: _contractspec_lib_schema463.EntityRelationField;
|
|
38
38
|
}>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { WorkflowDefinitionEntity, WorkflowStatusEnum, WorkflowTriggerTypeEnum };
|
package/dist/example.d.ts
CHANGED
|
@@ -1,40 +1,7 @@
|
|
|
1
|
+
import { ExampleSpec } from "@contractspec/lib.contracts";
|
|
2
|
+
|
|
1
3
|
//#region src/example.d.ts
|
|
2
|
-
declare const example:
|
|
3
|
-
readonly id: "workflow-system";
|
|
4
|
-
readonly title: "Workflow / Approval System";
|
|
5
|
-
readonly summary: "State-machine driven approvals with RBAC, audit trail, notifications, and jobs.";
|
|
6
|
-
readonly tags: readonly ["workflow", "approval", "state-machine", "rbac"];
|
|
7
|
-
readonly kind: "template";
|
|
8
|
-
readonly visibility: "public";
|
|
9
|
-
readonly docs: {
|
|
10
|
-
readonly rootDocId: "docs.examples.workflow-system";
|
|
11
|
-
readonly goalDocId: "docs.examples.workflow-system.goal";
|
|
12
|
-
readonly usageDocId: "docs.examples.workflow-system.usage";
|
|
13
|
-
readonly constraintsDocId: "docs.examples.workflow-system.constraints";
|
|
14
|
-
};
|
|
15
|
-
readonly entrypoints: {
|
|
16
|
-
readonly packageName: "@contractspec/example.workflow-system";
|
|
17
|
-
readonly feature: "./feature";
|
|
18
|
-
readonly contracts: "./contracts";
|
|
19
|
-
readonly presentations: "./presentations";
|
|
20
|
-
readonly handlers: "./handlers";
|
|
21
|
-
readonly docs: "./docs";
|
|
22
|
-
};
|
|
23
|
-
readonly surfaces: {
|
|
24
|
-
readonly templates: true;
|
|
25
|
-
readonly sandbox: {
|
|
26
|
-
readonly enabled: true;
|
|
27
|
-
readonly modes: readonly ["playground", "specs", "builder", "markdown", "evolution"];
|
|
28
|
-
};
|
|
29
|
-
readonly studio: {
|
|
30
|
-
readonly enabled: true;
|
|
31
|
-
readonly installable: true;
|
|
32
|
-
};
|
|
33
|
-
readonly mcp: {
|
|
34
|
-
readonly enabled: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
4
|
+
declare const example: ExampleSpec;
|
|
38
5
|
//#endregion
|
|
39
6
|
export { example as default };
|
|
40
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAAS"}
|
package/dist/example.js
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
//#region src/example.ts
|
|
2
2
|
const example = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
meta: {
|
|
4
|
+
key: "workflow-system",
|
|
5
|
+
version: "1.0.0",
|
|
6
|
+
title: "Workflow / Approval System",
|
|
7
|
+
description: "State-machine driven approvals with RBAC, audit trail, notifications, and jobs.",
|
|
8
|
+
kind: "template",
|
|
9
|
+
visibility: "public",
|
|
10
|
+
stability: "experimental",
|
|
11
|
+
owners: ["@platform.core"],
|
|
12
|
+
tags: [
|
|
13
|
+
"workflow",
|
|
14
|
+
"approval",
|
|
15
|
+
"state-machine",
|
|
16
|
+
"rbac"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
14
19
|
docs: {
|
|
15
20
|
rootDocId: "docs.examples.workflow-system",
|
|
16
21
|
goalDocId: "docs.examples.workflow-system.goal",
|
package/dist/example.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"example.js","names":["example: ExampleSpec"],"sources":["../src/example.ts"],"sourcesContent":["import type { ExampleSpec } from '@contractspec/lib.contracts';\n\nconst example: ExampleSpec = {\n meta: {\n key: 'workflow-system',\n version: '1.0.0',\n title: 'Workflow / Approval System',\n description:\n 'State-machine driven approvals with RBAC, audit trail, notifications, and jobs.',\n kind: 'template',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['workflow', 'approval', 'state-machine', 'rbac'],\n },\n docs: {\n rootDocId: 'docs.examples.workflow-system',\n goalDocId: 'docs.examples.workflow-system.goal',\n usageDocId: 'docs.examples.workflow-system.usage',\n constraintsDocId: 'docs.examples.workflow-system.constraints',\n },\n entrypoints: {\n packageName: '@contractspec/example.workflow-system',\n feature: './feature',\n contracts: './contracts',\n presentations: './presentations',\n handlers: './handlers',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: {\n enabled: true,\n modes: ['playground', 'specs', 'builder', 'markdown', 'evolution'],\n },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n};\n\nexport default example;\n"],"mappings":";AAEA,MAAMA,UAAuB;CAC3B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAY;GAAiB;GAAO;EACxD;CACD,MAAM;EACJ,WAAW;EACX,WAAW;EACX,YAAY;EACZ,kBAAkB;EACnB;CACD,aAAa;EACX,aAAa;EACb,SAAS;EACT,WAAW;EACX,eAAe;EACf,UAAU;EACV,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GACP,SAAS;GACT,OAAO;IAAC;IAAc;IAAS;IAAW;IAAY;IAAY;GACnE;EACD,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF;AAED,sBAAe"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema508 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/instance/instance.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Instance status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const InstanceStatusEnum:
|
|
7
|
+
declare const InstanceStatusEnum: _contractspec_lib_schema508.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { InstanceStatusEnum };
|
|
10
10
|
//# sourceMappingURL=instance.enum.d.ts.map
|