@contractspec/example.workflow-system 1.57.0 → 1.59.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (209) hide show
  1. package/dist/approval/approval.enum.d.ts +2 -7
  2. package/dist/approval/approval.enum.d.ts.map +1 -1
  3. package/dist/approval/approval.enum.js +20 -26
  4. package/dist/approval/approval.event.d.ts +108 -114
  5. package/dist/approval/approval.event.d.ts.map +1 -1
  6. package/dist/approval/approval.event.js +103 -210
  7. package/dist/approval/approval.handler.d.ts +17 -18
  8. package/dist/approval/approval.handler.d.ts.map +1 -1
  9. package/dist/approval/approval.operations.d.ts +429 -435
  10. package/dist/approval/approval.operations.d.ts.map +1 -1
  11. package/dist/approval/approval.operations.js +364 -339
  12. package/dist/approval/approval.schema.d.ts +86 -91
  13. package/dist/approval/approval.schema.d.ts.map +1 -1
  14. package/dist/approval/approval.schema.js +71 -107
  15. package/dist/approval/index.d.ts +8 -5
  16. package/dist/approval/index.d.ts.map +1 -0
  17. package/dist/approval/index.js +484 -5
  18. package/dist/browser/approval/approval.enum.js +22 -0
  19. package/dist/browser/approval/approval.event.js +112 -0
  20. package/dist/browser/approval/approval.operations.js +369 -0
  21. package/dist/browser/approval/approval.schema.js +73 -0
  22. package/dist/browser/approval/index.js +484 -0
  23. package/dist/browser/docs/index.js +103 -0
  24. package/dist/browser/docs/workflow-system.docblock.js +103 -0
  25. package/dist/browser/entities/approval.js +119 -0
  26. package/dist/browser/entities/index.js +508 -0
  27. package/dist/browser/entities/instance.js +161 -0
  28. package/dist/browser/entities/step.js +124 -0
  29. package/dist/browser/entities/workflow.js +82 -0
  30. package/dist/browser/example.js +42 -0
  31. package/dist/browser/handlers/index.js +253 -0
  32. package/dist/browser/handlers/workflow.handlers.js +253 -0
  33. package/dist/browser/index.js +3120 -0
  34. package/dist/browser/instance/index.js +677 -0
  35. package/dist/browser/instance/instance.enum.js +15 -0
  36. package/dist/browser/instance/instance.event.js +164 -0
  37. package/dist/browser/instance/instance.handler.js +356 -0
  38. package/dist/browser/instance/instance.operations.js +9 -0
  39. package/dist/browser/instance/instance.schema.js +101 -0
  40. package/dist/browser/presentations/index.js +109 -0
  41. package/dist/browser/seeders/index.js +3 -0
  42. package/dist/browser/shared/index.js +3 -0
  43. package/dist/browser/shared/mock-data.js +11 -0
  44. package/dist/browser/shared/types.js +0 -0
  45. package/dist/browser/state-machine/index.js +6 -0
  46. package/dist/browser/tests/operations.test-spec.js +6 -0
  47. package/dist/browser/ui/WorkflowDashboard.js +3 -0
  48. package/dist/browser/ui/hooks/index.js +50 -0
  49. package/dist/browser/ui/hooks/useWorkflowList.js +50 -0
  50. package/dist/browser/ui/index.js +54 -0
  51. package/dist/browser/ui/renderers/index.js +227 -0
  52. package/dist/browser/ui/renderers/workflow.markdown.js +227 -0
  53. package/dist/browser/workflow/index.js +21 -0
  54. package/dist/browser/workflow/workflow.enum.js +36 -0
  55. package/dist/browser/workflow/workflow.event.js +6 -0
  56. package/dist/browser/workflow/workflow.handler.js +5 -0
  57. package/dist/browser/workflow/workflow.operations.js +8 -0
  58. package/dist/browser/workflow/workflow.schema.js +151 -0
  59. package/dist/browser/workflow-system.capability.js +5 -0
  60. package/dist/browser/workflow-system.feature.js +3 -0
  61. package/dist/docs/index.d.ts +2 -1
  62. package/dist/docs/index.d.ts.map +1 -0
  63. package/dist/docs/index.js +104 -1
  64. package/dist/docs/workflow-system.docblock.d.ts +2 -1
  65. package/dist/docs/workflow-system.docblock.d.ts.map +1 -0
  66. package/dist/docs/workflow-system.docblock.js +45 -56
  67. package/dist/entities/approval.d.ts +35 -40
  68. package/dist/entities/approval.d.ts.map +1 -1
  69. package/dist/entities/approval.js +116 -124
  70. package/dist/entities/index.d.ts +132 -137
  71. package/dist/entities/index.d.ts.map +1 -1
  72. package/dist/entities/index.js +506 -29
  73. package/dist/entities/instance.d.ts +46 -51
  74. package/dist/entities/instance.d.ts.map +1 -1
  75. package/dist/entities/instance.js +158 -164
  76. package/dist/entities/step.d.ts +31 -36
  77. package/dist/entities/step.d.ts.map +1 -1
  78. package/dist/entities/step.js +122 -132
  79. package/dist/entities/workflow.d.ts +22 -27
  80. package/dist/entities/workflow.d.ts.map +1 -1
  81. package/dist/entities/workflow.js +80 -99
  82. package/dist/example.d.ts +2 -6
  83. package/dist/example.d.ts.map +1 -1
  84. package/dist/example.js +41 -55
  85. package/dist/handlers/index.d.ts +2 -2
  86. package/dist/handlers/index.d.ts.map +1 -0
  87. package/dist/handlers/index.js +254 -3
  88. package/dist/handlers/workflow.handlers.d.ts +107 -106
  89. package/dist/handlers/workflow.handlers.d.ts.map +1 -1
  90. package/dist/handlers/workflow.handlers.js +237 -246
  91. package/dist/index.d.ts +15 -26
  92. package/dist/index.d.ts.map +1 -0
  93. package/dist/index.js +3121 -26
  94. package/dist/instance/index.d.ts +8 -5
  95. package/dist/instance/index.d.ts.map +1 -0
  96. package/dist/instance/index.js +677 -5
  97. package/dist/instance/instance.enum.d.ts +1 -6
  98. package/dist/instance/instance.enum.d.ts.map +1 -1
  99. package/dist/instance/instance.enum.js +14 -18
  100. package/dist/instance/instance.event.d.ts +313 -319
  101. package/dist/instance/instance.event.d.ts.map +1 -1
  102. package/dist/instance/instance.event.js +151 -279
  103. package/dist/instance/instance.handler.d.ts +21 -22
  104. package/dist/instance/instance.handler.d.ts.map +1 -1
  105. package/dist/instance/instance.handler.js +352 -89
  106. package/dist/instance/instance.operations.d.ts +819 -825
  107. package/dist/instance/instance.operations.d.ts.map +1 -1
  108. package/dist/instance/instance.operations.js +10 -464
  109. package/dist/instance/instance.schema.d.ts +196 -201
  110. package/dist/instance/instance.schema.d.ts.map +1 -1
  111. package/dist/instance/instance.schema.js +97 -167
  112. package/dist/presentations/index.d.ts +23 -28
  113. package/dist/presentations/index.d.ts.map +1 -1
  114. package/dist/presentations/index.js +104 -334
  115. package/dist/seeders/index.d.ts +4 -8
  116. package/dist/seeders/index.d.ts.map +1 -1
  117. package/dist/seeders/index.js +4 -19
  118. package/dist/shared/index.d.ts +6 -3
  119. package/dist/shared/index.d.ts.map +1 -0
  120. package/dist/shared/index.js +4 -3
  121. package/dist/shared/mock-data.d.ts +16 -16
  122. package/dist/shared/mock-data.d.ts.map +1 -1
  123. package/dist/shared/mock-data.js +11 -11
  124. package/dist/shared/types.d.ts +69 -72
  125. package/dist/shared/types.d.ts.map +1 -1
  126. package/dist/shared/types.js +1 -0
  127. package/dist/state-machine/index.d.ts +92 -95
  128. package/dist/state-machine/index.d.ts.map +1 -1
  129. package/dist/state-machine/index.js +6 -157
  130. package/dist/tests/operations.test-spec.d.ts +4 -9
  131. package/dist/tests/operations.test-spec.d.ts.map +1 -1
  132. package/dist/tests/operations.test-spec.js +7 -123
  133. package/dist/ui/WorkflowDashboard.d.ts +1 -6
  134. package/dist/ui/WorkflowDashboard.d.ts.map +1 -1
  135. package/dist/ui/WorkflowDashboard.js +3 -222
  136. package/dist/ui/hooks/index.d.ts +2 -2
  137. package/dist/ui/hooks/index.d.ts.map +1 -0
  138. package/dist/ui/hooks/index.js +51 -5
  139. package/dist/ui/hooks/useWorkflowList.d.ts +15 -19
  140. package/dist/ui/hooks/useWorkflowList.d.ts.map +1 -1
  141. package/dist/ui/hooks/useWorkflowList.js +47 -51
  142. package/dist/ui/index.d.ts +7 -6
  143. package/dist/ui/index.d.ts.map +1 -0
  144. package/dist/ui/index.js +55 -6
  145. package/dist/ui/renderers/index.d.ts +2 -2
  146. package/dist/ui/renderers/index.d.ts.map +1 -0
  147. package/dist/ui/renderers/index.js +227 -2
  148. package/dist/ui/renderers/workflow.markdown.d.ts +13 -14
  149. package/dist/ui/renderers/workflow.markdown.d.ts.map +1 -1
  150. package/dist/ui/renderers/workflow.markdown.js +223 -229
  151. package/dist/workflow/index.d.ts +8 -5
  152. package/dist/workflow/index.d.ts.map +1 -0
  153. package/dist/workflow/index.js +22 -6
  154. package/dist/workflow/workflow.enum.d.ts +4 -9
  155. package/dist/workflow/workflow.enum.d.ts.map +1 -1
  156. package/dist/workflow/workflow.enum.js +32 -42
  157. package/dist/workflow/workflow.event.d.ts +112 -118
  158. package/dist/workflow/workflow.event.d.ts.map +1 -1
  159. package/dist/workflow/workflow.event.js +7 -150
  160. package/dist/workflow/workflow.handler.d.ts +23 -24
  161. package/dist/workflow/workflow.handler.d.ts.map +1 -1
  162. package/dist/workflow/workflow.handler.js +6 -66
  163. package/dist/workflow/workflow.operations.d.ts +847 -853
  164. package/dist/workflow/workflow.operations.d.ts.map +1 -1
  165. package/dist/workflow/workflow.operations.js +9 -345
  166. package/dist/workflow/workflow.schema.d.ts +229 -234
  167. package/dist/workflow/workflow.schema.d.ts.map +1 -1
  168. package/dist/workflow/workflow.schema.js +146 -243
  169. package/dist/workflow-system.capability.d.ts +3 -8
  170. package/dist/workflow-system.capability.d.ts.map +1 -1
  171. package/dist/workflow-system.capability.js +6 -34
  172. package/dist/workflow-system.feature.d.ts +1 -6
  173. package/dist/workflow-system.feature.d.ts.map +1 -1
  174. package/dist/workflow-system.feature.js +4 -346
  175. package/package.json +415 -93
  176. package/dist/approval/approval.enum.js.map +0 -1
  177. package/dist/approval/approval.event.js.map +0 -1
  178. package/dist/approval/approval.handler.js +0 -72
  179. package/dist/approval/approval.handler.js.map +0 -1
  180. package/dist/approval/approval.operations.js.map +0 -1
  181. package/dist/approval/approval.schema.js.map +0 -1
  182. package/dist/docs/workflow-system.docblock.js.map +0 -1
  183. package/dist/entities/approval.js.map +0 -1
  184. package/dist/entities/index.js.map +0 -1
  185. package/dist/entities/instance.js.map +0 -1
  186. package/dist/entities/step.js.map +0 -1
  187. package/dist/entities/workflow.js.map +0 -1
  188. package/dist/example.js.map +0 -1
  189. package/dist/handlers/workflow.handlers.js.map +0 -1
  190. package/dist/instance/instance.enum.js.map +0 -1
  191. package/dist/instance/instance.event.js.map +0 -1
  192. package/dist/instance/instance.handler.js.map +0 -1
  193. package/dist/instance/instance.operations.js.map +0 -1
  194. package/dist/instance/instance.schema.js.map +0 -1
  195. package/dist/presentations/index.js.map +0 -1
  196. package/dist/seeders/index.js.map +0 -1
  197. package/dist/shared/mock-data.js.map +0 -1
  198. package/dist/state-machine/index.js.map +0 -1
  199. package/dist/tests/operations.test-spec.js.map +0 -1
  200. package/dist/ui/WorkflowDashboard.js.map +0 -1
  201. package/dist/ui/hooks/useWorkflowList.js.map +0 -1
  202. package/dist/ui/renderers/workflow.markdown.js.map +0 -1
  203. package/dist/workflow/workflow.enum.js.map +0 -1
  204. package/dist/workflow/workflow.event.js.map +0 -1
  205. package/dist/workflow/workflow.handler.js.map +0 -1
  206. package/dist/workflow/workflow.operations.js.map +0 -1
  207. package/dist/workflow/workflow.schema.js.map +0 -1
  208. package/dist/workflow-system.capability.js.map +0 -1
  209. package/dist/workflow-system.feature.js.map +0 -1
