@contractspec/example.workflow-system 1.50.0 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/approval/approval.enum.d.ts +3 -3
- package/dist/approval/approval.enum.d.ts.map +1 -1
- package/dist/approval/approval.event.d.ts +31 -31
- package/dist/approval/approval.event.d.ts.map +1 -1
- package/dist/approval/approval.operations.d.ts +133 -133
- package/dist/approval/approval.operations.d.ts.map +1 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.d.ts.map +1 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/instance.d.ts +47 -47
- package/dist/entities/step.d.ts +32 -32
- package/dist/entities/workflow.d.ts +23 -23
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/presentations/index.d.ts +23 -23
- package/dist/tests/operations.test-spec.d.ts +5 -5
- package/dist/workflow/workflow.enum.d.ts +5 -5
- package/dist/workflow/workflow.event.d.ts +32 -32
- package/dist/workflow/workflow.operations.d.ts +245 -245
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/entities/step.d.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema206 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/step.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Step type enum - what kind of step this is.
|
|
6
6
|
*/
|
|
7
|
-
declare const StepTypeEnum:
|
|
7
|
+
declare const StepTypeEnum: _contractspec_lib_schema206.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Approval mode enum - how approvals are handled.
|
|
10
10
|
*/
|
|
11
|
-
declare const ApprovalModeEnum:
|
|
11
|
+
declare const ApprovalModeEnum: _contractspec_lib_schema206.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* WorkflowStep entity - defines a step in a workflow.
|
|
14
14
|
*
|
|
15
15
|
* Each step represents a state in the workflow state machine,
|
|
16
16
|
* with transitions defined by the `transitions` JSON field.
|
|
17
17
|
*/
|
|
18
|
-
declare const WorkflowStepEntity:
|
|
19
|
-
id:
|
|
20
|
-
workflowDefinitionId:
|
|
21
|
-
name:
|
|
22
|
-
key:
|
|
23
|
-
description:
|
|
24
|
-
type:
|
|
25
|
-
position:
|
|
26
|
-
transitions:
|
|
27
|
-
approvalMode:
|
|
28
|
-
approverRoles:
|
|
29
|
-
approverUserIds:
|
|
30
|
-
escalationConfig:
|
|
31
|
-
assigneeRoles:
|
|
32
|
-
taskTemplate:
|
|
33
|
-
conditionExpression:
|
|
34
|
-
waitDuration:
|
|
35
|
-
waitForEvent:
|
|
36
|
-
actionType:
|
|
37
|
-
actionConfig:
|
|
38
|
-
timeoutSeconds:
|
|
39
|
-
slaSeconds:
|
|
40
|
-
notifyOnEnter:
|
|
41
|
-
notifyOnExit:
|
|
42
|
-
metadata:
|
|
43
|
-
createdAt:
|
|
44
|
-
updatedAt:
|
|
45
|
-
workflowDefinition:
|
|
46
|
-
executions:
|
|
18
|
+
declare const WorkflowStepEntity: _contractspec_lib_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;
|
|
47
47
|
}>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { ApprovalModeEnum, StepTypeEnum, WorkflowStepEntity };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema239 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/workflow.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Workflow status enum - the lifecycle state of a workflow definition.
|
|
6
6
|
*/
|
|
7
|
-
declare const WorkflowStatusEnum:
|
|
7
|
+
declare const WorkflowStatusEnum: _contractspec_lib_schema239.EntityEnumDef;
|
|
8
8
|
/**
|
|
9
9
|
* Workflow trigger type enum - what initiates a workflow.
|
|
10
10
|
*/
|
|
11
|
-
declare const WorkflowTriggerTypeEnum:
|
|
11
|
+
declare const WorkflowTriggerTypeEnum: _contractspec_lib_schema239.EntityEnumDef;
|
|
12
12
|
/**
|
|
13
13
|
* WorkflowDefinition entity - defines a workflow blueprint.
|
|
14
14
|
*
|
|
15
15
|
* A workflow definition specifies the structure, steps, and rules
|
|
16
16
|
* for a business process. Instances are created from definitions.
|
|
17
17
|
*/
|
|
18
|
-
declare const WorkflowDefinitionEntity:
|
|
19
|
-
id:
|
|
20
|
-
name:
|
|
21
|
-
key:
|
|
22
|
-
description:
|
|
23
|
-
version:
|
|
24
|
-
status:
|
|
25
|
-
triggerType:
|
|
26
|
-
triggerConfig:
|
|
27
|
-
initialStepId:
|
|
28
|
-
featureFlagKey:
|
|
29
|
-
settings:
|
|
30
|
-
metadata:
|
|
31
|
-
organizationId:
|
|
32
|
-
createdBy:
|
|
33
|
-
createdAt:
|
|
34
|
-
updatedAt:
|
|
35
|
-
publishedAt:
|
|
36
|
-
steps:
|
|
37
|
-
instances:
|
|
18
|
+
declare const WorkflowDefinitionEntity: _contractspec_lib_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;
|
|
38
38
|
}>;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { WorkflowDefinitionEntity, WorkflowStatusEnum, WorkflowTriggerTypeEnum };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema423 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/instance/instance.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Instance status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const InstanceStatusEnum:
|
|
7
|
+
declare const InstanceStatusEnum: _contractspec_lib_schema423.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
|
|
1
|
+
import * as _contractspec_lib_contracts33 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:
|
|
7
|
+
declare const WorkflowDesignerPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
8
8
|
/**
|
|
9
9
|
* List of workflow definitions.
|
|
10
10
|
*/
|
|
11
|
-
declare const WorkflowListPresentation:
|
|
11
|
+
declare const WorkflowListPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
12
12
|
/**
|
|
13
13
|
* Workflow definition detail view.
|
|
14
14
|
*/
|
|
15
|
-
declare const WorkflowDetailPresentation:
|
|
15
|
+
declare const WorkflowDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
16
16
|
/**
|
|
17
17
|
* List of running workflow instances.
|
|
18
18
|
*/
|
|
19
|
-
declare const InstanceListPresentation:
|
|
19
|
+
declare const InstanceListPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
20
20
|
/**
|
|
21
21
|
* Workflow instance detail view with timeline.
|
|
22
22
|
*/
|
|
23
|
-
declare const InstanceDetailPresentation:
|
|
23
|
+
declare const InstanceDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
24
24
|
/**
|
|
25
25
|
* Workflow progress tracker widget.
|
|
26
26
|
*/
|
|
27
|
-
declare const ProgressTrackerPresentation:
|
|
27
|
+
declare const ProgressTrackerPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
28
28
|
/**
|
|
29
29
|
* Approval inbox - list of pending approvals.
|
|
30
30
|
*/
|
|
31
|
-
declare const ApprovalInboxPresentation:
|
|
31
|
+
declare const ApprovalInboxPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
32
32
|
/**
|
|
33
33
|
* Approval request detail view.
|
|
34
34
|
*/
|
|
35
|
-
declare const ApprovalDetailPresentation:
|
|
35
|
+
declare const ApprovalDetailPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
36
36
|
/**
|
|
37
37
|
* Approval decision form.
|
|
38
38
|
*/
|
|
39
|
-
declare const ApprovalFormPresentation:
|
|
39
|
+
declare const ApprovalFormPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
40
40
|
/**
|
|
41
41
|
* Pending approvals count badge.
|
|
42
42
|
*/
|
|
43
|
-
declare const PendingApprovalsBadgePresentation:
|
|
43
|
+
declare const PendingApprovalsBadgePresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
44
44
|
/**
|
|
45
45
|
* Workflow metrics dashboard widget.
|
|
46
46
|
*/
|
|
47
|
-
declare const WorkflowMetricsPresentation:
|
|
47
|
+
declare const WorkflowMetricsPresentation: _contractspec_lib_contracts33.PresentationSpec;
|
|
48
48
|
declare const WorkflowSystemPresentations: {
|
|
49
|
-
WorkflowDesignerPresentation:
|
|
50
|
-
WorkflowListPresentation:
|
|
51
|
-
WorkflowDetailPresentation:
|
|
52
|
-
InstanceListPresentation:
|
|
53
|
-
InstanceDetailPresentation:
|
|
54
|
-
ProgressTrackerPresentation:
|
|
55
|
-
ApprovalInboxPresentation:
|
|
56
|
-
ApprovalDetailPresentation:
|
|
57
|
-
ApprovalFormPresentation:
|
|
58
|
-
PendingApprovalsBadgePresentation:
|
|
59
|
-
WorkflowMetricsPresentation:
|
|
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;
|
|
60
60
|
};
|
|
61
61
|
//#endregion
|
|
62
62
|
export { ApprovalDetailPresentation, ApprovalFormPresentation, ApprovalInboxPresentation, InstanceDetailPresentation, InstanceListPresentation, PendingApprovalsBadgePresentation, ProgressTrackerPresentation, WorkflowDesignerPresentation, WorkflowDetailPresentation, WorkflowListPresentation, WorkflowMetricsPresentation, WorkflowSystemPresentations };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts29 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/tests/operations.test-spec.d.ts
|
|
4
|
-
declare const DefinitionListTest:
|
|
5
|
-
declare const InstanceListTest:
|
|
6
|
-
declare const ApprovalListMineTest:
|
|
7
|
-
declare const ApprovalDecideTest:
|
|
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;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { ApprovalDecideTest, ApprovalListMineTest, DefinitionListTest, InstanceListTest };
|
|
10
10
|
//# sourceMappingURL=operations.test-spec.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema839 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/workflow/workflow.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Workflow status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const WorkflowStatusEnum:
|
|
7
|
+
declare const WorkflowStatusEnum: _contractspec_lib_schema839.EnumType<[string, string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Trigger type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const TriggerTypeEnum:
|
|
11
|
+
declare const TriggerTypeEnum: _contractspec_lib_schema839.EnumType<[string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Step type enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const StepTypeEnum:
|
|
15
|
+
declare const StepTypeEnum: _contractspec_lib_schema839.EnumType<[string, string, string, string, string, string, string, string]>;
|
|
16
16
|
/**
|
|
17
17
|
* Approval mode enum.
|
|
18
18
|
*/
|
|
19
|
-
declare const ApprovalModeEnum:
|
|
19
|
+
declare const ApprovalModeEnum: _contractspec_lib_schema839.EnumType<[string, string, string, string]>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ApprovalModeEnum, StepTypeEnum, TriggerTypeEnum, WorkflowStatusEnum };
|
|
22
22
|
//# sourceMappingURL=workflow.enum.d.ts.map
|
|
@@ -1,132 +1,132 @@
|
|
|
1
1
|
import * as _contractspec_lib_contracts61 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_schema1087 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/workflow/workflow.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* WorkflowCreatedEvent - A new workflow definition has been created.
|
|
7
7
|
*/
|
|
8
|
-
declare const WorkflowCreatedEvent: _contractspec_lib_contracts61.EventSpec<
|
|
8
|
+
declare const WorkflowCreatedEvent: _contractspec_lib_contracts61.EventSpec<_contractspec_lib_schema1087.SchemaModel<{
|
|
9
9
|
workflowId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
key: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
name: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
version: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
organizationId: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
27
27
|
isOptional: false;
|
|
28
28
|
};
|
|
29
29
|
createdBy: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
timestamp: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema1087.FieldType<Date, string>;
|
|
35
35
|
isOptional: false;
|
|
36
36
|
};
|
|
37
37
|
}>>;
|
|
38
38
|
/**
|
|
39
39
|
* WorkflowUpdatedEvent - A workflow definition has been updated.
|
|
40
40
|
*/
|
|
41
|
-
declare const WorkflowUpdatedEvent: _contractspec_lib_contracts61.EventSpec<
|
|
41
|
+
declare const WorkflowUpdatedEvent: _contractspec_lib_contracts61.EventSpec<_contractspec_lib_schema1087.SchemaModel<{
|
|
42
42
|
workflowId: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
44
44
|
isOptional: false;
|
|
45
45
|
};
|
|
46
46
|
key: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
name: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
version: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
organizationId: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
createdBy: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
timestamp: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema1087.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>>;
|
|
71
71
|
/**
|
|
72
72
|
* WorkflowPublishedEvent - A workflow definition has been published.
|
|
73
73
|
*/
|
|
74
|
-
declare const WorkflowPublishedEvent: _contractspec_lib_contracts61.EventSpec<
|
|
74
|
+
declare const WorkflowPublishedEvent: _contractspec_lib_contracts61.EventSpec<_contractspec_lib_schema1087.SchemaModel<{
|
|
75
75
|
workflowId: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
key: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
name: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
version: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
organizationId: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
createdBy: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
timestamp: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema1087.FieldType<Date, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
}>>;
|
|
104
104
|
/**
|
|
105
105
|
* StepAddedEvent - A step has been added to a workflow definition.
|
|
106
106
|
*/
|
|
107
|
-
declare const StepAddedEvent: _contractspec_lib_contracts61.EventSpec<
|
|
107
|
+
declare const StepAddedEvent: _contractspec_lib_contracts61.EventSpec<_contractspec_lib_schema1087.SchemaModel<{
|
|
108
108
|
stepId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
workflowId: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
stepKey: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
stepType: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema1087.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
position: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema1087.FieldType<number, number>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
timestamp: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema1087.FieldType<Date, string>;
|
|
130
130
|
isOptional: false;
|
|
131
131
|
};
|
|
132
132
|
}>>;
|