@overmap-ai/core 1.0.75-more-clean-ups.0 → 1.0.76
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 +4763 -3634
- package/dist/overmap-core.umd.cjs +11 -11
- package/dist/sdk/services/AgentService.d.ts +6 -6
- package/dist/sdk/services/AssetAttachmentService.d.ts +9 -9
- package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +39 -0
- 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 +9 -9
- 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 -12
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +4 -4
- package/dist/sdk/services/FormSubmissionService.d.ts +4 -9
- 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 +9 -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/assetProcedureAttachmentSlice.d.ts +47 -0
- 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 +35 -30
- 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 +29 -25
- 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 +9 -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 +36 -31
- 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 +42 -17
- 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 +54 -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 -14
- package/dist/typings/models/attachments.d.ts +12 -3
- package/dist/typings/models/base.d.ts +65 -19
- 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 +5 -5
- package/dist/typings/models/forms.d.ts +8 -9
- package/dist/typings/models/geoImages.d.ts +5 -5
- package/dist/typings/models/index.d.ts +0 -2
- package/dist/typings/models/issueTypes.d.ts +3 -3
- package/dist/typings/models/issues.d.ts +14 -66
- 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 -6
- package/dist/typings/models/store.d.ts +10 -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 -12
- package/dist/typings/models/geo.d.ts +0 -13
|
@@ -1,41 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormSubmissionAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
1
|
+
import { FormSubmission, FormSubmissionAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type FormSubmissionAttachmentState = ModelState<Stored<FormSubmissionAttachment>>;
|
|
3
|
+
export type FormSubmissionAttachmentState = ModelState<FormSubmissionAttachment["uuid"], Stored<FormSubmissionAttachment>>;
|
|
5
4
|
export declare const formSubmissionAttachmentSlice: import('@reduxjs/toolkit').Slice<FormSubmissionAttachmentState, {
|
|
6
|
-
initializeFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
5
|
+
initializeFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
7
6
|
payload: Stored<FormSubmissionAttachment>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
9
|
+
addFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
11
10
|
payload: Stored<FormSubmissionAttachment>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
13
|
+
addFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
15
14
|
payload: Stored<FormSubmissionAttachment>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
17
|
+
setFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
19
18
|
payload: Stored<FormSubmissionAttachment>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
21
|
+
setFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
23
22
|
payload: Stored<FormSubmissionAttachment>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
25
|
+
updateFormSubmissionAttachment: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
27
26
|
payload: Stored<FormSubmissionAttachment>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateFormSubmissionAttachments: (state: ModelState<Stored<FormSubmissionAttachment>>, action: {
|
|
29
|
+
updateFormSubmissionAttachments: (state: ModelState<string, Stored<FormSubmissionAttachment>>, action: {
|
|
31
30
|
payload: Stored<FormSubmissionAttachment>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteFormSubmissionAttachment: (state: ModelState<Stored<FormSubmissionAttachment>>, action:
|
|
35
|
-
|
|
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;
|
|
36
41
|
}, "formSubmissionAttachments", "formSubmissionAttachments", import('@reduxjs/toolkit').SliceSelectors<FormSubmissionAttachmentState>>;
|
|
37
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">;
|
|
38
43
|
export declare const selectFormSubmissionAttachmentsMapping: OvermapSelector<FormSubmissionAttachmentState["instances"]>;
|
|
39
44
|
export declare const selectFormSubmissionAttachemntsByIds: (args: string[]) => (state: OvermapRootState) => Stored<FormSubmissionAttachment>[];
|
|
40
|
-
export declare const selectAttachmentsOfFormSubmission: OvermapSelectorWithArgs<
|
|
41
|
-
export declare const formSubmissionAttachmentReducer: Reducer<FormSubmissionAttachmentState>;
|
|
45
|
+
export declare const selectAttachmentsOfFormSubmission: OvermapSelectorWithArgs<FormSubmission["uuid"], Stored<FormSubmissionAttachment>[]>;
|
|
46
|
+
export declare const formSubmissionAttachmentReducer: import('redux').Reducer<FormSubmissionAttachmentState>;
|
|
@@ -1,44 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormSubmission, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
1
|
+
import { Form, FormSubmission, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type FormSubmissionState = ModelState<Stored<FormSubmission>>;
|
|
3
|
+
export type FormSubmissionState = ModelState<FormSubmission["uuid"], Stored<FormSubmission>>;
|
|
5
4
|
export declare const formSubmissionSlice: import('@reduxjs/toolkit').Slice<FormSubmissionState, {
|
|
6
|
-
initializeFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
5
|
+
initializeFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
7
6
|
payload: Stored<FormSubmission>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
setFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
9
|
+
setFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
11
10
|
payload: Stored<FormSubmission>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
setFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
13
|
+
setFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
15
14
|
payload: Stored<FormSubmission>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
addFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
17
|
+
addFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
19
18
|
payload: Stored<FormSubmission>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
addFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
21
|
+
addFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
23
22
|
payload: Stored<FormSubmission>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateFormSubmission: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
25
|
+
updateFormSubmission: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
27
26
|
payload: Stored<FormSubmission>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateFormSubmissions: (state: ModelState<Stored<FormSubmission>>, action: {
|
|
29
|
+
updateFormSubmissions: (state: ModelState<string, Stored<FormSubmission>>, action: {
|
|
31
30
|
payload: Stored<FormSubmission>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteFormSubmission: (state: ModelState<Stored<FormSubmission>>, action:
|
|
35
|
-
|
|
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;
|
|
36
41
|
}, "formSubmissions", "formSubmissions", import('@reduxjs/toolkit').SliceSelectors<FormSubmissionState>>;
|
|
37
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">;
|
|
38
43
|
export declare const selectFormSubmissionsMapping: OvermapSelector<FormSubmissionState["instances"]>;
|
|
39
44
|
export declare const selectFormSubmissions: OvermapSelector<Stored<FormSubmission>[]>;
|
|
40
|
-
export declare const selectFormSubmissionById: OvermapSelectorWithArgs<
|
|
41
|
-
export declare const selectFormSubmissionsOfForm: OvermapSelectorWithArgs<
|
|
45
|
+
export declare const selectFormSubmissionById: OvermapSelectorWithArgs<FormSubmission["uuid"], Stored<FormSubmission> | undefined>;
|
|
46
|
+
export declare const selectFormSubmissionsOfForm: OvermapSelectorWithArgs<Form["uuid"], Stored<FormSubmission>[]>;
|
|
42
47
|
export declare const selectFormSubmissionsOfIssue: (args: string) => (state: OvermapRootState) => Stored<FormSubmission>[];
|
|
43
48
|
export declare const selectFormSubmissionsOfAsset: (args: string) => (state: OvermapRootState) => Stored<FormSubmission>[];
|
|
44
|
-
export declare const formSubmissionReducer: Reducer<FormSubmissionState>;
|
|
49
|
+
export declare const formSubmissionReducer: import('redux').Reducer<FormSubmissionState>;
|
|
@@ -1,40 +1,45 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { GeoImage, OvermapRootState, Stored } from '../../typings';
|
|
1
|
+
import { GeoImage, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type GeoImageSliceState = ModelState<Stored<GeoImage>>;
|
|
3
|
+
export type GeoImageSliceState = ModelState<GeoImage["uuid"], Stored<GeoImage>>;
|
|
5
4
|
export declare const geoImageSlice: import('@reduxjs/toolkit').Slice<GeoImageSliceState, {
|
|
6
|
-
initializeGeoImages: (state: ModelState<GeoImage
|
|
7
|
-
payload: GeoImage[];
|
|
5
|
+
initializeGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
6
|
+
payload: Stored<GeoImage>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
setGeoImage: (state: ModelState<GeoImage
|
|
11
|
-
payload: GeoImage
|
|
9
|
+
setGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
10
|
+
payload: Stored<GeoImage>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
setGeoImages: (state: ModelState<GeoImage
|
|
15
|
-
payload: GeoImage[];
|
|
13
|
+
setGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
14
|
+
payload: Stored<GeoImage>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
addGeoImage: (state: ModelState<GeoImage
|
|
19
|
-
payload: GeoImage
|
|
17
|
+
addGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
18
|
+
payload: Stored<GeoImage>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
addGeoImages: (state: ModelState<GeoImage
|
|
23
|
-
payload: GeoImage[];
|
|
21
|
+
addGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
22
|
+
payload: Stored<GeoImage>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateGeoImage: (state: ModelState<GeoImage
|
|
27
|
-
payload: GeoImage
|
|
25
|
+
updateGeoImage: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
26
|
+
payload: Stored<GeoImage>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateGeoImages: (state: ModelState<GeoImage
|
|
31
|
-
payload: GeoImage[];
|
|
29
|
+
updateGeoImages: (state: ModelState<string, Stored<GeoImage>>, action: {
|
|
30
|
+
payload: Stored<GeoImage>[];
|
|
31
|
+
type: string;
|
|
32
|
+
}) => void;
|
|
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[];
|
|
32
39
|
type: string;
|
|
33
40
|
}) => void;
|
|
34
|
-
deleteGeoImage: (state: ModelState<GeoImage>, action: import('@reduxjs/toolkit').PayloadAction<string>) => void;
|
|
35
|
-
deleteGeoImages: (state: ModelState<GeoImage>, action: import('@reduxjs/toolkit').PayloadAction<string[]>) => void;
|
|
36
41
|
}, "geoImages", "geoImages", import('@reduxjs/toolkit').SliceSelectors<GeoImageSliceState>>;
|
|
37
|
-
export declare const initializeGeoImages: import('@reduxjs/toolkit').ActionCreatorWithPayload<GeoImage[], "geoImages/initializeGeoImages">, setGeoImage: import('@reduxjs/toolkit').ActionCreatorWithPayload<GeoImage
|
|
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">;
|
|
38
43
|
export declare const selectGeoImageMapping: (state: OvermapRootState) => Record<string, Stored<GeoImage>>;
|
|
39
44
|
export declare const selectGeoImages: ((state: OvermapRootState) => Stored<GeoImage>[]) & {
|
|
40
45
|
clearCache: () => void;
|
|
@@ -57,6 +62,6 @@ export declare const selectGeoImages: ((state: OvermapRootState) => Stored<GeoIm
|
|
|
57
62
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
58
63
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
64
|
};
|
|
60
|
-
export declare const selectGeoImageById:
|
|
61
|
-
export declare const selectGeoImagesOfProject: (args:
|
|
62
|
-
export declare const geoImageReducer: Reducer<GeoImageSliceState>;
|
|
65
|
+
export declare const selectGeoImageById: OvermapSelectorWithArgs<GeoImage["uuid"], Stored<GeoImage> | undefined>;
|
|
66
|
+
export declare const selectGeoImagesOfProject: (args: string) => (state: OvermapRootState) => Stored<GeoImage>[];
|
|
67
|
+
export declare const geoImageReducer: import('redux').Reducer<GeoImageSliceState>;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
export * from './agentsSlice';
|
|
2
2
|
export * from './assetAttachmentSlice';
|
|
3
|
+
export * from './assetProcedureAttachmentSlice';
|
|
4
|
+
export * from './assetProcedureFieldsAttachmentSlice';
|
|
5
|
+
export * from './assetProcedureFieldsSlice';
|
|
6
|
+
export * from './assetProcedureFieldValuesAttachmentSlice';
|
|
7
|
+
export * from './assetProcedureFieldValuesSlice';
|
|
8
|
+
export * from './assetProcedureInstanceSlice';
|
|
9
|
+
export * from './assetProcedureSlice';
|
|
3
10
|
export * from './assetSlice';
|
|
4
11
|
export * from './assetStageCompletionSlice';
|
|
5
12
|
export * from './assetStageSlice';
|
|
@@ -23,8 +30,10 @@ export * from './formSubmissionSlice';
|
|
|
23
30
|
export * from './geoImageSlice';
|
|
24
31
|
export * from './issueAssociationSlice';
|
|
25
32
|
export * from './issueAttachmentSlice';
|
|
33
|
+
export * from './issueCommentAttachmentSlice';
|
|
26
34
|
export * from './issueCommentSlice';
|
|
27
35
|
export * from './issueSlice';
|
|
36
|
+
export * from './issueTypeAttachmentSlice';
|
|
28
37
|
export * from './issueTypeFieldsAttachmentSlice';
|
|
29
38
|
export * from './issueTypeFieldsSlice';
|
|
30
39
|
export * from './issueTypeFieldValuesAttachmentSlice';
|
|
@@ -1,38 +1,43 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { IssueAssociation, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueAssociationSliceState = ModelState<Stored<IssueAssociation>>;
|
|
3
|
+
export type IssueAssociationSliceState = ModelState<IssueAssociation["uuid"], Stored<IssueAssociation>>;
|
|
5
4
|
export declare const issueAssociationSlice: import('@reduxjs/toolkit').Slice<IssueAssociationSliceState, {
|
|
6
|
-
initializeIssueAssociations: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
5
|
+
initializeIssueAssociations: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
7
6
|
payload: Stored<IssueAssociation>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssueAssociation: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
9
|
+
addIssueAssociation: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
11
10
|
payload: Stored<IssueAssociation>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueAssociations: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
13
|
+
addIssueAssociations: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
15
14
|
payload: Stored<IssueAssociation>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setIssueAssociation: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
17
|
+
setIssueAssociation: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
19
18
|
payload: Stored<IssueAssociation>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setIssueAssociations: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
21
|
+
setIssueAssociations: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
23
22
|
payload: Stored<IssueAssociation>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateIssueAssociation: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
25
|
+
updateIssueAssociation: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
27
26
|
payload: Stored<IssueAssociation>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateIssueAssociations: (state: ModelState<Stored<IssueAssociation>>, action: {
|
|
29
|
+
updateIssueAssociations: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
31
30
|
payload: Stored<IssueAssociation>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteIssueAssociation: (state: ModelState<Stored<IssueAssociation>>, action:
|
|
35
|
-
|
|
33
|
+
deleteIssueAssociation: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueAssociations: (state: ModelState<string, Stored<IssueAssociation>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
36
41
|
}, "issueAssociations", "issueAssociations", import('@reduxjs/toolkit').SliceSelectors<IssueAssociationSliceState>>;
|
|
37
42
|
export declare const initializeIssueAssociations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>[], "issueAssociations/initializeIssueAssociations">, setIssueAssociations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>[], "issueAssociations/setIssueAssociations">, setIssueAssociation: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>, "issueAssociations/setIssueAssociation">, updateIssueAssociation: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>, "issueAssociations/updateIssueAssociation">, updateIssueAssociations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>[], "issueAssociations/updateIssueAssociations">, addIssueAssociation: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>, "issueAssociations/addIssueAssociation">, addIssueAssociations: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAssociation>[], "issueAssociations/addIssueAssociations">, deleteIssueAssociation: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueAssociations/deleteIssueAssociation">, deleteIssueAssociations: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueAssociations/deleteIssueAssociations">;
|
|
38
43
|
export declare const selectIssueAssociationMapping: (state: OvermapRootState) => Record<string, Stored<IssueAssociation>>;
|
|
@@ -57,8 +62,8 @@ export declare const selectIssueAssociations: ((state: OvermapRootState) => Stor
|
|
|
57
62
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
58
63
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
64
|
};
|
|
60
|
-
export declare const selectIssueAssociationById: OvermapSelectorWithArgs<
|
|
65
|
+
export declare const selectIssueAssociationById: OvermapSelectorWithArgs<IssueAssociation["uuid"], Stored<IssueAssociation> | undefined>;
|
|
61
66
|
export declare const selectIssueAssociationsToIssue: (args: string) => (state: OvermapRootState) => Stored<IssueAssociation>[];
|
|
62
67
|
export declare const selectIssueAssociationsOfIssue: (args: string) => (state: OvermapRootState) => Stored<IssueAssociation>[];
|
|
63
68
|
export declare const selectIssueAssociationsOfAsset: (args: string) => (state: OvermapRootState) => Stored<IssueAssociation>[];
|
|
64
|
-
export declare const issueAssociationReducer: Reducer<IssueAssociationSliceState>;
|
|
69
|
+
export declare const issueAssociationReducer: import('redux').Reducer<IssueAssociationSliceState>;
|
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { IssueAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueAttachmentState = ModelState<Stored<IssueAttachment>>;
|
|
3
|
+
export type IssueAttachmentState = ModelState<IssueAttachment["uuid"], Stored<IssueAttachment>>;
|
|
5
4
|
export declare const issueAttachmentSlice: import('@reduxjs/toolkit').Slice<IssueAttachmentState, {
|
|
6
|
-
initializeIssueAttachments: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
5
|
+
initializeIssueAttachments: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
7
6
|
payload: Stored<IssueAttachment>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssueAttachment: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
9
|
+
addIssueAttachment: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
11
10
|
payload: Stored<IssueAttachment>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssueAttachments: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
13
|
+
addIssueAttachments: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
15
14
|
payload: Stored<IssueAttachment>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setIssueAttachment: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
17
|
+
setIssueAttachment: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
19
18
|
payload: Stored<IssueAttachment>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
setIssueAttachments: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
21
|
+
setIssueAttachments: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
23
22
|
payload: Stored<IssueAttachment>[];
|
|
24
23
|
type: string;
|
|
25
24
|
}) => void;
|
|
26
|
-
updateIssueAttachment: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
25
|
+
updateIssueAttachment: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
27
26
|
payload: Stored<IssueAttachment>;
|
|
28
27
|
type: string;
|
|
29
28
|
}) => void;
|
|
30
|
-
updateIssueAttachments: (state: ModelState<Stored<IssueAttachment>>, action: {
|
|
29
|
+
updateIssueAttachments: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
31
30
|
payload: Stored<IssueAttachment>[];
|
|
32
31
|
type: string;
|
|
33
32
|
}) => void;
|
|
34
|
-
deleteIssueAttachment: (state: ModelState<Stored<IssueAttachment>>, action:
|
|
35
|
-
|
|
33
|
+
deleteIssueAttachment: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueAttachments: (state: ModelState<string, Stored<IssueAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
36
41
|
}, "issueAttachments", "issueAttachments", import('@reduxjs/toolkit').SliceSelectors<IssueAttachmentState>>;
|
|
37
42
|
export declare const initializeIssueAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>[], "issueAttachments/initializeIssueAttachments">, addIssueAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>, "issueAttachments/addIssueAttachment">, addIssueAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>[], "issueAttachments/addIssueAttachments">, setIssueAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>, "issueAttachments/setIssueAttachment">, setIssueAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>[], "issueAttachments/setIssueAttachments">, updateIssueAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>, "issueAttachments/updateIssueAttachment">, updateIssueAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>[], "issueAttachments/updateIssueAttachments">, deleteIssueAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueAttachments/deleteIssueAttachment">, deleteIssueAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueAttachments/deleteIssueAttachments">;
|
|
38
43
|
export declare const selectIssueAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<IssueAttachment>>;
|
|
39
44
|
export declare const selectIssueAttachments: OvermapSelector<Stored<IssueAttachment>[]>;
|
|
40
45
|
export declare const selectAttachmentsOfIssue: (args: string) => (state: OvermapRootState) => Stored<IssueAttachment>[];
|
|
41
|
-
export declare const selectIssueAttachmentById: OvermapSelectorWithArgs<
|
|
42
|
-
export declare const
|
|
43
|
-
fileAttachments: Stored<IssueAttachment>[];
|
|
44
|
-
imageAttachments: Stored<IssueAttachment>[];
|
|
45
|
-
};
|
|
46
|
-
export declare const issueAttachmentReducer: Reducer<IssueAttachmentState>;
|
|
46
|
+
export declare const selectIssueAttachmentById: OvermapSelectorWithArgs<IssueAttachment["uuid"], Stored<IssueAttachment> | undefined>;
|
|
47
|
+
export declare const issueAttachmentReducer: import('redux').Reducer<IssueAttachmentState>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IssueCommentAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
|
+
import { ModelState } from '../typings';
|
|
3
|
+
export type IssueCommentAttachmentState = ModelState<IssueCommentAttachment["uuid"], Stored<IssueCommentAttachment>>;
|
|
4
|
+
export declare const issueCommentAttachmentSlice: import('@reduxjs/toolkit').Slice<IssueCommentAttachmentState, {
|
|
5
|
+
initializeIssueCommentAttachments: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
6
|
+
payload: Stored<IssueCommentAttachment>[];
|
|
7
|
+
type: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
addIssueCommentAttachment: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
10
|
+
payload: Stored<IssueCommentAttachment>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
addIssueCommentAttachments: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
14
|
+
payload: Stored<IssueCommentAttachment>[];
|
|
15
|
+
type: string;
|
|
16
|
+
}) => void;
|
|
17
|
+
setIssueCommentAttachment: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
18
|
+
payload: Stored<IssueCommentAttachment>;
|
|
19
|
+
type: string;
|
|
20
|
+
}) => void;
|
|
21
|
+
setIssueCommentAttachments: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
22
|
+
payload: Stored<IssueCommentAttachment>[];
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
updateIssueCommentAttachment: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
26
|
+
payload: Stored<IssueCommentAttachment>;
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
29
|
+
updateIssueCommentAttachments: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
30
|
+
payload: Stored<IssueCommentAttachment>[];
|
|
31
|
+
type: string;
|
|
32
|
+
}) => void;
|
|
33
|
+
deleteIssueCommentAttachment: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueCommentAttachments: (state: ModelState<string, Stored<IssueCommentAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
41
|
+
}, "issueCommentAttachments", "issueCommentAttachments", import('@reduxjs/toolkit').SliceSelectors<IssueCommentAttachmentState>>;
|
|
42
|
+
export declare const initializeIssueCommentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>[], "issueCommentAttachments/initializeIssueCommentAttachments">, addIssueCommentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>, "issueCommentAttachments/addIssueCommentAttachment">, addIssueCommentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>[], "issueCommentAttachments/addIssueCommentAttachments">, setIssueCommentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>, "issueCommentAttachments/setIssueCommentAttachment">, setIssueCommentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>[], "issueCommentAttachments/setIssueCommentAttachments">, updateIssueCommentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>, "issueCommentAttachments/updateIssueCommentAttachment">, updateIssueCommentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>[], "issueCommentAttachments/updateIssueCommentAttachments">, deleteIssueCommentAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueCommentAttachments/deleteIssueCommentAttachment">, deleteIssueCommentAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueCommentAttachments/deleteIssueCommentAttachments">;
|
|
43
|
+
export declare const selectIssueCommentAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<IssueCommentAttachment>>;
|
|
44
|
+
export declare const selectIssueCommentAttachments: OvermapSelector<Stored<IssueCommentAttachment>[]>;
|
|
45
|
+
export declare const selectIssueCommentAttachmentById: OvermapSelectorWithArgs<IssueCommentAttachment["uuid"], Stored<IssueCommentAttachment> | undefined>;
|
|
46
|
+
export declare const selectAttachmentsOfIssueComment: (args: string) => (state: OvermapRootState) => Stored<IssueCommentAttachment>[];
|
|
47
|
+
export declare const issueCommentAttachmentReducer: import('redux').Reducer<IssueCommentAttachmentState>;
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { IssueComment, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueCommentState = ModelState<Stored<IssueComment>>;
|
|
3
|
+
export type IssueCommentState = ModelState<IssueComment["uuid"], Stored<IssueComment>>;
|
|
5
4
|
export declare const issueCommentSlice: import('@reduxjs/toolkit').Slice<IssueCommentState, {
|
|
6
|
-
addIssueComment: (state: ModelState<Stored<IssueComment>>, action: {
|
|
5
|
+
addIssueComment: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
7
6
|
payload: Stored<IssueComment>;
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssueComments: (state: ModelState<Stored<IssueComment>>, action: {
|
|
9
|
+
addIssueComments: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
11
10
|
payload: Stored<IssueComment>[];
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
setIssueComment: (state: ModelState<Stored<IssueComment>>, action: {
|
|
13
|
+
setIssueComment: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
15
14
|
payload: Stored<IssueComment>;
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
setIssueComments: (state: ModelState<Stored<IssueComment>>, action: {
|
|
17
|
+
setIssueComments: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
19
18
|
payload: Stored<IssueComment>[];
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
deleteIssueComment: (state: ModelState<Stored<IssueComment>>, action:
|
|
23
|
-
|
|
21
|
+
deleteIssueComment: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
22
|
+
payload: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
deleteIssueComments: (state: ModelState<string, Stored<IssueComment>>, action: {
|
|
26
|
+
payload: string[];
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
24
29
|
}, "issueComments", "issueComments", import('@reduxjs/toolkit').SliceSelectors<IssueCommentState>>;
|
|
25
30
|
export declare const setIssueComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueComment>[], "issueComments/setIssueComments">, setIssueComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueComment>, "issueComments/setIssueComment">, addIssueComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueComment>, "issueComments/addIssueComment">, addIssueComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueComment>[], "issueComments/addIssueComments">, deleteIssueComment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueComments/deleteIssueComment">, deleteIssueComments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueComments/deleteIssueComments">;
|
|
26
31
|
export declare const selectIssueCommentMapping: (state: OvermapRootState) => Record<string, Stored<IssueComment>>;
|
|
27
|
-
export declare const selectIssueCommentById: OvermapSelectorWithArgs<
|
|
32
|
+
export declare const selectIssueCommentById: OvermapSelectorWithArgs<IssueComment["uuid"], Stored<IssueComment> | undefined>;
|
|
28
33
|
export declare const selectCommentsOfIssue: (args: string) => (state: OvermapRootState) => Stored<IssueComment>[];
|
|
29
|
-
export declare const issueCommentReducer: Reducer<IssueCommentState>;
|
|
34
|
+
export declare const issueCommentReducer: import('redux').Reducer<IssueCommentState>;
|
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import { Reducer } from '@reduxjs/toolkit';
|
|
2
1
|
import { Issue, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
2
|
import { ModelState } from '../typings';
|
|
4
|
-
export type IssueState = ModelState<Stored<Issue>>;
|
|
3
|
+
export type IssueState = ModelState<Issue["uuid"], Stored<Issue>>;
|
|
5
4
|
export declare const issueSlice: import('@reduxjs/toolkit').Slice<IssueState, {
|
|
6
|
-
initializeIssues: (state: ModelState<Stored<Issue>>, action: {
|
|
5
|
+
initializeIssues: (state: ModelState<string, Stored<Issue>>, action: {
|
|
7
6
|
payload: Stored<Issue>[];
|
|
8
7
|
type: string;
|
|
9
8
|
}) => void;
|
|
10
|
-
addIssue: (state: ModelState<Stored<Issue>>, action: {
|
|
9
|
+
addIssue: (state: ModelState<string, Stored<Issue>>, action: {
|
|
11
10
|
payload: Stored<Issue>;
|
|
12
11
|
type: string;
|
|
13
12
|
}) => void;
|
|
14
|
-
addIssues: (state: ModelState<Stored<Issue>>, action: {
|
|
13
|
+
addIssues: (state: ModelState<string, Stored<Issue>>, action: {
|
|
15
14
|
payload: Stored<Issue>[];
|
|
16
15
|
type: string;
|
|
17
16
|
}) => void;
|
|
18
|
-
updateIssue: (state: ModelState<Stored<Issue>>, action: {
|
|
17
|
+
updateIssue: (state: ModelState<string, Stored<Issue>>, action: {
|
|
19
18
|
payload: Stored<Issue>;
|
|
20
19
|
type: string;
|
|
21
20
|
}) => void;
|
|
22
|
-
deleteIssue: (state: ModelState<Stored<Issue>>, action:
|
|
23
|
-
|
|
21
|
+
deleteIssue: (state: ModelState<string, Stored<Issue>>, action: {
|
|
22
|
+
payload: string;
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
deleteIssues: (state: ModelState<string, Stored<Issue>>, action: {
|
|
26
|
+
payload: string[];
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
24
29
|
}, "issues", "issues", import('@reduxjs/toolkit').SliceSelectors<IssueState>>;
|
|
25
30
|
export declare const initializeIssues: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Issue>[], "issues/initializeIssues">, addIssue: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Issue>, "issues/addIssue">, addIssues: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Issue>[], "issues/addIssues">, updateIssue: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Issue>, "issues/updateIssue">, deleteIssue: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issues/deleteIssue">, deleteIssues: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issues/deleteIssues">;
|
|
26
31
|
export declare const selectIssueMapping: (state: OvermapRootState) => Record<string, Stored<Issue>>;
|
|
27
|
-
export declare const selectIssueById: OvermapSelectorWithArgs<
|
|
32
|
+
export declare const selectIssueById: OvermapSelectorWithArgs<Issue["uuid"], Stored<Issue> | undefined>;
|
|
28
33
|
export declare const selectIssuesByIds: (args: string[]) => (state: OvermapRootState) => Stored<Issue>[];
|
|
29
|
-
export declare const issueReducer: Reducer<IssueState>;
|
|
34
|
+
export declare const issueReducer: import('redux').Reducer<IssueState>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IssueTypeAttachment, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
|
+
import { ModelState } from '../typings';
|
|
3
|
+
export type IssueTypeAttachmentState = ModelState<IssueTypeAttachment["uuid"], Stored<IssueTypeAttachment>>;
|
|
4
|
+
export declare const issueTypeAttachmentSlice: import('@reduxjs/toolkit').Slice<IssueTypeAttachmentState, {
|
|
5
|
+
initializeIssueTypeAttachments: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
6
|
+
payload: Stored<IssueTypeAttachment>[];
|
|
7
|
+
type: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
addIssueTypeAttachment: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
10
|
+
payload: Stored<IssueTypeAttachment>;
|
|
11
|
+
type: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
addIssueTypeAttachments: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
14
|
+
payload: Stored<IssueTypeAttachment>[];
|
|
15
|
+
type: string;
|
|
16
|
+
}) => void;
|
|
17
|
+
setIssueTypeAttachment: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
18
|
+
payload: Stored<IssueTypeAttachment>;
|
|
19
|
+
type: string;
|
|
20
|
+
}) => void;
|
|
21
|
+
setIssueTypeAttachments: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
22
|
+
payload: Stored<IssueTypeAttachment>[];
|
|
23
|
+
type: string;
|
|
24
|
+
}) => void;
|
|
25
|
+
updateIssueTypeAttachment: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
26
|
+
payload: Stored<IssueTypeAttachment>;
|
|
27
|
+
type: string;
|
|
28
|
+
}) => void;
|
|
29
|
+
updateIssueTypeAttachments: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
30
|
+
payload: Stored<IssueTypeAttachment>[];
|
|
31
|
+
type: string;
|
|
32
|
+
}) => void;
|
|
33
|
+
deleteIssueTypeAttachment: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
34
|
+
payload: string;
|
|
35
|
+
type: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
deleteIssueTypeAttachments: (state: ModelState<string, Stored<IssueTypeAttachment>>, action: {
|
|
38
|
+
payload: string[];
|
|
39
|
+
type: string;
|
|
40
|
+
}) => void;
|
|
41
|
+
}, "issueTypeAttachments", "issueTypeAttachments", import('@reduxjs/toolkit').SliceSelectors<IssueTypeAttachmentState>>;
|
|
42
|
+
export declare const initializeIssueTypeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>[], "issueTypeAttachments/initializeIssueTypeAttachments">, addIssueTypeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>, "issueTypeAttachments/addIssueTypeAttachment">, addIssueTypeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>[], "issueTypeAttachments/addIssueTypeAttachments">, setIssueTypeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>, "issueTypeAttachments/setIssueTypeAttachment">, setIssueTypeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>[], "issueTypeAttachments/setIssueTypeAttachments">, updateIssueTypeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>, "issueTypeAttachments/updateIssueTypeAttachment">, updateIssueTypeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>[], "issueTypeAttachments/updateIssueTypeAttachments">, deleteIssueTypeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeAttachments/deleteIssueTypeAttachment">, deleteIssueTypeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueTypeAttachments/deleteIssueTypeAttachments">;
|
|
43
|
+
export declare const selectIssueTypeAttachmentMapping: (state: OvermapRootState) => Record<string, Stored<IssueTypeAttachment>>;
|
|
44
|
+
export declare const selectIssueTypeAttachments: OvermapSelector<Stored<IssueTypeAttachment>[]>;
|
|
45
|
+
export declare const selectIssueTypeAttachmentById: OvermapSelectorWithArgs<IssueTypeAttachment["uuid"], Stored<IssueTypeAttachment> | undefined>;
|
|
46
|
+
export declare const selectAttachmentsOfIssueType: (args: string) => (state: OvermapRootState) => Stored<IssueTypeAttachment>[];
|
|
47
|
+
export declare const issueTypeAttachmentReducer: import('redux').Reducer<IssueTypeAttachmentState>;
|