@@ -1,172 +1,102 @@
1
- import { InstanceStatusEnum } from "./instance.enum.js";
2
- import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
1
+ // @bun
2
+ // src/instance/instance.enum.ts
3
+ import { defineEnum } from "@contractspec/lib.schema";
4
+ var InstanceStatusEnum = defineEnum("InstanceStatus", [
5
+ "PENDING",
6
+ "RUNNING",
7
+ "WAITING",
8
+ "PAUSED",
9
+ "COMPLETED",
10
+ "CANCELLED",
11
+ "FAILED",
12
+ "TIMEOUT"
13
+ ]);
3
14
 
4
- //#region src/instance/instance.schema.ts
5
- /**
6
- * A running workflow instance.
7
- */
8
- const WorkflowInstanceModel = defineSchemaModel({
9
- name: "WorkflowInstanceModel",
10
- description: "A running workflow instance",
11
- fields: {
12
- id: {
13
- type: ScalarTypeEnum.String_unsecure(),
14
- isOptional: false
15
- },
16
- workflowDefinitionId: {
17
- type: ScalarTypeEnum.String_unsecure(),
18
- isOptional: false
19
- },
20
- referenceId: {
21
- type: ScalarTypeEnum.String_unsecure(),
22
- isOptional: true
23
- },
24
- referenceType: {
25
- type: ScalarTypeEnum.String_unsecure(),
26
- isOptional: true
27
- },
28
- status: {
29
- type: InstanceStatusEnum,
30
- isOptional: false
31
- },
32
- currentStepId: {
33
- type: ScalarTypeEnum.String_unsecure(),
34
- isOptional: true
35
- },
36
- contextData: {
37
- type: ScalarTypeEnum.JSON(),
38
- isOptional: true
39
- },
40
- triggeredBy: {
41
- type: ScalarTypeEnum.String_unsecure(),
42
- isOptional: false
43
- },
44
- organizationId: {
45
- type: ScalarTypeEnum.String_unsecure(),
46
- isOptional: false
47
- },
48
- priority: {
49
- type: ScalarTypeEnum.Int_unsecure(),
50
- isOptional: false
51
- },
52
- dueAt: {
53
- type: ScalarTypeEnum.DateTime(),
54
- isOptional: true
55
- },
56
- outcome: {
57
- type: ScalarTypeEnum.String_unsecure(),
58
- isOptional: true
59
- },
60
- resultData: {
61
- type: ScalarTypeEnum.JSON(),
62
- isOptional: true
63
- },
64
- errorMessage: {
65
- type: ScalarTypeEnum.String_unsecure(),
66
- isOptional: true
67
- },
68
- createdAt: {
69
- type: ScalarTypeEnum.DateTime(),
70
- isOptional: false
71
- },
72
- startedAt: {
73
- type: ScalarTypeEnum.DateTime(),
74
- isOptional: true
75
- },
76
- completedAt: {
77
- type: ScalarTypeEnum.DateTime(),
78
- isOptional: true
79
- }
80
- }
15
+ // src/instance/instance.schema.ts
16
+ import { defineSchemaModel, ScalarTypeEnum } from "@contractspec/lib.schema";
17
+ var WorkflowInstanceModel = defineSchemaModel({
18
+ name: "WorkflowInstanceModel",
19
+ description: "A running workflow instance",
20
+ fields: {
21
+ id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
22
+ workflowDefinitionId: {
23
+ type: ScalarTypeEnum.String_unsecure(),
24
+ isOptional: false
25
+ },
26
+ referenceId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
27
+ referenceType: {
28
+ type: ScalarTypeEnum.String_unsecure(),
29
+ isOptional: true
30
+ },
31
+ status: { type: InstanceStatusEnum, isOptional: false },
32
+ currentStepId: {
33
+ type: ScalarTypeEnum.String_unsecure(),
34
+ isOptional: true
35
+ },
36
+ contextData: { type: ScalarTypeEnum.JSON(), isOptional: true },
37
+ triggeredBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
38
+ organizationId: {
39
+ type: ScalarTypeEnum.String_unsecure(),
40
+ isOptional: false
41
+ },
42
+ priority: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },
43
+ dueAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },
44
+ outcome: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
45
+ resultData: { type: ScalarTypeEnum.JSON(), isOptional: true },
46
+ errorMessage: {
47
+ type: ScalarTypeEnum.String_unsecure(),
48
+ isOptional: true
49
+ },
50
+ createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },
51
+ startedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true },
52
+ completedAt: { type: ScalarTypeEnum.DateTime(), isOptional: true }
53
+ }
81
54
  });
