@overmap-ai/core 1.0.74-remove-workspaces.0 → 1.0.74-standardizations.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 +6 -4
- package/dist/overmap-core.js +4692 -3633
- package/dist/overmap-core.umd.cjs +9 -9
- package/dist/sdk/services/AgentService.d.ts +6 -6
- package/dist/sdk/services/AssetAttachmentService.d.ts +9 -9
- package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +15 -0
- package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +21 -0
- package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +12 -0
- package/dist/sdk/services/AssetProcedureFieldsService.d.ts +8 -0
- package/dist/sdk/services/AssetProcedureInstanceService.d.ts +10 -0
- package/dist/sdk/services/AssetProcedureService.d.ts +10 -0
- package/dist/sdk/services/AssetService.d.ts +5 -5
- package/dist/sdk/services/AssetStageCompletionService.d.ts +4 -4
- package/dist/sdk/services/AssetStageService.d.ts +6 -6
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +9 -9
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +4 -4
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +6 -6
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +3 -3
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeService.d.ts +4 -4
- package/dist/sdk/services/BaseAttachmentService.d.ts +14 -14
- package/dist/sdk/services/CategoryService.d.ts +4 -4
- package/dist/sdk/services/DocumentAttachmentService.d.ts +9 -9
- package/dist/sdk/services/DocumentService.d.ts +5 -5
- package/dist/sdk/services/EmailDomainsService.d.ts +3 -3
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +3 -3
- package/dist/sdk/services/FormRevisionService.d.ts +2 -2
- package/dist/sdk/services/FormService.d.ts +3 -3
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +4 -4
- package/dist/sdk/services/FormSubmissionService.d.ts +4 -4
- package/dist/sdk/services/GeoImageService.d.ts +5 -5
- package/dist/sdk/services/IssueAssociationService.d.ts +3 -3
- package/dist/sdk/services/IssueAttachmentService.d.ts +10 -9
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +40 -0
- package/dist/sdk/services/IssueCommentService.d.ts +4 -4
- package/dist/sdk/services/IssueService.d.ts +4 -4
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +40 -0
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +4 -4
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +4 -4
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +3 -3
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeService.d.ts +4 -4
- package/dist/sdk/services/IssueUpdateService.d.ts +2 -2
- package/dist/sdk/services/LicenseService.d.ts +2 -2
- package/dist/sdk/services/OrganizationAccessService.d.ts +2 -5
- package/dist/sdk/services/OrganizationService.d.ts +3 -3
- package/dist/sdk/services/ProjectAccessService.d.ts +3 -6
- package/dist/sdk/services/ProjectAttachmentService.d.ts +11 -11
- package/dist/sdk/services/ProjectFileService.d.ts +3 -3
- package/dist/sdk/services/ProjectService.d.ts +5 -5
- package/dist/sdk/services/TeamService.d.ts +7 -7
- package/dist/sdk/services/UserService.d.ts +2 -2
- package/dist/sdk/services/index.d.ts +8 -0
- package/dist/store/adapters/index.d.ts +2 -0
- package/dist/store/adapters/modelAdapter.d.ts +15 -0
- package/dist/store/adapters/selectionAdapter.d.ts +13 -0
- package/dist/store/index.d.ts +1 -1
- package/dist/store/slices/agentsSlice.d.ts +8 -9
- package/dist/store/slices/assetAttachmentSlice.d.ts +20 -19
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +68 -0
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +68 -0
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +67 -0
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +68 -0
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +69 -0
- package/dist/store/slices/assetProcedureSlice.d.ts +68 -0
- package/dist/store/slices/assetSlice.d.ts +21 -16
- package/dist/store/slices/assetStageCompletionSlice.d.ts +29 -24
- package/dist/store/slices/assetStageSlice.d.ts +29 -24
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +20 -19
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +20 -15
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +21 -16
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +20 -15
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +21 -16
- package/dist/store/slices/assetTypeSlice.d.ts +20 -15
- package/dist/store/slices/authSlice.d.ts +3 -3
- package/dist/store/slices/categorySlice.d.ts +10 -8
- package/dist/store/slices/documentAttachmentSlice.d.ts +20 -19
- package/dist/store/slices/documentSlice.d.ts +4 -5
- package/dist/store/slices/emailDomainsSlice.d.ts +15 -13
- package/dist/store/slices/fileSlice.d.ts +2 -2
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +19 -14
- package/dist/store/slices/formRevisionSlice.d.ts +18 -14
- package/dist/store/slices/formSlice.d.ts +14 -17
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +19 -14
- package/dist/store/slices/formSubmissionSlice.d.ts +20 -15
- package/dist/store/slices/geoImageSlice.d.ts +28 -23
- package/dist/store/slices/index.d.ts +8 -0
- package/dist/store/slices/issueAssociationSlice.d.ts +18 -13
- package/dist/store/slices/issueAttachmentSlice.d.ts +18 -17
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +47 -0
- package/dist/store/slices/issueCommentSlice.d.ts +15 -10
- package/dist/store/slices/issueSlice.d.ts +15 -10
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +47 -0
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +20 -15
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +20 -15
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +20 -15
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +22 -17
- package/dist/store/slices/issueTypeSlice.d.ts +15 -13
- package/dist/store/slices/issueUpdateSlice.d.ts +14 -9
- package/dist/store/slices/licenseSlice.d.ts +12 -13
- package/dist/store/slices/organizationAccessSlice.d.ts +15 -13
- package/dist/store/slices/organizationSlice.d.ts +45 -11
- package/dist/store/slices/outboxSlice.d.ts +2 -2
- package/dist/store/slices/projectAccessSlice.d.ts +17 -12
- package/dist/store/slices/projectAttachmentSlice.d.ts +19 -18
- package/dist/store/slices/projectFileSlice.d.ts +19 -14
- package/dist/store/slices/projectSlice.d.ts +61 -15
- package/dist/store/slices/rehydratedSlice.d.ts +2 -2
- package/dist/store/slices/teamSlice.d.ts +13 -11
- package/dist/store/slices/userSlice.d.ts +47 -10
- package/dist/store/slices/versioningSlice.d.ts +1 -2
- package/dist/store/store.d.ts +53 -46
- package/dist/store/typings.d.ts +5 -2
- package/dist/typings/models/agents.d.ts +2 -2
- package/dist/typings/models/assets.d.ts +36 -12
- package/dist/typings/models/attachments.d.ts +9 -3
- package/dist/typings/models/base.d.ts +18 -13
- package/dist/typings/models/categories.d.ts +3 -3
- package/dist/typings/models/documents.d.ts +4 -4
- package/dist/typings/models/emailDomain.d.ts +3 -3
- package/dist/typings/models/emailVerification.d.ts +5 -5
- package/dist/typings/models/fields.d.ts +1 -1
- package/dist/typings/models/forms.d.ts +8 -8
- package/dist/typings/models/geoImages.d.ts +5 -4
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/issueTypes.d.ts +3 -3
- package/dist/typings/models/issues.d.ts +33 -45
- package/dist/typings/models/license.d.ts +3 -3
- package/dist/typings/models/organizations.d.ts +9 -3
- package/dist/typings/models/projects.d.ts +11 -5
- package/dist/typings/models/store.d.ts +9 -1
- package/dist/typings/models/teams.d.ts +4 -4
- package/dist/typings/models/users.d.ts +2 -4
- package/dist/utils/offline.d.ts +4 -3
- package/dist/utils/utils.d.ts +3 -2
- package/package.json +5 -5
- package/dist/store/adapter.d.ts +0 -15
- package/dist/typings/models/access.d.ts +0 -13
|
@@ -1,38 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IssueTypeFieldsAttachment, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
1
|
+
import { IssueTypeFields, IssueTypeFieldsAttachment, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueTypeFieldsAttachmentState = ModelState<Stored<IssueTypeFieldsAttachment>>;
|
|
3
|
+
export type IssueTypeFieldsAttachmentState = ModelState<IssueTypeFieldsAttachment["uuid"], Stored<IssueTypeFieldsAttachment>>;
|
|
5
4
|
export declare const issueTypeFieldsAttachmentSlice: import('@reduxjs/toolkit').Slice<IssueTypeFieldsAttachmentState, {
|
|
6
|
-
initializeIssueTypeFieldsAttachments: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
5
|
+
initializeIssueTypeFieldsAttachments: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
7
6
|
payload: Stored<IssueTypeFieldsAttachment>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssueTypeFieldsAttachment: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
9
|
+
addIssueTypeFieldsAttachment: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
11
10
|
payload: Stored<IssueTypeFieldsAttachment>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueTypeFieldsAttachments: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
13
|
+
addIssueTypeFieldsAttachments: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
15
14
|
payload: Stored<IssueTypeFieldsAttachment>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setIssueTypeFieldsAttachment: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
17
|
+
setIssueTypeFieldsAttachment: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
19
18
|
payload: Stored<IssueTypeFieldsAttachment>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setIssueTypeFieldsAttachments: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
21
|
+
setIssueTypeFieldsAttachments: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
23
22
|
payload: Stored<IssueTypeFieldsAttachment>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateIssueTypeFieldsAttachment: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
25
|
+
updateIssueTypeFieldsAttachment: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
27
26
|
payload: Stored<IssueTypeFieldsAttachment>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateIssueTypeFieldsAttachments: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action: {
|
|
29
|
+
updateIssueTypeFieldsAttachments: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
31
30
|
payload: Stored<IssueTypeFieldsAttachment>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteIssueTypeFieldsAttachment: (state: ModelState<Stored<IssueTypeFieldsAttachment>>, action:
|
|
35
|
-
|
|
33
|
+
deleteIssueTypeFieldsAttachment: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueTypeFieldsAttachments: (state: ModelState<string, Stored<IssueTypeFieldsAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
36
41
|
}, "issueTypeFieldsAttachments", "issueTypeFieldsAttachments", import('@reduxjs/toolkit').SliceSelectors<IssueTypeFieldsAttachmentState>>;
|
|
37
42
|
export declare const initializeIssueTypeFieldsAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/initializeIssueTypeFieldsAttachments">, addIssueTypeFieldsAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/addIssueTypeFieldsAttachment">, addIssueTypeFieldsAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/addIssueTypeFieldsAttachments">, setIssueTypeFieldsAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/setIssueTypeFieldsAttachment">, setIssueTypeFieldsAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/setIssueTypeFieldsAttachments">, updateIssueTypeFieldsAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/updateIssueTypeFieldsAttachment">, updateIssueTypeFieldsAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/updateIssueTypeFieldsAttachments">, deleteIssueTypeFieldsAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeFieldsAttachments/deleteIssueTypeFieldsAttachment">, deleteIssueTypeFieldsAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueTypeFieldsAttachments/deleteIssueTypeFieldsAttachments">;
|
|
38
43
|
export declare const selectIssueTypeFieldsAttachmentsMapping: (state: OvermapRootState) => Record<string, Stored<IssueTypeFieldsAttachment>>;
|
|
@@ -57,6 +62,6 @@ export declare const selectIssueTypeFieldsAttachments: ((state: OvermapRootState
|
|
|
57
62
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
58
63
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
64
|
};
|
|
60
|
-
export declare const selectAttachmentsOfIssueTypeFields: OvermapSelectorWithArgs<
|
|
61
|
-
export declare const selectIssueTypeFieldsAttachmentById: OvermapSelectorWithArgs<
|
|
62
|
-
export declare const issueTypeFieldsAttachmentReducer: Reducer<IssueTypeFieldsAttachmentState>;
|
|
65
|
+
export declare const selectAttachmentsOfIssueTypeFields: OvermapSelectorWithArgs<IssueTypeFields["uuid"], Stored<IssueTypeFieldsAttachment>[]>;
|
|
66
|
+
export declare const selectIssueTypeFieldsAttachmentById: OvermapSelectorWithArgs<IssueTypeFieldsAttachment["uuid"], Stored<IssueTypeFieldsAttachment> | undefined>;
|
|
67
|
+
export declare const issueTypeFieldsAttachmentReducer: import('redux').Reducer<IssueTypeFieldsAttachmentState>;
|
|
@@ -1,38 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IssueTypeFields, IssueTypeFieldValues, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
1
|
+
import { IssueType, IssueTypeFields, IssueTypeFieldValues, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueTypeFieldsState = ModelState<Stored<IssueTypeFields>>;
|
|
3
|
+
export type IssueTypeFieldsState = ModelState<IssueTypeFields["uuid"], Stored<IssueTypeFields>>;
|
|
5
4
|
export declare const issueTypeFieldsSlice: import('@reduxjs/toolkit').Slice<IssueTypeFieldsState, {
|
|
6
|
-
initializeIssueTypeFields: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
5
|
+
initializeIssueTypeFields: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
7
6
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssueTypeFields: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
9
|
+
addIssueTypeFields: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
11
10
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueTypeFieldsMany: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
13
|
+
addIssueTypeFieldsMany: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
15
14
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setIssueTypeFields: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
17
|
+
setIssueTypeFields: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
19
18
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setIssueTypeFieldsMany: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
21
|
+
setIssueTypeFieldsMany: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
23
22
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateIssueTypeFields: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
25
|
+
updateIssueTypeFields: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
27
26
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateIssueTypeFieldsMany: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
29
|
+
updateIssueTypeFieldsMany: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
31
30
|
payload: Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteIssueTypeFields: (state: ModelState<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action:
|
|
35
|
-
|
|
33
|
+
deleteIssueTypeFields: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueTypeFieldsMany: (state: ModelState<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
36
41
|
}, "issueTypeFields", "issueTypeFields", import('@reduxjs/toolkit').SliceSelectors<IssueTypeFieldsState>>;
|
|
37
42
|
export declare const initializeIssueTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "issueTypeFields/initializeIssueTypeFields">, addIssueTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>, "issueTypeFields/addIssueTypeFields">, addIssueTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "issueTypeFields/addIssueTypeFieldsMany">, setIssueTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>, "issueTypeFields/setIssueTypeFields">, setIssueTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "issueTypeFields/setIssueTypeFieldsMany">, updateIssueTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>, "issueTypeFields/updateIssueTypeFields">, updateIssueTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "issueTypeFields/updateIssueTypeFieldsMany">, deleteIssueTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeFields/deleteIssueTypeFields">, deleteIssueTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueTypeFields/deleteIssueTypeFieldsMany">;
|
|
38
43
|
export declare const selectIssueTypeFieldsMapping: (state: OvermapRootState) => Record<string, Stored<IssueTypeFields<import('@overmap-ai/forms').ISerializedField>>>;
|
|
@@ -57,8 +62,8 @@ export declare const selectIssueTypeFields: ((state: OvermapRootState) => Stored
|
|
|
57
62
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
58
63
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
64
|
};
|
|
60
|
-
export declare const selectIssueTypeFieldsOfIssueType: OvermapSelectorWithArgs<
|
|
61
|
-
export declare const selectLatestIssueTypeFieldsOfIssueType: OvermapSelectorWithArgs<
|
|
62
|
-
export declare const selectIssueTypeValuesOfIssueType: OvermapSelectorWithArgs<
|
|
63
|
-
export declare const selectIssueTypeFieldsById: OvermapSelectorWithArgs<
|
|
64
|
-
export declare const issueTypeFieldsReducer: Reducer<IssueTypeFieldsState>;
|
|
65
|
+
export declare const selectIssueTypeFieldsOfIssueType: OvermapSelectorWithArgs<IssueType["uuid"], Stored<IssueTypeFields>[]>;
|
|
66
|
+
export declare const selectLatestIssueTypeFieldsOfIssueType: OvermapSelectorWithArgs<IssueType["uuid"], Stored<IssueTypeFields> | undefined>;
|
|
67
|
+
export declare const selectIssueTypeValuesOfIssueType: OvermapSelectorWithArgs<IssueType["uuid"], Stored<IssueTypeFieldValues>[]>;
|
|
68
|
+
export declare const selectIssueTypeFieldsById: OvermapSelectorWithArgs<IssueTypeFields["uuid"], Stored<IssueTypeFields> | undefined>;
|
|
69
|
+
export declare const issueTypeFieldsReducer: import('redux').Reducer<IssueTypeFieldsState>;
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { Issue, IssueType, Organization, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueTypeState = ModelState<Stored<IssueType>>;
|
|
3
|
+
export type IssueTypeState = ModelState<IssueType["uuid"], Stored<IssueType>>;
|
|
5
4
|
export declare const issueTypeSlice: import('@reduxjs/toolkit').Slice<IssueTypeState, {
|
|
6
|
-
initializeIssueTypes: (state: ModelState<Stored<IssueType>>, action: {
|
|
5
|
+
initializeIssueTypes: (state: ModelState<string, Stored<IssueType>>, action: {
|
|
7
6
|
payload: Stored<IssueType>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
setIssueType: (state: ModelState<Stored<IssueType>>, action: {
|
|
9
|
+
setIssueType: (state: ModelState<string, Stored<IssueType>>, action: {
|
|
11
10
|
payload: Stored<IssueType>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueType: (state: ModelState<Stored<IssueType>>, action: {
|
|
13
|
+
addIssueType: (state: ModelState<string, Stored<IssueType>>, action: {
|
|
15
14
|
payload: Stored<IssueType>;
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
updateIssueType: (state: ModelState<Stored<IssueType>>, action: {
|
|
17
|
+
updateIssueType: (state: ModelState<string, Stored<IssueType>>, action: {
|
|
19
18
|
payload: Stored<IssueType>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
removeIssueType: (state: ModelState<Stored<IssueType>>, action:
|
|
21
|
+
removeIssueType: (state: ModelState<string, Stored<IssueType>>, action: {
|
|
22
|
+
payload: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
23
25
|
}, "issueTypes", "issueTypes", import('@reduxjs/toolkit').SliceSelectors<IssueTypeState>>;
|
|
24
26
|
export declare const initializeIssueTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueType>[], "issueTypes/initializeIssueTypes">, setIssueType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/setIssueType">, addIssueType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/addIssueType">, updateIssueType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueType>, "issueTypes/updateIssueType">, removeIssueType: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypes/removeIssueType">;
|
|
25
27
|
export declare const selectIssueTypeMapping: OvermapSelector<IssueTypeState["instances"]>;
|
|
26
28
|
export declare const selectIssueTypes: OvermapSelector<Stored<IssueType>[]>;
|
|
27
|
-
export declare const selectIssueTypeById: OvermapSelectorWithArgs<
|
|
28
|
-
export declare const selectIssueTypesByIds: OvermapSelectorWithArgs<
|
|
29
|
-
export declare const selectIssueTypesOfOrganization: OvermapSelectorWithArgs<Organization["
|
|
30
|
-
export declare const selectIssuesOfIssueType: OvermapSelectorWithArgs<IssueType["
|
|
31
|
-
export declare const selectIssuesOfIssueTypeCount: OvermapSelectorWithArgs<IssueType["
|
|
32
|
-
export declare const issueTypeReducer: Reducer<IssueTypeState>;
|
|
29
|
+
export declare const selectIssueTypeById: OvermapSelectorWithArgs<IssueType["uuid"], Stored<IssueType> | undefined>;
|
|
30
|
+
export declare const selectIssueTypesByIds: OvermapSelectorWithArgs<IssueType["uuid"][], Stored<IssueType>[]>;
|
|
31
|
+
export declare const selectIssueTypesOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Stored<IssueType>[]>;
|
|
32
|
+
export declare const selectIssuesOfIssueType: OvermapSelectorWithArgs<IssueType["uuid"], Stored<Issue>[]>;
|
|
33
|
+
export declare const selectIssuesOfIssueTypeCount: OvermapSelectorWithArgs<IssueType["uuid"], number>;
|
|
34
|
+
export declare const issueTypeReducer: import('redux').Reducer<IssueTypeState>;
|
|
@@ -1,28 +1,33 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { IssueUpdate, OvermapRootState, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueUpdateState = ModelState<Stored<IssueUpdate>>;
|
|
3
|
+
export type IssueUpdateState = ModelState<IssueUpdate["uuid"], Stored<IssueUpdate>>;
|
|
5
4
|
export declare const issueUpdateSlice: import('@reduxjs/toolkit').Slice<IssueUpdateState, {
|
|
6
|
-
initializeIssueUpdates: (state: ModelState<Stored<IssueUpdate>>, action: {
|
|
5
|
+
initializeIssueUpdates: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
7
6
|
payload: Stored<IssueUpdate>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
setIssueUpdate: (state: ModelState<Stored<IssueUpdate>>, action: {
|
|
9
|
+
setIssueUpdate: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
11
10
|
payload: Stored<IssueUpdate>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueUpdate: (state: ModelState<Stored<IssueUpdate>>, action: {
|
|
13
|
+
addIssueUpdate: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
15
14
|
payload: Stored<IssueUpdate>;
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
addIssueUpdates: (state: ModelState<Stored<IssueUpdate>>, action: {
|
|
17
|
+
addIssueUpdates: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
19
18
|
payload: Stored<IssueUpdate>[];
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
deleteIssueUpdate: (state: ModelState<Stored<IssueUpdate>>, action:
|
|
23
|
-
|
|
21
|
+
deleteIssueUpdate: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
22
|
+
payload: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
deleteIssueUpdates: (state: ModelState<string, Stored<IssueUpdate>>, action: {
|
|
26
|
+
payload: string[];
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
24
29
|
}, "issueUpdates", "issueUpdates", import('@reduxjs/toolkit').SliceSelectors<IssueUpdateState>>;
|
|
25
30
|
export declare const initializeIssueUpdates: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueUpdate>[], "issueUpdates/initializeIssueUpdates">, setIssueUpdate: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueUpdate>, "issueUpdates/setIssueUpdate">, addIssueUpdate: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueUpdate>, "issueUpdates/addIssueUpdate">, addIssueUpdates: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueUpdate>[], "issueUpdates/addIssueUpdates">, deleteIssueUpdate: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueUpdates/deleteIssueUpdate">, deleteIssueUpdates: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueUpdates/deleteIssueUpdates">;
|
|
26
31
|
export declare const selectIssueUpdateMapping: (state: OvermapRootState) => Record<string, Stored<IssueUpdate>>;
|
|
27
32
|
export declare const selectIssueUpdatesOfIssue: (args: string) => (state: OvermapRootState) => Stored<IssueUpdate>[];
|
|
28
|
-
export declare const issueUpdateReducer: Reducer<IssueUpdateState>;
|
|
33
|
+
export declare const issueUpdateReducer: import('redux').Reducer<IssueUpdateState>;
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { License, OvermapSelector, OvermapSelectorWithArgs } from '../../typings';
|
|
1
|
+
import { License, OvermapSelector, OvermapSelectorWithArgs, Project, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type LicenseState = ModelState<License
|
|
3
|
+
export type LicenseState = ModelState<License["uuid"], Stored<License>>;
|
|
5
4
|
export declare const licenseSlice: import('@reduxjs/toolkit').Slice<LicenseState, {
|
|
6
|
-
initializeLicences: (state: ModelState<License
|
|
7
|
-
payload: License[];
|
|
5
|
+
initializeLicences: (state: ModelState<string, Stored<License>>, action: {
|
|
6
|
+
payload: Stored<License>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addLicenses: (state: ModelState<License
|
|
11
|
-
payload: License[];
|
|
9
|
+
addLicenses: (state: ModelState<string, Stored<License>>, action: {
|
|
10
|
+
payload: Stored<License>[];
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
updateLicense: (state: ModelState<License
|
|
15
|
-
payload: License
|
|
13
|
+
updateLicense: (state: ModelState<string, Stored<License>>, action: {
|
|
14
|
+
payload: Stored<License>;
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
17
|
}, "license", "license", import('@reduxjs/toolkit').SliceSelectors<LicenseState>>;
|
|
19
|
-
export declare const initializeLicences: import('@reduxjs/toolkit').ActionCreatorWithPayload<License[], "license/initializeLicences">, addLicenses: import('@reduxjs/toolkit').ActionCreatorWithPayload<License[], "license/addLicenses">, updateLicense: import('@reduxjs/toolkit').ActionCreatorWithPayload<License
|
|
18
|
+
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
19
|
export declare const selectLicenses: OvermapSelector<Record<string, License>>;
|
|
21
|
-
export declare const selectLicense: OvermapSelectorWithArgs<
|
|
22
|
-
export declare const selectLicenseForProject: OvermapSelectorWithArgs<
|
|
20
|
+
export declare const selectLicense: OvermapSelectorWithArgs<License["uuid"], License | undefined>;
|
|
21
|
+
export declare const selectLicenseForProject: OvermapSelectorWithArgs<Project["uuid"], License | undefined>;
|
|
23
22
|
export declare const selectActiveStatusLicenses: OvermapSelector<License[]>;
|
|
24
23
|
export declare const selectLicensesForProjectsMapping: OvermapSelector<Record<number, License>>;
|
|
25
|
-
export declare const licenseReducer: Reducer<LicenseState>;
|
|
24
|
+
export declare const licenseReducer: import('redux').Reducer<LicenseState>;
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OrganizationAccess, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, User } from '../../typings';
|
|
1
|
+
import { OrganizationAccess, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored, User } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type OrganizationAccessState = ModelState<OrganizationAccess
|
|
3
|
+
export type OrganizationAccessState = ModelState<OrganizationAccess["uuid"], Stored<OrganizationAccess>>;
|
|
5
4
|
export declare const organizationAccessSlice: import('@reduxjs/toolkit').Slice<OrganizationAccessState, {
|
|
6
|
-
initializeOrganizationAccesses: (state: ModelState<OrganizationAccess
|
|
7
|
-
payload: OrganizationAccess[];
|
|
5
|
+
initializeOrganizationAccesses: (state: ModelState<string, Stored<OrganizationAccess>>, action: {
|
|
6
|
+
payload: Stored<OrganizationAccess>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
updateOrganizationAccess: (state: ModelState<OrganizationAccess
|
|
11
|
-
payload: OrganizationAccess
|
|
9
|
+
updateOrganizationAccess: (state: ModelState<string, Stored<OrganizationAccess>>, action: {
|
|
10
|
+
payload: Stored<OrganizationAccess>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
deleteOrganizationAccess: (state: ModelState<string, Stored<OrganizationAccess>>, action: {
|
|
14
|
+
payload: string;
|
|
12
15
|
type: string;
|
|
13
16
|
}) => void;
|
|
14
|
-
deleteOrganizationAccess: (state: ModelState<OrganizationAccess>, action: import('@reduxjs/toolkit').PayloadAction<string>) => void;
|
|
15
17
|
}, "organizationAccess", "organizationAccess", import('@reduxjs/toolkit').SliceSelectors<OrganizationAccessState>>;
|
|
16
|
-
export declare const initializeOrganizationAccesses: import('@reduxjs/toolkit').ActionCreatorWithPayload<OrganizationAccess[], "organizationAccess/initializeOrganizationAccesses">, updateOrganizationAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<OrganizationAccess
|
|
17
|
-
export declare const selectOrganizationAccesses: (state: OvermapRootState) => Record<string, OrganizationAccess
|
|
18
|
-
export declare const selectOrganizationAccessById: OvermapSelectorWithArgs<
|
|
18
|
+
export declare const initializeOrganizationAccesses: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<OrganizationAccess>[], "organizationAccess/initializeOrganizationAccesses">, updateOrganizationAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<OrganizationAccess>, "organizationAccess/updateOrganizationAccess">, deleteOrganizationAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "organizationAccess/deleteOrganizationAccess">;
|
|
19
|
+
export declare const selectOrganizationAccesses: (state: OvermapRootState) => Record<string, Stored<OrganizationAccess>>;
|
|
20
|
+
export declare const selectOrganizationAccessById: OvermapSelectorWithArgs<OrganizationAccess["uuid"], OrganizationAccess | undefined>;
|
|
19
21
|
export declare const selectActiveOrganizationAccess: OvermapSelector<OrganizationAccess | null>;
|
|
20
22
|
export declare const selectOrganizationAccessForUser: OvermapSelectorWithArgs<User, OrganizationAccess | undefined>;
|
|
21
|
-
export declare const selectOrganizationAccessUserMapping: (state: OvermapRootState) => Record<
|
|
22
|
-
export declare const organizationAccessReducer: Reducer<OrganizationAccessState>;
|
|
23
|
+
export declare const selectOrganizationAccessUserMapping: (state: OvermapRootState) => Record<string, Stored<OrganizationAccess>>;
|
|
24
|
+
export declare const organizationAccessReducer: import('redux').Reducer<OrganizationAccessState>;
|
|
@@ -1,12 +1,46 @@
|
|
|
1
|
-
import { PayloadAction, Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { License, Organization, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Project, User } from '../../typings';
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import { ModelState } from '../typings';
|
|
3
|
+
export interface OrganizationState extends ModelState<Organization["uuid"], Organization> {
|
|
5
4
|
}
|
|
6
5
|
export declare const organizationSlice: import('@reduxjs/toolkit').Slice<OrganizationState, {
|
|
7
|
-
|
|
6
|
+
initializeOrganizations: (state: ModelState<string, Organization>, action: {
|
|
7
|
+
payload: Organization[];
|
|
8
|
+
type: string;
|
|
9
|
+
}) => void;
|
|
10
|
+
setOrganizations: (state: ModelState<string, Organization>, action: {
|
|
11
|
+
payload: Organization[];
|
|
12
|
+
type: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
setOrganization: (state: ModelState<string, Organization>, action: {
|
|
15
|
+
payload: Organization;
|
|
16
|
+
type: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
addOrganizations: (state: ModelState<string, Organization>, action: {
|
|
19
|
+
payload: Organization[];
|
|
20
|
+
type: string;
|
|
21
|
+
}) => void;
|
|
22
|
+
addOrganization: (state: ModelState<string, Organization>, action: {
|
|
23
|
+
payload: Organization;
|
|
24
|
+
type: string;
|
|
25
|
+
}) => void;
|
|
26
|
+
updateOrganizations: (state: ModelState<string, Organization>, action: {
|
|
27
|
+
payload: Organization[];
|
|
28
|
+
type: string;
|
|
29
|
+
}) => void;
|
|
30
|
+
updateOrganization: (state: ModelState<string, Organization>, action: {
|
|
31
|
+
payload: Organization;
|
|
32
|
+
type: string;
|
|
33
|
+
}) => void;
|
|
34
|
+
deleteOrganization: (state: ModelState<string, Organization>, action: {
|
|
35
|
+
payload: string;
|
|
36
|
+
type: string;
|
|
37
|
+
}) => void;
|
|
38
|
+
deleteOrganizations: (state: ModelState<string, Organization>, action: {
|
|
39
|
+
payload: string[];
|
|
40
|
+
type: string;
|
|
41
|
+
}) => void;
|
|
8
42
|
}, "organizations", "organizations", import('@reduxjs/toolkit').SliceSelectors<OrganizationState>>;
|
|
9
|
-
export declare const setOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization[], "organizations/setOrganizations">;
|
|
43
|
+
export declare const initializeOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization[], "organizations/initializeOrganizations">, setOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization[], "organizations/setOrganizations">, setOrganization: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization, "organizations/setOrganization">, addOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization[], "organizations/addOrganizations">, addOrganization: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization, "organizations/addOrganization">, updateOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization[], "organizations/updateOrganizations">, updateOrganization: import('@reduxjs/toolkit').ActionCreatorWithPayload<Organization, "organizations/updateOrganization">, deleteOrganization: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "organizations/deleteOrganization">, deleteOrganizations: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "organizations/deleteOrganizations">;
|
|
10
44
|
export declare const selectOrganizationsMapping: OvermapSelector<Record<number, Organization>>;
|
|
11
45
|
export declare const selectOrganizations: ((state: OvermapRootState) => Organization[]) & {
|
|
12
46
|
clearCache: () => void;
|
|
@@ -29,11 +63,11 @@ export declare const selectOrganizations: ((state: OvermapRootState) => Organiza
|
|
|
29
63
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
30
64
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
31
65
|
};
|
|
32
|
-
export declare const selectOrganizationById: OvermapSelectorWithArgs<
|
|
66
|
+
export declare const selectOrganizationById: OvermapSelectorWithArgs<Organization["uuid"], Organization | undefined>;
|
|
33
67
|
export declare const selectOrganizationsWithAccess: OvermapSelector<Organization[]>;
|
|
34
|
-
export declare const selectOrganizationUsersIds: OvermapSelector<
|
|
35
|
-
export declare const selectProjectsOfOrganization: OvermapSelectorWithArgs<
|
|
36
|
-
export declare const selectLicensesOfOrganization: OvermapSelectorWithArgs<
|
|
37
|
-
export declare const selectOrganizationUsersAsMapping: OvermapSelector<Record<
|
|
68
|
+
export declare const selectOrganizationUsersIds: OvermapSelector<User["id"][]>;
|
|
69
|
+
export declare const selectProjectsOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Project[]>;
|
|
70
|
+
export declare const selectLicensesOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], License[]>;
|
|
71
|
+
export declare const selectOrganizationUsersAsMapping: OvermapSelector<Record<User["id"], User>>;
|
|
38
72
|
export declare const selectSortedOrganizationUsers: OvermapSelector<User[]>;
|
|
39
|
-
export declare const organizationReducer: Reducer<OrganizationState>;
|
|
73
|
+
export declare const organizationReducer: import('redux').Reducer<OrganizationState>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PayloadAction
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
2
|
import { RequestDetails, SDKRequest } from '../../sdk';
|
|
3
3
|
import { OvermapRootState } from '../../typings';
|
|
4
4
|
import { FullOfflineAction } from '../store';
|
|
@@ -37,4 +37,4 @@ export declare const enqueueRequest: import('@reduxjs/toolkit').ActionCreatorWit
|
|
|
37
37
|
}], RequestDetails, "outbox/enqueueRequest", never, {
|
|
38
38
|
offline: import('..').FullOfflineMetadata;
|
|
39
39
|
}>, markForDeletion: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "outbox/markForDeletion">, markAsDeleted: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "outbox/markAsDeleted">, _setLatestRetryTime: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "outbox/_setLatestRetryTime">;
|
|
40
|
-
export declare const outboxReducer: Reducer<OutboxState>;
|
|
40
|
+
export declare const outboxReducer: import('redux').Reducer<OutboxState>;
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, ProjectAccess, Stored, User } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type ProjectAccessState = ModelState<ProjectAccess
|
|
3
|
+
export type ProjectAccessState = ModelState<ProjectAccess["uuid"], Stored<ProjectAccess>>;
|
|
5
4
|
export declare const projectAccessSlice: import('@reduxjs/toolkit').Slice<ProjectAccessState, {
|
|
6
|
-
initializeProjectAccesses: (state: ModelState<ProjectAccess
|
|
7
|
-
payload: ProjectAccess[];
|
|
5
|
+
initializeProjectAccesses: (state: ModelState<string, Stored<ProjectAccess>>, action: {
|
|
6
|
+
payload: Stored<ProjectAccess>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
updateProjectAccess: (state: ModelState<ProjectAccess
|
|
11
|
-
payload: ProjectAccess
|
|
9
|
+
updateProjectAccess: (state: ModelState<string, Stored<ProjectAccess>>, action: {
|
|
10
|
+
payload: Stored<ProjectAccess>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
deleteProjectAccess: (state: ModelState<string, Stored<ProjectAccess>>, action: {
|
|
14
|
+
payload: string;
|
|
15
|
+
type: string;
|
|
16
|
+
}) => void;
|
|
17
|
+
deleteProjectAccesses: (state: ModelState<string, Stored<ProjectAccess>>, action: {
|
|
18
|
+
payload: string[];
|
|
12
19
|
type: string;
|
|
13
20
|
}) => void;
|
|
14
|
-
deleteProjectAccess: (state: ModelState<ProjectAccess>, action: import('@reduxjs/toolkit').PayloadAction<string>) => void;
|
|
15
|
-
deleteProjectAccesses: (state: ModelState<ProjectAccess>, action: import('@reduxjs/toolkit').PayloadAction<string[]>) => void;
|
|
16
21
|
}, "projectAccess", "projectAccess", import('@reduxjs/toolkit').SliceSelectors<ProjectAccessState>>;
|
|
17
|
-
export declare const initializeProjectAccesses: import('@reduxjs/toolkit').ActionCreatorWithPayload<ProjectAccess[], "projectAccess/initializeProjectAccesses">, updateProjectAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<ProjectAccess
|
|
18
|
-
export declare const selectProjectAccessMapping: (state: OvermapRootState) => Record<string, ProjectAccess
|
|
22
|
+
export declare const initializeProjectAccesses: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAccess>[], "projectAccess/initializeProjectAccesses">, updateProjectAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAccess>, "projectAccess/updateProjectAccess">, deleteProjectAccess: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "projectAccess/deleteProjectAccess">, deleteProjectAccesses: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "projectAccess/deleteProjectAccesses">;
|
|
23
|
+
export declare const selectProjectAccessMapping: (state: OvermapRootState) => Record<string, Stored<ProjectAccess>>;
|
|
19
24
|
export declare const selectProjectAccesses: OvermapSelector<Stored<ProjectAccess>[]>;
|
|
20
|
-
export declare const selectProjectAccessById: OvermapSelectorWithArgs<
|
|
25
|
+
export declare const selectProjectAccessById: OvermapSelectorWithArgs<ProjectAccess["uuid"], ProjectAccess | undefined>;
|
|
21
26
|
export declare const selectProjectAccessForUser: OvermapSelectorWithArgs<User, ProjectAccess | undefined>;
|
|
22
27
|
export declare const selectProjectAccessUserMapping: OvermapSelector<Record<string, ProjectAccess>>;
|
|
23
|
-
export declare const projectAccessReducer: Reducer<ProjectAccessState>;
|
|
28
|
+
export declare const projectAccessReducer: import('redux').Reducer<ProjectAccessState>;
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, ProjectAttachment, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type ProjectAttachmentState = ModelState<Stored<ProjectAttachment>>;
|
|
3
|
+
export type ProjectAttachmentState = ModelState<ProjectAttachment["uuid"], Stored<ProjectAttachment>>;
|
|
5
4
|
export declare const projectAttachmentSlice: import('@reduxjs/toolkit').Slice<ProjectAttachmentState, {
|
|
6
|
-
initializeProjectAttachments: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
5
|
+
initializeProjectAttachments: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
7
6
|
payload: Stored<ProjectAttachment>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addProjectAttachment: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
9
|
+
addProjectAttachment: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
11
10
|
payload: Stored<ProjectAttachment>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addProjectAttachments: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
13
|
+
addProjectAttachments: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
15
14
|
payload: Stored<ProjectAttachment>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setProjectAttachment: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
17
|
+
setProjectAttachment: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
19
18
|
payload: Stored<ProjectAttachment>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setProjectAttachments: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
21
|
+
setProjectAttachments: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
23
22
|
payload: Stored<ProjectAttachment>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateProjectAttachment: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
25
|
+
updateProjectAttachment: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
27
26
|
payload: Stored<ProjectAttachment>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateProjectAttachments: (state: ModelState<Stored<ProjectAttachment>>, action: {
|
|
29
|
+
updateProjectAttachments: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
31
30
|
payload: Stored<ProjectAttachment>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteProjectAttachment: (state: ModelState<Stored<ProjectAttachment>>, action:
|
|
35
|
-
|
|
33
|
+
deleteProjectAttachment: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteProjectAttachments: (state: ModelState<string, Stored<ProjectAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
36
41
|
}, "projectAttachments", "projectAttachments", import('@reduxjs/toolkit').SliceSelectors<ProjectAttachmentState>>;
|
|
37
42
|
export declare const initializeProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/initializeProjectAttachments">, addProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/addProjectAttachment">, addProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/addProjectAttachments">, setProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/setProjectAttachment">, setProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/setProjectAttachments">, updateProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/updateProjectAttachment">, updateProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/updateProjectAttachments">, deleteProjectAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "projectAttachments/deleteProjectAttachment">, deleteProjectAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "projectAttachments/deleteProjectAttachments">;
|
|
38
43
|
export declare const selectProjectAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<ProjectAttachment>>;
|
|
39
44
|
export declare const selectAllProjectAttachments: OvermapSelector<Stored<ProjectAttachment>[]>;
|
|
40
|
-
export declare const selectProjectAttachmentById: OvermapSelectorWithArgs<
|
|
41
|
-
export declare const selectAttachmentsOfProject: (args:
|
|
42
|
-
export declare const
|
|
43
|
-
fileAttachments: Stored<ProjectAttachment>[];
|
|
44
|
-
imageAttachments: Stored<ProjectAttachment>[];
|
|
45
|
-
};
|
|
46
|
-
export declare const projectAttachmentReducer: Reducer<ProjectAttachmentState>;
|
|
45
|
+
export declare const selectProjectAttachmentById: OvermapSelectorWithArgs<ProjectAttachment["uuid"], ProjectAttachment | undefined>;
|
|
46
|
+
export declare const selectAttachmentsOfProject: (args: string) => (state: OvermapRootState) => Stored<ProjectAttachment>[];
|
|
47
|
+
export declare const projectAttachmentReducer: import('redux').Reducer<ProjectAttachmentState>;
|
|
@@ -1,42 +1,47 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { MultiPoint } from 'geojson';
|
|
3
2
|
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, ProjectFile, Stored } from '../../typings';
|
|
4
3
|
import { ModelState } from '../typings';
|
|
5
|
-
export interface ProjectFileState extends ModelState<Stored<ProjectFile>> {
|
|
4
|
+
export interface ProjectFileState extends ModelState<ProjectFile["uuid"], Stored<ProjectFile>> {
|
|
6
5
|
activeProjectFileId: string | null;
|
|
7
6
|
isImportingProjectFile: boolean;
|
|
8
7
|
}
|
|
9
8
|
export declare const projectFileSlice: import('@reduxjs/toolkit').Slice<ProjectFileState, {
|
|
10
|
-
initializeProjectFiles: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
9
|
+
initializeProjectFiles: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
11
10
|
payload: Stored<ProjectFile>[];
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
setProjectFile: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
13
|
+
setProjectFile: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
15
14
|
payload: Stored<ProjectFile>;
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setProjectFiles: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
17
|
+
setProjectFiles: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
19
18
|
payload: Stored<ProjectFile>[];
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
addProjectFile: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
21
|
+
addProjectFile: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
23
22
|
payload: Stored<ProjectFile>;
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
addProjectFiles: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
25
|
+
addProjectFiles: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
27
26
|
payload: Stored<ProjectFile>[];
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateProjectFile: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
29
|
+
updateProjectFile: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
31
30
|
payload: Stored<ProjectFile>;
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
updateProjectFiles: (state: ModelState<Stored<ProjectFile>>, action: {
|
|
33
|
+
updateProjectFiles: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
35
34
|
payload: Stored<ProjectFile>[];
|
|
36
35
|
type: string;
|
|
37
36
|
}) => void;
|
|
38
|
-
deleteProjectFile: (state: ModelState<Stored<ProjectFile>>, action:
|
|
39
|
-
|
|
37
|
+
deleteProjectFile: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
38
|
+
payload: string;
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
41
|
+
deleteProjectFiles: (state: ModelState<string, Stored<ProjectFile>>, action: {
|
|
42
|
+
payload: string[];
|
|
43
|
+
type: string;
|
|
44
|
+
}) => void;
|
|
40
45
|
setIsImportingProjectFile: (state: import('immer').WritableDraft<ProjectFileState>, action: {
|
|
41
46
|
payload: boolean;
|
|
42
47
|
}) => void;
|
|
@@ -71,7 +76,7 @@ export declare const selectProjectFiles: ((state: OvermapRootState) => Stored<Pr
|
|
|
71
76
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
72
77
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
73
78
|
};
|
|
74
|
-
export declare const selectProjectFileById: OvermapSelectorWithArgs<
|
|
75
|
-
export declare const selectActiveProjectFileId: OvermapSelector<
|
|
79
|
+
export declare const selectProjectFileById: OvermapSelectorWithArgs<ProjectFile["uuid"], ProjectFile | undefined>;
|
|
80
|
+
export declare const selectActiveProjectFileId: OvermapSelector<ProjectFile["uuid"] | null>;
|
|
76
81
|
export declare const selectIsImportingProjectFile: OvermapSelector<boolean>;
|
|
77
|
-
export declare const projectFileReducer: Reducer<ProjectFileState>;
|
|
82
|
+
export declare const projectFileReducer: import('redux').Reducer<ProjectFileState>;
|