@overmap-ai/core 1.0.78-procedure-steps.6 → 1.0.78-required-model-names.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 +6690 -5196
- package/dist/overmap-core.umd.cjs +9 -9
- package/dist/sdk/base.d.ts +2 -2
- package/dist/sdk/constants.d.ts +4 -0
- package/dist/sdk/index.d.ts +4 -1
- package/dist/sdk/middleware/OfflineAnalyticsMiddleware.d.ts +6 -0
- package/dist/sdk/middleware/OfflineMiddleware.d.ts +13 -0
- package/dist/sdk/middleware/RateLimitingMiddleware.d.ts +6 -0
- package/dist/sdk/middleware/constants.d.ts +1 -0
- package/dist/sdk/middleware/index.d.ts +5 -0
- package/dist/sdk/middleware/utils.d.ts +2 -0
- package/dist/sdk/outbox/globals.d.ts +2 -0
- package/dist/sdk/{classes → outbox}/index.d.ts +1 -0
- package/dist/sdk/services/AgentService.d.ts +2 -2
- package/dist/sdk/services/AssetAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureFieldsService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureInstanceService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureStepFieldValuesAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureStepFieldValuesService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureStepFieldsAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureStepFieldsService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureStepService.d.ts +6 -7
- package/dist/sdk/services/AssetService.d.ts +4 -3
- package/dist/sdk/services/AssetStageCompletionService.d.ts +2 -2
- package/dist/sdk/services/AssetStageService.d.ts +6 -7
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +2 -2
- 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 +2 -2
- package/dist/sdk/services/BaseService.d.ts +3 -2
- package/dist/sdk/services/CategoryService.d.ts +3 -3
- package/dist/sdk/services/DocumentAttachmentService.d.ts +3 -3
- package/dist/sdk/services/DocumentService.d.ts +3 -4
- package/dist/sdk/services/EmailDomainsService.d.ts +2 -2
- package/dist/sdk/services/FileService.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 +2 -2
- package/dist/sdk/services/FormRevisionService.d.ts +2 -2
- package/dist/sdk/services/FormService.d.ts +2 -2
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +3 -3
- package/dist/sdk/services/FormSubmissionService.d.ts +3 -3
- package/dist/sdk/services/GeoImageService.d.ts +2 -2
- package/dist/sdk/services/IssueAssociationService.d.ts +2 -2
- package/dist/sdk/services/IssueAttachmentService.d.ts +2 -2
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +2 -2
- package/dist/sdk/services/IssueCommentService.d.ts +2 -2
- package/dist/sdk/services/IssueService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +2 -2
- 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 +2 -2
- package/dist/sdk/services/IssueUpdateService.d.ts +3 -3
- package/dist/sdk/services/JWTAuthService.d.ts +1 -1
- package/dist/sdk/services/OrganizationAccessService.d.ts +6 -5
- package/dist/sdk/services/OrganizationService.d.ts +5 -5
- package/dist/sdk/services/ProjectAccessService.d.ts +7 -4
- package/dist/sdk/services/ProjectAttachmentService.d.ts +5 -5
- package/dist/sdk/services/ProjectFileService.d.ts +2 -5
- package/dist/sdk/services/ProjectService.d.ts +3 -9
- package/dist/sdk/services/TeamMembershipService.d.ts +11 -0
- package/dist/sdk/services/TeamService.d.ts +3 -6
- package/dist/sdk/services/UserService.d.ts +3 -3
- package/dist/sdk/services/index.d.ts +7 -1
- package/dist/sdk/typings.d.ts +11 -2
- package/dist/store/constants.d.ts +3 -1
- package/dist/store/index.d.ts +1 -0
- package/dist/store/reducers.d.ts +21 -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 +22 -2
- package/dist/store/slices/assetAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/assetProcedureAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +9 -3
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +10 -4
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +2 -84
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +9 -3
- package/dist/store/slices/assetProcedureSlice.d.ts +4 -86
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +8 -2
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +10 -4
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +15 -3
- package/dist/store/slices/assetProcedureStepSlice.d.ts +8 -2
- package/dist/store/slices/assetSlice.d.ts +8 -2
- package/dist/store/slices/assetStageCompletionSlice.d.ts +17 -3
- package/dist/store/slices/assetStageSlice.d.ts +8 -2
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +8 -2
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +8 -2
- 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 +3 -2
- package/dist/store/slices/categorySlice.d.ts +31 -5
- package/dist/store/slices/documentAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/documentSlice.d.ts +4 -89
- package/dist/store/slices/emailDomainsSlice.d.ts +38 -8
- package/dist/store/slices/formIdentifierSlice.d.ts +48 -0
- package/dist/store/slices/formIdentifierValueSlice.d.ts +49 -0
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionSlice.d.ts +23 -5
- package/dist/store/slices/formSlice.d.ts +26 -7
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +1 -3
- package/dist/store/slices/geoImageSlice.d.ts +10 -4
- package/dist/store/slices/index.d.ts +7 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +12 -6
- package/dist/store/slices/issueAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +3 -3
- package/dist/store/slices/issueCommentSlice.d.ts +15 -3
- package/dist/store/slices/issueSlice.d.ts +20 -5
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +8 -2
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +8 -2
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +8 -2
- 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 +25 -7
- package/dist/store/slices/issueUpdateSlice.d.ts +17 -4
- package/dist/store/slices/organizationAccessSlice.d.ts +37 -13
- package/dist/store/slices/organizationSlice.d.ts +9 -9
- package/dist/store/slices/projectAccessSlice.d.ts +28 -7
- package/dist/store/slices/projectAttachmentSlice.d.ts +2 -2
- package/dist/store/slices/projectFileSlice.d.ts +9 -3
- package/dist/store/slices/projectSlice.d.ts +12 -9
- package/dist/store/slices/teamMembershipSlice.d.ts +49 -0
- package/dist/store/slices/teamSlice.d.ts +22 -7
- package/dist/store/slices/userSlice.d.ts +91 -6
- package/dist/store/store.d.ts +2 -3
- package/dist/typings/models/assets.d.ts +16 -8
- package/dist/typings/models/attachments.d.ts +2 -2
- package/dist/typings/models/base.d.ts +15 -7
- package/dist/typings/models/documents.d.ts +6 -4
- package/dist/typings/models/forms.d.ts +9 -5
- package/dist/typings/models/geoImages.d.ts +2 -2
- package/dist/typings/models/index.d.ts +0 -2
- package/dist/typings/models/issues.d.ts +17 -5
- package/dist/typings/models/organizations.d.ts +3 -4
- package/dist/typings/models/projects.d.ts +7 -9
- package/dist/typings/models/teams.d.ts +8 -4
- package/dist/utils/index.d.ts +0 -1
- package/package.json +32 -55
- 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
- package/dist/typings/models/store.d.ts +0 -0
- package/dist/utils/coordinates.d.ts +0 -4
- /package/dist/sdk/{classes → outbox}/OutboxCoordinator.d.ts +0 -0
- /package/dist/sdk/{classes → outbox}/OutboxCoordinator.spec.d.ts +0 -0
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { ProjectAccessLevel } from '../../enums';
|
|
2
1
|
import { FileWithNameModel } from '../files';
|
|
3
|
-
import { BoundableModel, CanvasBoundableModel,
|
|
2
|
+
import { BoundableModel, CanvasBoundableModel, CreatedByModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
3
|
+
import { OrganizationAccess } from './organizations';
|
|
4
4
|
import { User } from './users';
|
|
5
|
-
export interface Project extends UUIDModel, BoundableModel, CanvasBoundableModel,
|
|
5
|
+
export interface Project extends UUIDModel, TimestampedModel, BoundableModel, CanvasBoundableModel, CreatedByModel {
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
8
|
-
issues_count?: number;
|
|
9
|
-
form_submissions_count?: number;
|
|
7
|
+
organization: string;
|
|
10
8
|
}
|
|
11
|
-
export interface ProjectFile extends UUIDModel, SubmittedAtModel, FileWithNameModel, BoundableModel, CanvasBoundableModel {
|
|
9
|
+
export interface ProjectFile extends UUIDModel, SubmittedAtModel, TimestampedModel, FileWithNameModel, BoundableModel, CanvasBoundableModel, CreatedByModel {
|
|
12
10
|
z_index: number;
|
|
13
11
|
project: Project["uuid"];
|
|
14
12
|
}
|
|
15
|
-
export interface ProjectAccess extends UUIDModel {
|
|
13
|
+
export interface ProjectAccess extends UUIDModel, CreatedByModel, TimestampedModel {
|
|
16
14
|
user: User["id"];
|
|
17
15
|
project: Project["uuid"];
|
|
18
|
-
|
|
16
|
+
organization_access: OrganizationAccess["uuid"];
|
|
19
17
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { ColorModel, IconModel, SubmittedAtModel, UUIDModel } from './base';
|
|
2
|
-
import { Organization } from './organizations';
|
|
1
|
+
import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
|
+
import { Organization, OrganizationAccess } from './organizations';
|
|
3
3
|
import { User } from './users';
|
|
4
|
-
export interface Team extends UUIDModel, SubmittedAtModel, IconModel, ColorModel {
|
|
4
|
+
export interface Team extends UUIDModel, TimestampedModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel, AbbreviationModel {
|
|
5
5
|
name: string;
|
|
6
6
|
parent: Team["uuid"] | null;
|
|
7
7
|
organization: Organization["uuid"];
|
|
8
|
-
|
|
8
|
+
}
|
|
9
|
+
export interface TeamMembership extends UUIDModel, TimestampedModel, CreatedByModel {
|
|
10
|
+
team: Team["uuid"];
|
|
11
|
+
user: User["id"];
|
|
12
|
+
organization_access: OrganizationAccess["uuid"];
|
|
9
13
|
}
|
package/dist/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,27 +1,44 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overmap-ai/core",
|
|
3
|
+
"version": "1.0.78-required-model-names.0",
|
|
3
4
|
"description": "Core functionality for Overmap",
|
|
4
|
-
"
|
|
5
|
+
"keywords": [
|
|
6
|
+
"components",
|
|
7
|
+
"geospacial",
|
|
8
|
+
"map",
|
|
9
|
+
"react"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://overmap.ai",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
14
|
+
},
|
|
5
15
|
"license": "UNLICENSED",
|
|
6
|
-
"
|
|
16
|
+
"author": "Wôrdn Inc.",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/hemora-app/overmap-core.git"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
7
24
|
"type": "module",
|
|
8
25
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
26
|
"module": "dist/overmap-core.js",
|
|
10
27
|
"types": "dist/index.d.ts",
|
|
11
28
|
"scripts": {
|
|
29
|
+
"build": "vite build",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"lint": "oxlint --type-aware --deny-warnings",
|
|
32
|
+
"lint:fix": "yarn lint --fix",
|
|
33
|
+
"format": "oxfmt",
|
|
34
|
+
"format:check": "yarn format --check",
|
|
12
35
|
"dev": "vite",
|
|
13
|
-
"build": "tsc --noEmit && vite build",
|
|
14
|
-
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --max-warnings 0",
|
|
15
|
-
"lint:fix": "eslint --report-unused-disable-directives --max-warnings 0 --fix",
|
|
16
|
-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
|
|
17
36
|
"preview": "vite preview",
|
|
18
|
-
"prepare": "husky",
|
|
19
37
|
"test": "npx vitest"
|
|
20
38
|
},
|
|
21
39
|
"dependencies": {
|
|
22
40
|
"@redux-offline/redux-offline": "^2.6.0",
|
|
23
41
|
"@reduxjs/toolkit": "^2.8.2",
|
|
24
|
-
"color": "^4.2.3",
|
|
25
42
|
"dependency-graph": "^1.0.0",
|
|
26
43
|
"file-saver": "^2.0.5",
|
|
27
44
|
"idb": "^7.1.1",
|
|
@@ -31,86 +48,46 @@
|
|
|
31
48
|
"redux-persist": "^4.0.0",
|
|
32
49
|
"redux-persist-migrate": "^5.0.0",
|
|
33
50
|
"superagent": "^8.1.2",
|
|
34
|
-
"uuid": "^11.1.0"
|
|
35
|
-
"yarn": "^1.22.22"
|
|
51
|
+
"uuid": "^11.1.0"
|
|
36
52
|
},
|
|
37
53
|
"devDependencies": {
|
|
38
|
-
"@overmap-ai/blocks": "1.0.40-alpha.1",
|
|
39
54
|
"@overmap-ai/forms": "1.0.32-condition-manager.1",
|
|
40
|
-
"@rollup/plugin-commonjs": "^28.0.6",
|
|
41
55
|
"@tiptap/core": "^3.0.7",
|
|
42
|
-
"@types/add": "^2",
|
|
43
|
-
"@types/color": "^3.0.4",
|
|
44
56
|
"@types/file-saver": "^2.0.7",
|
|
45
57
|
"@types/geojson": "^7946.0.16",
|
|
46
58
|
"@types/jwt-decode": "^3.1.0",
|
|
47
59
|
"@types/node": "^20.12.11",
|
|
48
|
-
"@types/react": "^19.1.8",
|
|
49
|
-
"@types/react-dom": "^19.0.3",
|
|
50
60
|
"@types/superagent": "^4.1.18",
|
|
51
61
|
"@types/uuid": "^9.0.3",
|
|
52
62
|
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
53
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
54
|
-
"@vitest/eslint-plugin": "^1.3.4",
|
|
55
|
-
"eslint": "^9.32.0",
|
|
56
|
-
"eslint-config-prettier": "^10.1.8",
|
|
57
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
58
|
-
"eslint-plugin-import-x": "^4.16.1",
|
|
59
|
-
"eslint-plugin-prettier": "^5.5.3",
|
|
60
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
61
63
|
"globals": "^16.3.0",
|
|
62
64
|
"happy-dom": "^15.10.2",
|
|
63
|
-
"husky": "^9.1.7",
|
|
64
|
-
"jiti": "^2.5.1",
|
|
65
65
|
"jsdom": "^23.2.0",
|
|
66
|
-
"
|
|
66
|
+
"oxfmt": "^0.23.0",
|
|
67
|
+
"oxlint": "^1.38.0",
|
|
68
|
+
"oxlint-tsgolint": "^0.11.0",
|
|
67
69
|
"prettier": "^3.6.2",
|
|
68
70
|
"react": "^19.1.0",
|
|
69
|
-
"react-dom": "^19.0.0",
|
|
70
71
|
"rollup": "^4.45.3",
|
|
71
72
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
72
73
|
"typescript": "^5.2.2",
|
|
73
|
-
"typescript-eslint": "^8.38.0",
|
|
74
74
|
"vite": "^6.3.4",
|
|
75
75
|
"vite-plugin-dts": "^4.5.4",
|
|
76
76
|
"vite-plugin-externalize-deps": "^0.9.0",
|
|
77
77
|
"vitest": "3.2.4"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@overmap-ai/blocks": "1.0.40-alpha.1",
|
|
81
80
|
"@overmap-ai/forms": "1.0.32-condition-manager.1",
|
|
82
81
|
"@tiptap/core": "^2.4.0",
|
|
83
82
|
"react": ">=18.2.0 <20.0.0",
|
|
84
|
-
"react-dom": ">=18.2.0 <20.0.0"
|
|
83
|
+
"react-dom": ">=18.2.0 <20.0.0",
|
|
84
|
+
"react-redux": "^8.0.0 || ^9.0.0"
|
|
85
85
|
},
|
|
86
86
|
"resolutions": {
|
|
87
|
-
"strip-ansi": "6.0.1",
|
|
88
87
|
"string-width": "4.2.2",
|
|
88
|
+
"strip-ansi": "6.0.1",
|
|
89
89
|
"wrap-ansi": "7.0.0"
|
|
90
90
|
},
|
|
91
|
-
"lint-staged": {
|
|
92
|
-
"src/**/*.{js,jsx,ts,tsx}": [
|
|
93
|
-
"yarn lint",
|
|
94
|
-
"yarn format"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
"files": [
|
|
98
|
-
"dist"
|
|
99
|
-
],
|
|
100
|
-
"keywords": [
|
|
101
|
-
"react",
|
|
102
|
-
"geospacial",
|
|
103
|
-
"map",
|
|
104
|
-
"components"
|
|
105
|
-
],
|
|
106
|
-
"homepage": "https://overmap.ai",
|
|
107
|
-
"repository": {
|
|
108
|
-
"type": "git",
|
|
109
|
-
"url": "git+https://github.com/hemora-app/overmap-core.git"
|
|
110
|
-
},
|
|
111
|
-
"bugs": {
|
|
112
|
-
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
113
|
-
},
|
|
114
91
|
"volta": {
|
|
115
92
|
"node": "22.17.0",
|
|
116
93
|
"yarn": "4.9.2"
|
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
|
-
}
|
|
File without changes
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { MultiPoint, Point, Position } from 'geojson';
|
|
2
|
-
export declare const createPointGeometry: (position: Position) => Point;
|
|
3
|
-
export declare const createMultiPointGeometry: (coordinates: Position[]) => MultiPoint;
|
|
4
|
-
export declare const coordinatesAreEqual: (a: Position, b: Position) => boolean;
|
|
File without changes
|
|
File without changes
|