@contractspec/example.workflow-system 1.51.0 → 1.53.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.
@@ -1,14 +1,14 @@
1
- import * as _contractspec_lib_schema237 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema206 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/approval/approval.enum.d.ts
4
4
  /**
5
5
  * Approval status enum.
6
6
  */
7
- declare const ApprovalStatusEnum: _contractspec_lib_schema237.EnumType<[string, string, string, string, string, string, string]>;
7
+ declare const ApprovalStatusEnum: _contractspec_lib_schema206.EnumType<[string, string, string, string, string, string, string]>;
8
8
  /**
9
9
  * Approval decision enum.
10
10
  */
11
- declare const ApprovalDecisionEnum: _contractspec_lib_schema237.EnumType<[string, string, string, string, string]>;
11
+ declare const ApprovalDecisionEnum: _contractspec_lib_schema206.EnumType<[string, string, string, string, string]>;
12
12
  //#endregion
13
13
  export { ApprovalDecisionEnum, ApprovalStatusEnum };
14
14
  //# sourceMappingURL=approval.enum.d.ts.map
@@ -1,128 +1,128 @@
1
1
  import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema261 from "@contractspec/lib.schema";
2
+ import * as _contractspec_lib_schema239 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/approval/approval.event.d.ts
5
5
  /**
6
6
  * ApprovalRequestedEvent - An approval has been requested.
7
7
  */
