@overmap-ai/core 1.0.74-gcs.2 → 1.0.74-geojson-layers.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/overmap-core.js +3559 -2945
- package/dist/overmap-core.umd.cjs +10 -10
- package/dist/sdk/services/AssetAttachmentService.d.ts +1 -1
- package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +39 -0
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/BaseAttachmentService.d.ts +1 -1
- package/dist/sdk/services/DocumentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/EmailDomainsService.d.ts +8 -0
- package/dist/sdk/services/GeoJsonFeatureService.d.ts +10 -0
- package/dist/sdk/services/GeoJsonLayerService.d.ts +10 -0
- package/dist/sdk/services/IssueAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +1 -1
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +1 -1
- package/dist/sdk/services/LicenseService.d.ts +13 -0
- package/dist/sdk/services/OrganizationAccessService.d.ts +0 -3
- package/dist/sdk/services/ProjectAccessService.d.ts +0 -3
- package/dist/sdk/services/ProjectAttachmentService.d.ts +1 -1
- package/dist/sdk/services/ProjectService.d.ts +1 -1
- package/dist/sdk/services/TeamService.d.ts +3 -3
- package/dist/sdk/services/index.d.ts +5 -0
- package/dist/store/adapters/modelAdapter.d.ts +12 -12
- package/dist/store/slices/agentsSlice.d.ts +5 -5
- package/dist/store/slices/assetAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureAttachmentSlice.d.ts +47 -0
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +16 -10
- package/dist/store/slices/assetProcedureSlice.d.ts +16 -10
- package/dist/store/slices/assetSlice.d.ts +16 -10
- package/dist/store/slices/assetStageCompletionSlice.d.ts +14 -8
- package/dist/store/slices/assetStageSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +16 -10
- package/dist/store/slices/assetTypeSlice.d.ts +16 -10
- package/dist/store/slices/categorySlice.d.ts +8 -5
- package/dist/store/slices/documentAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/emailDomainsSlice.d.ts +42 -0
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/formRevisionSlice.d.ts +13 -7
- package/dist/store/slices/formSlice.d.ts +10 -7
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/formSubmissionSlice.d.ts +16 -10
- package/dist/store/slices/geoImageSlice.d.ts +16 -10
- package/dist/store/slices/geoJsonFeatureSlice.d.ts +68 -0
- package/dist/store/slices/geoJsonLayerSlice.d.ts +68 -0
- package/dist/store/slices/index.d.ts +5 -0
- package/dist/store/slices/issueAssociationSlice.d.ts +16 -10
- package/dist/store/slices/issueAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/issueCommentSlice.d.ts +13 -7
- package/dist/store/slices/issueSlice.d.ts +13 -7
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +16 -10
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +16 -10
- package/dist/store/slices/issueTypeSlice.d.ts +9 -6
- package/dist/store/slices/issueUpdateSlice.d.ts +13 -7
- package/dist/store/slices/licenseSlice.d.ts +24 -0
- package/dist/store/slices/organizationAccessSlice.d.ts +7 -4
- package/dist/store/slices/organizationSlice.d.ts +20 -13
- package/dist/store/slices/projectAccessSlice.d.ts +11 -5
- package/dist/store/slices/projectAttachmentSlice.d.ts +16 -10
- package/dist/store/slices/projectFileSlice.d.ts +16 -10
- package/dist/store/slices/projectSlice.d.ts +18 -12
- package/dist/store/slices/teamSlice.d.ts +10 -7
- package/dist/store/slices/userSlice.d.ts +31 -15
- package/dist/store/store.d.ts +4 -0
- package/dist/store/typings.d.ts +2 -2
- package/dist/typings/models/assets.d.ts +1 -2
- package/dist/typings/models/attachments.d.ts +3 -0
- package/dist/typings/models/base.d.ts +56 -12
- package/dist/typings/models/geo.d.ts +11 -12
- package/dist/typings/models/geoImages.d.ts +1 -2
- package/dist/typings/models/index.d.ts +1 -0
- package/dist/typings/models/issues.d.ts +4 -43
- package/dist/typings/models/license.d.ts +13 -0
- package/dist/typings/models/organizations.d.ts +2 -1
- package/dist/typings/models/projects.d.ts +5 -5
- package/dist/typings/models/store.d.ts +6 -1
- package/dist/typings/models/teams.d.ts +2 -2
- package/dist/typings/models/users.d.ts +7 -8
- package/package.json +1 -1
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { AssetType, AssetTypeFields, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type AssetTypeFieldsState = ModelState<Stored<AssetTypeFields>>;
|
|
3
|
+
export type AssetTypeFieldsState = ModelState<AssetTypeFields["uuid"], Stored<AssetTypeFields>>;
|
|
4
4
|
export declare const assetTypeFieldsSlice: import('@reduxjs/toolkit').Slice<AssetTypeFieldsState, {
|
|
5
|
-
initializeAssetTypeFields: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
5
|
+
initializeAssetTypeFields: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
6
6
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
addAssetTypeFields: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
9
|
+
addAssetTypeFields: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
10
10
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addAssetTypeFieldsMany: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
13
|
+
addAssetTypeFieldsMany: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
14
14
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
setAssetTypeFields: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
17
|
+
setAssetTypeFields: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
18
18
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
setAssetTypeFieldsMany: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
21
|
+
setAssetTypeFieldsMany: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
22
22
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateAssetTypeFields: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
25
|
+
updateAssetTypeFields: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
26
26
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateAssetTypeFieldsMany: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
29
|
+
updateAssetTypeFieldsMany: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
30
30
|
payload: Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteAssetTypeFields: (state: ModelState<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action:
|
|
34
|
-
|
|
33
|
+
deleteAssetTypeFields: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteAssetTypeFieldsMany: (state: ModelState<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "assetTypeFields", "assetTypeFields", import('@reduxjs/toolkit').SliceSelectors<AssetTypeFieldsState>>;
|
|
36
42
|
export declare const initializeAssetTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "assetTypeFields/initializeAssetTypeFields">, addAssetTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>, "assetTypeFields/addAssetTypeFields">, addAssetTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "assetTypeFields/addAssetTypeFieldsMany">, setAssetTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>, "assetTypeFields/setAssetTypeFields">, setAssetTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "assetTypeFields/setAssetTypeFieldsMany">, updateAssetTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>, "assetTypeFields/updateAssetTypeFields">, updateAssetTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>[], "assetTypeFields/updateAssetTypeFieldsMany">, deleteAssetTypeFields: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "assetTypeFields/deleteAssetTypeFields">, deleteAssetTypeFieldsMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "assetTypeFields/deleteAssetTypeFieldsMany">;
|
|
37
43
|
export declare const selectAssetTypeFieldsMapping: (state: OvermapRootState) => Record<string, Stored<AssetTypeFields<import('@overmap-ai/forms').ISerializedField>>>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { AssetType, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type AssetTypeState = ModelState<Stored<AssetType>>;
|
|
3
|
+
export type AssetTypeState = ModelState<AssetType["uuid"], Stored<AssetType>>;
|
|
4
4
|
export declare const assetTypeSlice: import('@reduxjs/toolkit').Slice<AssetTypeState, {
|
|
5
|
-
initializeAssetTypes: (state: ModelState<Stored<AssetType>>, action: {
|
|
5
|
+
initializeAssetTypes: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
6
6
|
payload: Stored<AssetType>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
setAssetType: (state: ModelState<Stored<AssetType>>, action: {
|
|
9
|
+
setAssetType: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
10
10
|
payload: Stored<AssetType>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
setAssetTypes: (state: ModelState<Stored<AssetType>>, action: {
|
|
13
|
+
setAssetTypes: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
14
14
|
payload: Stored<AssetType>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
addAssetType: (state: ModelState<Stored<AssetType>>, action: {
|
|
17
|
+
addAssetType: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
18
18
|
payload: Stored<AssetType>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
addAssetTypes: (state: ModelState<Stored<AssetType>>, action: {
|
|
21
|
+
addAssetTypes: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
22
22
|
payload: Stored<AssetType>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateAssetType: (state: ModelState<Stored<AssetType>>, action: {
|
|
25
|
+
updateAssetType: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
26
26
|
payload: Stored<AssetType>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateAssetTypes: (state: ModelState<Stored<AssetType>>, action: {
|
|
29
|
+
updateAssetTypes: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
30
30
|
payload: Stored<AssetType>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteAssetType: (state: ModelState<Stored<AssetType>>, action:
|
|
34
|
-
|
|
33
|
+
deleteAssetType: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteAssetTypes: (state: ModelState<string, Stored<AssetType>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "assetTypes", "assetTypes", import('@reduxjs/toolkit').SliceSelectors<AssetTypeState>>;
|
|
36
42
|
export declare const initializeAssetTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/initializeAssetTypes">, setAssetType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/setAssetType">, setAssetTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/setAssetTypes">, addAssetType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/addAssetType">, addAssetTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/addAssetTypes">, updateAssetType: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/updateAssetType">, updateAssetTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/updateAssetTypes">, deleteAssetType: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "assetTypes/deleteAssetType">, deleteAssetTypes: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "assetTypes/deleteAssetTypes">;
|
|
37
43
|
export declare const selectAssetTypesMapping: OvermapSelector<Record<string, Stored<AssetType>>>;
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import { Category, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type CategoryState = ModelState<Stored<Category>>;
|
|
3
|
+
export type CategoryState = ModelState<Category["uuid"], Stored<Category>>;
|
|
4
4
|
export declare const categorySlice: import('@reduxjs/toolkit').Slice<CategoryState, {
|
|
5
|
-
initializeCategories: (state: ModelState<Stored<Category>>, action: {
|
|
5
|
+
initializeCategories: (state: ModelState<string, Stored<Category>>, action: {
|
|
6
6
|
payload: Stored<Category>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
addCategory: (state: ModelState<Stored<Category>>, action: {
|
|
9
|
+
addCategory: (state: ModelState<string, Stored<Category>>, action: {
|
|
10
10
|
payload: Stored<Category>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
updateCategory: (state: ModelState<Stored<Category>>, action: {
|
|
13
|
+
updateCategory: (state: ModelState<string, Stored<Category>>, action: {
|
|
14
14
|
payload: Stored<Category>;
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
deleteCategory: (state: ModelState<Stored<Category>>, action:
|
|
17
|
+
deleteCategory: (state: ModelState<string, Stored<Category>>, action: {
|
|
18
|
+
payload: string;
|
|
19
|
+
type: string;
|
|
20
|
+
}) => void;
|
|
18
21
|
}, "categories", "categories", import('@reduxjs/toolkit').SliceSelectors<CategoryState>>;
|
|
19
22
|
export declare const initializeCategories: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>[], "categories/initializeCategories">, addCategory: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>, "categories/addCategory">, updateCategory: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>, "categories/updateCategory">, deleteCategory: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "categories/deleteCategory">;
|
|
20
23
|
export declare const selectCategoryMapping: (state: OvermapRootState) => Record<string, Stored<Category>>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { DocumentAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type DocumentAttachmentState = ModelState<Stored<DocumentAttachment>>;
|
|
3
|
+
export type DocumentAttachmentState = ModelState<DocumentAttachment["uuid"], Stored<DocumentAttachment>>;
|
|
4
4
|
export declare const documentAttachmentSlice: import('@reduxjs/toolkit').Slice<DocumentAttachmentState, {
|
|
5
|
-
initializeDocumentAttachments: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
5
|
+
initializeDocumentAttachments: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
6
6
|
payload: Stored<DocumentAttachment>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
addDocumentAttachment: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
9
|
+
addDocumentAttachment: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
10
10
|
payload: Stored<DocumentAttachment>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addDocumentAttachments: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
13
|
+
addDocumentAttachments: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
14
14
|
payload: Stored<DocumentAttachment>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
setDocumentAttachment: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
17
|
+
setDocumentAttachment: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
18
18
|
payload: Stored<DocumentAttachment>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
setDocumentAttachments: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
21
|
+
setDocumentAttachments: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
22
22
|
payload: Stored<DocumentAttachment>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateDocumentAttachment: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
25
|
+
updateDocumentAttachment: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
26
26
|
payload: Stored<DocumentAttachment>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateDocumentAttachments: (state: ModelState<Stored<DocumentAttachment>>, action: {
|
|
29
|
+
updateDocumentAttachments: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
30
30
|
payload: Stored<DocumentAttachment>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteDocumentAttachment: (state: ModelState<Stored<DocumentAttachment>>, action:
|
|
34
|
-
|
|
33
|
+
deleteDocumentAttachment: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteDocumentAttachments: (state: ModelState<string, Stored<DocumentAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "documentAttachments", "documentAttachments", import('@reduxjs/toolkit').SliceSelectors<DocumentAttachmentState>>;
|
|
36
42
|
export declare const initializeDocumentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>[], "documentAttachments/initializeDocumentAttachments">, addDocumentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>, "documentAttachments/addDocumentAttachment">, addDocumentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>[], "documentAttachments/addDocumentAttachments">, setDocumentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>, "documentAttachments/setDocumentAttachment">, setDocumentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>[], "documentAttachments/setDocumentAttachments">, updateDocumentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>, "documentAttachments/updateDocumentAttachment">, updateDocumentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<DocumentAttachment>[], "documentAttachments/updateDocumentAttachments">, deleteDocumentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "documentAttachments/deleteDocumentAttachment">, deleteDocumentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "documentAttachments/deleteDocumentAttachments">;
|
|
37
43
|
export declare const selectDocumentAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<DocumentAttachment>>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EmailDomain, OvermapRootState, OvermapSelector, Stored } from '../../typings';
|
|
2
|
+
import { ModelState } from '../typings';
|
|
3
|
+
export type EmailDomainState = ModelState<EmailDomain["uuid"], Stored<EmailDomain>>;
|
|
4
|
+
export declare const emailDomainsSlice: import('@reduxjs/toolkit').Slice<EmailDomainState, {
|
|
5
|
+
initializeEmailDomains: (state: ModelState<string, Stored<EmailDomain>>, action: {
|
|
6
|
+
payload: Stored<EmailDomain>[];
|
|
7
|
+
type: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
addEmailDomain: (state: ModelState<string, Stored<EmailDomain>>, action: {
|
|
10
|
+
payload: Stored<EmailDomain>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
deleteEmailDomain: (state: ModelState<string, Stored<EmailDomain>>, action: {
|
|
14
|
+
payload: string;
|
|
15
|
+
type: string;
|
|
16
|
+
}) => void;
|
|
17
|
+
}, "emailDomains", "emailDomains", import('@reduxjs/toolkit').SliceSelectors<EmailDomainState>>;
|
|
18
|
+
export declare const initializeEmailDomains: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<EmailDomain>[], "emailDomains/initializeEmailDomains">, addEmailDomain: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<EmailDomain>, "emailDomains/addEmailDomain">, deleteEmailDomain: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "emailDomains/deleteEmailDomain">;
|
|
19
|
+
export declare const selectEmailDomainsAsMapping: OvermapSelector<Record<number, EmailDomain>>;
|
|
20
|
+
export declare const selectEmailDomains: ((state: OvermapRootState) => EmailDomain[]) & {
|
|
21
|
+
clearCache: () => void;
|
|
22
|
+
resultsCount: () => number;
|
|
23
|
+
resetResultsCount: () => void;
|
|
24
|
+
} & {
|
|
25
|
+
resultFunc: (resultFuncArgs_0: Record<number, EmailDomain>) => EmailDomain[];
|
|
26
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<number, EmailDomain>) => EmailDomain[]) & {
|
|
27
|
+
clearCache: () => void;
|
|
28
|
+
resultsCount: () => number;
|
|
29
|
+
resetResultsCount: () => void;
|
|
30
|
+
};
|
|
31
|
+
lastResult: () => EmailDomain[];
|
|
32
|
+
dependencies: [OvermapSelector<Record<number, EmailDomain>>];
|
|
33
|
+
recomputations: () => number;
|
|
34
|
+
resetRecomputations: () => void;
|
|
35
|
+
dependencyRecomputations: () => number;
|
|
36
|
+
resetDependencyRecomputations: () => void;
|
|
37
|
+
} & {
|
|
38
|
+
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
39
|
+
memoize: typeof import('reselect').weakMapMemoize;
|
|
40
|
+
};
|
|
41
|
+
export declare const selectEmailDomainsOfOrganization: (args: string) => (state: OvermapRootState) => Stored<EmailDomain>[];
|
|
42
|
+
export declare const emailDomainsReducer: import('redux').Reducer<EmailDomainState>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { FormRevision, FormRevisionAttachment, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type FormRevisionAttachmentState = ModelState<Stored<FormRevisionAttachment>>;
|
|
3
|
+
export type FormRevisionAttachmentState = ModelState<FormRevisionAttachment["uuid"], Stored<FormRevisionAttachment>>;
|
|
4
4
|
export declare const formRevisionAttachmentSlice: import('@reduxjs/toolkit').Slice<FormRevisionAttachmentState, {
|
|
5
|
-
initializeFormRevisionAttachments: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
5
|
+
initializeFormRevisionAttachments: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
6
6
|
payload: Stored<FormRevisionAttachment>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
addFormRevisionAttachment: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
9
|
+
addFormRevisionAttachment: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
10
10
|
payload: Stored<FormRevisionAttachment>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addFormRevisionAttachments: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
13
|
+
addFormRevisionAttachments: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
14
14
|
payload: Stored<FormRevisionAttachment>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
setFormRevisionAttachment: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
17
|
+
setFormRevisionAttachment: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
18
18
|
payload: Stored<FormRevisionAttachment>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
setFormRevisionAttachments: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
21
|
+
setFormRevisionAttachments: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
22
22
|
payload: Stored<FormRevisionAttachment>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateFormRevisionAttachment: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
25
|
+
updateFormRevisionAttachment: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
26
26
|
payload: Stored<FormRevisionAttachment>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateFormRevisionAttachments: (state: ModelState<Stored<FormRevisionAttachment>>, action: {
|
|
29
|
+
updateFormRevisionAttachments: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
30
30
|
payload: Stored<FormRevisionAttachment>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteFormRevisionAttachment: (state: ModelState<Stored<FormRevisionAttachment>>, action:
|
|
34
|
-
|
|
33
|
+
deleteFormRevisionAttachment: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteFormRevisionAttachments: (state: ModelState<string, Stored<FormRevisionAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "formRevisionAttachments", "formRevisionAttachments", import('@reduxjs/toolkit').SliceSelectors<FormRevisionAttachmentState>>;
|
|
36
42
|
export declare const initializeFormRevisionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>[], "formRevisionAttachments/initializeFormRevisionAttachments">, addFormRevisionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>, "formRevisionAttachments/addFormRevisionAttachment">, addFormRevisionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>[], "formRevisionAttachments/addFormRevisionAttachments">, setFormRevisionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>, "formRevisionAttachments/setFormRevisionAttachment">, setFormRevisionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>[], "formRevisionAttachments/setFormRevisionAttachments">, updateFormRevisionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>, "formRevisionAttachments/updateFormRevisionAttachment">, updateFormRevisionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevisionAttachment>[], "formRevisionAttachments/updateFormRevisionAttachments">, deleteFormRevisionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formRevisionAttachments/deleteFormRevisionAttachment">, deleteFormRevisionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formRevisionAttachments/deleteFormRevisionAttachments">;
|
|
37
43
|
export declare const selectFormRevisionAttachmentsMapping: OvermapSelector<FormRevisionAttachmentState["instances"]>;
|
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
import { Form, FormRevision, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type FormRevisionState = ModelState<Stored<FormRevision>>;
|
|
3
|
+
export type FormRevisionState = ModelState<FormRevision["uuid"], Stored<FormRevision>>;
|
|
4
4
|
export declare const formRevisionsSlice: import('@reduxjs/toolkit').Slice<FormRevisionState, {
|
|
5
|
-
initializeFormRevisions: (state: ModelState<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
5
|
+
initializeFormRevisions: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
6
6
|
payload: Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
setFormRevision: (state: ModelState<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
9
|
+
setFormRevision: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
10
10
|
payload: Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addFormRevision: (state: ModelState<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
13
|
+
addFormRevision: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
14
14
|
payload: Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>;
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
addFormRevisions: (state: ModelState<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
17
|
+
addFormRevisions: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
18
18
|
payload: Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>[];
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
deleteFormRevision: (state: ModelState<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action:
|
|
22
|
-
|
|
21
|
+
deleteFormRevision: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
22
|
+
payload: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
deleteFormRevisions: (state: ModelState<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>, action: {
|
|
26
|
+
payload: string[];
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
23
29
|
}, "formRevisions", "formRevisions", import('@reduxjs/toolkit').SliceSelectors<FormRevisionState>>;
|
|
24
30
|
export declare const setFormRevision: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>, "formRevisions/setFormRevision">, initializeFormRevisions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>[], "formRevisions/initializeFormRevisions">, addFormRevision: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">;
|
|
25
31
|
export declare const selectFormRevisionMapping: (state: OvermapRootState) => Record<string, Stored<FormRevision<import('@overmap-ai/forms').ISerializedField>>>;
|
|
@@ -1,28 +1,31 @@
|
|
|
1
1
|
import { Form, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type FormState = ModelState<Stored<Form>>;
|
|
3
|
+
export type FormState = ModelState<Form["uuid"], Stored<Form>>;
|
|
4
4
|
export declare const formSlice: import('@reduxjs/toolkit').Slice<FormState, {
|
|
5
|
-
initializeForms: (state: ModelState<Stored<Form>>, action: {
|
|
5
|
+
initializeForms: (state: ModelState<string, Stored<Form>>, action: {
|
|
6
6
|
payload: Stored<Form>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
setForm: (state: ModelState<Stored<Form>>, action: {
|
|
9
|
+
setForm: (state: ModelState<string, Stored<Form>>, action: {
|
|
10
10
|
payload: Stored<Form>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addForm: (state: ModelState<Stored<Form>>, action: {
|
|
13
|
+
addForm: (state: ModelState<string, Stored<Form>>, action: {
|
|
14
14
|
payload: Stored<Form>;
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
addForms: (state: ModelState<Stored<Form>>, action: {
|
|
17
|
+
addForms: (state: ModelState<string, Stored<Form>>, action: {
|
|
18
18
|
payload: Stored<Form>[];
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
updateForm: (state: ModelState<Stored<Form>>, action: {
|
|
21
|
+
updateForm: (state: ModelState<string, Stored<Form>>, action: {
|
|
22
22
|
payload: Stored<Form>;
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
deleteForm: (state: ModelState<Stored<Form>>, action:
|
|
25
|
+
deleteForm: (state: ModelState<string, Stored<Form>>, action: {
|
|
26
|
+
payload: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
26
29
|
}, "forms", "forms", import('@reduxjs/toolkit').SliceSelectors<FormState>>;
|
|
27
30
|
export declare const initializeForms: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Form>[], "forms/initializeForms">, setForm: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Form>, "forms/setForm">, addForm: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Form>, "forms/addForm">, addForms: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Form>[], "forms/addForms">, updateForm: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Form>, "forms/updateForm">, deleteForm: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "forms/deleteForm">;
|
|
28
31
|
export declare const formReducer: import('redux').Reducer<FormState>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { FormSubmission, FormSubmissionAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type FormSubmissionAttachmentState = ModelState<Stored<FormSubmissionAttachment>>;
|
|
3
|
+
export type FormSubmissionAttachmentState = ModelState<FormSubmissionAttachment["uuid"], Stored<FormSubmissionAttachment>>;
|
|
4
4
|
export declare const formSubmissionAttachmentSlice: import('@reduxjs/toolkit').Slice<FormSubmissionAttachmentState, {
|
|
5
|
-
initializeFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
5
|
+
initializeFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
6
6
|
payload: Stored<FormSubmissionAttachment>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
addFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
9
|
+
addFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
10
10
|
payload: Stored<FormSubmissionAttachment>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
addFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
13
|
+
addFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
14
14
|
payload: Stored<FormSubmissionAttachment>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
setFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
17
|
+
setFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
18
18
|
payload: Stored<FormSubmissionAttachment>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
setFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
21
|
+
setFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
22
22
|
payload: Stored<FormSubmissionAttachment>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
25
|
+
updateFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
26
26
|
payload: Stored<FormSubmissionAttachment>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
29
|
+
updateFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
30
30
|
payload: Stored<FormSubmissionAttachment>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action:
|
|
34
|
-
|
|
33
|
+
deleteFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "formSubmissionAttachments", "formSubmissionAttachments", import('@reduxjs/toolkit').SliceSelectors<FormSubmissionAttachmentState>>;
|
|
36
42
|
export declare const initializeFormSubmissionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/initializeFormSubmissionAttachments">, addFormSubmissionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/addFormSubmissionAttachment">, addFormSubmissionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/addFormSubmissionAttachments">, setFormSubmissionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/setFormSubmissionAttachment">, setFormSubmissionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/setFormSubmissionAttachments">, updateFormSubmissionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/updateFormSubmissionAttachment">, updateFormSubmissionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/updateFormSubmissionAttachments">, deleteFormSubmissionAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formSubmissionAttachments/deleteFormSubmissionAttachment">, deleteFormSubmissionAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formSubmissionAttachments/deleteFormSubmissionAttachments">;
|
|
37
43
|
export declare const selectFormSubmissionAttachmentsMapping: OvermapSelector<FormSubmissionAttachmentState["instances"]>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { Form, FormSubmission, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type FormSubmissionState = ModelState<Stored<FormSubmission>>;
|
|
3
|
+
export type FormSubmissionState = ModelState<FormSubmission["uuid"], Stored<FormSubmission>>;
|
|
4
4
|
export declare const formSubmissionSlice: import('@reduxjs/toolkit').Slice<FormSubmissionState, {
|
|
5
|
-
initializeFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
5
|
+
initializeFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
6
6
|
payload: Stored<FormSubmission>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
setFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
9
|
+
setFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
10
10
|
payload: Stored<FormSubmission>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
setFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
13
|
+
setFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
14
14
|
payload: Stored<FormSubmission>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
addFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
17
|
+
addFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
18
18
|
payload: Stored<FormSubmission>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
addFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
21
|
+
addFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
22
22
|
payload: Stored<FormSubmission>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
25
|
+
updateFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
26
26
|
payload: Stored<FormSubmission>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
29
|
+
updateFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
30
30
|
payload: Stored<FormSubmission>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteFormSubmission: (state: ModelState<Stored<FormSubmission>>, action:
|
|
34
|
-
|
|
33
|
+
deleteFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "formSubmissions", "formSubmissions", import('@reduxjs/toolkit').SliceSelectors<FormSubmissionState>>;
|
|
36
42
|
export declare const initializeFormSubmissions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>[], "formSubmissions/initializeFormSubmissions">, setFormSubmission: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>, "formSubmissions/setFormSubmission">, setFormSubmissions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>[], "formSubmissions/setFormSubmissions">, addFormSubmission: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>, "formSubmissions/addFormSubmission">, addFormSubmissions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>[], "formSubmissions/addFormSubmissions">, updateFormSubmission: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>, "formSubmissions/updateFormSubmission">, updateFormSubmissions: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmission>[], "formSubmissions/updateFormSubmissions">, deleteFormSubmission: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formSubmissions/deleteFormSubmission">, deleteFormSubmissions: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formSubmissions/deleteFormSubmissions">;
|
|
37
43
|
export declare const selectFormSubmissionsMapping: OvermapSelector<FormSubmissionState["instances"]>;
|
|
@@ -1,37 +1,43 @@
|
|
|
1
1
|
import { GeoImage, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
2
|
import { ModelState } from '../typings';
|
|
3
|
-
export type GeoImageSliceState = ModelState<Stored<GeoImage>>;
|
|
3
|
+
export type GeoImageSliceState = ModelState<GeoImage["uuid"], Stored<GeoImage>>;
|
|
4
4
|
export declare const geoImageSlice: import('@reduxjs/toolkit').Slice<GeoImageSliceState, {
|
|
5
|
-
initializeGeoImages: (state: ModelState<Stored<GeoImage>>, action: {
|
|
5
|
+
initializeGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
6
6
|
payload: Stored<GeoImage>[];
|
|
7
7
|
type: string;
|
|
8
8
|
}) => void;
|
|
9
|
-
setGeoImage: (state: ModelState<Stored<GeoImage>>, action: {
|
|
9
|
+
setGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
10
10
|
payload: Stored<GeoImage>;
|
|
11
11
|
type: string;
|
|
12
12
|
}) => void;
|
|
13
|
-
setGeoImages: (state: ModelState<Stored<GeoImage>>, action: {
|
|
13
|
+
setGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
14
14
|
payload: Stored<GeoImage>[];
|
|
15
15
|
type: string;
|
|
16
16
|
}) => void;
|
|
17
|
-
addGeoImage: (state: ModelState<Stored<GeoImage>>, action: {
|
|
17
|
+
addGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
18
18
|
payload: Stored<GeoImage>;
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
|
-
addGeoImages: (state: ModelState<Stored<GeoImage>>, action: {
|
|
21
|
+
addGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
22
22
|
payload: Stored<GeoImage>[];
|
|
23
23
|
type: string;
|
|
24
24
|
}) => void;
|
|
25
|
-
updateGeoImage: (state: ModelState<Stored<GeoImage>>, action: {
|
|
25
|
+
updateGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
26
26
|
payload: Stored<GeoImage>;
|
|
27
27
|
type: string;
|
|
28
28
|
}) => void;
|
|
29
|
-
updateGeoImages: (state: ModelState<Stored<GeoImage>>, action: {
|
|
29
|
+
updateGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
30
30
|
payload: Stored<GeoImage>[];
|
|
31
31
|
type: string;
|
|
32
32
|
}) => void;
|
|
33
|
-
deleteGeoImage: (state: ModelState<Stored<GeoImage>>, action:
|
|
34
|
-
|
|
33
|
+
deleteGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
35
41
|
}, "geoImages", "geoImages", import('@reduxjs/toolkit').SliceSelectors<GeoImageSliceState>>;
|
|
36
42
|
export declare const initializeGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>[], "geoImages/initializeGeoImages">, setGeoImage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>, "geoImages/setGeoImage">, setGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>[], "geoImages/setGeoImages">, addGeoImage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>, "geoImages/addGeoImage">, addGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>[], "geoImages/addGeoImages">, updateGeoImage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>, "geoImages/updateGeoImage">, updateGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<GeoImage>[], "geoImages/updateGeoImages">, deleteGeoImage: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "geoImages/deleteGeoImage">, deleteGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "geoImages/deleteGeoImages">;
|
|
37
43
|
export declare const selectGeoImageMapping: (state: OvermapRootState) => Record<string, Stored<GeoImage>>;
|