@overmap-ai/core 1.0.78-bulk-update.18 → 1.0.78-bulk-identifier-value-support.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/enums/issue.d.ts +0 -1
- package/dist/overmap-core.js +6380 -6689
- package/dist/overmap-core.umd.cjs +7 -8
- package/dist/sdk/constants.d.ts +1 -1
- package/dist/sdk/services/AssetAttachmentService.d.ts +8 -17
- package/dist/sdk/services/AssetProcedureStepFieldValuesAttachmentService.d.ts +9 -11
- package/dist/sdk/services/AssetProcedureStepFieldsAttachmentService.d.ts +18 -18
- package/dist/sdk/services/AssetProcedureTypeAttachmentService.d.ts +8 -17
- package/dist/sdk/services/AssetProcedureTypeFieldValuesAttachmentService.d.ts +9 -11
- package/dist/sdk/services/AssetProcedureTypeFieldsAttachmentService.d.ts +18 -18
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +8 -17
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +9 -8
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +9 -9
- package/dist/sdk/services/AssetTypeIdentifierValueService.d.ts +3 -3
- package/dist/sdk/services/BaseOfflineFileModelApiService.d.ts +17 -0
- package/dist/sdk/services/DocumentAttachmentService.d.ts +10 -17
- package/dist/sdk/services/FileService.d.ts +6 -28
- package/dist/sdk/services/FormIdentifierValueService.d.ts +1 -2
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +18 -18
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +18 -18
- package/dist/sdk/services/GeoImageService.d.ts +10 -7
- package/dist/sdk/services/IssueAttachmentService.d.ts +8 -17
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +8 -17
- package/dist/sdk/services/IssueService.d.ts +1 -0
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +8 -17
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +18 -18
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +18 -18
- package/dist/sdk/services/IssueTypeIdentifierValueService.d.ts +1 -2
- package/dist/sdk/services/IssueUpdateService.d.ts +0 -2
- package/dist/sdk/services/ProjectAttachmentService.d.ts +8 -17
- package/dist/sdk/services/ProjectFileService.d.ts +20 -16
- package/dist/sdk/services/index.d.ts +1 -2
- package/dist/sdk/typings.d.ts +12 -4
- package/dist/store/reducers.d.ts +0 -3
- package/dist/store/slices/assetProcedureSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +0 -2
- package/dist/store/slices/assetProcedureStepSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureTypeAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureTypeFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureTypeFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetProcedureTypeFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetSlice.d.ts +0 -1
- package/dist/store/slices/assetStageCompletionSlice.d.ts +0 -1
- package/dist/store/slices/assetStageSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +0 -1
- package/dist/store/slices/assetTypeStatusSlice.d.ts +0 -1
- package/dist/store/slices/emailDomainsSlice.d.ts +0 -1
- package/dist/store/slices/fileSlice.d.ts +0 -3
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/formRevisionSlice.d.ts +0 -1
- package/dist/store/slices/formSlice.d.ts +0 -1
- package/dist/store/slices/geoImageSlice.d.ts +0 -1
- package/dist/store/slices/index.d.ts +0 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +2 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +0 -1
- package/dist/store/slices/issueTypeStatusSlice.d.ts +0 -1
- package/dist/store/slices/issueUpdateSlice.d.ts +0 -3
- package/dist/store/slices/organizationSlice.d.ts +0 -1
- package/dist/store/slices/projectFileSlice.d.ts +2 -17
- package/dist/store/slices/projectSlice.d.ts +0 -1
- package/dist/store/slices/userSlice.d.ts +3 -10
- package/dist/typings/files.d.ts +26 -9
- package/dist/typings/models/base.d.ts +4 -1
- package/dist/typings/models/geoImages.d.ts +1 -1
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/issues.d.ts +3 -10
- package/dist/typings/models/projects.d.ts +4 -4
- package/dist/typings/models/users.d.ts +0 -1
- package/dist/utils/file.d.ts +7 -11
- package/package.json +3 -3
- package/dist/sdk/services/BaseOfflineAttachmentModelService.d.ts +0 -23
- package/dist/sdk/services/CategoryService.d.ts +0 -28
- package/dist/store/slices/categorySlice.d.ts +0 -112
- package/dist/typings/models/categories.d.ts +0 -7
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormSubmissionAttachment, Organization, Payload, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class FormSubmissionAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class FormSubmissionAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<FormSubmissionAttachment["uuid"], FormSubmissionAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
9
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/addFormSubmissionAttachment">;
|
|
10
|
+
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/addFormSubmissionAttachments">;
|
|
11
|
+
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/setFormSubmissionAttachment">;
|
|
12
|
+
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/setFormSubmissionAttachments">;
|
|
13
|
+
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>, "formSubmissionAttachments/updateFormSubmissionAttachment">;
|
|
14
|
+
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/updateFormSubmissionAttachments">;
|
|
16
15
|
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "formSubmissionAttachments/deleteFormSubmissionAttachment">;
|
|
17
16
|
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "formSubmissionAttachments/deleteFormSubmissionAttachments">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
17
|
+
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<FormSubmissionAttachment>[], "formSubmissionAttachments/initializeFormSubmissionAttachments">;
|
|
19
18
|
};
|
|
20
19
|
selectors: {
|
|
21
|
-
selectById: (uuid: string) => (state: any) =>
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) =>
|
|
20
|
+
selectById: (uuid: string) => (state: any) => Stored<FormSubmissionAttachment> | undefined;
|
|
21
|
+
selectByIds: (uuids: string[]) => (state: any) => Stored<FormSubmissionAttachment>[];
|
|
23
22
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
protected getId(model: Stored<FormSubmissionAttachment>): string;
|
|
24
|
+
protected getBlockers(model: Stored<FormSubmissionAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<FormSubmissionAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<FormSubmissionAttachment>): Submitted<FormSubmissionAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<FormSubmissionAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<FormSubmissionAttachment>): object;
|
|
29
29
|
bulkDelete(uuids: FormSubmissionAttachment["uuid"][]): Promise<void>;
|
|
30
30
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<FormSubmissionAttachment[]>;
|
|
31
31
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GeoImage, GeoImagePayload, Payload, Project, Stored, Submitted, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticModelResult
|
|
3
|
+
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class GeoImageService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
5
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
6
|
+
export declare abstract class GeoImageService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<GeoImage["uuid"], GeoImage, TState, TSDK> {
|
|
7
7
|
name: string;
|
|
8
8
|
url: string;
|
|
9
9
|
actions: {
|
|
@@ -21,9 +21,12 @@ export declare abstract class GeoImageService<TState extends OvermapRootState, T
|
|
|
21
21
|
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<GeoImage> | undefined>;
|
|
22
22
|
selectByIds: (uuids: string[]) => (state: any) => Stored<GeoImage>[];
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
protected getId(model: Stored<GeoImage>): GeoImage["uuid"];
|
|
25
|
+
protected getBlockers(model: Stored<GeoImage>): string[];
|
|
26
|
+
protected getBlocks(model: Stored<GeoImage>): string[];
|
|
27
|
+
protected buildModel(data: Payload<GeoImage>): Submitted<GeoImage>;
|
|
28
|
+
protected buildPayload(model: Submitted<GeoImage>): object;
|
|
29
|
+
protected buildBulkPayload(model: Submitted<GeoImage>): object;
|
|
26
30
|
update(payload: UUID<Partial<Pick<GeoImagePayload, "title" | "description">>>): OptimisticModelResult<GeoImage>;
|
|
27
|
-
delete(uuid: GeoImage["uuid"]): Promise<void>;
|
|
28
31
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<GeoImage[]>;
|
|
29
32
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueAttachment, Payload, Project, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class IssueAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class IssueAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<IssueAttachment["uuid"], IssueAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
@@ -22,18 +21,10 @@ export declare abstract class IssueAttachmentService<TState extends OvermapRootS
|
|
|
22
21
|
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueAttachment>[];
|
|
23
22
|
};
|
|
24
23
|
protected getId(model: Stored<IssueAttachment>): IssueAttachment["uuid"];
|
|
25
|
-
protected
|
|
26
|
-
protected
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
file_extension: string;
|
|
31
|
-
issue: string;
|
|
32
|
-
};
|
|
33
|
-
bulkAdd(payloads: {
|
|
34
|
-
issueUuid: Issue["uuid"];
|
|
35
|
-
file: File;
|
|
36
|
-
}[]): Promise<OptimisticMultipleModelResult<IssueAttachment>>;
|
|
37
|
-
delete(uuid: IssueAttachment["uuid"]): Promise<void>;
|
|
24
|
+
protected getBlockers(model: Stored<IssueAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<IssueAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<IssueAttachment>): Submitted<IssueAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<IssueAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<IssueAttachment>): object;
|
|
38
29
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<IssueAttachment[]>;
|
|
39
30
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueCommentAttachment, Payload, Project, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class IssueCommentAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class IssueCommentAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<IssueCommentAttachment["uuid"], IssueCommentAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
@@ -22,18 +21,10 @@ export declare abstract class IssueCommentAttachmentService<TState extends Overm
|
|
|
22
21
|
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueCommentAttachment>[];
|
|
23
22
|
};
|
|
24
23
|
protected getId(model: Stored<IssueCommentAttachment>): IssueCommentAttachment["uuid"];
|
|
25
|
-
protected
|
|
26
|
-
protected
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
file_extension: string;
|
|
31
|
-
issue_comment: string;
|
|
32
|
-
};
|
|
33
|
-
bulkAdd(payloads: {
|
|
34
|
-
issueCommentUuid: IssueComment["uuid"];
|
|
35
|
-
file: File;
|
|
36
|
-
}[]): Promise<OptimisticMultipleModelResult<IssueCommentAttachment>>;
|
|
37
|
-
delete(uuid: IssueCommentAttachment["uuid"]): Promise<void>;
|
|
24
|
+
protected getBlockers(model: Stored<IssueCommentAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<IssueCommentAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<IssueCommentAttachment>): Submitted<IssueCommentAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<IssueCommentAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<IssueCommentAttachment>): object;
|
|
38
29
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<IssueCommentAttachment[]>;
|
|
39
30
|
}
|
|
@@ -25,5 +25,6 @@ export declare abstract class IssueService<TState extends OvermapRootState, TSDK
|
|
|
25
25
|
update(payload: UUID<Partial<Payload<Issue>>>): OptimisticModelResult<Issue>;
|
|
26
26
|
bulkUpdate(payloads: UUID<Partial<Payload<Issue>>>[], batchSize?: number): [Stored<Issue>[], Promise<Created<Issue>[]>[]];
|
|
27
27
|
delete(uuid: Issue["uuid"]): Promise<undefined>;
|
|
28
|
+
bulkDelete(uuids: Issue["uuid"][]): Promise<void>;
|
|
28
29
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<Issue[]>;
|
|
29
30
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueTypeAttachment, Organization, Payload, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class IssueTypeAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class IssueTypeAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<IssueTypeAttachment["uuid"], IssueTypeAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
@@ -22,18 +21,10 @@ export declare abstract class IssueTypeAttachmentService<TState extends OvermapR
|
|
|
22
21
|
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueTypeAttachment>[];
|
|
23
22
|
};
|
|
24
23
|
protected getId(model: Stored<IssueTypeAttachment>): IssueTypeAttachment["uuid"];
|
|
25
|
-
protected
|
|
26
|
-
protected
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
file_extension: string;
|
|
31
|
-
issue_type: string;
|
|
32
|
-
};
|
|
33
|
-
bulkAdd(payloads: {
|
|
34
|
-
issueTypeUuid: IssueType["uuid"];
|
|
35
|
-
file: File;
|
|
36
|
-
}[]): Promise<OptimisticMultipleModelResult<IssueTypeAttachment>>;
|
|
37
|
-
delete(uuid: IssueTypeAttachment["uuid"]): Promise<void>;
|
|
24
|
+
protected getBlockers(model: Stored<IssueTypeAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<IssueTypeAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<IssueTypeAttachment>): Submitted<IssueTypeAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<IssueTypeAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<IssueTypeAttachment>): object;
|
|
38
29
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<IssueTypeAttachment[]>;
|
|
39
30
|
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueTypeFieldValuesAttachment, Payload, Project, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class IssueTypeFieldValuesAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class IssueTypeFieldValuesAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<IssueTypeFieldValuesAttachment["uuid"], IssueTypeFieldValuesAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
9
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>, "issueTypeFieldValuesAttachments/addIssueTypeFieldValuesAttachment">;
|
|
10
|
+
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>[], "issueTypeFieldValuesAttachments/addIssueTypeFieldValuesAttachments">;
|
|
11
|
+
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>, "issueTypeFieldValuesAttachments/setIssueTypeFieldValuesAttachment">;
|
|
12
|
+
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>[], "issueTypeFieldValuesAttachments/setIssueTypeFieldValuesAttachments">;
|
|
13
|
+
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>, "issueTypeFieldValuesAttachments/updateIssueTypeFieldValuesAttachment">;
|
|
14
|
+
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>[], "issueTypeFieldValuesAttachments/updateIssueTypeFieldValuesAttachments">;
|
|
16
15
|
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeFieldValuesAttachments/deleteIssueTypeFieldValuesAttachment">;
|
|
17
16
|
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueTypeFieldValuesAttachments/deleteIssueTypeFieldValuesAttachments">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
17
|
+
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldValuesAttachment>[], "issueTypeFieldValuesAttachments/initializeIssueTypeFieldValuesAttachments">;
|
|
19
18
|
};
|
|
20
19
|
selectors: {
|
|
21
|
-
selectById: import('../..').OvermapSelectorWithArgs<string,
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) =>
|
|
20
|
+
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<IssueTypeFieldValuesAttachment> | undefined>;
|
|
21
|
+
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueTypeFieldValuesAttachment>[];
|
|
23
22
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
protected getId(model: Stored<IssueTypeFieldValuesAttachment>): string;
|
|
24
|
+
protected getBlockers(model: Stored<IssueTypeFieldValuesAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<IssueTypeFieldValuesAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<IssueTypeFieldValuesAttachment>): Submitted<IssueTypeFieldValuesAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<IssueTypeFieldValuesAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<IssueTypeFieldValuesAttachment>): object;
|
|
29
29
|
bulkDelete(uuids: IssueTypeFieldValuesAttachment["uuid"][]): Promise<void>;
|
|
30
30
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<IssueTypeFieldValuesAttachment[]>;
|
|
31
31
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueTypeFieldsAttachment, Organization, Payload, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class IssueTypeFieldsAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class IssueTypeFieldsAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<IssueTypeFieldsAttachment["uuid"], IssueTypeFieldsAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
9
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/addIssueTypeFieldsAttachment">;
|
|
10
|
+
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/addIssueTypeFieldsAttachments">;
|
|
11
|
+
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/setIssueTypeFieldsAttachment">;
|
|
12
|
+
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/setIssueTypeFieldsAttachments">;
|
|
13
|
+
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>, "issueTypeFieldsAttachments/updateIssueTypeFieldsAttachment">;
|
|
14
|
+
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/updateIssueTypeFieldsAttachments">;
|
|
16
15
|
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "issueTypeFieldsAttachments/deleteIssueTypeFieldsAttachment">;
|
|
17
16
|
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "issueTypeFieldsAttachments/deleteIssueTypeFieldsAttachments">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
17
|
+
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<IssueTypeFieldsAttachment>[], "issueTypeFieldsAttachments/initializeIssueTypeFieldsAttachments">;
|
|
19
18
|
};
|
|
20
19
|
selectors: {
|
|
21
|
-
selectById: import('../..').OvermapSelectorWithArgs<string,
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) =>
|
|
20
|
+
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<IssueTypeFieldsAttachment> | undefined>;
|
|
21
|
+
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueTypeFieldsAttachment>[];
|
|
23
22
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
protected getId(model: Stored<IssueTypeFieldsAttachment>): string;
|
|
24
|
+
protected getBlockers(model: Stored<IssueTypeFieldsAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<IssueTypeFieldsAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<IssueTypeFieldsAttachment>): Submitted<IssueTypeFieldsAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<IssueTypeFieldsAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<IssueTypeFieldsAttachment>): object;
|
|
29
29
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<IssueTypeFieldsAttachment[]>;
|
|
30
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IssueTypeIdentifierValue, Payload, Project, Stored
|
|
1
|
+
import { IssueTypeIdentifierValue, Payload, Project, Stored } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
3
|
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { OvermapRootState } from '../../store';
|
|
@@ -22,7 +22,6 @@ export declare abstract class IssueTypeIdentifierValueService<TState extends Ove
|
|
|
22
22
|
selectByIds: (uuids: string[]) => (state: any) => Stored<IssueTypeIdentifierValue>[];
|
|
23
23
|
};
|
|
24
24
|
add(payload: Payload<IssueTypeIdentifierValue>): OptimisticModelResult<IssueTypeIdentifierValue>;
|
|
25
|
-
update(payload: UUID<Partial<Payload<IssueTypeIdentifierValue>>>): OptimisticModelResult<IssueTypeIdentifierValue>;
|
|
26
25
|
delete(uuid: IssueTypeIdentifierValue["uuid"]): Promise<undefined>;
|
|
27
26
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<IssueTypeIdentifierValue[]>;
|
|
28
27
|
}
|
|
@@ -19,7 +19,6 @@ export declare abstract class IssueUpdateService<TState extends OvermapRootState
|
|
|
19
19
|
selectors: {
|
|
20
20
|
selectById: (uuid: string) => (state: {
|
|
21
21
|
versioning: import('../..').VersioningState;
|
|
22
|
-
categoryReducer: import('../..').CategoryState;
|
|
23
22
|
assetReducer: import('../..').AssetState;
|
|
24
23
|
assetAttachmentReducer: import('../..').AssetAttachmentState;
|
|
25
24
|
assetStageCompletionReducer: import('../..').AssetStageCompletionState;
|
|
@@ -90,7 +89,6 @@ export declare abstract class IssueUpdateService<TState extends OvermapRootState
|
|
|
90
89
|
}) => import('../..').Stored<IssueUpdate> | undefined;
|
|
91
90
|
selectByIds: (uuids: string[]) => (state: {
|
|
92
91
|
versioning: import('../..').VersioningState;
|
|
93
|
-
categoryReducer: import('../..').CategoryState;
|
|
94
92
|
assetReducer: import('../..').AssetState;
|
|
95
93
|
assetAttachmentReducer: import('../..').AssetAttachmentState;
|
|
96
94
|
assetStageCompletionReducer: import('../..').AssetStageCompletionState;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Organization, Payload, ProjectAttachment, Stored, Submitted } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
3
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class ProjectAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
4
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
+
export declare abstract class ProjectAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<ProjectAttachment["uuid"], ProjectAttachment, TState, TSDK> {
|
|
7
6
|
name: string;
|
|
8
7
|
url: string;
|
|
9
8
|
actions: {
|
|
@@ -22,18 +21,10 @@ export declare abstract class ProjectAttachmentService<TState extends OvermapRoo
|
|
|
22
21
|
selectByIds: (uuids: string[]) => (state: any) => Stored<ProjectAttachment>[];
|
|
23
22
|
};
|
|
24
23
|
protected getId(model: Stored<ProjectAttachment>): ProjectAttachment["uuid"];
|
|
25
|
-
protected
|
|
26
|
-
protected
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
file_extension: string;
|
|
31
|
-
project: string;
|
|
32
|
-
};
|
|
33
|
-
bulkAdd(payloads: {
|
|
34
|
-
projectUuid: Project["uuid"];
|
|
35
|
-
file: File;
|
|
36
|
-
}[]): Promise<OptimisticMultipleModelResult<ProjectAttachment>>;
|
|
37
|
-
delete(uuid: ProjectAttachment["uuid"]): Promise<void>;
|
|
24
|
+
protected getBlockers(model: Stored<ProjectAttachment>): string[];
|
|
25
|
+
protected getBlocks(model: Stored<ProjectAttachment>): string[];
|
|
26
|
+
protected buildModel(data: Payload<ProjectAttachment>): Submitted<ProjectAttachment>;
|
|
27
|
+
protected buildPayload(model: Submitted<ProjectAttachment>): object;
|
|
28
|
+
protected buildBulkPayload(model: Submitted<ProjectAttachment>): object;
|
|
38
29
|
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<ProjectAttachment[]>;
|
|
39
30
|
}
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
import { Project, ProjectFile } from '../../typings';
|
|
1
|
+
import { Payload, Project, ProjectFile, Stored, Submitted, UUID } from '../../typings';
|
|
2
2
|
import { BaseSDK } from '../base';
|
|
3
|
-
import {
|
|
3
|
+
import { OptimisticModelResult } from '../typings';
|
|
4
4
|
import { OvermapRootState } from '../../store';
|
|
5
|
-
import {
|
|
6
|
-
export declare abstract class ProjectFileService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
5
|
+
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
6
|
+
export declare abstract class ProjectFileService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<ProjectFile["uuid"], ProjectFile, TState, TSDK> {
|
|
7
7
|
name: string;
|
|
8
8
|
url: string;
|
|
9
9
|
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
10
|
+
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>, "projectFiles/addProjectFile">;
|
|
11
|
+
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>[], "projectFiles/addProjectFiles">;
|
|
12
|
+
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>, "projectFiles/setProjectFile">;
|
|
13
|
+
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>[], "projectFiles/setProjectFiles">;
|
|
14
|
+
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>, "projectFiles/updateProjectFile">;
|
|
15
|
+
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>[], "projectFiles/updateProjectFiles">;
|
|
16
16
|
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "projectFiles/deleteProjectFile">;
|
|
17
17
|
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "projectFiles/deleteProjectFiles">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<
|
|
18
|
+
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<ProjectFile>[], "projectFiles/initializeProjectFiles">;
|
|
19
19
|
};
|
|
20
20
|
selectors: {
|
|
21
|
-
selectById: import('../..').OvermapSelectorWithArgs<string,
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) =>
|
|
21
|
+
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<ProjectFile> | undefined>;
|
|
22
|
+
selectByIds: (uuids: string[]) => (state: any) => Stored<ProjectFile>[];
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
protected getId(model: Stored<ProjectFile>): ProjectFile["uuid"];
|
|
25
|
+
protected getBlockers(model: Stored<ProjectFile>): string[];
|
|
26
|
+
protected getBlocks(model: Stored<ProjectFile>): string[];
|
|
27
|
+
protected buildModel(data: Payload<ProjectFile>): Submitted<ProjectFile>;
|
|
28
|
+
protected buildPayload(model: Submitted<ProjectFile>): object;
|
|
29
|
+
protected buildBulkPayload(model: Submitted<ProjectFile>): object;
|
|
30
|
+
update(payload: UUID<Partial<Pick<ProjectFile, "bounds" | "canvas_bounds" | "z_index">>>): OptimisticModelResult<ProjectFile>;
|
|
27
31
|
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<ProjectFile[]>;
|
|
28
32
|
}
|
|
@@ -25,7 +25,6 @@ export * from './AssetTypeIdentifierValueService';
|
|
|
25
25
|
export * from './AssetTypeService';
|
|
26
26
|
export * from './AssetTypeStatusService';
|
|
27
27
|
export * from './BaseApiService';
|
|
28
|
-
export * from './CategoryService';
|
|
29
28
|
export * from './DocumentAttachmentService';
|
|
30
29
|
export * from './DocumentService';
|
|
31
30
|
export * from './EmailDomainsService';
|
|
@@ -66,4 +65,4 @@ export * from './TeamService';
|
|
|
66
65
|
export * from './UserService';
|
|
67
66
|
export * from './BaseModelApiService';
|
|
68
67
|
export * from './BaseOfflineModelApiService';
|
|
69
|
-
export * from './
|
|
68
|
+
export * from './BaseOfflineFileModelApiService';
|
package/dist/sdk/typings.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Store } from '@reduxjs/toolkit';
|
|
2
2
|
import { BaseState } from '../store';
|
|
3
|
-
import { Created, Model,
|
|
3
|
+
import { Created, GetS3UrlResponse, Model, RequiredFileWithNameModel, Stored } from '../typings';
|
|
4
4
|
import { HttpMethod } from '../enums';
|
|
5
5
|
import { DeferredPromise } from '../utils';
|
|
6
6
|
import { BaseSDK } from './base';
|
|
7
|
-
import { GetS3UrlResponse, GetS3UrlSuccessResponse } from './services';
|
|
8
7
|
export type OvermapSDKConstructor<TState extends BaseState, TSDK extends BaseSDK<TState>> = new (store: Store<TState>) => TSDK;
|
|
9
8
|
export interface TokenPair {
|
|
10
9
|
accessToken: string;
|
|
@@ -65,7 +64,17 @@ export type OptimisticModelResult<TModel extends Model> = [Stored<TModel>, Promi
|
|
|
65
64
|
/**
|
|
66
65
|
* Analogous to `OptimisticModelResult<TModel>`, but for multiple model instances.
|
|
67
66
|
*/
|
|
68
|
-
export type OptimisticMultipleModelResult<TModel extends Model> = [
|
|
67
|
+
export type OptimisticMultipleModelResult<TModel extends Model> = [Stored<TModel>[], Promise<Created<TModel>[]>];
|
|
68
|
+
export type OptimisticFileModelResult<TModel extends RequiredFileWithNameModel> = [
|
|
69
|
+
Stored<TModel>,
|
|
70
|
+
Promise<Created<TModel>>,
|
|
71
|
+
Promise<string>
|
|
72
|
+
];
|
|
73
|
+
export type OptimisticMultipleFileModelResult<TModel extends RequiredFileWithNameModel> = [
|
|
74
|
+
Stored<TModel>[],
|
|
75
|
+
Promise<Created<TModel>[]>,
|
|
76
|
+
Promise<string[]>
|
|
77
|
+
];
|
|
69
78
|
/**
|
|
70
79
|
* Used in situations such as deleting a model, where nothing is expected in return.
|
|
71
80
|
* @deprecated Use `Promise<undefined>` directly instead.
|
|
@@ -80,4 +89,3 @@ export type PaginatedResult<T> = {
|
|
|
80
89
|
previous: string | null;
|
|
81
90
|
results: T;
|
|
82
91
|
};
|
|
83
|
-
export type PresignedUrlsResponse = Record<string, GetS3UrlSuccessResponse>;
|
package/dist/store/reducers.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export declare const baseReducer: import('redux').Reducer<{
|
|
|
14
14
|
}>>;
|
|
15
15
|
export declare const overmapReducers: {
|
|
16
16
|
versioning: import('redux').Reducer<import('./slices').VersioningState>;
|
|
17
|
-
categoryReducer: import('redux').Reducer<import('./slices').CategoryState>;
|
|
18
17
|
assetReducer: import('redux').Reducer<import('./slices').AssetState>;
|
|
19
18
|
assetAttachmentReducer: import('redux').Reducer<import('./slices').AssetAttachmentState>;
|
|
20
19
|
assetStageCompletionReducer: import('redux').Reducer<import('./slices').AssetStageCompletionState>;
|
|
@@ -83,7 +82,6 @@ export declare const overmapReducers: {
|
|
|
83
82
|
};
|
|
84
83
|
export declare const overmapReducer: import('redux').Reducer<{
|
|
85
84
|
versioning: import('./slices').VersioningState;
|
|
86
|
-
categoryReducer: import('./slices').CategoryState;
|
|
87
85
|
assetReducer: import('./slices').AssetState;
|
|
88
86
|
assetAttachmentReducer: import('./slices').AssetAttachmentState;
|
|
89
87
|
assetStageCompletionReducer: import('./slices').AssetStageCompletionState;
|
|
@@ -151,7 +149,6 @@ export declare const overmapReducer: import('redux').Reducer<{
|
|
|
151
149
|
authReducer: import('./slices').AuthState;
|
|
152
150
|
}, import('redux').UnknownAction, Partial<{
|
|
153
151
|
versioning: import('./slices').VersioningState | undefined;
|
|
154
|
-
categoryReducer: import('./slices').CategoryState | undefined;
|
|
155
152
|
assetReducer: import('./slices').AssetState | undefined;
|
|
156
153
|
assetAttachmentReducer: import('./slices').AssetAttachmentState | undefined;
|
|
157
154
|
assetStageCompletionReducer: import('./slices').AssetStageCompletionState | undefined;
|
|
@@ -18,7 +18,6 @@ export declare const assetProcedureReducer: import('redux').Reducer<AssetProcedu
|
|
|
18
18
|
export declare const selectAssetProceduresMapping: (state: OvermapRootState) => Record<string, Stored<AssetProcedure>>;
|
|
19
19
|
export declare const selectAssetProcedures: ((state: {
|
|
20
20
|
versioning: import('./versioningSlice').VersioningState;
|
|
21
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
22
21
|
assetReducer: import('./assetSlice').AssetState;
|
|
23
22
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
24
23
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -17,7 +17,6 @@ export declare const initializeAssetProcedureStepFieldValuesAttachments: import(
|
|
|
17
17
|
export declare const selectAssetProcedureStepFieldValuesAttachmentsMapping: (state: OvermapRootState) => Record<string, Stored<AssetProcedureStepFieldValuesAttachment>>;
|
|
18
18
|
export declare const selectAssetProcedureStepFieldValuesAttachments: ((state: {
|
|
19
19
|
versioning: import('./versioningSlice').VersioningState;
|
|
20
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
21
20
|
assetReducer: import('./assetSlice').AssetState;
|
|
22
21
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
23
22
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -17,7 +17,6 @@ export declare const initializeAssetProcedureStepFieldValues: import('@reduxjs/t
|
|
|
17
17
|
export declare const selectAssetProcedureStepFieldValuesMapping: (state: OvermapRootState) => Record<string, Stored<AssetProcedureStepFieldValues>>;
|
|
18
18
|
export declare const selectAssetProcedureStepFieldValues: ((state: {
|
|
19
19
|
versioning: import('./versioningSlice').VersioningState;
|
|
20
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
21
20
|
assetReducer: import('./assetSlice').AssetState;
|
|
22
21
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
23
22
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -17,7 +17,6 @@ export declare const initializeAssetProcedureStepFieldsAttachments: import('@red
|
|
|
17
17
|
export declare const selectAssetProcedureStepFieldsAttachmentsMapping: (state: OvermapRootState) => Record<string, Stored<AssetProcedureStepFieldsAttachment>>;
|
|
18
18
|
export declare const selectAssetProcedureStepFieldsAttachments: ((state: {
|
|
19
19
|
versioning: import('./versioningSlice').VersioningState;
|
|
20
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
21
20
|
assetReducer: import('./assetSlice').AssetState;
|
|
22
21
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
23
22
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -17,7 +17,6 @@ export declare const initializeAssetProcedureStepFields: import('@reduxjs/toolki
|
|
|
17
17
|
export declare const selectAssetProcedureStepFieldsMapping: (state: OvermapRootState) => Record<string, Stored<AssetProcedureStepFields>>;
|
|
18
18
|
export declare const selectAssetProcedureStepFields: ((state: {
|
|
19
19
|
versioning: import('./versioningSlice').VersioningState;
|
|
20
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
21
20
|
assetReducer: import('./assetSlice').AssetState;
|
|
22
21
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
23
22
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -110,7 +109,6 @@ export declare const selectAssetProcedureStepFieldsOfAssetProcedureStep: Overmap
|
|
|
110
109
|
export declare const selectLatestAssetProcedureStepFieldsOfAssetProcedureStep: OvermapSelectorWithArgs<AssetProcedureStep["uuid"], Stored<AssetProcedureStepFields> | undefined>;
|
|
111
110
|
export declare const selectLatestFieldsByAssetProcedureStep: ((state: {
|
|
112
111
|
versioning: import('./versioningSlice').VersioningState;
|
|
113
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
114
112
|
assetReducer: import('./assetSlice').AssetState;
|
|
115
113
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
116
114
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -19,7 +19,6 @@ export declare const selectAssetProcedureStepMapping: OvermapSelector<Record<Ass
|
|
|
19
19
|
export declare const selectAssetProcedureStepById: OvermapSelectorWithArgs<AssetProcedureStep["uuid"], Stored<AssetProcedureStep> | undefined>;
|
|
20
20
|
export declare const selectAssetProcedureSteps: ((state: {
|
|
21
21
|
versioning: import('./versioningSlice').VersioningState;
|
|
22
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
23
22
|
assetReducer: import('./assetSlice').AssetState;
|
|
24
23
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
25
24
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|
|
@@ -21,7 +21,6 @@ export declare const selectAssetProcedureTypeAttachmentById: OvermapSelectorWith
|
|
|
21
21
|
export declare const selectAssetProcedureTypeAttachmentsByIds: (uuids: string[]) => (state: any) => Stored<AssetProcedureTypeAttachment>[];
|
|
22
22
|
export declare const selectAttachmentsOfAssetProcedureType: (uuid: string) => (state: {
|
|
23
23
|
versioning: import('./versioningSlice').VersioningState;
|
|
24
|
-
categoryReducer: import('./categorySlice').CategoryState;
|
|
25
24
|
assetReducer: import('./assetSlice').AssetState;
|
|
26
25
|
assetAttachmentReducer: import('./assetAttachmentSlice').AssetAttachmentState;
|
|
27
26
|
assetStageCompletionReducer: import('./assetStageCompletionSlice').AssetStageCompletionState;
|