8
- declare const ApprovalRequestedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema261.SchemaModel<{
8
+ declare const ApprovalRequestedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema239.SchemaModel<{
9
9
  requestId: {
10
- type: _contractspec_lib_schema261.FieldType<string, string>;
10
+ type: _contractspec_lib_schema239.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  instanceId: {
14
- type: _contractspec_lib_schema261.FieldType<string, string>;
14
+ type: _contractspec_lib_schema239.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  workflowKey: {
18
- type: _contractspec_lib_schema261.FieldType<string, string>;
18
+ type: _contractspec_lib_schema239.FieldType<string, string>;
19
19
  isOptional: false;
20
20
  };
21
21
  approverId: {
22
- type: _contractspec_lib_schema261.FieldType<string, string>;
22
+ type: _contractspec_lib_schema239.FieldType<string, string>;
23
23
  isOptional: false;
24
24
  };
25
25
  approverRole: {
26
- type: _contractspec_lib_schema261.FieldType<string, string>;
26
+ type: _contractspec_lib_schema239.FieldType<string, string>;
27
27
  isOptional: true;
28
28
  };
29
29
  title: {
30
- type: _contractspec_lib_schema261.FieldType<string, string>;
30
+ type: _contractspec_lib_schema239.FieldType<string, string>;
31
31
  isOptional: false;
32
32
  };
33
33
  dueAt: {
34
- type: _contractspec_lib_schema261.FieldType<Date, string>;
34
+ type: _contractspec_lib_schema239.FieldType<Date, string>;
35
35
  isOptional: true;
36
36
  };
37
37
  timestamp: {
38
- type: _contractspec_lib_schema261.FieldType<Date, string>;
38
+ type: _contractspec_lib_schema239.FieldType<Date, string>;
39
39
  isOptional: false;
40
40
  };
41
41
  }>>;
42
42
  /**
43
43
  * ApprovalDecidedEvent - An approval decision has been made.
44
44
  */
45
- declare const ApprovalDecidedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema261.SchemaModel<{
45
+ declare const ApprovalDecidedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema239.SchemaModel<{
46
46
  requestId: {
47
- type: _contractspec_lib_schema261.FieldType<string, string>;
47
+ type: _contractspec_lib_schema239.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  instanceId: {
51
- type: _contractspec_lib_schema261.FieldType<string, string>;
51
+ type: _contractspec_lib_schema239.FieldType<string, string>;
52
52
  isOptional: false;
53
53
  };
54
54
  decision: {
55
- type: _contractspec_lib_schema261.FieldType<string, string>;
55
+ type: _contractspec_lib_schema239.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  decidedBy: {
59
- type: _contractspec_lib_schema261.FieldType<string, string>;
59
+ type: _contractspec_lib_schema239.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  comment: {
63
- type: _contractspec_lib_schema261.FieldType<string, string>;
63
+ type: _contractspec_lib_schema239.FieldType<string, string>;
64
64
  isOptional: true;
65
65
  };
66
66
  timestamp: {
67
- type: _contractspec_lib_schema261.FieldType<Date, string>;
67
+ type: _contractspec_lib_schema239.FieldType<Date, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  }>>;
71
71
  /**
72
72
  * ApprovalDelegatedEvent - An approval has been delegated.
73
73
  */
74
- declare const ApprovalDelegatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema261.SchemaModel<{
74
+ declare const ApprovalDelegatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema239.SchemaModel<{
75
75
  requestId: {
76
- type: _contractspec_lib_schema261.FieldType<string, string>;
76
+ type: _contractspec_lib_schema239.FieldType<string, string>;
77
77
  isOptional: false;
78
78
  };
79
79
  instanceId: {
80
- type: _contractspec_lib_schema261.FieldType<string, string>;
80
+ type: _contractspec_lib_schema239.FieldType<string, string>;
81
81
  isOptional: false;
82
82
  };
83
83
  fromUserId: {
84
- type: _contractspec_lib_schema261.FieldType<string, string>;
84
+ type: _contractspec_lib_schema239.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  toUserId: {
88
- type: _contractspec_lib_schema261.FieldType<string, string>;
88
+ type: _contractspec_lib_schema239.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  reason: {
92
- type: _contractspec_lib_schema261.FieldType<string, string>;
92
+ type: _contractspec_lib_schema239.FieldType<string, string>;
93
93
  isOptional: true;
94
94
  };
95
95
  timestamp: {
96
- type: _contractspec_lib_schema261.FieldType<Date, string>;
96
+ type: _contractspec_lib_schema239.FieldType<Date, string>;
97
97
  isOptional: false;
98
98
  };
99
99
  }>>;
100
100
  /**
101
101
  * ApprovalEscalatedEvent - An approval has been escalated.
102
102
  */
103
- declare const ApprovalEscalatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema261.SchemaModel<{
103
+ declare const ApprovalEscalatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema239.SchemaModel<{
104
104
  requestId: {
105
- type: _contractspec_lib_schema261.FieldType<string, string>;
105
+ type: _contractspec_lib_schema239.FieldType<string, string>;
106
106
  isOptional: false;
107
107
  };
108
108
  instanceId: {
109
- type: _contractspec_lib_schema261.FieldType<string, string>;
109
+ type: _contractspec_lib_schema239.FieldType<string, string>;
110
110
  isOptional: false;
111
111
  };
112
112
  escalationLevel: {
113
- type: _contractspec_lib_schema261.FieldType<number, number>;
113
+ type: _contractspec_lib_schema239.FieldType<number, number>;
114
114
  isOptional: false;
115
115
  };
116
116
  escalatedTo: {
117
- type: _contractspec_lib_schema261.FieldType<string, string>;
117
+ type: _contractspec_lib_schema239.FieldType<string, string>;
118
118
  isOptional: false;
119
119
  };
120
120
  reason: {
121
- type: _contractspec_lib_schema261.FieldType<string, string>;
121
+ type: _contractspec_lib_schema239.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  timestamp: {
125
- type: _contractspec_lib_schema261.FieldType<Date, string>;
125
+ type: _contractspec_lib_schema239.FieldType<Date, string>;
126
126
  isOptional: false;
127
127
  };
128
128
  }>>;
@@ -1,97 +1,97 @@
1
- import * as _contractspec_lib_schema424 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema423 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/approval/approval.schema.d.ts
4
4
  /**
5
5
  * An approval request.
6
6
  */
7
- declare const ApprovalRequestModel: _contractspec_lib_schema424.SchemaModel<{
7
+ declare const ApprovalRequestModel: _contractspec_lib_schema423.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema424.FieldType<string, string>;
9
+ type: _contractspec_lib_schema423.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  workflowInstanceId: {
13
- type: _contractspec_lib_schema424.FieldType<string, string>;
13
+ type: _contractspec_lib_schema423.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  stepExecutionId: {
17
- type: _contractspec_lib_schema424.FieldType<string, string>;
17
+ type: _contractspec_lib_schema423.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  approverId: {
21
- type: _contractspec_lib_schema424.FieldType<string, string>;
21
+ type: _contractspec_lib_schema423.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  approverRole: {
25
- type: _contractspec_lib_schema424.FieldType<string, string>;
25
+ type: _contractspec_lib_schema423.FieldType<string, string>;
26
26
  isOptional: true;
27
27
  };
28
28
  title: {
29
- type: _contractspec_lib_schema424.FieldType<string, string>;
29
+ type: _contractspec_lib_schema423.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  description: {
33
- type: _contractspec_lib_schema424.FieldType<string, string>;
33
+ type: _contractspec_lib_schema423.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  status: {
37
- type: _contractspec_lib_schema424.EnumType<[string, string, string, string, string, string, string]>;
37
+ type: _contractspec_lib_schema423.EnumType<[string, string, string, string, string, string, string]>;
38
38
  isOptional: false;
39
39
  };
40
40
  decision: {
41
- type: _contractspec_lib_schema424.EnumType<[string, string, string, string, string]>;
41
+ type: _contractspec_lib_schema423.EnumType<[string, string, string, string, string]>;
42
42
  isOptional: true;
43
43
  };
44
44
  decisionComment: {
45
- type: _contractspec_lib_schema424.FieldType<string, string>;
45
+ type: _contractspec_lib_schema423.FieldType<string, string>;
46
46
  isOptional: true;
47
47
  };
48
48
  decidedAt: {
49
- type: _contractspec_lib_schema424.FieldType<Date, string>;
49
+ type: _contractspec_lib_schema423.FieldType<Date, string>;
50
50
  isOptional: true;
51
51
  };
52
52
  dueAt: {
53
- type: _contractspec_lib_schema424.FieldType<Date, string>;
53
+ type: _contractspec_lib_schema423.FieldType<Date, string>;
54
54
  isOptional: true;
55
55
  };
56
56
  contextSnapshot: {
57
- type: _contractspec_lib_schema424.FieldType<unknown, unknown>;
57
+ type: _contractspec_lib_schema423.FieldType<unknown, unknown>;
58
58
  isOptional: true;
59
59
  };
60
60
  sequenceOrder: {
61
- type: _contractspec_lib_schema424.FieldType<number, number>;
61
+ type: _contractspec_lib_schema423.FieldType<number, number>;
62
62
  isOptional: false;
63
63
  };
64
64
  createdAt: {
65
- type: _contractspec_lib_schema424.FieldType<Date, string>;
65
+ type: _contractspec_lib_schema423.FieldType<Date, string>;
66
66
  isOptional: false;
67
67
  };
68
68
  }>;
69
69
  /**
70
70
  * A comment on an approval.
71
71
  */
72
- declare const ApprovalCommentModel: _contractspec_lib_schema424.SchemaModel<{
72
+ declare const ApprovalCommentModel: _contractspec_lib_schema423.SchemaModel<{
73
73
  id: {
74
- type: _contractspec_lib_schema424.FieldType<string, string>;
74
+ type: _contractspec_lib_schema423.FieldType<string, string>;
75
75
  isOptional: false;
76
76
  };
77
77
  approvalRequestId: {
78
- type: _contractspec_lib_schema424.FieldType<string, string>;
78
+ type: _contractspec_lib_schema423.FieldType<string, string>;
79
79
  isOptional: false;
80
80
  };
81
81
  authorId: {
82
- type: _contractspec_lib_schema424.FieldType<string, string>;
82
+ type: _contractspec_lib_schema423.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  content: {
86
- type: _contractspec_lib_schema424.FieldType<string, string>;
86
+ type: _contractspec_lib_schema423.FieldType<string, string>;
87
87
  isOptional: false;
88
88
  };
89
89
  isInternal: {
90
- type: _contractspec_lib_schema424.FieldType<boolean, boolean>;
90
+ type: _contractspec_lib_schema423.FieldType<boolean, boolean>;
91
91
  isOptional: false;
92
92
  };
93
93
  createdAt: {
94
- type: _contractspec_lib_schema424.FieldType<Date, string>;
94
+ type: _contractspec_lib_schema423.FieldType<Date, string>;
95
95
  isOptional: false;
96
96
  };
97
97
  }>;
@@ -1,49 +1,49 @@
1
- import * as _contractspec_lib_schema206 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema208 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: _contractspec_lib_schema206.EntityEnumDef;
7
+ declare const StepTypeEnum: _contractspec_lib_schema208.EntityEnumDef;
8
8
  /**
9
9
  * Approval mode enum - how approvals are handled.
10
10
  */
11
- declare const ApprovalModeEnum: _contractspec_lib_schema206.EntityEnumDef;
11
+ declare const ApprovalModeEnum: _contractspec_lib_schema208.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: _contractspec_lib_schema206.EntitySpec<{
19
- id: _contractspec_lib_schema206.EntityScalarField;
20
- workflowDefinitionId: _contractspec_lib_schema206.EntityScalarField;
21
- name: _contractspec_lib_schema206.EntityScalarField;
22
- key: _contractspec_lib_schema206.EntityScalarField;
23
- description: _contractspec_lib_schema206.EntityScalarField;
24
- type: _contractspec_lib_schema206.EntityEnumField;
25
- position: _contractspec_lib_schema206.EntityScalarField;
26
- transitions: _contractspec_lib_schema206.EntityScalarField;
27
- approvalMode: _contractspec_lib_schema206.EntityEnumField;
28
- approverRoles: _contractspec_lib_schema206.EntityScalarField;
29
- approverUserIds: _contractspec_lib_schema206.EntityScalarField;
30
- escalationConfig: _contractspec_lib_schema206.EntityScalarField;
31
- assigneeRoles: _contractspec_lib_schema206.EntityScalarField;
32
- taskTemplate: _contractspec_lib_schema206.EntityScalarField;
33
- conditionExpression: _contractspec_lib_schema206.EntityScalarField;
34
- waitDuration: _contractspec_lib_schema206.EntityScalarField;
35
- waitForEvent: _contractspec_lib_schema206.EntityScalarField;
36
- actionType: _contractspec_lib_schema206.EntityScalarField;
37
- actionConfig: _contractspec_lib_schema206.EntityScalarField;
38
- timeoutSeconds: _contractspec_lib_schema206.EntityScalarField;
39
- slaSeconds: _contractspec_lib_schema206.EntityScalarField;
40
- notifyOnEnter: _contractspec_lib_schema206.EntityScalarField;
41
- notifyOnExit: _contractspec_lib_schema206.EntityScalarField;
42
- metadata: _contractspec_lib_schema206.EntityScalarField;
43
- createdAt: _contractspec_lib_schema206.EntityScalarField;
44
- updatedAt: _contractspec_lib_schema206.EntityScalarField;
45
- workflowDefinition: _contractspec_lib_schema206.EntityRelationField;
46
- executions: _contractspec_lib_schema206.EntityRelationField;
18
+ declare const WorkflowStepEntity: _contractspec_lib_schema208.EntitySpec<{
19
+ id: _contractspec_lib_schema208.EntityScalarField;
20
+ workflowDefinitionId: _contractspec_lib_schema208.EntityScalarField;
21
+ name: _contractspec_lib_schema208.EntityScalarField;
22
+ key: _contractspec_lib_schema208.EntityScalarField;
23
+ description: _contractspec_lib_schema208.EntityScalarField;
24
+ type: _contractspec_lib_schema208.EntityEnumField;
25
+ position: _contractspec_lib_schema208.EntityScalarField;
26
+ transitions: _contractspec_lib_schema208.EntityScalarField;
27
+ approvalMode: _contractspec_lib_schema208.EntityEnumField;
28
+ approverRoles: _contractspec_lib_schema208.EntityScalarField;
29
+ approverUserIds: _contractspec_lib_schema208.EntityScalarField;
30
+ escalationConfig: _contractspec_lib_schema208.EntityScalarField;
31
+ assigneeRoles: _contractspec_lib_schema208.EntityScalarField;
32
+ taskTemplate: _contractspec_lib_schema208.EntityScalarField;
33
+ conditionExpression: _contractspec_lib_schema208.EntityScalarField;
34
+ waitDuration: _contractspec_lib_schema208.EntityScalarField;
35
+ waitForEvent: _contractspec_lib_schema208.EntityScalarField;
36
+ actionType: _contractspec_lib_schema208.EntityScalarField;
37
+ actionConfig: _contractspec_lib_schema208.EntityScalarField;
38
+ timeoutSeconds: _contractspec_lib_schema208.EntityScalarField;
39
+ slaSeconds: _contractspec_lib_schema208.EntityScalarField;
40
+ notifyOnEnter: _contractspec_lib_schema208.EntityScalarField;
41
+ notifyOnExit: _contractspec_lib_schema208.EntityScalarField;
42
+ metadata: _contractspec_lib_schema208.EntityScalarField;
43
+ createdAt: _contractspec_lib_schema208.EntityScalarField;
44
+ updatedAt: _contractspec_lib_schema208.EntityScalarField;
45
+ workflowDefinition: _contractspec_lib_schema208.EntityRelationField;
46
+ executions: _contractspec_lib_schema208.EntityRelationField;
47
47
  }>;
48
48
  //#endregion
49
49
  export { ApprovalModeEnum, StepTypeEnum, WorkflowStepEntity };
@@ -1,40 +1,40 @@
1
- import * as _contractspec_lib_schema239 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema269 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: _contractspec_lib_schema239.EntityEnumDef;
7
+ declare const WorkflowStatusEnum: _contractspec_lib_schema269.EntityEnumDef;
8
8
  /**
9
9
  * Workflow trigger type enum - what initiates a workflow.
10
10
  */
11
- declare const WorkflowTriggerTypeEnum: _contractspec_lib_schema239.EntityEnumDef;
11
+ declare const WorkflowTriggerTypeEnum: _contractspec_lib_schema269.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: _contractspec_lib_schema239.EntitySpec<{
19
- id: _contractspec_lib_schema239.EntityScalarField;
20
- name: _contractspec_lib_schema239.EntityScalarField;
21
- key: _contractspec_lib_schema239.EntityScalarField;
22
- description: _contractspec_lib_schema239.EntityScalarField;
23
- version: _contractspec_lib_schema239.EntityScalarField;
24
- status: _contractspec_lib_schema239.EntityEnumField;
25
- triggerType: _contractspec_lib_schema239.EntityEnumField;
26
- triggerConfig: _contractspec_lib_schema239.EntityScalarField;
27
- initialStepId: _contractspec_lib_schema239.EntityScalarField;
28
- featureFlagKey: _contractspec_lib_schema239.EntityScalarField;
29
- settings: _contractspec_lib_schema239.EntityScalarField;
30
- metadata: _contractspec_lib_schema239.EntityScalarField;
31
- organizationId: _contractspec_lib_schema239.EntityScalarField;
32
- createdBy: _contractspec_lib_schema239.EntityScalarField;
33
- createdAt: _contractspec_lib_schema239.EntityScalarField;
34
- updatedAt: _contractspec_lib_schema239.EntityScalarField;
35
- publishedAt: _contractspec_lib_schema239.EntityScalarField;
36
- steps: _contractspec_lib_schema239.EntityRelationField;
37
- instances: _contractspec_lib_schema239.EntityRelationField;
18
+ declare const WorkflowDefinitionEntity: _contractspec_lib_schema269.EntitySpec<{
19
+ id: _contractspec_lib_schema269.EntityScalarField;
20
+ name: _contractspec_lib_schema269.EntityScalarField;
21
+ key: _contractspec_lib_schema269.EntityScalarField;
22
+ description: _contractspec_lib_schema269.EntityScalarField;
23
+ version: _contractspec_lib_schema269.EntityScalarField;
24
+ status: _contractspec_lib_schema269.EntityEnumField;
25
+ triggerType: _contractspec_lib_schema269.EntityEnumField;
26
+ triggerConfig: _contractspec_lib_schema269.EntityScalarField;
27
+ initialStepId: _contractspec_lib_schema269.EntityScalarField;
28
+ featureFlagKey: _contractspec_lib_schema269.EntityScalarField;
29
+ settings: _contractspec_lib_schema269.EntityScalarField;
30
+ metadata: _contractspec_lib_schema269.EntityScalarField;
31
+ organizationId: _contractspec_lib_schema269.EntityScalarField;
32
+ createdBy: _contractspec_lib_schema269.EntityScalarField;
33
+ createdAt: _contractspec_lib_schema269.EntityScalarField;
34
+ updatedAt: _contractspec_lib_schema269.EntityScalarField;
35
+ publishedAt: _contractspec_lib_schema269.EntityScalarField;
36
+ steps: _contractspec_lib_schema269.EntityRelationField;
37
+ instances: _contractspec_lib_schema269.EntityRelationField;
38
38
  }>;
39
39
  //#endregion
40
40
  export { WorkflowDefinitionEntity, WorkflowStatusEnum, WorkflowTriggerTypeEnum };
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_schema423 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema446 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: _contractspec_lib_schema423.EnumType<[string, string, string, string, string, string, string, string]>;
7
+ declare const InstanceStatusEnum: _contractspec_lib_schema446.EnumType<[string, string, string, string, string, string, string, string]>;
8
8
  //#endregion
9
9
  export { InstanceStatusEnum };
10
10
  //# sourceMappingURL=instance.enum.d.ts.map
@@ -1,62 +1,62 @@
1
- import * as _contractspec_lib_contracts33 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts29 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/presentations/index.d.ts
4
4
  /**
5
5
  * Workflow designer canvas for building workflows.
6
6
  */
7
- declare const WorkflowDesignerPresentation: _contractspec_lib_contracts33.PresentationSpec;
7
+ declare const WorkflowDesignerPresentation: _contractspec_lib_contracts29.PresentationSpec;
8
8
  /**
9
9
  * List of workflow definitions.
10
10
  */
11
- declare const WorkflowListPresentation: _contractspec_lib_contracts33.PresentationSpec;
11
+ declare const WorkflowListPresentation: _contractspec_lib_contracts29.PresentationSpec;
12
12
  /**
13
13
  * Workflow definition detail view.
14
14
  */
15
- declare const WorkflowDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
15
+ declare const WorkflowDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
16
16
  /**
17
17
  * List of running workflow instances.
18
18
  */
19
- declare const InstanceListPresentation: _contractspec_lib_contracts33.PresentationSpec;
19
+ declare const InstanceListPresentation: _contractspec_lib_contracts29.PresentationSpec;
20
20
  /**
21
21
  * Workflow instance detail view with timeline.
22
22
  */
23
- declare const InstanceDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
23
+ declare const InstanceDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
24
24
  /**
25
25
  * Workflow progress tracker widget.
26
26
  */
27
- declare const ProgressTrackerPresentation: _contractspec_lib_contracts33.PresentationSpec;
27
+ declare const ProgressTrackerPresentation: _contractspec_lib_contracts29.PresentationSpec;
28
28
  /**
29
29
  * Approval inbox - list of pending approvals.
30
30
  */
31
- declare const ApprovalInboxPresentation: _contractspec_lib_contracts33.PresentationSpec;
31
+ declare const ApprovalInboxPresentation: _contractspec_lib_contracts29.PresentationSpec;
32
32
  /**
33
33
  * Approval request detail view.
34
34
  */
35
- declare const ApprovalDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
35
+ declare const ApprovalDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
36
36
  /**
37
37
  * Approval decision form.
38
38
  */
39
- declare const ApprovalFormPresentation: _contractspec_lib_contracts33.PresentationSpec;
39
+ declare const ApprovalFormPresentation: _contractspec_lib_contracts29.PresentationSpec;
40
40
  /**
41
41
  * Pending approvals count badge.
42
42
  */
43
- declare const PendingApprovalsBadgePresentation: _contractspec_lib_contracts33.PresentationSpec;
43
+ declare const PendingApprovalsBadgePresentation: _contractspec_lib_contracts29.PresentationSpec;
44
44
  /**
45
45
  * Workflow metrics dashboard widget.
46
46
  */
47
- declare const WorkflowMetricsPresentation: _contractspec_lib_contracts33.PresentationSpec;
47
+ declare const WorkflowMetricsPresentation: _contractspec_lib_contracts29.PresentationSpec;
48
48
  declare const WorkflowSystemPresentations: {
49
- WorkflowDesignerPresentation: _contractspec_lib_contracts33.PresentationSpec;
50
- WorkflowListPresentation: _contractspec_lib_contracts33.PresentationSpec;
51
- WorkflowDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
52
- InstanceListPresentation: _contractspec_lib_contracts33.PresentationSpec;
53
- InstanceDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
54
- ProgressTrackerPresentation: _contractspec_lib_contracts33.PresentationSpec;
55
- ApprovalInboxPresentation: _contractspec_lib_contracts33.PresentationSpec;
56
- ApprovalDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
57
- ApprovalFormPresentation: _contractspec_lib_contracts33.PresentationSpec;
58
- PendingApprovalsBadgePresentation: _contractspec_lib_contracts33.PresentationSpec;
59
- WorkflowMetricsPresentation: _contractspec_lib_contracts33.PresentationSpec;
49
+ WorkflowDesignerPresentation: _contractspec_lib_contracts29.PresentationSpec;
50
+ WorkflowListPresentation: _contractspec_lib_contracts29.PresentationSpec;
51
+ WorkflowDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
52
+ InstanceListPresentation: _contractspec_lib_contracts29.PresentationSpec;
53
+ InstanceDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
54
+ ProgressTrackerPresentation: _contractspec_lib_contracts29.PresentationSpec;
55
+ ApprovalInboxPresentation: _contractspec_lib_contracts29.PresentationSpec;
56
+ ApprovalDetailPresentation: _contractspec_lib_contracts29.PresentationSpec;
57
+ ApprovalFormPresentation: _contractspec_lib_contracts29.PresentationSpec;
58
+ PendingApprovalsBadgePresentation: _contractspec_lib_contracts29.PresentationSpec;
59
+ WorkflowMetricsPresentation: _contractspec_lib_contracts29.PresentationSpec;
60
60
  };
61
61
  //#endregion
62
62
  export { ApprovalDetailPresentation, ApprovalFormPresentation, ApprovalInboxPresentation, InstanceDetailPresentation, InstanceListPresentation, PendingApprovalsBadgePresentation, ProgressTrackerPresentation, WorkflowDesignerPresentation, WorkflowDetailPresentation, WorkflowListPresentation, WorkflowMetricsPresentation, WorkflowSystemPresentations };
@@ -41,7 +41,7 @@ const WorkflowDesignerPresentation = definePresentation({
41
41
  */
42
42
  const WorkflowListPresentation = definePresentation({
43
43
  meta: {
44
- key: "workflow.definition.list",
44
+ key: "workflow.definition.viewList",
45
45
  version: "1.0.0",
46
46
  title: "Workflow List",
47
47
  description: "List of workflow definitions with status and actions",
@@ -95,7 +95,7 @@ const WorkflowDetailPresentation = definePresentation({
95
95
  */
96
96
  const InstanceListPresentation = definePresentation({
97
97
  meta: {
98
- key: "workflow.instance.list",
98
+ key: "workflow.instance.viewList",
99
99
  version: "1.0.0",
100
100
  title: "Instance List",
101
101
  description: "List of workflow instances with status and progress",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["/**\n * Workflow System Presentation Descriptors\n */\nimport { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\nimport { WorkflowDefinitionModel } from '../workflow/workflow.schema';\nimport { WorkflowInstanceModel } from '../instance/instance.schema';\nimport { ApprovalRequestModel } from '../approval/approval.schema';\n\n// ============ Workflow Definition Presentations ============\n\n/**\n * Workflow designer canvas for building workflows.\n */\nexport const WorkflowDesignerPresentation = definePresentation({\n meta: {\n key: 'workflow.designer',\n version: '1.0.0',\n title: 'Workflow Designer',\n description: 'Visual workflow designer with drag-and-drop steps',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'designer', 'admin'],\n stability: StabilityEnum.Experimental,\n goal: 'Building and modifying workflow definitions',\n context: 'Workflow administration and setup',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDesigner',\n props: WorkflowDefinitionModel,\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.designer.enabled'],\n },\n});\n\n/**\n * List of workflow definitions.\n */\nexport const WorkflowListPresentation = definePresentation({\n meta: {\n key: 'workflow.definition.list',\n version: '1.0.0',\n title: 'Workflow List',\n description: 'List of workflow definitions with status and actions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'list', 'admin'],\n stability: StabilityEnum.Experimental,\n goal: 'Overview of all defined workflows',\n context: 'Workflow management dashboard',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDefinitionList',\n props: WorkflowDefinitionModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow definition detail view.\n */\nexport const WorkflowDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.definition.detail',\n version: '1.0.0',\n title: 'Workflow Details',\n description: 'Detailed view of a workflow definition with steps',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Viewing technical details of a workflow definition',\n context: 'Workflow inspection and debugging',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDefinitionDetail',\n props: WorkflowDefinitionModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n// ============ Workflow Instance Presentations ============\n\n/**\n * List of running workflow instances.\n */\nexport const InstanceListPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.list',\n version: '1.0.0',\n title: 'Instance List',\n description: 'List of workflow instances with status and progress',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'instance', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Monitoring active and past workflow executions',\n context: 'Operations monitoring',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowInstanceList',\n props: WorkflowInstanceModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow instance detail view with timeline.\n */\nexport const InstanceDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.detail',\n version: '1.0.0',\n title: 'Instance Details',\n description: 'Detailed view of a workflow instance with step timeline',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'instance', 'detail', 'timeline'],\n stability: StabilityEnum.Experimental,\n goal: 'Detailed inspection of a specific workflow instance',\n context: 'Case management and troubleshooting',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowInstanceDetail',\n props: WorkflowInstanceModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow progress tracker widget.\n */\nexport const ProgressTrackerPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.progress',\n version: '1.0.0',\n title: 'Progress Tracker',\n description: 'Visual progress tracker showing current step in workflow',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'progress', 'widget'],\n stability: StabilityEnum.Experimental,\n goal: 'Quick view of current progress for a workflow',\n context: 'Embedded progress indicator in entity views',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowProgressTracker',\n props: WorkflowInstanceModel,\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n// ============ Approval Presentations ============\n\n/**\n * Approval inbox - list of pending approvals.\n */\nexport const ApprovalInboxPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.inbox',\n version: '1.0.0',\n title: 'Approval Inbox',\n description: 'Inbox showing pending approval requests for current user',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'inbox'],\n stability: StabilityEnum.Experimental,\n goal: 'Managing personal workload of approval requests',\n context: 'Personal task management',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalInbox',\n props: ApprovalRequestModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Approval request detail view.\n */\nexport const ApprovalDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.detail',\n version: '1.0.0',\n title: 'Approval Details',\n description: 'Detailed approval request view with context and actions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Decision support for an approval request',\n context: 'Specific approval action',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalRequestDetail',\n props: ApprovalRequestModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Approval decision form.\n */\nexport const ApprovalFormPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.form',\n version: '1.0.0',\n title: 'Approval Form',\n description: 'Form for submitting approval decisions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'form'],\n stability: StabilityEnum.Experimental,\n goal: 'Submitting a decision on an approval request',\n context: 'Approval decision dialog',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalDecisionForm',\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n// ============ Dashboard Widgets ============\n\n/**\n * Pending approvals count badge.\n */\nexport const PendingApprovalsBadgePresentation = definePresentation({\n meta: {\n key: 'workflow.approval.badge',\n version: '1.0.0',\n title: 'Pending Approvals Badge',\n description: 'Badge showing count of pending approvals',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'badge', 'widget'],\n stability: StabilityEnum.Experimental,\n goal: 'Visual notification of pending approvals',\n context: 'Global navigation or sidebar',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PendingApprovalsBadge',\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Workflow metrics dashboard widget.\n */\nexport const WorkflowMetricsPresentation = definePresentation({\n meta: {\n key: 'workflow.metrics',\n version: '1.0.0',\n title: 'Workflow Metrics',\n description: 'Dashboard widget showing workflow metrics and statistics',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'metrics', 'dashboard'],\n stability: StabilityEnum.Experimental,\n goal: 'Monitoring throughput and bottlenecks',\n context: 'System performance dashboard',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowMetricsDashboard',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.metrics.enabled'],\n },\n});\n\n// ============ All Presentations ============\n\nexport const WorkflowSystemPresentations = {\n // Definition\n WorkflowDesignerPresentation,\n WorkflowListPresentation,\n WorkflowDetailPresentation,\n\n // Instance\n InstanceListPresentation,\n InstanceDetailPresentation,\n ProgressTrackerPresentation,\n\n // Approval\n ApprovalInboxPresentation,\n ApprovalDetailPresentation,\n ApprovalFormPresentation,\n PendingApprovalsBadgePresentation,\n\n // Dashboard\n WorkflowMetricsPresentation,\n};\n"],"mappings":";;;;;;;;;;;;AAaA,MA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AC1C,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,2BAA2B,EACpC;CACF,CAAC;AAIF,MAAa,8BAA8B;CAEzC;CACA;CACA;CAGA;CACA;CACA;CAGA;CACA;CACA;CACA;CAGA;CACD"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/presentations/index.ts"],"sourcesContent":["/**\n * Workflow System Presentation Descriptors\n */\nimport { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\nimport { WorkflowDefinitionModel } from '../workflow/workflow.schema';\nimport { WorkflowInstanceModel } from '../instance/instance.schema';\nimport { ApprovalRequestModel } from '../approval/approval.schema';\n\n// ============ Workflow Definition Presentations ============\n\n/**\n * Workflow designer canvas for building workflows.\n */\nexport const WorkflowDesignerPresentation = definePresentation({\n meta: {\n key: 'workflow.designer',\n version: '1.0.0',\n title: 'Workflow Designer',\n description: 'Visual workflow designer with drag-and-drop steps',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'designer', 'admin'],\n stability: StabilityEnum.Experimental,\n goal: 'Building and modifying workflow definitions',\n context: 'Workflow administration and setup',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDesigner',\n props: WorkflowDefinitionModel,\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.designer.enabled'],\n },\n});\n\n/**\n * List of workflow definitions.\n */\nexport const WorkflowListPresentation = definePresentation({\n meta: {\n key: 'workflow.definition.viewList',\n version: '1.0.0',\n title: 'Workflow List',\n description: 'List of workflow definitions with status and actions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'list', 'admin'],\n stability: StabilityEnum.Experimental,\n goal: 'Overview of all defined workflows',\n context: 'Workflow management dashboard',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDefinitionList',\n props: WorkflowDefinitionModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow definition detail view.\n */\nexport const WorkflowDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.definition.detail',\n version: '1.0.0',\n title: 'Workflow Details',\n description: 'Detailed view of a workflow definition with steps',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Viewing technical details of a workflow definition',\n context: 'Workflow inspection and debugging',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowDefinitionDetail',\n props: WorkflowDefinitionModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n// ============ Workflow Instance Presentations ============\n\n/**\n * List of running workflow instances.\n */\nexport const InstanceListPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.viewList',\n version: '1.0.0',\n title: 'Instance List',\n description: 'List of workflow instances with status and progress',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'instance', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Monitoring active and past workflow executions',\n context: 'Operations monitoring',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowInstanceList',\n props: WorkflowInstanceModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow instance detail view with timeline.\n */\nexport const InstanceDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.detail',\n version: '1.0.0',\n title: 'Instance Details',\n description: 'Detailed view of a workflow instance with step timeline',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'instance', 'detail', 'timeline'],\n stability: StabilityEnum.Experimental,\n goal: 'Detailed inspection of a specific workflow instance',\n context: 'Case management and troubleshooting',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowInstanceDetail',\n props: WorkflowInstanceModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n/**\n * Workflow progress tracker widget.\n */\nexport const ProgressTrackerPresentation = definePresentation({\n meta: {\n key: 'workflow.instance.progress',\n version: '1.0.0',\n title: 'Progress Tracker',\n description: 'Visual progress tracker showing current step in workflow',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'progress', 'widget'],\n stability: StabilityEnum.Experimental,\n goal: 'Quick view of current progress for a workflow',\n context: 'Embedded progress indicator in entity views',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowProgressTracker',\n props: WorkflowInstanceModel,\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.enabled'],\n },\n});\n\n// ============ Approval Presentations ============\n\n/**\n * Approval inbox - list of pending approvals.\n */\nexport const ApprovalInboxPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.inbox',\n version: '1.0.0',\n title: 'Approval Inbox',\n description: 'Inbox showing pending approval requests for current user',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'inbox'],\n stability: StabilityEnum.Experimental,\n goal: 'Managing personal workload of approval requests',\n context: 'Personal task management',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalInbox',\n props: ApprovalRequestModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Approval request detail view.\n */\nexport const ApprovalDetailPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.detail',\n version: '1.0.0',\n title: 'Approval Details',\n description: 'Detailed approval request view with context and actions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Decision support for an approval request',\n context: 'Specific approval action',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalRequestDetail',\n props: ApprovalRequestModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Approval decision form.\n */\nexport const ApprovalFormPresentation = definePresentation({\n meta: {\n key: 'workflow.approval.form',\n version: '1.0.0',\n title: 'Approval Form',\n description: 'Form for submitting approval decisions',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'form'],\n stability: StabilityEnum.Experimental,\n goal: 'Submitting a decision on an approval request',\n context: 'Approval decision dialog',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'ApprovalDecisionForm',\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n// ============ Dashboard Widgets ============\n\n/**\n * Pending approvals count badge.\n */\nexport const PendingApprovalsBadgePresentation = definePresentation({\n meta: {\n key: 'workflow.approval.badge',\n version: '1.0.0',\n title: 'Pending Approvals Badge',\n description: 'Badge showing count of pending approvals',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'badge', 'widget'],\n stability: StabilityEnum.Experimental,\n goal: 'Visual notification of pending approvals',\n context: 'Global navigation or sidebar',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PendingApprovalsBadge',\n },\n targets: ['react'],\n policy: {\n flags: ['workflow.approvals.enabled'],\n },\n});\n\n/**\n * Workflow metrics dashboard widget.\n */\nexport const WorkflowMetricsPresentation = definePresentation({\n meta: {\n key: 'workflow.metrics',\n version: '1.0.0',\n title: 'Workflow Metrics',\n description: 'Dashboard widget showing workflow metrics and statistics',\n domain: 'workflow-system',\n owners: ['@workflow-team'],\n tags: ['workflow', 'metrics', 'dashboard'],\n stability: StabilityEnum.Experimental,\n goal: 'Monitoring throughput and bottlenecks',\n context: 'System performance dashboard',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'WorkflowMetricsDashboard',\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['workflow.metrics.enabled'],\n },\n});\n\n// ============ All Presentations ============\n\nexport const WorkflowSystemPresentations = {\n // Definition\n WorkflowDesignerPresentation,\n WorkflowListPresentation,\n WorkflowDetailPresentation,\n\n // Instance\n InstanceListPresentation,\n InstanceDetailPresentation,\n ProgressTrackerPresentation,\n\n // Approval\n ApprovalInboxPresentation,\n ApprovalDetailPresentation,\n ApprovalFormPresentation,\n PendingApprovalsBadgePresentation,\n\n // Dashboard\n WorkflowMetricsPresentation,\n};\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,+BAA+B,mBAAmB;CAC7D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAY;GAAQ;EACvC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,4BAA4B,EACrC;CACF,CAAC;;;;AAKF,MAAa,2BAA2B,mBAAmB;CACzD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAQ;GAAQ;EACnC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,mBAAmB,EAC5B;CACF,CAAC;;;;AAKF,MAAa,6BAA6B,mBAAmB;CAC3D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM,CAAC,YAAY,SAAS;EAC5B,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;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,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,QAAQ;CAClB,QAAQ,EACN,OAAO,CAAC,6BAA6B,EACtC;CACF,CAAC;;;;AAKF,MAAa,8BAA8B,mBAAmB;CAC5D,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAW;GAAY;EAC1C,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACf;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,2BAA2B,EACpC;CACF,CAAC;AAIF,MAAa,8BAA8B;CAEzC;CACA;CACA;CAGA;CACA;CACA;CAGA;CACA;CACA;CACA;CAGA;CACD"}
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_contracts29 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts51 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/tests/operations.test-spec.d.ts
4
- declare const DefinitionListTest: _contractspec_lib_contracts29.TestSpec;
5
- declare const InstanceListTest: _contractspec_lib_contracts29.TestSpec;
6
- declare const ApprovalListMineTest: _contractspec_lib_contracts29.TestSpec;
7
- declare const ApprovalDecideTest: _contractspec_lib_contracts29.TestSpec;
4
+ declare const DefinitionListTest: _contractspec_lib_contracts51.TestSpec;
5
+ declare const InstanceListTest: _contractspec_lib_contracts51.TestSpec;
6
+ declare const ApprovalListMineTest: _contractspec_lib_contracts51.TestSpec;
7
+ declare const ApprovalDecideTest: _contractspec_lib_contracts51.TestSpec;
8
8
  //#endregion
9
9
  export { ApprovalDecideTest, ApprovalListMineTest, DefinitionListTest, InstanceListTest };
10
10
  //# sourceMappingURL=operations.test-spec.d.ts.map
@@ -176,7 +176,7 @@ const WorkflowSystemFeature = defineFeature({
176
176
  version: "1.0.0"
177
177
  },
178
178
  {
179
- key: "workflow.definition.list",
179
+ key: "workflow.definition.viewList",
180
180
  version: "1.0.0"
181
181
  },
182
182
  {
@@ -184,7 +184,7 @@ const WorkflowSystemFeature = defineFeature({
184
184
  version: "1.0.0"
185
185
  },
186
186
  {
187
- key: "workflow.instance.list",
187
+ key: "workflow.instance.viewList",
188
188
  version: "1.0.0"
189
189
  },
190
190
  {
@@ -223,7 +223,7 @@ const WorkflowSystemFeature = defineFeature({
223
223
  version: "1.0.0"
224
224
  },
225
225
  pres: {
226
- key: "workflow.definition.list",
226
+ key: "workflow.definition.viewList",
227
227
  version: "1.0.0"
228
228
  }
229
229
  },
@@ -233,7 +233,7 @@ const WorkflowSystemFeature = defineFeature({
233
233
  version: "1.0.0"
234
234
  },
235
235
  pres: {
236
- key: "workflow.instance.list",
236
+ key: "workflow.instance.viewList",
237
237
  version: "1.0.0"
238
238
  }
239
239
  },
@@ -265,7 +265,7 @@ const WorkflowSystemFeature = defineFeature({
265
265
  targets: ["react"]
266
266
  },
267
267
  {
268
- key: "workflow.definition.list",
268
+ key: "workflow.definition.viewList",
269
269
  version: "1.0.0",
270
270
  targets: ["react", "markdown"]
271
271
  },
@@ -275,7 +275,7 @@ const WorkflowSystemFeature = defineFeature({
275
275
  targets: ["react", "markdown"]
276
276
  },
277
277
  {
278
- key: "workflow.instance.list",
278
+ key: "workflow.instance.viewList",
279
279
  version: "1.0.0",
280
280
  targets: ["react", "markdown"]
281
281
  },
@@ -1 +1 @@
1
- {"version":3,"file":"workflow-system.feature.js","names":[],"sources":["../src/workflow-system.feature.ts"],"sourcesContent":["/**\n * Workflow System Feature Module Specification\n *\n * Defines the feature module for workflow and approval capabilities.\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Workflow System feature module that bundles workflow definition,\n * instance management, and approval handling into an installable feature.\n */\nexport const WorkflowSystemFeature = defineFeature({\n meta: {\n key: 'workflow-system',\n title: 'Workflow & Approval System',\n description:\n 'State machine-based workflow engine with role-based approvals, delegation, and escalation',\n domain: 'workflow',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'state-machine', 'automation'],\n stability: 'experimental',\n version: '1.0.0',\n },\n\n // All contract operations included in this feature\n operations: [\n // Workflow definition operations\n { key: 'workflow.definition.create', version: '1.0.0' },\n { key: 'workflow.definition.update', version: '1.0.0' },\n { key: 'workflow.step.add', version: '1.0.0' },\n { key: 'workflow.definition.publish', version: '1.0.0' },\n { key: 'workflow.definition.list', version: '1.0.0' },\n { key: 'workflow.definition.get', version: '1.0.0' },\n\n // Workflow instance operations\n { key: 'workflow.instance.start', version: '1.0.0' },\n { key: 'workflow.instance.transition', version: '1.0.0' },\n { key: 'workflow.instance.pause', version: '1.0.0' },\n { key: 'workflow.instance.resume', version: '1.0.0' },\n { key: 'workflow.instance.cancel', version: '1.0.0' },\n { key: 'workflow.instance.list', version: '1.0.0' },\n { key: 'workflow.instance.get', version: '1.0.0' },\n\n // Approval operations\n { key: 'workflow.approval.decide', version: '1.0.0' },\n { key: 'workflow.approval.delegate', version: '1.0.0' },\n { key: 'workflow.approval.comment.add', version: '1.0.0' },\n { key: 'workflow.approval.list.mine', version: '1.0.0' },\n { key: 'workflow.approval.get', version: '1.0.0' },\n ],\n\n // Events emitted by this feature\n events: [\n // Definition events\n { key: 'workflow.definition.created', version: '1.0.0' },\n { key: 'workflow.definition.updated', version: '1.0.0' },\n { key: 'workflow.definition.published', version: '1.0.0' },\n { key: 'workflow.step.added', version: '1.0.0' },\n\n // Instance events\n { key: 'workflow.instance.started', version: '1.0.0' },\n { key: 'workflow.step.entered', version: '1.0.0' },\n { key: 'workflow.step.exited', version: '1.0.0' },\n { key: 'workflow.instance.completed', version: '1.0.0' },\n { key: 'workflow.instance.cancelled', version: '1.0.0' },\n { key: 'workflow.instance.paused', version: '1.0.0' },\n { key: 'workflow.instance.resumed', version: '1.0.0' },\n { key: 'workflow.instance.failed', version: '1.0.0' },\n { key: 'workflow.instance.timedOut', version: '1.0.0' },\n\n // Approval events\n { key: 'workflow.approval.requested', version: '1.0.0' },\n { key: 'workflow.approval.decided', version: '1.0.0' },\n { key: 'workflow.approval.delegated', version: '1.0.0' },\n { key: 'workflow.approval.escalated', version: '1.0.0' },\n ],\n\n // Presentations associated with this feature\n presentations: [\n // Definition\n { key: 'workflow.designer', version: '1.0.0' },\n { key: 'workflow.definition.list', version: '1.0.0' },\n { key: 'workflow.definition.detail', version: '1.0.0' },\n\n // Instance\n { key: 'workflow.instance.list', version: '1.0.0' },\n { key: 'workflow.instance.detail', version: '1.0.0' },\n { key: 'workflow.instance.progress', version: '1.0.0' },\n\n // Approval\n { key: 'workflow.approval.inbox', version: '1.0.0' },\n { key: 'workflow.approval.detail', version: '1.0.0' },\n { key: 'workflow.approval.form', version: '1.0.0' },\n { key: 'workflow.approval.badge', version: '1.0.0' },\n\n // Dashboard\n { key: 'workflow.metrics', version: '1.0.0' },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { key: 'workflow.definition.list', version: '1.0.0' },\n pres: { key: 'workflow.definition.list', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.instance.list', version: '1.0.0' },\n pres: { key: 'workflow.instance.list', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.approval.list.mine', version: '1.0.0' },\n pres: { key: 'workflow.approval.inbox', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.approval.decide', version: '1.0.0' },\n pres: { key: 'workflow.approval.form', version: '1.0.0' },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n { key: 'workflow.designer', version: '1.0.0', targets: ['react'] },\n {\n key: 'workflow.definition.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.definition.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.instance.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.instance.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'workflow.instance.progress', version: '1.0.0', targets: ['react'] },\n {\n key: 'workflow.approval.inbox',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.approval.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.metrics',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'feature-flags', version: '1.0.0' },\n ],\n provides: [\n { key: 'workflow', version: '1.0.0' },\n { key: 'approval', version: '1.0.0' },\n { key: 'state-machine', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,wBAAwB,cAAc;CACjD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAY;GAAiB;GAAa;EAC7D,WAAW;EACX,SAAS;EACV;CAGD,YAAY;EAEV;GAAE,KAAK;GAA8B,SAAS;GAAS;EACvD;GAAE,KAAK;GAA8B,SAAS;GAAS;EACvD;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC9C;GAAE,KAAK;GAA+B,SAAS;GAAS;EACxD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA2B,SAAS;GAAS;EAGpD;GAAE,KAAK;GAA2B,SAAS;GAAS;EACpD;GAAE,KAAK;GAAgC,SAAS;GAAS;EACzD;GAAE,KAAK;GAA2B,SAAS;GAAS;EACpD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA0B,SAAS;GAAS;EACnD;GAAE,KAAK;GAAyB,SAAS;GAAS;EAGlD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA8B,SAAS;GAAS;EACvD;GAAE,KAAK;GAAiC,SAAS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AS;IAAS;GAC3C;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"workflow-system.feature.js","names":[],"sources":["../src/workflow-system.feature.ts"],"sourcesContent":["/**\n * Workflow System Feature Module Specification\n *\n * Defines the feature module for workflow and approval capabilities.\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Workflow System feature module that bundles workflow definition,\n * instance management, and approval handling into an installable feature.\n */\nexport const WorkflowSystemFeature = defineFeature({\n meta: {\n key: 'workflow-system',\n title: 'Workflow & Approval System',\n description:\n 'State machine-based workflow engine with role-based approvals, delegation, and escalation',\n domain: 'workflow',\n owners: ['@workflow-team'],\n tags: ['workflow', 'approval', 'state-machine', 'automation'],\n stability: 'experimental',\n version: '1.0.0',\n },\n\n // All contract operations included in this feature\n operations: [\n // Workflow definition operations\n { key: 'workflow.definition.create', version: '1.0.0' },\n { key: 'workflow.definition.update', version: '1.0.0' },\n { key: 'workflow.step.add', version: '1.0.0' },\n { key: 'workflow.definition.publish', version: '1.0.0' },\n { key: 'workflow.definition.list', version: '1.0.0' },\n { key: 'workflow.definition.get', version: '1.0.0' },\n\n // Workflow instance operations\n { key: 'workflow.instance.start', version: '1.0.0' },\n { key: 'workflow.instance.transition', version: '1.0.0' },\n { key: 'workflow.instance.pause', version: '1.0.0' },\n { key: 'workflow.instance.resume', version: '1.0.0' },\n { key: 'workflow.instance.cancel', version: '1.0.0' },\n { key: 'workflow.instance.list', version: '1.0.0' },\n { key: 'workflow.instance.get', version: '1.0.0' },\n\n // Approval operations\n { key: 'workflow.approval.decide', version: '1.0.0' },\n { key: 'workflow.approval.delegate', version: '1.0.0' },\n { key: 'workflow.approval.comment.add', version: '1.0.0' },\n { key: 'workflow.approval.list.mine', version: '1.0.0' },\n { key: 'workflow.approval.get', version: '1.0.0' },\n ],\n\n // Events emitted by this feature\n events: [\n // Definition events\n { key: 'workflow.definition.created', version: '1.0.0' },\n { key: 'workflow.definition.updated', version: '1.0.0' },\n { key: 'workflow.definition.published', version: '1.0.0' },\n { key: 'workflow.step.added', version: '1.0.0' },\n\n // Instance events\n { key: 'workflow.instance.started', version: '1.0.0' },\n { key: 'workflow.step.entered', version: '1.0.0' },\n { key: 'workflow.step.exited', version: '1.0.0' },\n { key: 'workflow.instance.completed', version: '1.0.0' },\n { key: 'workflow.instance.cancelled', version: '1.0.0' },\n { key: 'workflow.instance.paused', version: '1.0.0' },\n { key: 'workflow.instance.resumed', version: '1.0.0' },\n { key: 'workflow.instance.failed', version: '1.0.0' },\n { key: 'workflow.instance.timedOut', version: '1.0.0' },\n\n // Approval events\n { key: 'workflow.approval.requested', version: '1.0.0' },\n { key: 'workflow.approval.decided', version: '1.0.0' },\n { key: 'workflow.approval.delegated', version: '1.0.0' },\n { key: 'workflow.approval.escalated', version: '1.0.0' },\n ],\n\n // Presentations associated with this feature\n presentations: [\n // Definition\n { key: 'workflow.designer', version: '1.0.0' },\n { key: 'workflow.definition.viewList', version: '1.0.0' },\n { key: 'workflow.definition.detail', version: '1.0.0' },\n\n // Instance\n { key: 'workflow.instance.viewList', version: '1.0.0' },\n { key: 'workflow.instance.detail', version: '1.0.0' },\n { key: 'workflow.instance.progress', version: '1.0.0' },\n\n // Approval\n { key: 'workflow.approval.inbox', version: '1.0.0' },\n { key: 'workflow.approval.detail', version: '1.0.0' },\n { key: 'workflow.approval.form', version: '1.0.0' },\n { key: 'workflow.approval.badge', version: '1.0.0' },\n\n // Dashboard\n { key: 'workflow.metrics', version: '1.0.0' },\n ],\n\n // Link operations to their primary presentations\n opToPresentation: [\n {\n op: { key: 'workflow.definition.list', version: '1.0.0' },\n pres: { key: 'workflow.definition.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.instance.list', version: '1.0.0' },\n pres: { key: 'workflow.instance.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.approval.list.mine', version: '1.0.0' },\n pres: { key: 'workflow.approval.inbox', version: '1.0.0' },\n },\n {\n op: { key: 'workflow.approval.decide', version: '1.0.0' },\n pres: { key: 'workflow.approval.form', version: '1.0.0' },\n },\n ],\n\n // Target requirements for multi-surface rendering\n presentationsTargets: [\n { key: 'workflow.designer', version: '1.0.0', targets: ['react'] },\n {\n key: 'workflow.definition.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.definition.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.instance.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.instance.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'workflow.instance.progress', version: '1.0.0', targets: ['react'] },\n {\n key: 'workflow.approval.inbox',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.approval.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'workflow.metrics',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n // Capability requirements\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'feature-flags', version: '1.0.0' },\n ],\n provides: [\n { key: 'workflow', version: '1.0.0' },\n { key: 'approval', version: '1.0.0' },\n { key: 'state-machine', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":";;;;;;;;;;;;AAWA,MAAa,wBAAwB,cAAc;CACjD,MAAM;EACJ,KAAK;EACL,OAAO;EACP,aACE;EACF,QAAQ;EACR,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAY;GAAiB;GAAa;EAC7D,WAAW;EACX,SAAS;EACV;CAGD,YAAY;EAEV;GAAE,KAAK;GAA8B,SAAS;GAAS;EACvD;GAAE,KAAK;GAA8B,SAAS;GAAS;EACvD;GAAE,KAAK;GAAqB,SAAS;GAAS;EAC9C;GAAE,KAAK;GAA+B,SAAS;GAAS;EACxD;GAAE,KAAK;GAA4B,SAAS;GAAS;EACrD;GAAE,KAAK;GAA2B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CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CAGD,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC1C;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC3C;EACD,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC3C;EACF;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.workflow-system",
3
- "version": "1.51.0",
3
+ "version": "1.53.0",
4
4
  "description": "Workflow and approval system example for ContractSpec - State machine with role-based transitions",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -17,17 +17,17 @@
17
17
  "lint:check": "eslint src"
18
18
  },
19
19
  "dependencies": {
20
- "@contractspec/lib.schema": "1.51.0",
21
- "@contractspec/lib.contracts": "1.51.0",
22
- "@contractspec/lib.example-shared-ui": "1.5.0",
23
- "@contractspec/lib.design-system": "1.51.0",
24
- "@contractspec/lib.runtime-sandbox": "0.6.0",
20
+ "@contractspec/lib.schema": "1.53.0",
21
+ "@contractspec/lib.contracts": "1.53.0",
22
+ "@contractspec/lib.example-shared-ui": "1.7.0",
23
+ "@contractspec/lib.design-system": "1.53.0",
24
+ "@contractspec/lib.runtime-sandbox": "0.8.0",
25
25
  "react": "19.2.3",
26
26
  "react-dom": "19.2.3"
27
27
  },
28
28
  "devDependencies": {
29
- "@contractspec/tool.typescript": "1.51.0",
30
- "@contractspec/tool.tsdown": "1.51.0",
29
+ "@contractspec/tool.typescript": "1.53.0",
30
+ "@contractspec/tool.tsdown": "1.53.0",
31
31
  "typescript": "^5.9.3",
32
32
  "@types/react": "^19.2.8",
33
33
  "@types/react-dom": "^19.2.2"