@overmap-ai/core 1.0.74-procedures.3 → 1.0.74-updates.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 +3596 -3582
- package/dist/overmap-core.umd.cjs +8 -8
- package/dist/sdk/services/AgentService.d.ts +6 -6
- package/dist/sdk/services/AssetAttachmentService.d.ts +10 -10
- package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +4 -4
- package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +7 -7
- package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +3 -3
- package/dist/sdk/services/AssetProcedureFieldsService.d.ts +2 -2
- package/dist/sdk/services/AssetProcedureInstanceService.d.ts +4 -4
- package/dist/sdk/services/AssetProcedureService.d.ts +4 -4
- 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 +10 -10
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +4 -4
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +6 -6
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +3 -3
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +2 -2
- package/dist/sdk/services/AssetTypeService.d.ts +4 -4
- package/dist/sdk/services/BaseAttachmentService.d.ts +12 -12
- package/dist/sdk/services/CategoryService.d.ts +4 -4
- package/dist/sdk/services/DocumentAttachmentService.d.ts +10 -10
- package/dist/sdk/services/DocumentService.d.ts +5 -5
- package/dist/sdk/services/EmailDomainsService.d.ts +3 -3
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +3 -3
- package/dist/sdk/services/FormRevisionService.d.ts +2 -2
- package/dist/sdk/services/FormService.d.ts +3 -3
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +4 -4
- package/dist/sdk/services/FormSubmissionService.d.ts +4 -4
- package/dist/sdk/services/GeoImageService.d.ts +5 -5
- package/dist/sdk/services/IssueAssociationService.d.ts +3 -3
- package/dist/sdk/services/IssueAttachmentService.d.ts +10 -10
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +10 -10
- 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 +10 -10
- 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 -2
- package/dist/sdk/services/OrganizationService.d.ts +3 -3
- package/dist/sdk/services/ProjectAccessService.d.ts +3 -3
- package/dist/sdk/services/ProjectAttachmentService.d.ts +12 -12
- 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 +1 -1
- package/dist/store/slices/assetProcedureSlice.d.ts +2 -2
- package/dist/store/slices/assetStageSlice.d.ts +1 -1
- package/dist/store/slices/assetTypeSlice.d.ts +1 -1
- package/dist/store/slices/documentSlice.d.ts +2 -2
- package/dist/store/slices/emailDomainsSlice.d.ts +1 -1
- package/dist/store/slices/formSlice.d.ts +1 -1
- package/dist/store/slices/geoImageSlice.d.ts +1 -1
- package/dist/store/slices/issueTypeSlice.d.ts +3 -3
- package/dist/store/slices/licenseSlice.d.ts +2 -2
- package/dist/store/slices/organizationAccessSlice.d.ts +1 -1
- package/dist/store/slices/organizationSlice.d.ts +36 -7
- package/dist/store/slices/projectAttachmentSlice.d.ts +1 -1
- package/dist/store/slices/projectSlice.d.ts +33 -14
- package/dist/store/slices/teamSlice.d.ts +2 -2
- package/dist/store/slices/userSlice.d.ts +36 -8
- package/dist/typings/models/agents.d.ts +2 -2
- package/dist/typings/models/assets.d.ts +20 -20
- package/dist/typings/models/attachments.d.ts +3 -3
- package/dist/typings/models/base.d.ts +7 -7
- 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/forms.d.ts +8 -8
- package/dist/typings/models/geo.d.ts +4 -1
- package/dist/typings/models/geoImages.d.ts +4 -3
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/issueTypes.d.ts +3 -3
- package/dist/typings/models/issues.d.ts +15 -15
- package/dist/typings/models/license.d.ts +3 -3
- package/dist/typings/models/organizations.d.ts +8 -3
- package/dist/typings/models/projects.d.ts +10 -5
- package/dist/typings/models/teams.d.ts +5 -5
- package/dist/typings/models/users.d.ts +3 -3
- package/dist/utils/offline.d.ts +3 -3
- package/dist/utils/utils.d.ts +2 -2
- package/package.json +1 -1
- package/dist/typings/models/access.d.ts +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldValue } from '@overmap-ai/forms';
|
|
2
|
-
import { FormSubmission,
|
|
2
|
+
import { FormSubmission, OvermapRootState, Payload, Project, UUID } from '../../typings';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { OptimisticModelResult } from '../typings';
|
|
5
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -9,7 +9,7 @@ export declare const separateFilesFromValues: (values: Record<string, FieldValue
|
|
|
9
9
|
};
|
|
10
10
|
export declare abstract class FormSubmissionService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
11
11
|
add(payload: Payload<FormSubmission>): OptimisticModelResult<FormSubmission>;
|
|
12
|
-
update(payload:
|
|
13
|
-
delete(
|
|
14
|
-
refreshStore(
|
|
12
|
+
update(payload: UUID<Partial<Payload<FormSubmission>>>): OptimisticModelResult<FormSubmission>;
|
|
13
|
+
delete(uuid: FormSubmission["uuid"]): Promise<undefined>;
|
|
14
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
15
15
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BulkGeoImagePayload, GeoImage, GeoImagePayload,
|
|
1
|
+
import { BulkGeoImagePayload, GeoImage, GeoImagePayload, OvermapRootState, Project, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult, OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
5
5
|
export declare abstract class GeoImageService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
6
6
|
add(payload: GeoImagePayload): Promise<OptimisticModelResult<GeoImage>>;
|
|
7
|
-
bulkAdd(payloads: BulkGeoImagePayload[],
|
|
8
|
-
update(payload:
|
|
9
|
-
delete(
|
|
10
|
-
refreshStore(
|
|
7
|
+
bulkAdd(payloads: BulkGeoImagePayload[], projectUuid: string): Promise<OptimisticMultipleModelResult<GeoImage>>;
|
|
8
|
+
update(payload: UUID<Partial<Pick<GeoImagePayload, "title" | "description">>>): OptimisticModelResult<GeoImage>;
|
|
9
|
+
delete(uuid: GeoImage["uuid"]): Promise<void>;
|
|
10
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
11
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IssueAssociation, OvermapRootState, Payload } from '../../typings';
|
|
1
|
+
import { IssueAssociation, OvermapRootState, Payload, Project } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueAssociationService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<IssueAssociation>): OptimisticModelResult<IssueAssociation>;
|
|
7
|
-
delete(
|
|
8
|
-
refreshStore(
|
|
7
|
+
delete(uuid: IssueAssociation["uuid"]): Promise<void>;
|
|
8
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
9
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IssueAttachment, OvermapRootState, Stored } from '../../typings';
|
|
1
|
+
import { Issue, IssueAttachment, OvermapRootState, Project, Stored } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
5
|
-
export declare abstract class IssueAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK,
|
|
5
|
+
export declare abstract class IssueAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK, IssueAttachment> {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
8
8
|
initializeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>[], "issueAttachments/initializeIssueAttachments">;
|
|
@@ -12,29 +12,29 @@ export declare abstract class IssueAttachmentService<TState extends OvermapRootS
|
|
|
12
12
|
removeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueAttachments/deleteIssueAttachment">;
|
|
13
13
|
setAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueAttachment>, "issueAttachments/setIssueAttachment">;
|
|
14
14
|
selectAttachment: import('../..').OvermapSelectorWithArgs<string, Stored<IssueAttachment> | undefined>;
|
|
15
|
-
protected buildOfflineAttachment(data: BuildOfflineAttachmentData
|
|
15
|
+
protected buildOfflineAttachment(data: BuildOfflineAttachmentData): import('../..').UUID<{
|
|
16
16
|
file: string;
|
|
17
17
|
file_sha1: string;
|
|
18
|
-
created_by:
|
|
18
|
+
created_by: string | undefined;
|
|
19
19
|
file_name: string;
|
|
20
20
|
file_type: string;
|
|
21
21
|
submitted_at: string;
|
|
22
22
|
description: string | undefined;
|
|
23
23
|
issue: string;
|
|
24
24
|
}>;
|
|
25
|
-
protected buildAttachmentPayload(data: BuildAttachmentPayloadData
|
|
25
|
+
protected buildAttachmentPayload(data: BuildAttachmentPayloadData): {
|
|
26
26
|
issue: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
modelUuid: import('../..').UUIDModel["uuid"];
|
|
28
|
+
uuid: import('../..').UUIDModel["uuid"];
|
|
29
29
|
description: import('../..').Attachment["description"];
|
|
30
30
|
file_sha1: import('../..').FileWithNameModel["file_sha1"];
|
|
31
31
|
file_name: import('../..').FileWithNameModel["file_name"];
|
|
32
32
|
file_extension: string;
|
|
33
33
|
};
|
|
34
34
|
bulkAdd(payloads: {
|
|
35
|
-
|
|
35
|
+
issueUuid: Issue["uuid"];
|
|
36
36
|
file: File;
|
|
37
37
|
}[]): Promise<OptimisticMultipleModelResult<IssueAttachment>>;
|
|
38
|
-
delete(
|
|
39
|
-
refreshStore(
|
|
38
|
+
delete(uuid: IssueAttachment["uuid"]): Promise<void>;
|
|
39
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
40
40
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IssueCommentAttachment, OvermapRootState, Stored } from '../../typings';
|
|
1
|
+
import { IssueComment, IssueCommentAttachment, OvermapRootState, Project, Stored } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
5
|
-
export declare abstract class IssueCommentAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK,
|
|
5
|
+
export declare abstract class IssueCommentAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK, IssueCommentAttachment> {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
8
8
|
initializeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>[], "issueCommentAttachments/initializeIssueCommentAttachments">;
|
|
@@ -12,29 +12,29 @@ export declare abstract class IssueCommentAttachmentService<TState extends Overm
|
|
|
12
12
|
removeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueCommentAttachments/deleteIssueCommentAttachment">;
|
|
13
13
|
setAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueCommentAttachment>, "issueCommentAttachments/setIssueCommentAttachment">;
|
|
14
14
|
selectAttachment: import('../..').OvermapSelectorWithArgs<string, Stored<IssueCommentAttachment> | undefined>;
|
|
15
|
-
protected buildOfflineAttachment(data: BuildOfflineAttachmentData
|
|
15
|
+
protected buildOfflineAttachment(data: BuildOfflineAttachmentData): import('../..').UUID<{
|
|
16
16
|
file: string;
|
|
17
17
|
file_sha1: string;
|
|
18
|
-
created_by:
|
|
18
|
+
created_by: string | undefined;
|
|
19
19
|
file_name: string;
|
|
20
20
|
file_type: string;
|
|
21
21
|
submitted_at: string;
|
|
22
22
|
description: string | undefined;
|
|
23
23
|
issue_comment: string;
|
|
24
24
|
}>;
|
|
25
|
-
protected buildAttachmentPayload(data: BuildAttachmentPayloadData
|
|
25
|
+
protected buildAttachmentPayload(data: BuildAttachmentPayloadData): {
|
|
26
26
|
issue_comment: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
modelUuid: import('../..').UUIDModel["uuid"];
|
|
28
|
+
uuid: import('../..').UUIDModel["uuid"];
|
|
29
29
|
description: import('../..').Attachment["description"];
|
|
30
30
|
file_sha1: import('../..').FileWithNameModel["file_sha1"];
|
|
31
31
|
file_name: import('../..').FileWithNameModel["file_name"];
|
|
32
32
|
file_extension: string;
|
|
33
33
|
};
|
|
34
34
|
bulkAdd(payloads: {
|
|
35
|
-
|
|
35
|
+
issueCommentUuid: IssueComment["uuid"];
|
|
36
36
|
file: File;
|
|
37
37
|
}[]): Promise<OptimisticMultipleModelResult<IssueCommentAttachment>>;
|
|
38
|
-
delete(
|
|
39
|
-
refreshStore(
|
|
38
|
+
delete(uuid: IssueCommentAttachment["uuid"]): Promise<void>;
|
|
39
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
40
40
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IssueComment,
|
|
1
|
+
import { IssueComment, OvermapRootState, Payload, Project, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueCommentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Omit<Payload<IssueComment>, "author">): OptimisticModelResult<IssueComment>;
|
|
7
|
-
update(payload:
|
|
8
|
-
remove(
|
|
9
|
-
refreshStore(
|
|
7
|
+
update(payload: UUID<Partial<Payload<IssueComment>>>): OptimisticModelResult<IssueComment>;
|
|
8
|
+
remove(uuid: IssueComment["uuid"]): Promise<undefined>;
|
|
9
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Issue,
|
|
1
|
+
import { Issue, OvermapRootState, Payload, Project, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<Issue>): OptimisticModelResult<Issue>;
|
|
7
|
-
update(payload:
|
|
8
|
-
remove(
|
|
9
|
-
refreshStore(
|
|
7
|
+
update(payload: UUID<Partial<Payload<Issue>>>): OptimisticModelResult<Issue>;
|
|
8
|
+
remove(uuid: Issue["uuid"]): Promise<undefined>;
|
|
9
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<undefined>;
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IssueTypeAttachment, OvermapRootState, Stored } from '../../typings';
|
|
1
|
+
import { IssueType, IssueTypeAttachment, Organization, OvermapRootState, Stored } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
5
|
-
export declare abstract class IssueTypeAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK,
|
|
5
|
+
export declare abstract class IssueTypeAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK, IssueTypeAttachment> {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
8
8
|
initializeAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>[], "issueTypeAttachments/initializeIssueTypeAttachments">;
|
|
@@ -12,29 +12,29 @@ export declare abstract class IssueTypeAttachmentService<TState extends OvermapR
|
|
|
12
12
|
removeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeAttachments/deleteIssueTypeAttachment">;
|
|
13
13
|
setAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeAttachment>, "issueTypeAttachments/setIssueTypeAttachment">;
|
|
14
14
|
selectAttachment: import('../..').OvermapSelectorWithArgs<string, Stored<IssueTypeAttachment> | undefined>;
|
|
15
|
-
protected buildOfflineAttachment(data: BuildOfflineAttachmentData
|
|
15
|
+
protected buildOfflineAttachment(data: BuildOfflineAttachmentData): import('../..').UUID<{
|
|
16
16
|
file: string;
|
|
17
17
|
file_sha1: string;
|
|
18
|
-
created_by:
|
|
18
|
+
created_by: string | undefined;
|
|
19
19
|
file_name: string;
|
|
20
20
|
file_type: string;
|
|
21
21
|
submitted_at: string;
|
|
22
22
|
description: string | undefined;
|
|
23
23
|
issue_type: string;
|
|
24
24
|
}>;
|
|
25
|
-
protected buildAttachmentPayload(data: BuildAttachmentPayloadData
|
|
25
|
+
protected buildAttachmentPayload(data: BuildAttachmentPayloadData): {
|
|
26
26
|
issue_type: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
modelUuid: import('../..').UUIDModel["uuid"];
|
|
28
|
+
uuid: import('../..').UUIDModel["uuid"];
|
|
29
29
|
description: import('../..').Attachment["description"];
|
|
30
30
|
file_sha1: import('../..').FileWithNameModel["file_sha1"];
|
|
31
31
|
file_name: import('../..').FileWithNameModel["file_name"];
|
|
32
32
|
file_extension: string;
|
|
33
33
|
};
|
|
34
34
|
bulkAdd(payloads: {
|
|
35
|
-
|
|
35
|
+
issueTypeUuid: IssueType["uuid"];
|
|
36
36
|
file: File;
|
|
37
37
|
}[]): Promise<OptimisticMultipleModelResult<IssueTypeAttachment>>;
|
|
38
|
-
delete(
|
|
39
|
-
refreshStore(
|
|
38
|
+
delete(uuid: IssueTypeAttachment["uuid"]): Promise<void>;
|
|
39
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
40
40
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { IssueTypeFieldValuesAttachment, OvermapRootState } from '../../typings';
|
|
1
|
+
import { IssueTypeFieldValues, IssueTypeFieldValuesAttachment, OvermapRootState, Project } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
5
5
|
export declare abstract class IssueTypeFieldValuesAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
6
6
|
bulkAdd(payloads: {
|
|
7
|
-
|
|
7
|
+
fieldValuesUuid: IssueTypeFieldValues["uuid"];
|
|
8
8
|
fieldIdentifier: string;
|
|
9
9
|
file: File;
|
|
10
10
|
}[]): Promise<OptimisticMultipleModelResult<IssueTypeFieldValuesAttachment>>;
|
|
11
|
-
bulkDelete(
|
|
12
|
-
refreshStore(
|
|
11
|
+
bulkDelete(uuids: IssueTypeFieldValuesAttachment["uuid"][]): Promise<void>;
|
|
12
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IssueTypeFieldValues,
|
|
1
|
+
import { IssueTypeFieldValues, OvermapRootState, Payload, Project, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueTypeFieldValuesService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<IssueTypeFieldValues>): OptimisticModelResult<IssueTypeFieldValues>;
|
|
7
|
-
update(payload:
|
|
8
|
-
delete(
|
|
9
|
-
refreshStore(
|
|
7
|
+
update(payload: UUID<Partial<Payload<IssueTypeFieldValues>>>): OptimisticModelResult<IssueTypeFieldValues>;
|
|
8
|
+
delete(uuid: IssueTypeFieldValues["uuid"]): Promise<void>;
|
|
9
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { IssueTypeFieldsAttachment, OvermapRootState } from '../../typings';
|
|
1
|
+
import { IssueTypeFields, IssueTypeFieldsAttachment, Organization, OvermapRootState } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
5
5
|
export declare abstract class IssueTypeFieldsAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
6
6
|
bulkAdd(payloads: {
|
|
7
|
-
|
|
7
|
+
fieldsRevisionUuid: IssueTypeFields["uuid"];
|
|
8
8
|
fieldIdentifier: string;
|
|
9
9
|
file: File;
|
|
10
10
|
}[]): Promise<OptimisticMultipleModelResult<IssueTypeFieldsAttachment>>;
|
|
11
|
-
refreshStore(
|
|
11
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
12
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IssueTypeFields, OvermapRootState, Payload } from '../../typings';
|
|
1
|
+
import { IssueTypeFields, Organization, OvermapRootState, Payload } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueTypeFieldsService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<IssueTypeFields>): OptimisticModelResult<IssueTypeFields>;
|
|
7
|
-
refreshStore(
|
|
7
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
8
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IssueType,
|
|
1
|
+
import { IssueType, Organization, OvermapRootState, Payload, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class IssueTypeService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<IssueType>): OptimisticModelResult<IssueType>;
|
|
7
|
-
update(payload:
|
|
8
|
-
delete(
|
|
9
|
-
refreshStore(
|
|
7
|
+
update(payload: UUID<Partial<Payload<IssueType>>>): OptimisticModelResult<IssueType>;
|
|
8
|
+
delete(uuid: IssueType["uuid"]): Promise<void>;
|
|
9
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OvermapRootState } from '../../typings';
|
|
1
|
+
import { OvermapRootState, Project } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
export declare abstract class IssueUpdateService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
5
|
-
refreshStore(
|
|
5
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
6
6
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { License, OvermapRootState, Project, Transaction } from '../../typings';
|
|
1
|
+
import { License, Organization, OvermapRootState, Project, Transaction } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
export declare abstract class LicenseService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -9,5 +9,5 @@ export declare abstract class LicenseService<TState extends OvermapRootState, TS
|
|
|
9
9
|
attachLicenseToProject(license: License, project: Project): Promise<License>;
|
|
10
10
|
detachLicenseFromProject(license: License): Promise<License>;
|
|
11
11
|
getLatestTransaction(license: License): Promise<Transaction>;
|
|
12
|
-
refreshStore(
|
|
12
|
+
refreshStore(projectUuid: Project["uuid"], organizationUuid: Organization["uuid"]): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrganizationAccess, OvermapRootState } from '../../typings';
|
|
1
|
+
import { Organization, OrganizationAccess, OvermapRootState } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
/**
|
|
@@ -7,5 +7,5 @@ import { BaseApiService } from './BaseApiService';
|
|
|
7
7
|
export declare abstract class OrganizationAccessService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
8
8
|
update(organizationAccess: OrganizationAccess): Promise<OrganizationAccess>;
|
|
9
9
|
remove(organizationAccess: OrganizationAccess): Promise<undefined>;
|
|
10
|
-
refreshStore(
|
|
10
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
11
11
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Organization, OvermapRootState } from '../../typings';
|
|
1
|
+
import { Organization, OvermapRootState, Project } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
export declare abstract class OrganizationService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
5
5
|
create(name: string): Promise<Organization>;
|
|
6
6
|
update(organization: Organization): Promise<Organization>;
|
|
7
|
-
invite(
|
|
8
|
-
refreshStore(
|
|
7
|
+
invite(organizationUuid: Organization["uuid"], email: string): Promise<undefined>;
|
|
8
|
+
refreshStore(projectUuid: Project["uuid"], organizationUuid: Organization["uuid"]): Promise<void>;
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OvermapRootState, ProjectAccess } from '../../typings';
|
|
1
|
+
import { OvermapRootState, Project, ProjectAccess } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
/**
|
|
@@ -6,6 +6,6 @@ import { BaseApiService } from './BaseApiService';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare abstract class ProjectAccessService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
8
8
|
update(projectAccess: ProjectAccess): Promise<ProjectAccess>;
|
|
9
|
-
remove(
|
|
10
|
-
refreshStore(
|
|
9
|
+
remove(uuid: ProjectAccess["uuid"]): Promise<undefined>;
|
|
10
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<undefined>;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OvermapRootState, ProjectAttachment, Stored } from '../../typings';
|
|
1
|
+
import { OvermapRootState, Project, ProjectAttachment, Stored } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
4
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
5
|
-
export declare abstract class ProjectAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK,
|
|
5
|
+
export declare abstract class ProjectAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseAttachmentService<TState, TSDK, Stored<ProjectAttachment>> {
|
|
6
6
|
name: string;
|
|
7
7
|
url: string;
|
|
8
8
|
addAttachments: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>[], "projectAttachments/addProjectAttachments">;
|
|
@@ -11,29 +11,29 @@ export declare abstract class ProjectAttachmentService<TState extends OvermapRoo
|
|
|
11
11
|
removeAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "projectAttachments/deleteProjectAttachment">;
|
|
12
12
|
setAttachment: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectAttachment>, "projectAttachments/setProjectAttachment">;
|
|
13
13
|
selectAttachment: import('../..').OvermapSelectorWithArgs<string, ProjectAttachment | undefined>;
|
|
14
|
-
protected buildOfflineAttachment(data: BuildOfflineAttachmentData
|
|
14
|
+
protected buildOfflineAttachment(data: BuildOfflineAttachmentData): import('../..').UUID<{
|
|
15
15
|
file: string;
|
|
16
16
|
file_sha1: string;
|
|
17
|
-
created_by:
|
|
17
|
+
created_by: string | undefined;
|
|
18
18
|
file_name: string;
|
|
19
19
|
file_type: string;
|
|
20
20
|
submitted_at: string;
|
|
21
21
|
description: string | undefined;
|
|
22
|
-
project:
|
|
22
|
+
project: string;
|
|
23
23
|
}>;
|
|
24
|
-
protected buildAttachmentPayload(data: BuildAttachmentPayloadData
|
|
25
|
-
project:
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
protected buildAttachmentPayload(data: BuildAttachmentPayloadData): {
|
|
25
|
+
project: string;
|
|
26
|
+
modelUuid: import('../..').UUIDModel["uuid"];
|
|
27
|
+
uuid: import('../..').UUIDModel["uuid"];
|
|
28
28
|
description: import('../..').Attachment["description"];
|
|
29
29
|
file_sha1: import('../..').FileWithNameModel["file_sha1"];
|
|
30
30
|
file_name: import('../..').FileWithNameModel["file_name"];
|
|
31
31
|
file_extension: string;
|
|
32
32
|
};
|
|
33
33
|
bulkAdd(payloads: {
|
|
34
|
-
|
|
34
|
+
projectUuid: Project["uuid"];
|
|
35
35
|
file: File;
|
|
36
36
|
}[]): Promise<OptimisticMultipleModelResult<ProjectAttachment>>;
|
|
37
|
-
delete(
|
|
38
|
-
refreshStore(
|
|
37
|
+
delete(uuid: ProjectAttachment["uuid"]): Promise<void>;
|
|
38
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
39
39
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OvermapRootState, ProjectFile } from '../../typings';
|
|
1
|
+
import { OvermapRootState, Project, ProjectFile } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticGenericResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -8,6 +8,6 @@ import { BaseApiService } from './BaseApiService';
|
|
|
8
8
|
export declare abstract class ProjectFileService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
9
9
|
saveExisting(file: ProjectFile): Promise<ProjectFile>;
|
|
10
10
|
saveActive(): OptimisticGenericResult<ProjectFile>;
|
|
11
|
-
delete(
|
|
12
|
-
refreshStore(
|
|
11
|
+
delete(uuid: ProjectFile["uuid"]): Promise<undefined>;
|
|
12
|
+
refreshStore(projectUuid: Project["uuid"]): Promise<void>;
|
|
13
13
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OvermapRootState, Payload, Project } from '../../typings';
|
|
1
|
+
import { OvermapRootState, Payload, Project, User } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
interface JoinProjectResponse {
|
|
@@ -7,9 +7,9 @@ interface JoinProjectResponse {
|
|
|
7
7
|
export declare abstract class ProjectService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
8
8
|
add(payload: Payload<Project>): Promise<Project>;
|
|
9
9
|
update(project: Project): Promise<Project>;
|
|
10
|
-
delete(
|
|
11
|
-
invite(
|
|
12
|
-
joinProject(
|
|
13
|
-
acceptInvite(
|
|
10
|
+
delete(uuid: Project["uuid"]): Promise<void>;
|
|
11
|
+
invite(projectUuid: Project["uuid"], email: string): Promise<undefined>;
|
|
12
|
+
joinProject(projectUuid: Project["uuid"], userUuid: User["uuid"], inviteCode: string): Promise<JoinProjectResponse>;
|
|
13
|
+
acceptInvite(projectUuid: Project["uuid"]): Promise<void>;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Organization, OvermapRootState, Payload, Team, User, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { BaseApiService } from './BaseApiService';
|
|
5
5
|
export declare abstract class TeamService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
6
6
|
add(payload: Payload<Team>): OptimisticModelResult<Team>;
|
|
7
|
-
update(payload:
|
|
8
|
-
delete(
|
|
9
|
-
setMembers(
|
|
10
|
-
addMembers(
|
|
11
|
-
removeMembers(
|
|
12
|
-
refreshStore(
|
|
7
|
+
update(payload: UUID<Partial<Payload<Team>>>): OptimisticModelResult<Team>;
|
|
8
|
+
delete(uuid: Team["uuid"]): Promise<undefined>;
|
|
9
|
+
setMembers(teamUuid: Team["uuid"], members: User["uuid"][]): Promise<undefined>;
|
|
10
|
+
addMembers(teamUuid: Team["uuid"], members: User["uuid"][]): Promise<undefined>;
|
|
11
|
+
removeMembers(teamUuid: Team["uuid"], members: User["uuid"][]): Promise<undefined>;
|
|
12
|
+
refreshStore(organizationUuid: Organization["uuid"]): Promise<void>;
|
|
13
13
|
}
|
|
@@ -2,5 +2,5 @@ import { OvermapRootState } from '../../typings';
|
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { BaseApiService } from './BaseApiService';
|
|
4
4
|
export declare abstract class UserService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
5
|
-
refreshStore(
|
|
5
|
+
refreshStore(projectUuid: number, organizationUuid: number): Promise<void>;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Reducer } from '@reduxjs/toolkit';
|
|
2
|
-
import { AssetProcedure, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
2
|
+
import { AssetProcedure, Organization, OvermapRootState, OvermapSelectorWithArgs, Stored } from '../../typings';
|
|
3
3
|
import { ModelState } from '../typings';
|
|
4
4
|
export type AssetProcedureState = ModelState<Stored<AssetProcedure>>;
|
|
5
5
|
export declare const assetProcedureSlice: import('@reduxjs/toolkit').Slice<AssetProcedureState, {
|
|
@@ -57,7 +57,7 @@ export declare const selectAssetProcedures: ((state: OvermapRootState) => Stored
|
|
|
57
57
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
58
58
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
59
|
};
|
|
60
|
-
export declare const selectAssetProceduresOfOrganization: OvermapSelectorWithArgs<
|
|
60
|
+
export declare const selectAssetProceduresOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Stored<AssetProcedure>[]>;
|
|
61
61
|
export declare const selectAssetProcedureById: OvermapSelectorWithArgs<string, Stored<AssetProcedure> | undefined>;
|
|
62
62
|
export declare const selectAssetProceduresByIds: (args: string[]) => (state: OvermapRootState) => Stored<AssetProcedure>[];
|
|
63
63
|
export declare const assetProcedureReducer: Reducer<AssetProcedureState>;
|
|
@@ -36,7 +36,7 @@ export declare const assetStageSlice: import('@reduxjs/toolkit').Slice<ModelStat
|
|
|
36
36
|
}, "assetStages", "assetStages", import('@reduxjs/toolkit').SliceSelectors<ModelState<Stored<AssetStage>>>>;
|
|
37
37
|
export declare const initializeAssetStages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>[], "assetStages/initializeAssetStages">, setAssetStage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>, "assetStages/setAssetStage">, setAssetStages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>[], "assetStages/setAssetStages">, addAssetStage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>, "assetStages/addAssetStage">, addAssetStages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>[], "assetStages/addAssetStages">, updateAssetStage: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>, "assetStages/updateAssetStage">, updateAssetStages: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<AssetStage>[], "assetStages/updateAssetStages">, deleteAssetStage: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "assetStages/deleteAssetStage">, deleteAssetStages: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "assetStages/deleteAssetStages">;
|
|
38
38
|
export declare const assetStageReducer: Reducer<AssetStageState>;
|
|
39
|
-
export declare const selectStageMapping: OvermapSelector<Record<AssetStage["
|
|
39
|
+
export declare const selectStageMapping: OvermapSelector<Record<AssetStage["uuid"], Stored<AssetStage>>>;
|
|
40
40
|
export declare const selectAssetStageById: OvermapSelectorWithArgs<string, Stored<AssetStage> | undefined>;
|
|
41
41
|
export declare const selectAssetStages: ((state: import('../..').OvermapRootState) => Stored<AssetStage>[]) & {
|
|
42
42
|
clearCache: () => void;
|
|
@@ -37,6 +37,6 @@ export declare const assetTypeSlice: import('@reduxjs/toolkit').Slice<AssetTypeS
|
|
|
37
37
|
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">;
|
|
38
38
|
export declare const selectAssetTypesMapping: OvermapSelector<Record<string, Stored<AssetType>>>;
|
|
39
39
|
export declare const selectAssetTypes: OvermapSelector<Stored<AssetType>[]>;
|
|
40
|
-
export declare const selectAssetTypeById: OvermapSelectorWithArgs<AssetType["
|
|
40
|
+
export declare const selectAssetTypeById: OvermapSelectorWithArgs<AssetType["uuid"], Stored<AssetType> | undefined>;
|
|
41
41
|
export declare const selectAssetTypesByIds: (args: string[]) => (state: OvermapRootState) => Stored<AssetType>[];
|
|
42
42
|
export declare const assetTypeReducer: Reducer<AssetTypeState>;
|
|
@@ -4,8 +4,8 @@ export interface DocumentState {
|
|
|
4
4
|
documents: Record<string, Stored<Document>>;
|
|
5
5
|
}
|
|
6
6
|
export interface MoveDocumentPayload {
|
|
7
|
-
documentId: Document["
|
|
8
|
-
targetDocumentId: Document["
|
|
7
|
+
documentId: Document["uuid"];
|
|
8
|
+
targetDocumentId: Document["uuid"] | null;
|
|
9
9
|
position: MovePosition;
|
|
10
10
|
}
|
|
11
11
|
export declare const documentSlice: import('@reduxjs/toolkit').Slice<DocumentState, {
|
|
@@ -36,5 +36,5 @@ export declare const selectEmailDomains: ((state: OvermapRootState) => EmailDoma
|
|
|
36
36
|
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
37
37
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
38
38
|
};
|
|
39
|
-
export declare const selectEmailDomainsOfOrganization: (args:
|
|
39
|
+
export declare const selectEmailDomainsOfOrganization: (args: string) => (state: OvermapRootState) => EmailDomain[];
|
|
40
40
|
export declare const emailDomainsReducer: Reducer<EmailDomainState>;
|
|
@@ -31,7 +31,7 @@ export type FormSearchArgs = SearchArgs<{
|
|
|
31
31
|
/** organization owner */
|
|
32
32
|
organization?: number;
|
|
33
33
|
}>;
|
|
34
|
-
export declare const selectFormMapping: OvermapSelector<Record<Stored<Form>["
|
|
34
|
+
export declare const selectFormMapping: OvermapSelector<Record<Stored<Form>["uuid"], Stored<Form>>>;
|
|
35
35
|
export declare const selectForms: ((state: OvermapRootState) => Stored<Form>[]) & {
|
|
36
36
|
clearCache: () => void;
|
|
37
37
|
resultsCount: () => number;
|
|
@@ -58,5 +58,5 @@ export declare const selectGeoImages: ((state: OvermapRootState) => Stored<GeoIm
|
|
|
58
58
|
memoize: typeof import('reselect').weakMapMemoize;
|
|
59
59
|
};
|
|
60
60
|
export declare const selectGeoImageById: (id: string) => (state: OvermapRootState) => Stored<GeoImage> | undefined;
|
|
61
|
-
export declare const selectGeoImagesOfProject: (args:
|
|
61
|
+
export declare const selectGeoImagesOfProject: (args: string) => (state: OvermapRootState) => Stored<GeoImage>[];
|
|
62
62
|
export declare const geoImageReducer: Reducer<GeoImageSliceState>;
|
|
@@ -26,7 +26,7 @@ export declare const selectIssueTypeMapping: OvermapSelector<IssueTypeState["ins
|
|
|
26
26
|
export declare const selectIssueTypes: OvermapSelector<Stored<IssueType>[]>;
|
|
27
27
|
export declare const selectIssueTypeById: OvermapSelectorWithArgs<string, Stored<IssueType> | undefined>;
|
|
28
28
|
export declare const selectIssueTypesByIds: OvermapSelectorWithArgs<string[], Stored<IssueType>[]>;
|
|
29
|
-
export declare const selectIssueTypesOfOrganization: OvermapSelectorWithArgs<Organization["
|
|
30
|
-
export declare const selectIssuesOfIssueType: OvermapSelectorWithArgs<IssueType["
|
|
31
|
-
export declare const selectIssuesOfIssueTypeCount: OvermapSelectorWithArgs<IssueType["
|
|
29
|
+
export declare const selectIssueTypesOfOrganization: OvermapSelectorWithArgs<Organization["uuid"], Stored<IssueType>[]>;
|
|
30
|
+
export declare const selectIssuesOfIssueType: OvermapSelectorWithArgs<IssueType["uuid"], Stored<Issue>[]>;
|
|
31
|
+
export declare const selectIssuesOfIssueTypeCount: OvermapSelectorWithArgs<IssueType["uuid"], number>;
|
|
32
32
|
export declare const issueTypeReducer: Reducer<IssueTypeState>;
|