@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.
- package/dist/approval/approval.enum.d.ts +2 -7
- package/dist/approval/approval.enum.d.ts.map +1 -1
- package/dist/approval/approval.enum.js +20 -26
- package/dist/approval/approval.event.d.ts +108 -114
- package/dist/approval/approval.event.d.ts.map +1 -1
- package/dist/approval/approval.event.js +103 -210
- package/dist/approval/approval.handler.d.ts +17 -18
- package/dist/approval/approval.handler.d.ts.map +1 -1
- package/dist/approval/approval.operations.d.ts +429 -435
- package/dist/approval/approval.operations.d.ts.map +1 -1
- package/dist/approval/approval.operations.js +364 -339
- package/dist/approval/approval.schema.d.ts +86 -91
- package/dist/approval/approval.schema.d.ts.map +1 -1
- package/dist/approval/approval.schema.js +71 -107
- package/dist/approval/index.d.ts +8 -5
- package/dist/approval/index.d.ts.map +1 -0
- package/dist/approval/index.js +484 -5
- package/dist/browser/approval/approval.enum.js +22 -0
- package/dist/browser/approval/approval.event.js +112 -0
- package/dist/browser/approval/approval.operations.js +369 -0
- package/dist/browser/approval/approval.schema.js +73 -0
- package/dist/browser/approval/index.js +484 -0
- package/dist/browser/docs/index.js +103 -0
- package/dist/browser/docs/workflow-system.docblock.js +103 -0
- package/dist/browser/entities/approval.js +119 -0
- package/dist/browser/entities/index.js +508 -0
- package/dist/browser/entities/instance.js +161 -0
- package/dist/browser/entities/step.js +124 -0
- package/dist/browser/entities/workflow.js +82 -0
- package/dist/browser/example.js +42 -0
- package/dist/browser/handlers/index.js +253 -0
- package/dist/browser/handlers/workflow.handlers.js +253 -0
- package/dist/browser/index.js +3120 -0
- package/dist/browser/instance/index.js +677 -0
- package/dist/browser/instance/instance.enum.js +15 -0
- package/dist/browser/instance/instance.event.js +164 -0
- package/dist/browser/instance/instance.handler.js +356 -0
- package/dist/browser/instance/instance.operations.js +9 -0
- package/dist/browser/instance/instance.schema.js +101 -0
- package/dist/browser/presentations/index.js +109 -0
- package/dist/browser/seeders/index.js +3 -0
- package/dist/browser/shared/index.js +3 -0
- package/dist/browser/shared/mock-data.js +11 -0
- package/dist/browser/shared/types.js +0 -0
- package/dist/browser/state-machine/index.js +6 -0
- package/dist/browser/tests/operations.test-spec.js +6 -0
- package/dist/browser/ui/WorkflowDashboard.js +3 -0
- package/dist/browser/ui/hooks/index.js +50 -0
- package/dist/browser/ui/hooks/useWorkflowList.js +50 -0
- package/dist/browser/ui/index.js +54 -0
- package/dist/browser/ui/renderers/index.js +227 -0
- package/dist/browser/ui/renderers/workflow.markdown.js +227 -0
- package/dist/browser/workflow/index.js +21 -0
- package/dist/browser/workflow/workflow.enum.js +36 -0
- package/dist/browser/workflow/workflow.event.js +6 -0
- package/dist/browser/workflow/workflow.handler.js +5 -0
- package/dist/browser/workflow/workflow.operations.js +8 -0
- package/dist/browser/workflow/workflow.schema.js +151 -0
- package/dist/browser/workflow-system.capability.js +5 -0
- package/dist/browser/workflow-system.feature.js +3 -0
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +104 -1
- package/dist/docs/workflow-system.docblock.d.ts +2 -1
- package/dist/docs/workflow-system.docblock.d.ts.map +1 -0
- package/dist/docs/workflow-system.docblock.js +45 -56
- package/dist/entities/approval.d.ts +35 -40
- package/dist/entities/approval.d.ts.map +1 -1
- package/dist/entities/approval.js +116 -124
- package/dist/entities/index.d.ts +132 -137
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +506 -29
- package/dist/entities/instance.d.ts +46 -51
- package/dist/entities/instance.d.ts.map +1 -1
- package/dist/entities/instance.js +158 -164
- package/dist/entities/step.d.ts +31 -36
- package/dist/entities/step.d.ts.map +1 -1
- package/dist/entities/step.js +122 -132
- package/dist/entities/workflow.d.ts +22 -27
- package/dist/entities/workflow.d.ts.map +1 -1
- package/dist/entities/workflow.js +80 -99
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +41 -55
- package/dist/handlers/index.d.ts +2 -2
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +254 -3
- package/dist/handlers/workflow.handlers.d.ts +107 -106
- package/dist/handlers/workflow.handlers.d.ts.map +1 -1
- package/dist/handlers/workflow.handlers.js +237 -246
- package/dist/index.d.ts +15 -26
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3121 -26
- package/dist/instance/index.d.ts +8 -5
- package/dist/instance/index.d.ts.map +1 -0
- package/dist/instance/index.js +677 -5
- package/dist/instance/instance.enum.d.ts +1 -6
- package/dist/instance/instance.enum.d.ts.map +1 -1
- package/dist/instance/instance.enum.js +14 -18
- package/dist/instance/instance.event.d.ts +313 -319
- package/dist/instance/instance.event.d.ts.map +1 -1
- package/dist/instance/instance.event.js +151 -279
- package/dist/instance/instance.handler.d.ts +21 -22
- package/dist/instance/instance.handler.d.ts.map +1 -1
- package/dist/instance/instance.handler.js +352 -89
- package/dist/instance/instance.operations.d.ts +819 -825
- package/dist/instance/instance.operations.d.ts.map +1 -1
- package/dist/instance/instance.operations.js +10 -464
- package/dist/instance/instance.schema.d.ts +196 -201
- package/dist/instance/instance.schema.d.ts.map +1 -1
- package/dist/instance/instance.schema.js +97 -167
- package/dist/presentations/index.d.ts +23 -28
- package/dist/presentations/index.d.ts.map +1 -1
- package/dist/presentations/index.js +104 -334
- package/dist/seeders/index.d.ts +4 -8
- package/dist/seeders/index.d.ts.map +1 -1
- package/dist/seeders/index.js +4 -19
- package/dist/shared/index.d.ts +6 -3
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +4 -3
- package/dist/shared/mock-data.d.ts +16 -16
- package/dist/shared/mock-data.d.ts.map +1 -1
- package/dist/shared/mock-data.js +11 -11
- package/dist/shared/types.d.ts +69 -72
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/shared/types.js +1 -0
- package/dist/state-machine/index.d.ts +92 -95
- package/dist/state-machine/index.d.ts.map +1 -1
- package/dist/state-machine/index.js +6 -157
- package/dist/tests/operations.test-spec.d.ts +4 -9
- package/dist/tests/operations.test-spec.d.ts.map +1 -1
- package/dist/tests/operations.test-spec.js +7 -123
- package/dist/ui/WorkflowDashboard.d.ts +1 -6
- package/dist/ui/WorkflowDashboard.d.ts.map +1 -1
- package/dist/ui/WorkflowDashboard.js +3 -222
- package/dist/ui/hooks/index.d.ts +2 -2
- package/dist/ui/hooks/index.d.ts.map +1 -0
- package/dist/ui/hooks/index.js +51 -5
- package/dist/ui/hooks/useWorkflowList.d.ts +15 -19
- package/dist/ui/hooks/useWorkflowList.d.ts.map +1 -1
- package/dist/ui/hooks/useWorkflowList.js +47 -51
- package/dist/ui/index.d.ts +7 -6
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +55 -6
- package/dist/ui/renderers/index.d.ts +2 -2
- package/dist/ui/renderers/index.d.ts.map +1 -0
- package/dist/ui/renderers/index.js +227 -2
- package/dist/ui/renderers/workflow.markdown.d.ts +13 -14
- package/dist/ui/renderers/workflow.markdown.d.ts.map +1 -1
- package/dist/ui/renderers/workflow.markdown.js +223 -229
- package/dist/workflow/index.d.ts +8 -5
- package/dist/workflow/index.d.ts.map +1 -0
- package/dist/workflow/index.js +22 -6
- package/dist/workflow/workflow.enum.d.ts +4 -9
- package/dist/workflow/workflow.enum.d.ts.map +1 -1
- package/dist/workflow/workflow.enum.js +32 -42
- package/dist/workflow/workflow.event.d.ts +112 -118
- package/dist/workflow/workflow.event.d.ts.map +1 -1
- package/dist/workflow/workflow.event.js +7 -150
- package/dist/workflow/workflow.handler.d.ts +23 -24
- package/dist/workflow/workflow.handler.d.ts.map +1 -1
- package/dist/workflow/workflow.handler.js +6 -66
- package/dist/workflow/workflow.operations.d.ts +847 -853
- package/dist/workflow/workflow.operations.d.ts.map +1 -1
- package/dist/workflow/workflow.operations.js +9 -345
- package/dist/workflow/workflow.schema.d.ts +229 -234
- package/dist/workflow/workflow.schema.d.ts.map +1 -1
- package/dist/workflow/workflow.schema.js +146 -243
- package/dist/workflow-system.capability.d.ts +3 -8
- package/dist/workflow-system.capability.d.ts.map +1 -1
- package/dist/workflow-system.capability.js +6 -34
- package/dist/workflow-system.feature.d.ts +1 -6
- package/dist/workflow-system.feature.d.ts.map +1 -1
- package/dist/workflow-system.feature.js +4 -346
- package/package.json +415 -93
- package/dist/approval/approval.enum.js.map +0 -1
- package/dist/approval/approval.event.js.map +0 -1
- package/dist/approval/approval.handler.js +0 -72
- package/dist/approval/approval.handler.js.map +0 -1
- package/dist/approval/approval.operations.js.map +0 -1
- package/dist/approval/approval.schema.js.map +0 -1
- package/dist/docs/workflow-system.docblock.js.map +0 -1
- package/dist/entities/approval.js.map +0 -1
- package/dist/entities/index.js.map +0 -1
- package/dist/entities/instance.js.map +0 -1
- package/dist/entities/step.js.map +0 -1
- package/dist/entities/workflow.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/workflow.handlers.js.map +0 -1
- package/dist/instance/instance.enum.js.map +0 -1
- package/dist/instance/instance.event.js.map +0 -1
- package/dist/instance/instance.handler.js.map +0 -1
- package/dist/instance/instance.operations.js.map +0 -1
- package/dist/instance/instance.schema.js.map +0 -1
- package/dist/presentations/index.js.map +0 -1
- package/dist/seeders/index.js.map +0 -1
- package/dist/shared/mock-data.js.map +0 -1
- package/dist/state-machine/index.js.map +0 -1
- package/dist/tests/operations.test-spec.js.map +0 -1
- package/dist/ui/WorkflowDashboard.js.map +0 -1
- package/dist/ui/hooks/useWorkflowList.js.map +0 -1
- package/dist/ui/renderers/workflow.markdown.js.map +0 -1
- package/dist/workflow/workflow.enum.js.map +0 -1
- package/dist/workflow/workflow.event.js.map +0 -1
- package/dist/workflow/workflow.handler.js.map +0 -1
- package/dist/workflow/workflow.operations.js.map +0 -1
- package/dist/workflow/workflow.schema.js.map +0 -1
- package/dist/workflow-system.capability.js.map +0 -1
- package/dist/workflow-system.feature.js.map +0 -1
|
@@ -1,172 +1,102 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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
|
-
|
|
171
|
-
|
|
172
|
-
|
|
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:
|
|
4
|
+
export declare const WorkflowDesignerPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
8
5
|
/**
|
|
9
6
|
* List of workflow definitions.
|
|
10
7
|
*/
|
|
11
|
-
declare const WorkflowListPresentation:
|
|
8
|
+
export declare const WorkflowListPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
12
9
|
/**
|
|
13
10
|
* Workflow definition detail view.
|
|
14
11
|
*/
|
|
15
|
-
declare const WorkflowDetailPresentation:
|
|
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:
|
|
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:
|
|
20
|
+
export declare const InstanceDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
24
21
|
/**
|
|
25
22
|
* Workflow progress tracker widget.
|
|
26
23
|
*/
|
|
27
|
-
declare const ProgressTrackerPresentation:
|
|
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:
|
|
28
|
+
export declare const ApprovalInboxPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
32
29
|
/**
|
|
33
30
|
* Approval request detail view.
|
|
34
31
|
*/
|
|
35
|
-
declare const ApprovalDetailPresentation:
|
|
32
|
+
export declare const ApprovalDetailPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
36
33
|
/**
|
|
37
34
|
* Approval decision form.
|
|
38
35
|
*/
|
|
39
|
-
declare const ApprovalFormPresentation:
|
|
36
|
+
export declare const ApprovalFormPresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
40
37
|
/**
|
|
41
38
|
* Pending approvals count badge.
|
|
42
39
|
*/
|
|
43
|
-
declare const PendingApprovalsBadgePresentation:
|
|
40
|
+
export declare const PendingApprovalsBadgePresentation: import("@contractspec/lib.contracts").PresentationSpec;
|
|
44
41
|
/**
|
|
45
42
|
* Workflow metrics dashboard widget.
|
|
46
43
|
*/
|
|
47
|
-
declare const WorkflowMetricsPresentation:
|
|
48
|
-
declare const WorkflowSystemPresentations: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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","
|
|
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"}
|