82
- /**
83
- * Input for starting a workflow.
84
- */
85
- const StartWorkflowInputModel = defineSchemaModel({
86
- name: "StartWorkflowInput",
87
- description: "Input for starting a workflow",
88
- fields: {
89
- workflowKey: {
90
- type: ScalarTypeEnum.NonEmptyString(),
91
- isOptional: false
92
- },
93
- contextData: {
94
- type: ScalarTypeEnum.JSON(),
95
- isOptional: true
96
- },
97
- referenceId: {
98
- type: ScalarTypeEnum.String_unsecure(),
99
- isOptional: true
100
- },
101
- referenceType: {
102
- type: ScalarTypeEnum.String_unsecure(),
103
- isOptional: true
104
- },
105
- priority: {
106
- type: ScalarTypeEnum.Int_unsecure(),
107
- isOptional: true
108
- },
109
- dueAt: {
110
- type: ScalarTypeEnum.DateTime(),
111
- isOptional: true
112
- }
113
- }
55
+ var StartWorkflowInputModel = defineSchemaModel({
56
+ name: "StartWorkflowInput",
57
+ description: "Input for starting a workflow",
58
+ fields: {
59
+ workflowKey: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },
60
+ contextData: { type: ScalarTypeEnum.JSON(), isOptional: true },
61
+ referenceId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },
62
+ referenceType: {
63
+ type: ScalarTypeEnum.String_unsecure(),
64
+ isOptional: true
65
+ },
66
+ priority: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },
67
+ dueAt: { type: ScalarTypeEnum.DateTime(), isOptional: true }
68
+ }
114
69
  });
