@overmap-ai/core 1.0.78-procedure-steps.5 → 1.0.78-view-sets.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 +2817 -2992
- package/dist/overmap-core.umd.cjs +7 -7
- package/dist/sdk/services/AssetService.d.ts +2 -1
- package/dist/sdk/services/CategoryService.d.ts +2 -2
- package/dist/sdk/services/OrganizationService.d.ts +2 -2
- package/dist/sdk/services/ProjectAccessService.d.ts +2 -2
- package/dist/sdk/services/ProjectAttachmentService.d.ts +2 -2
- package/dist/sdk/services/ProjectFileService.d.ts +0 -3
- package/dist/sdk/services/ProjectService.d.ts +2 -8
- package/dist/sdk/services/UserService.d.ts +2 -2
- package/dist/sdk/services/index.d.ts +0 -1
- package/dist/store/reducers.d.ts +0 -3
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +0 -2
- package/dist/store/slices/assetProcedureStepSlice.d.ts +0 -1
- package/dist/store/slices/assetSlice.d.ts +0 -1
- package/dist/store/slices/assetStageCompletionSlice.d.ts +0 -1
- package/dist/store/slices/assetStageSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +0 -1
- package/dist/store/slices/categorySlice.d.ts +0 -1
- package/dist/store/slices/documentSlice.d.ts +0 -1
- package/dist/store/slices/emailDomainsSlice.d.ts +0 -1
- package/dist/store/slices/formRevisionSlice.d.ts +0 -1
- package/dist/store/slices/formSlice.d.ts +0 -1
- package/dist/store/slices/geoImageSlice.d.ts +0 -1
- package/dist/store/slices/index.d.ts +0 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +0 -1
- package/dist/store/slices/organizationSlice.d.ts +1 -3
- package/dist/store/slices/projectFileSlice.d.ts +0 -1
- package/dist/store/slices/projectSlice.d.ts +2 -5
- package/dist/typings/models/assets.d.ts +1 -1
- package/dist/typings/models/base.d.ts +1 -2
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/projects.d.ts +2 -5
- package/package.json +4 -12
- 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/license.d.ts +0 -13
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.78-
|
|
6
|
+
"version": "1.0.78-view-sets.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
|
-
"@
|
|
36
|
+
"@eslint/js": "^9.38.0",
|
|
39
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,7 +70,6 @@
|
|
|
77
70
|
"vitest": "3.2.4"
|
|
78
71
|
},
|
|
79
72
|
"peerDependencies": {
|
|
80
|
-
"@overmap-ai/blocks": "1.0.40-alpha.1",
|
|
81
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",
|
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,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
|
-
}
|