@overmap-ai/core 1.0.78-bulk-identifier-value-support.1 → 1.0.78-bulk-issue-links.1
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/constants/index.d.ts +1 -0
- package/dist/constants/workflows.d.ts +4 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/workflows.d.ts +18 -0
- package/dist/overmap-core.js +9084 -6512
- package/dist/overmap-core.umd.cjs +7 -7
- package/dist/sdk/services/FormService.d.ts +4 -2
- package/dist/sdk/services/IssueAssociationService.d.ts +2 -1
- package/dist/sdk/services/IssueUpdateService.d.ts +32 -0
- package/dist/sdk/services/WorkflowIssueLinkService.d.ts +27 -0
- package/dist/sdk/services/WorkflowService.d.ts +28 -0
- package/dist/sdk/services/WorkflowStepAssigneeService.d.ts +29 -0
- package/dist/sdk/services/WorkflowStepCommentService.d.ts +28 -0
- package/dist/sdk/services/WorkflowStepDefaultAssigneeService.d.ts +27 -0
- package/dist/sdk/services/WorkflowStepDefaultReviewerService.d.ts +27 -0
- package/dist/sdk/services/WorkflowStepEventService.d.ts +24 -0
- package/dist/sdk/services/WorkflowStepFieldValuesAttachmentService.d.ts +31 -0
- package/dist/sdk/services/WorkflowStepFieldValuesReviewRequestService.d.ts +27 -0
- package/dist/sdk/services/WorkflowStepFieldValuesReviewService.d.ts +28 -0
- package/dist/sdk/services/WorkflowStepFieldValuesService.d.ts +28 -0
- package/dist/sdk/services/WorkflowStepFieldsAttachmentService.d.ts +30 -0
- package/dist/sdk/services/WorkflowStepFieldsService.d.ts +27 -0
- package/dist/sdk/services/WorkflowStepReviewerService.d.ts +29 -0
- package/dist/sdk/services/WorkflowStepService.d.ts +28 -0
- package/dist/sdk/services/WorkflowTypeService.d.ts +28 -0
- package/dist/sdk/services/index.d.ts +16 -0
- package/dist/store/reducers.d.ts +48 -0
- package/dist/store/slices/assetProcedureSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +32 -0
- package/dist/store/slices/assetProcedureStepSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureTypeAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureTypeFieldValuesAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureTypeFieldValuesSlice.d.ts +16 -0
- package/dist/store/slices/assetProcedureTypeFieldsAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetSlice.d.ts +16 -0
- package/dist/store/slices/assetStageCompletionSlice.d.ts +16 -0
- package/dist/store/slices/assetStageSlice.d.ts +16 -0
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +16 -0
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +16 -0
- package/dist/store/slices/assetTypeStatusSlice.d.ts +16 -0
- package/dist/store/slices/emailDomainsSlice.d.ts +16 -0
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/formRevisionSlice.d.ts +16 -0
- package/dist/store/slices/formSlice.d.ts +16 -0
- package/dist/store/slices/geoImageSlice.d.ts +16 -0
- package/dist/store/slices/index.d.ts +16 -0
- package/dist/store/slices/issueAssociationSlice.d.ts +16 -0
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +16 -0
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +16 -0
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +16 -0
- package/dist/store/slices/issueTypeStatusSlice.d.ts +16 -0
- package/dist/store/slices/issueUpdateSlice.d.ts +48 -0
- package/dist/store/slices/organizationSlice.d.ts +16 -0
- package/dist/store/slices/projectFileSlice.d.ts +16 -0
- package/dist/store/slices/projectSlice.d.ts +16 -0
- package/dist/store/slices/userSlice.d.ts +16 -0
- package/dist/store/slices/workflowIssueLinkSlice.d.ts +130 -0
- package/dist/store/slices/workflowSlice.d.ts +23 -0
- package/dist/store/slices/workflowStepAssigneeSlice.d.ts +129 -0
- package/dist/store/slices/workflowStepCommentSlice.d.ts +129 -0
- package/dist/store/slices/workflowStepDefaultAssigneeSlice.d.ts +127 -0
- package/dist/store/slices/workflowStepDefaultReviewerSlice.d.ts +127 -0
- package/dist/store/slices/workflowStepEventSlice.d.ts +129 -0
- package/dist/store/slices/workflowStepFieldValuesAttachmentSlice.d.ts +127 -0
- package/dist/store/slices/workflowStepFieldValuesReviewRequestSlice.d.ts +129 -0
- package/dist/store/slices/workflowStepFieldValuesReviewSlice.d.ts +130 -0
- package/dist/store/slices/workflowStepFieldValuesSlice.d.ts +130 -0
- package/dist/store/slices/workflowStepFieldsAttachmentSlice.d.ts +127 -0
- package/dist/store/slices/workflowStepFieldsSlice.d.ts +128 -0
- package/dist/store/slices/workflowStepReviewerSlice.d.ts +129 -0
- package/dist/store/slices/workflowStepSlice.d.ts +22 -0
- package/dist/store/slices/workflowTypeSlice.d.ts +22 -0
- package/dist/typings/models/forms.d.ts +3 -2
- package/dist/typings/models/index.d.ts +1 -0
- package/dist/typings/models/workflows.d.ts +91 -0
- package/package.json +1 -1
|
@@ -3,15 +3,16 @@ import { FieldsAttachmentModel, FieldsModel, FieldValuesAttachmentModel, FieldVa
|
|
|
3
3
|
import { Organization } from './organizations';
|
|
4
4
|
export interface Form extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
5
5
|
organization: Organization["uuid"];
|
|
6
|
+
name: string;
|
|
7
|
+
description: string | null;
|
|
6
8
|
}
|
|
7
9
|
export interface FormRevision extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel {
|
|
8
10
|
form: Form["uuid"];
|
|
9
|
-
title: string;
|
|
10
|
-
description: string | null;
|
|
11
11
|
}
|
|
12
12
|
export type FormRevisionPayload = Omit<Payload<FormRevision>, "revision">;
|
|
13
13
|
export interface FormSubmission extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel, IndexedModel {
|
|
14
14
|
form_revision: FormRevision["uuid"];
|
|
15
|
+
form: Form["uuid"];
|
|
15
16
|
}
|
|
16
17
|
export interface FormSubmissionAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesAttachmentModel {
|
|
17
18
|
form_submission: FormSubmission["uuid"];
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, IndexedModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
|
+
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
3
|
+
import { Issue } from './issues';
|
|
4
|
+
import { Organization } from './organizations';
|
|
5
|
+
import { Project } from './projects';
|
|
6
|
+
import { User } from './users';
|
|
7
|
+
import { WorkflowStatus, WorkflowStepEventType, WorkflowStepFieldValuesReviewType } from '../../enums';
|
|
8
|
+
export interface WorkflowType extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, IconModel, ColorModel, AbbreviationModel {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
organization: Organization["uuid"];
|
|
12
|
+
}
|
|
13
|
+
export interface WorkflowStep extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
14
|
+
workflow_type: WorkflowType["uuid"];
|
|
15
|
+
name: string;
|
|
16
|
+
order: number;
|
|
17
|
+
}
|
|
18
|
+
export interface WorkflowStepFields extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, FieldsModel {
|
|
19
|
+
workflow_step: WorkflowStep["uuid"];
|
|
20
|
+
}
|
|
21
|
+
export interface WorkflowStepFieldsAttachment extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, FieldsAttachmentModel {
|
|
22
|
+
fields_revision: WorkflowStepFields["uuid"];
|
|
23
|
+
}
|
|
24
|
+
export interface Workflow extends UUIDModel, TimestampedModel, SubmittedAtModel, IndexedModel, CreatedByModel {
|
|
25
|
+
workflow_type: WorkflowType["uuid"];
|
|
26
|
+
project: Project["uuid"];
|
|
27
|
+
title: string;
|
|
28
|
+
status: WorkflowStatus;
|
|
29
|
+
}
|
|
30
|
+
export interface WorkflowStepAssignee extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
31
|
+
workflow: Workflow["uuid"];
|
|
32
|
+
workflow_step: WorkflowStep["uuid"];
|
|
33
|
+
user: User["id"];
|
|
34
|
+
}
|
|
35
|
+
export interface WorkflowStepComment extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
36
|
+
workflow: Workflow["uuid"];
|
|
37
|
+
workflow_step: WorkflowStep["uuid"];
|
|
38
|
+
content: string;
|
|
39
|
+
}
|
|
40
|
+
export type WorkflowStepEventTypeValueMapping = {
|
|
41
|
+
[WorkflowStepEventType.ADD_ASSIGNEE]: number;
|
|
42
|
+
[WorkflowStepEventType.REMOVE_ASSIGNEE]: number;
|
|
43
|
+
[WorkflowStepEventType.ADD_REVIEWER]: number;
|
|
44
|
+
[WorkflowStepEventType.REMOVE_REVIEWER]: number;
|
|
45
|
+
[WorkflowStepEventType.ADD_REVIEW_REQUEST]: number;
|
|
46
|
+
[WorkflowStepEventType.REMOVE_REVIEW_REQUEST]: number;
|
|
47
|
+
};
|
|
48
|
+
export type WorkflowEventEventTypeValueDiscriminator = {
|
|
49
|
+
[TType in WorkflowStepEventType]: {
|
|
50
|
+
type: TType;
|
|
51
|
+
value: WorkflowStepEventTypeValueMapping[TType];
|
|
52
|
+
};
|
|
53
|
+
}[WorkflowStepEventType];
|
|
54
|
+
export type WorkflowStepEvent = UUIDModel & TimestampedModel & CreatedByModel & WorkflowEventEventTypeValueDiscriminator & {
|
|
55
|
+
workflow: Workflow["uuid"];
|
|
56
|
+
workflow_step: WorkflowStep["uuid"];
|
|
57
|
+
};
|
|
58
|
+
export interface WorkflowStepFieldValues extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, FieldValuesModel {
|
|
59
|
+
workflow: Workflow["uuid"];
|
|
60
|
+
workflow_step: WorkflowStep["uuid"];
|
|
61
|
+
fields_revision: WorkflowStepFields["uuid"];
|
|
62
|
+
}
|
|
63
|
+
export interface WorkflowStepFieldValuesAttachment extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, FieldsAttachmentModel {
|
|
64
|
+
field_values: WorkflowStepFieldValues["uuid"];
|
|
65
|
+
}
|
|
66
|
+
export interface WorkflowStepFieldValuesReview extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
67
|
+
field_values: WorkflowStepFieldValues["uuid"];
|
|
68
|
+
content: string;
|
|
69
|
+
type: WorkflowStepFieldValuesReviewType;
|
|
70
|
+
}
|
|
71
|
+
export interface WorkflowStepFieldValuesReviewRequest extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
72
|
+
field_values: WorkflowStepFieldValues["uuid"];
|
|
73
|
+
user: User["id"];
|
|
74
|
+
}
|
|
75
|
+
export interface WorkflowStepReviewer extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
76
|
+
workflow: Workflow["uuid"];
|
|
77
|
+
workflow_step: WorkflowStep["uuid"];
|
|
78
|
+
user: User["id"];
|
|
79
|
+
}
|
|
80
|
+
export interface WorkflowIssueLink extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
81
|
+
workflow: Workflow["uuid"];
|
|
82
|
+
issue: Issue["uuid"];
|
|
83
|
+
}
|
|
84
|
+
export interface WorkflowStepDefaultAssignee extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
85
|
+
workflow_step: WorkflowStep["uuid"];
|
|
86
|
+
user: User["id"];
|
|
87
|
+
}
|
|
88
|
+
export interface WorkflowStepDefaultReviewer extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
89
|
+
workflow_step: WorkflowStep["uuid"];
|
|
90
|
+
user: User["id"];
|
|
91
|
+
}
|