115
- /**
116
- * Input for transitioning a workflow.
117
- */
118
- const TransitionInputModel = defineSchemaModel({
119
- name: "TransitionInput",
120
- description: "Input for transitioning a workflow",
121
- fields: {
122
- instanceId: {
123
- type: ScalarTypeEnum.String_unsecure(),
124
- isOptional: false
125
- },
126
- action: {
127
- type: ScalarTypeEnum.NonEmptyString(),
128
- isOptional: false
129
- },
130
- data: {
131
- type: ScalarTypeEnum.JSON(),
132
- isOptional: true
133
- },
134
- comment: {
135
- type: ScalarTypeEnum.String_unsecure(),
136
- isOptional: true
137
- }
138
- }
70
+ var TransitionInputModel = defineSchemaModel({
71
+ name: "TransitionInput",
72
+ description: "Input for transitioning a workflow",
73
+ fields: {
74
+ instanceId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },
75
+ action: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },
76
+ data: { type: ScalarTypeEnum.JSON(), isOptional: true },
77
+ comment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true }
78
+ }
139
79
  });
140
- /**
141
- * Result of a workflow transition.
142
- */
143
- const TransitionResultModel = defineSchemaModel({
144
- name: "TransitionResult",
145
- description: "Result of a workflow transition",
146
- fields: {
147
- success: {
148
- type: ScalarTypeEnum.Boolean(),
149
- isOptional: false
150
- },
151
- instance: {
152
- type: WorkflowInstanceModel,
153
- isOptional: false
154
- },
155
- previousStepKey: {
156
- type: ScalarTypeEnum.String_unsecure(),
157
- isOptional: true
158
- },
159
- currentStepKey: {
160
- type: ScalarTypeEnum.String_unsecure(),
161
- isOptional: true
162
- },
163
- message: {
164
- type: ScalarTypeEnum.String_unsecure(),
165
- isOptional: true
166
- }
167
- }
80
+ var TransitionResultModel = defineSchemaModel({
81
+ name: "TransitionResult",
82
+ description: "Result of a workflow transition",
83
+ fields: {
84
+ success: { type: ScalarTypeEnum.Boolean(), isOptional: false },
85
+ instance: { type: WorkflowInstanceModel, isOptional: false },
86
+ previousStepKey: {
87
+ type: ScalarTypeEnum.String_unsecure(),
88
+ isOptional: true
89
+ },
90
+ currentStepKey: {
91
+ type: ScalarTypeEnum.String_unsecure(),
92
+ isOptional: true
93
+ },
94
+ message: { type: ScalarTypeEnum.String_unsecure(), isOptional: true }
95
+ }
168
96
  });
169
-
170
- //#endregion
171
- export { StartWorkflowInputModel, TransitionInputModel, TransitionResultModel, WorkflowInstanceModel };
172
- //# sourceMappingURL=instance.schema.js.map
97
+ export {
98
+ WorkflowInstanceModel,
99
+ TransitionResultModel,
100
+ TransitionInputModel,
101
+ StartWorkflowInputModel
102
+ };
@@ -1,63 +1,58 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
-
3
- //#region src/presentations/index.d.ts
4
1
  /**
5
2
  * Workflow designer canvas for building workflows.
6
3
  */
7
- declare const WorkflowDesignerPresentation: _contractspec_lib_contracts0.PresentationSpec;
4
+ export declare const WorkflowDesignerPresentation: import("@contractspec/lib.contracts").PresentationSpec;
8
5
  /**
9
6
  * List of workflow definitions.
10
7
  */
11
- declare const WorkflowListPresentation: _contractspec_lib_contracts0.PresentationSpec;
8
+ export declare const WorkflowListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
12
9
  /**
13
10
  * Workflow definition detail view.
14
11
  */
15
- declare const WorkflowDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
12
+ export declare const WorkflowDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
16
13
  /**
17
14
  * List of running workflow instances.
18
15
  */
19
- declare const InstanceListPresentation: _contractspec_lib_contracts0.PresentationSpec;
16
+ export declare const InstanceListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
20
17
  /**
21
18
  * Workflow instance detail view with timeline.
22
19
  */
23
- declare const InstanceDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
20
+ export declare const InstanceDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
24
21
  /**
25
22
  * Workflow progress tracker widget.
26
23
  */
27
- declare const ProgressTrackerPresentation: _contractspec_lib_contracts0.PresentationSpec;
24
+ export declare const ProgressTrackerPresentation: import("@contractspec/lib.contracts").PresentationSpec;
28
25
  /**
29
26
  * Approval inbox - list of pending approvals.
30
27
  */
31
- declare const ApprovalInboxPresentation: _contractspec_lib_contracts0.PresentationSpec;
28
+ export declare const ApprovalInboxPresentation: import("@contractspec/lib.contracts").PresentationSpec;
32
29
  /**
33
30
  * Approval request detail view.
34
31
  */
35
- declare const ApprovalDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
32
+ export declare const ApprovalDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
36
33
  /**
37
34
  * Approval decision form.
38
35
  */
39
- declare const ApprovalFormPresentation: _contractspec_lib_contracts0.PresentationSpec;
36
+ export declare const ApprovalFormPresentation: import("@contractspec/lib.contracts").PresentationSpec;
40
37
  /**
41
38
  * Pending approvals count badge.
42
39
  */
43
- declare const PendingApprovalsBadgePresentation: _contractspec_lib_contracts0.PresentationSpec;
40
+ export declare const PendingApprovalsBadgePresentation: import("@contractspec/lib.contracts").PresentationSpec;
44
41
  /**
45
42
  * Workflow metrics dashboard widget.
46
43
  */
47
- declare const WorkflowMetricsPresentation: _contractspec_lib_contracts0.PresentationSpec;
48
- declare const WorkflowSystemPresentations: {
49
- WorkflowDesignerPresentation: _contractspec_lib_contracts0.PresentationSpec;
50
- WorkflowListPresentation: _contractspec_lib_contracts0.PresentationSpec;
51
- WorkflowDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
52
- InstanceListPresentation: _contractspec_lib_contracts0.PresentationSpec;
53
- InstanceDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
54
- ProgressTrackerPresentation: _contractspec_lib_contracts0.PresentationSpec;
55
- ApprovalInboxPresentation: _contractspec_lib_contracts0.PresentationSpec;
56
- ApprovalDetailPresentation: _contractspec_lib_contracts0.PresentationSpec;
57
- ApprovalFormPresentation: _contractspec_lib_contracts0.PresentationSpec;
58
- PendingApprovalsBadgePresentation: _contractspec_lib_contracts0.PresentationSpec;
59
- WorkflowMetricsPresentation: _contractspec_lib_contracts0.PresentationSpec;
44
+ export declare const WorkflowMetricsPresentation: import("@contractspec/lib.contracts").PresentationSpec;
45
+ export declare const WorkflowSystemPresentations: {
46
+ WorkflowDesignerPresentation: import("@contractspec/lib.contracts").PresentationSpec;
47
+ WorkflowListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
48
+ WorkflowDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
49
+ InstanceListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
50
+ InstanceDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
51
+ ProgressTrackerPresentation: import("@contractspec/lib.contracts").PresentationSpec;
52
+ ApprovalInboxPresentation: import("@contractspec/lib.contracts").PresentationSpec;
53
+ ApprovalDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
54
+ ApprovalFormPresentation: import("@contractspec/lib.contracts").PresentationSpec;
55
+ PendingApprovalsBadgePresentation: import("@contractspec/lib.contracts").PresentationSpec;
56
+ WorkflowMetricsPresentation: import("@contractspec/lib.contracts").PresentationSpec;
60
57
  };
61
- //#endregion
62
- export { ApprovalDetailPresentation, ApprovalFormPresentation, ApprovalInboxPresentation, InstanceDetailPresentation, InstanceListPresentation, PendingApprovalsBadgePresentation, ProgressTrackerPresentation, WorkflowDesignerPresentation, WorkflowDetailPresentation, WorkflowListPresentation, WorkflowMetricsPresentation, WorkflowSystemPresentations };
63
58
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/presentations/index.ts"],"mappings":";;;;;;cAaa,4BAAA,EAuBX,4BAAA,CAvBuC,gBAAA;;;;cA4B5B,wBAAA,EAuBX,4BAAA,CAvBmC,gBAAA;AAArC;;;AAAA,cA4Ba,0BAAA,EAuBX,4BAAA,CAvBqC,gBAAA;;AAAvC;;cA8Ba,wBAAA,EAuBX,4BAAA,CAvBmC,gBAAA;;;AAArC;cA4Ba,0BAAA,EAuBX,4BAAA,CAvBqC,gBAAA;;;;cA4B1B,2BAAA,EAuBX,4BAAA,CAvBsC,gBAAA;;;;cA8B3B,yBAAA,EAuBX,4BAAA,CAvBoC,gBAAA;AA9BtC;;;AAAA,cA0Da,0BAAA,EAuBX,4BAAA,CAvBqC,gBAAA;;AA5BvC;;cAwDa,wBAAA,EAsBX,4BAAA,CAtBmC,gBAAA;;;AA5BrC;cAyDa,iCAAA,EAsBX,4BAAA,CAtB4C,gBAAA;;;;cA2BjC,2BAAA,EAsBX,4BAAA,CAtBsC,gBAAA;AAAA,cA0B3B,2BAAA;gCAmBZ,4BAAA,CAAA,gBAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/presentations/index.ts"],"names":[],"mappings":"AAUA;;GAEG;AACH,eAAO,MAAM,4BAA4B,wDAuBvC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB,wDAuBnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B,wDAuBrC,CAAC;AAIH;;GAEG;AACH,eAAO,MAAM,wBAAwB,wDAuBnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B,wDAuBrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2BAA2B,wDAuBtC,CAAC;AAIH;;GAEG;AACH,eAAO,MAAM,yBAAyB,wDAuBpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,0BAA0B,wDAuBrC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB,wDAsBnC,CAAC;AAIH;;GAEG;AACH,eAAO,MAAM,iCAAiC,wDAsB5C,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,2BAA2B,wDAsBtC,CAAC;AAIH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAmBvC,CAAC"}