@overmap-ai/core 1.0.77 → 1.0.78-identifiers.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/enums/access.d.ts +0 -5
- package/dist/enums/index.d.ts +0 -1
- package/dist/overmap-core.js +6679 -4495
- package/dist/overmap-core.umd.cjs +7 -7
- package/dist/sdk/base.d.ts +1 -1
- package/dist/sdk/constants.d.ts +5 -0
- package/dist/sdk/index.d.ts +1 -0
- package/dist/sdk/services/AgentService.d.ts +1 -1
- package/dist/sdk/services/AssetAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureFieldsService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureInstanceService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureStepFieldValuesAttachmentService.d.ts +16 -0
- package/dist/sdk/services/AssetProcedureStepFieldValuesService.d.ts +23 -0
- package/dist/sdk/services/AssetProcedureStepFieldsAttachmentService.d.ts +13 -0
- package/dist/sdk/services/AssetProcedureStepFieldsService.d.ts +11 -0
- package/dist/sdk/services/AssetProcedureStepService.d.ts +11 -0
- package/dist/sdk/services/AssetService.d.ts +3 -2
- package/dist/sdk/services/AssetStageCompletionService.d.ts +1 -1
- package/dist/sdk/services/AssetStageService.d.ts +5 -6
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeIdentifierService.d.ts +11 -0
- package/dist/sdk/services/AssetTypeIdentifierValueService.d.ts +11 -0
- package/dist/sdk/services/AssetTypeService.d.ts +1 -1
- package/dist/sdk/services/BaseService.d.ts +3 -2
- package/dist/sdk/services/CategoryService.d.ts +2 -2
- package/dist/sdk/services/DocumentAttachmentService.d.ts +2 -2
- package/dist/sdk/services/DocumentService.d.ts +2 -3
- package/dist/sdk/services/EmailDomainsService.d.ts +1 -1
- package/dist/sdk/services/FormIdentifierService.d.ts +11 -0
- package/dist/sdk/services/FormIdentifierValueService.d.ts +11 -0
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +1 -1
- package/dist/sdk/services/FormRevisionService.d.ts +1 -1
- package/dist/sdk/services/FormService.d.ts +1 -1
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +1 -1
- package/dist/sdk/services/FormSubmissionService.d.ts +1 -1
- package/dist/sdk/services/GeoImageService.d.ts +1 -1
- package/dist/sdk/services/IssueAssociationService.d.ts +1 -1
- package/dist/sdk/services/IssueAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueCommentService.d.ts +1 -1
- package/dist/sdk/services/IssueService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeIdentifierService.d.ts +11 -0
- package/dist/sdk/services/IssueTypeIdentifierValueService.d.ts +11 -0
- package/dist/sdk/services/IssueTypeService.d.ts +1 -1
- package/dist/sdk/services/IssueUpdateService.d.ts +2 -2
- package/dist/sdk/services/OrganizationAccessService.d.ts +5 -4
- package/dist/sdk/services/OrganizationService.d.ts +4 -4
- package/dist/sdk/services/ProjectAccessService.d.ts +5 -3
- package/dist/sdk/services/ProjectAttachmentService.d.ts +2 -2
- package/dist/sdk/services/ProjectFileService.d.ts +1 -4
- package/dist/sdk/services/ProjectService.d.ts +2 -8
- package/dist/sdk/services/TeamMembershipService.d.ts +10 -0
- package/dist/sdk/services/TeamService.d.ts +2 -5
- package/dist/sdk/services/UserService.d.ts +2 -2
- package/dist/sdk/services/index.d.ts +12 -1
- package/dist/sdk/typings.d.ts +10 -1
- package/dist/store/constants.d.ts +3 -1
- package/dist/store/index.d.ts +1 -0
- package/dist/store/reducers.d.ts +36 -3
- package/dist/store/selectors/SelectorBuilder.d.ts +24 -0
- package/dist/store/selectors/hooks.d.ts +13 -0
- package/dist/store/selectors/index.d.ts +2 -0
- package/dist/store/slices/agentsSlice.d.ts +21 -1
- package/dist/store/slices/assetAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/assetProcedureAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +12 -1
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +13 -2
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +14 -3
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +2 -79
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +13 -2
- package/dist/store/slices/assetProcedureSlice.d.ts +4 -81
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +137 -0
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +138 -0
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +136 -0
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +226 -0
- package/dist/store/slices/assetProcedureStepSlice.d.ts +138 -0
- package/dist/store/slices/assetSlice.d.ts +12 -1
- package/dist/store/slices/assetStageCompletionSlice.d.ts +21 -2
- package/dist/store/slices/assetStageSlice.d.ts +12 -1
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +12 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +12 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +12 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +12 -1
- package/dist/store/slices/assetTypeIdentifierSlice.d.ts +48 -0
- package/dist/store/slices/assetTypeIdentifierValueSlice.d.ts +49 -0
- package/dist/store/slices/assetTypeSlice.d.ts +2 -1
- package/dist/store/slices/categorySlice.d.ts +35 -4
- package/dist/store/slices/documentAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/documentSlice.d.ts +4 -84
- package/dist/store/slices/emailDomainsSlice.d.ts +43 -8
- package/dist/store/slices/formIdentifierSlice.d.ts +48 -0
- package/dist/store/slices/formIdentifierValueSlice.d.ts +49 -0
- package/dist/store/slices/formRevisionSlice.d.ts +27 -4
- package/dist/store/slices/formSlice.d.ts +30 -6
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +4 -4
- package/dist/store/slices/geoImageSlice.d.ts +14 -3
- package/dist/store/slices/index.d.ts +12 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +16 -5
- package/dist/store/slices/issueAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/issueCommentSlice.d.ts +14 -2
- package/dist/store/slices/issueSlice.d.ts +20 -5
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +12 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +12 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +12 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +12 -1
- package/dist/store/slices/issueTypeIdentifierSlice.d.ts +48 -0
- package/dist/store/slices/issueTypeIdentifierValueSlice.d.ts +49 -0
- package/dist/store/slices/issueTypeSlice.d.ts +24 -6
- package/dist/store/slices/issueUpdateSlice.d.ts +17 -4
- package/dist/store/slices/organizationAccessSlice.d.ts +30 -6
- package/dist/store/slices/organizationSlice.d.ts +13 -8
- package/dist/store/slices/projectAccessSlice.d.ts +27 -6
- package/dist/store/slices/projectFileSlice.d.ts +12 -1
- package/dist/store/slices/projectSlice.d.ts +16 -8
- package/dist/store/slices/teamMembershipSlice.d.ts +49 -0
- package/dist/store/slices/teamSlice.d.ts +21 -6
- package/dist/store/slices/userSlice.d.ts +90 -5
- package/dist/store/store.d.ts +1 -1
- package/dist/typings/models/assets.d.ts +31 -1
- package/dist/typings/models/base.d.ts +7 -2
- package/dist/typings/models/documents.d.ts +6 -4
- package/dist/typings/models/forms.d.ts +8 -1
- package/dist/typings/models/index.d.ts +0 -2
- package/dist/typings/models/issues.d.ts +14 -1
- package/dist/typings/models/organizations.d.ts +2 -3
- package/dist/typings/models/projects.d.ts +2 -5
- package/dist/typings/models/teams.d.ts +5 -2
- package/package.json +8 -15
- package/dist/enums/licenses.d.ts +0 -14
- package/dist/sdk/services/LicenseService.d.ts +0 -14
- package/dist/store/slices/licenseSlice.d.ts +0 -25
- package/dist/typings/models/issueTypes.d.ts +0 -7
- package/dist/typings/models/license.d.ts +0 -13
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SerializedCondition } from '@overmap-ai/forms';
|
|
2
|
+
import { CanvasMarkableModel, ColorModel, CreatedByModel, IconModel, IdentifierModel, IdentifierValueModel, IndexedModel, MarkableModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
3
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
3
4
|
export interface Asset extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, IndexedModel {
|
|
4
5
|
asset_type: string;
|
|
@@ -60,3 +61,32 @@ export interface AssetProcedureFieldValues extends UUIDModel, SubmittedAtModel,
|
|
|
60
61
|
export interface AssetProcedureFieldValuesAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
61
62
|
field_values: string;
|
|
62
63
|
}
|
|
64
|
+
export interface AssetProcedureStep extends UUIDModel, TimestampedModel, SubmittedAtModel, CreatedByModel, ColorModel {
|
|
65
|
+
asset_procedure: string;
|
|
66
|
+
name?: string | null;
|
|
67
|
+
description?: string | null;
|
|
68
|
+
order: number;
|
|
69
|
+
}
|
|
70
|
+
export interface AssetProcedureStepFields extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel {
|
|
71
|
+
asset_procedure_step: string;
|
|
72
|
+
field_conditions?: SerializedCondition[] | null;
|
|
73
|
+
}
|
|
74
|
+
export interface AssetProcedureStepFieldsAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
75
|
+
fields_revision: string;
|
|
76
|
+
}
|
|
77
|
+
export interface AssetProcedureStepFieldValues extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel {
|
|
78
|
+
fields_revision: string;
|
|
79
|
+
asset_procedure_instance: string;
|
|
80
|
+
asset_procedure_step: string;
|
|
81
|
+
asset: string;
|
|
82
|
+
}
|
|
83
|
+
export interface AssetProcedureStepFieldValuesAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
84
|
+
field_values: string;
|
|
85
|
+
}
|
|
86
|
+
export interface AssetTypeIdentifier extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierModel {
|
|
87
|
+
asset_type: AssetType["uuid"];
|
|
88
|
+
}
|
|
89
|
+
export interface AssetTypeIdentifierValue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierValueModel {
|
|
90
|
+
asset: Asset["uuid"];
|
|
91
|
+
asset_type_identifier: AssetTypeIdentifier["uuid"];
|
|
92
|
+
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IconType } from '@overmap-ai/blocks';
|
|
2
1
|
import { MultiPoint, Point } from 'geojson';
|
|
3
2
|
import { COMMON_AUTO_FIELDS } from '../../utils';
|
|
4
3
|
import { CSSColor } from '../colors';
|
|
@@ -64,7 +63,7 @@ export interface OwnedByOrganization {
|
|
|
64
63
|
organization_owner: string;
|
|
65
64
|
}
|
|
66
65
|
export interface IconModel {
|
|
67
|
-
icon:
|
|
66
|
+
icon: string;
|
|
68
67
|
}
|
|
69
68
|
export interface ColorModel {
|
|
70
69
|
color: CSSColor;
|
|
@@ -87,4 +86,10 @@ export interface MarkableModel {
|
|
|
87
86
|
export interface CanvasMarkableModel {
|
|
88
87
|
canvas_marker?: Point;
|
|
89
88
|
}
|
|
89
|
+
export interface IdentifierModel {
|
|
90
|
+
name: string;
|
|
91
|
+
}
|
|
92
|
+
export interface IdentifierValueModel {
|
|
93
|
+
value: string;
|
|
94
|
+
}
|
|
90
95
|
export {};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ColorModel, CreatedByModel, IconModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
|
+
import { Organization } from './organizations';
|
|
3
|
+
import { Project } from './projects';
|
|
2
4
|
export interface Document extends UUIDModel, SubmittedAtModel, CreatedByModel, TimestampedModel, IconModel, ColorModel {
|
|
3
5
|
title: string | null;
|
|
4
6
|
description: string | null;
|
|
5
7
|
content: string | null;
|
|
6
|
-
parent_document:
|
|
7
|
-
children_documents:
|
|
8
|
-
project?:
|
|
9
|
-
organization?:
|
|
8
|
+
parent_document: Document["uuid"] | null;
|
|
9
|
+
children_documents: Document["uuid"][];
|
|
10
|
+
project?: Project["uuid"];
|
|
11
|
+
organization?: Organization["uuid"];
|
|
10
12
|
}
|
|
11
13
|
export type MovePosition = "left" | "right" | "left-child" | "right-child";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatedByModel, IndexedModel, Payload, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
1
|
+
import { CreatedByModel, IdentifierModel, IdentifierValueModel, IndexedModel, Payload, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
2
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesAttachmentModel, FieldValuesModel } from './fields';
|
|
3
3
|
export interface Form extends UUIDModel, SubmittedAtModel, CreatedByModel {
|
|
4
4
|
organization: string;
|
|
@@ -21,3 +21,10 @@ export interface FormSubmissionAttachment extends UUIDModel, SubmittedAtModel, T
|
|
|
21
21
|
export interface FormRevisionAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
22
22
|
form_revision: string;
|
|
23
23
|
}
|
|
24
|
+
export interface FormIdentifier extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierModel {
|
|
25
|
+
form: Form["uuid"];
|
|
26
|
+
}
|
|
27
|
+
export interface FormIdentifierValue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierValueModel {
|
|
28
|
+
form_submission: FormSubmission["uuid"];
|
|
29
|
+
form_identifier: FormIdentifier["uuid"];
|
|
30
|
+
}
|
|
@@ -10,8 +10,6 @@ export * from './fields';
|
|
|
10
10
|
export * from './forms';
|
|
11
11
|
export * from './geoImages';
|
|
12
12
|
export * from './issues';
|
|
13
|
-
export * from './issueTypes';
|
|
14
|
-
export * from './license';
|
|
15
13
|
export * from './organizations';
|
|
16
14
|
export * from './projects';
|
|
17
15
|
export * from './teams';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IssuePriority, IssueStatus, IssueUpdateChange } from '../../enums';
|
|
2
2
|
import { CSSColor } from '../colors';
|
|
3
|
-
import { CanvasMarkableModel, CreatedByModel, IndexedModel, MarkableModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
3
|
+
import { CanvasMarkableModel, ColorModel, CreatedByModel, IconModel, IdentifierModel, IdentifierValueModel, IndexedModel, MarkableModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
4
4
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
5
|
+
import { Organization } from './organizations';
|
|
5
6
|
import { User } from './users';
|
|
6
7
|
export interface Issue extends UUIDModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, IndexedModel {
|
|
7
8
|
title?: string | null;
|
|
@@ -58,3 +59,15 @@ export interface IssueTypeFieldValues extends UUIDModel, SubmittedAtModel, Times
|
|
|
58
59
|
export interface IssueTypeFieldValuesAttachment extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
59
60
|
field_values: string;
|
|
60
61
|
}
|
|
62
|
+
export interface IssueType extends UUIDModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
|
|
63
|
+
name?: string;
|
|
64
|
+
description?: string;
|
|
65
|
+
organization: Organization["uuid"];
|
|
66
|
+
}
|
|
67
|
+
export interface IssueTypeIdentifier extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierModel {
|
|
68
|
+
issue_type: IssueType["uuid"];
|
|
69
|
+
}
|
|
70
|
+
export interface IssueTypeIdentifierValue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, IdentifierValueModel {
|
|
71
|
+
issue: Issue["uuid"];
|
|
72
|
+
issue_type_identifier: IssueTypeIdentifier["uuid"];
|
|
73
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { OrganizationAccessLevel } from '../../enums';
|
|
2
|
-
import {
|
|
2
|
+
import { UUIDModel } from './base';
|
|
3
3
|
import { User } from './users';
|
|
4
|
-
export interface Organization extends UUIDModel
|
|
4
|
+
export interface Organization extends UUIDModel {
|
|
5
5
|
name: string;
|
|
6
|
-
has_access: boolean;
|
|
7
6
|
}
|
|
8
7
|
export interface OrganizationAccess extends UUIDModel {
|
|
9
8
|
user: User["id"];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { ProjectAccessLevel } from '../../enums';
|
|
2
1
|
import { FileWithNameModel } from '../files';
|
|
3
2
|
import { BoundableModel, CanvasBoundableModel, OwnedByOrganization, SubmittedAtModel, UUIDModel } from './base';
|
|
3
|
+
import { OrganizationAccess } from './organizations';
|
|
4
4
|
import { User } from './users';
|
|
5
5
|
export interface Project extends UUIDModel, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
|
|
6
6
|
name: string;
|
|
7
|
-
invited?: boolean;
|
|
8
|
-
issues_count?: number;
|
|
9
|
-
form_submissions_count?: number;
|
|
10
7
|
}
|
|
11
8
|
export interface ProjectFile extends UUIDModel, SubmittedAtModel, FileWithNameModel, BoundableModel, CanvasBoundableModel {
|
|
12
9
|
z_index: number;
|
|
@@ -15,5 +12,5 @@ export interface ProjectFile extends UUIDModel, SubmittedAtModel, FileWithNameMo
|
|
|
15
12
|
export interface ProjectAccess extends UUIDModel {
|
|
16
13
|
user: User["id"];
|
|
17
14
|
project: Project["uuid"];
|
|
18
|
-
|
|
15
|
+
organization_access: OrganizationAccess["uuid"];
|
|
19
16
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import { ColorModel, IconModel, SubmittedAtModel, UUIDModel } from './base';
|
|
1
|
+
import { ColorModel, IconModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
2
|
import { Organization } from './organizations';
|
|
3
3
|
import { User } from './users';
|
|
4
4
|
export interface Team extends UUIDModel, SubmittedAtModel, IconModel, ColorModel {
|
|
5
5
|
name: string;
|
|
6
6
|
parent: Team["uuid"] | null;
|
|
7
7
|
organization: Organization["uuid"];
|
|
8
|
-
|
|
8
|
+
}
|
|
9
|
+
export interface TeamMembership extends UUIDModel, TimestampedModel {
|
|
10
|
+
team: Team["uuid"];
|
|
11
|
+
user: User["id"];
|
|
9
12
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.78-identifiers.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@redux-offline/redux-offline": "^2.6.0",
|
|
23
23
|
"@reduxjs/toolkit": "^2.8.2",
|
|
24
|
-
"color": "^4.2.3",
|
|
25
24
|
"dependency-graph": "^1.0.0",
|
|
26
25
|
"file-saver": "^2.0.5",
|
|
27
26
|
"idb": "^7.1.1",
|
|
@@ -31,26 +30,21 @@
|
|
|
31
30
|
"redux-persist": "^4.0.0",
|
|
32
31
|
"redux-persist-migrate": "^5.0.0",
|
|
33
32
|
"superagent": "^8.1.2",
|
|
34
|
-
"uuid": "^11.1.0"
|
|
35
|
-
"yarn": "^1.22.22"
|
|
33
|
+
"uuid": "^11.1.0"
|
|
36
34
|
},
|
|
37
35
|
"devDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@overmap-ai/forms": "1.0.32-
|
|
36
|
+
"@eslint/js": "^9.38.0",
|
|
37
|
+
"@overmap-ai/forms": "1.0.32-condition-manager.1",
|
|
40
38
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
41
39
|
"@tiptap/core": "^3.0.7",
|
|
42
|
-
"@types/add": "^2",
|
|
43
|
-
"@types/color": "^3.0.4",
|
|
44
40
|
"@types/file-saver": "^2.0.7",
|
|
45
41
|
"@types/geojson": "^7946.0.16",
|
|
46
42
|
"@types/jwt-decode": "^3.1.0",
|
|
47
43
|
"@types/node": "^20.12.11",
|
|
48
|
-
"@types/react": "^19.1.8",
|
|
49
|
-
"@types/react-dom": "^19.0.3",
|
|
50
44
|
"@types/superagent": "^4.1.18",
|
|
51
45
|
"@types/uuid": "^9.0.3",
|
|
46
|
+
"@typescript-eslint/parser": "^8.46.2",
|
|
52
47
|
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
53
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
54
48
|
"@vitest/eslint-plugin": "^1.3.4",
|
|
55
49
|
"eslint": "^9.32.0",
|
|
56
50
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -66,7 +60,6 @@
|
|
|
66
60
|
"lint-staged": "^15.1.0",
|
|
67
61
|
"prettier": "^3.6.2",
|
|
68
62
|
"react": "^19.1.0",
|
|
69
|
-
"react-dom": "^19.0.0",
|
|
70
63
|
"rollup": "^4.45.3",
|
|
71
64
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
72
65
|
"typescript": "^5.2.2",
|
|
@@ -77,11 +70,11 @@
|
|
|
77
70
|
"vitest": "3.2.4"
|
|
78
71
|
},
|
|
79
72
|
"peerDependencies": {
|
|
80
|
-
"@overmap-ai/
|
|
81
|
-
"@overmap-ai/forms": "1.0.32-react-flow-david-fixes.6",
|
|
73
|
+
"@overmap-ai/forms": "1.0.32-condition-manager.1",
|
|
82
74
|
"@tiptap/core": "^2.4.0",
|
|
83
75
|
"react": ">=18.2.0 <20.0.0",
|
|
84
|
-
"react-dom": ">=18.2.0 <20.0.0"
|
|
76
|
+
"react-dom": ">=18.2.0 <20.0.0",
|
|
77
|
+
"react-redux": "^8.0.0 || ^9.0.0"
|
|
85
78
|
},
|
|
86
79
|
"resolutions": {
|
|
87
80
|
"strip-ansi": "6.0.1",
|
package/dist/enums/licenses.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum PaddleCheckoutEvent {
|
|
2
|
-
COMPLETED = "checkout.completed",
|
|
3
|
-
CLOSED = "checkout.closed"
|
|
4
|
-
}
|
|
5
|
-
export declare enum LicenseLevel {
|
|
6
|
-
PRO = 0
|
|
7
|
-
}
|
|
8
|
-
export declare enum LicenseStatus {
|
|
9
|
-
ACTIVE = 0,
|
|
10
|
-
PAUSED = 2,
|
|
11
|
-
CANCELLED = 4,
|
|
12
|
-
INACTIVE = 6,
|
|
13
|
-
PAST_DUE = 8
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OvermapRootState } from '../../store';
|
|
2
|
-
import { License, Organization, Project, Transaction } from '../../typings';
|
|
3
|
-
import { BaseSDK } from '../base';
|
|
4
|
-
import { BaseApiService } from './BaseApiService';
|
|
5
|
-
export declare abstract class LicenseService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
|
-
getLicense(license: License): Promise<License>;
|
|
7
|
-
pauseLicense(license: License): Promise<License>;
|
|
8
|
-
resumeLicense(license: License): Promise<License>;
|
|
9
|
-
cancelLicense(license: License): Promise<License>;
|
|
10
|
-
attachLicenseToProject(license: License, project: Project): Promise<License>;
|
|
11
|
-
detachLicenseFromProject(license: License): Promise<License>;
|
|
12
|
-
getLatestTransaction(license: License): Promise<Transaction>;
|
|
13
|
-
refreshStore(projectUuid: Project["uuid"], organizationUuid: Organization["uuid"]): Promise<void>;
|
|
14
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { License, Project, Stored } from '../../typings';
|
|
2
|
-
import { ModelState } from '../adapters';
|
|
3
|
-
import { OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
4
|
-
export type LicenseState = ModelState<License["uuid"], Stored<License>>;
|
|
5
|
-
export declare const licenseSlice: import('@reduxjs/toolkit').Slice<LicenseState, {
|
|
6
|
-
initializeLicences: (state: ModelState<string, Stored<License>>, action: {
|
|
7
|
-
payload: Stored<License>[];
|
|
8
|
-
type: string;
|
|
9
|
-
}) => void;
|
|
10
|
-
addLicenses: (state: ModelState<string, Stored<License>>, action: {
|
|
11
|
-
payload: Stored<License>[];
|
|
12
|
-
type: string;
|
|
13
|
-
}) => void;
|
|
14
|
-
updateLicense: (state: ModelState<string, Stored<License>>, action: {
|
|
15
|
-
payload: Stored<License>;
|
|
16
|
-
type: string;
|
|
17
|
-
}) => void;
|
|
18
|
-
}, "license", "license", import('@reduxjs/toolkit').SliceSelectors<LicenseState>>;
|
|
19
|
-
export declare const initializeLicences: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>[], "license/initializeLicences">, addLicenses: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>[], "license/addLicenses">, updateLicense: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<License>, "license/updateLicense">;
|
|
20
|
-
export declare const selectLicenses: OvermapSelector<Record<string, License>>;
|
|
21
|
-
export declare const selectLicense: OvermapSelectorWithArgs<License["uuid"], License | undefined>;
|
|
22
|
-
export declare const selectLicenseForProject: OvermapSelectorWithArgs<Project["uuid"], License | undefined>;
|
|
23
|
-
export declare const selectActiveStatusLicenses: OvermapSelector<License[]>;
|
|
24
|
-
export declare const selectLicensesForProjectsMapping: OvermapSelector<Record<number, License>>;
|
|
25
|
-
export declare const licenseReducer: import('redux').Reducer<LicenseState>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ColorModel, CreatedByModel, IconModel, SubmittedAtModel, UUIDModel } from './base';
|
|
2
|
-
import { Organization } from './organizations';
|
|
3
|
-
export interface IssueType extends UUIDModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
|
|
4
|
-
name?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
organization: Organization["uuid"];
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LicenseLevel, LicenseStatus } from '../../enums';
|
|
2
|
-
import { OwnedByOrganization, UUIDModel } from './base';
|
|
3
|
-
export interface Transaction {
|
|
4
|
-
id: string;
|
|
5
|
-
}
|
|
6
|
-
export interface License extends UUIDModel, OwnedByOrganization {
|
|
7
|
-
project: string | null;
|
|
8
|
-
level: LicenseLevel;
|
|
9
|
-
status: LicenseStatus;
|
|
10
|
-
is_special: boolean;
|
|
11
|
-
is_active: boolean;
|
|
12
|
-
next_billing_date: Date;
|
|
13
|
-
}
|