@overmap-ai/core 1.0.78-gcs.2 → 1.0.78-gcs.4
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/constants/defaults.d.ts +1 -2
- package/dist/enums/asset.d.ts +8 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/issue.d.ts +7 -6
- package/dist/overmap-core.js +7111 -6882
- 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/AssetService.d.ts +1 -0
- 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/AssetTypeStatusService.d.ts +28 -0
- package/dist/sdk/services/BaseOfflineFileModelApiService.d.ts +17 -0
- package/dist/sdk/services/BaseService.d.ts +2 -1
- 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/FormService.d.ts +4 -2
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +18 -18
- package/dist/sdk/services/GeoImageService.d.ts +10 -7
- package/dist/sdk/services/IssueAssociationService.d.ts +2 -1
- 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 +3 -1
- 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/IssueTypeStatusService.d.ts +28 -0
- package/dist/sdk/services/IssueUpdateService.d.ts +4 -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 +3 -2
- package/dist/sdk/typings.d.ts +12 -4
- package/dist/store/adapters/selectionAdapter.d.ts +9 -10
- package/dist/store/adapters/typings.d.ts +1 -3
- package/dist/store/reducers.d.ts +6 -3
- package/dist/store/slices/assetProcedureSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureStepFieldValuesAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureStepFieldValuesSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureStepFieldsAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureStepFieldsSlice.d.ts +4 -2
- package/dist/store/slices/assetProcedureStepSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureTypeAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureTypeFieldValuesAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureTypeFieldValuesSlice.d.ts +2 -1
- package/dist/store/slices/assetProcedureTypeFieldsAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetSlice.d.ts +2 -1
- package/dist/store/slices/assetStageCompletionSlice.d.ts +2 -1
- package/dist/store/slices/assetStageSlice.d.ts +2 -1
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +2 -1
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +2 -1
- package/dist/store/slices/{categorySlice.d.ts → assetTypeStatusSlice.d.ts} +27 -26
- package/dist/store/slices/fileSlice.d.ts +0 -3
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/formRevisionSlice.d.ts +2 -1
- package/dist/store/slices/formSlice.d.ts +2 -1
- package/dist/store/slices/geoImageSlice.d.ts +2 -1
- package/dist/store/slices/index.d.ts +2 -1
- package/dist/store/slices/issueAssociationSlice.d.ts +5 -1
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +2 -1
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +2 -1
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +2 -1
- package/dist/store/slices/issueTypeStatusSlice.d.ts +110 -0
- package/dist/store/slices/issueUpdateSlice.d.ts +6 -3
- package/dist/store/slices/organizationSlice.d.ts +2 -1
- package/dist/store/slices/projectFileSlice.d.ts +4 -17
- package/dist/store/slices/projectSlice.d.ts +2 -1
- package/dist/store/slices/userSlice.d.ts +2 -1
- package/dist/typings/files.d.ts +27 -14
- package/dist/typings/models/assets.d.ts +14 -5
- package/dist/typings/models/base.d.ts +4 -1
- package/dist/typings/models/documents.d.ts +2 -2
- package/dist/typings/models/fields.d.ts +3 -3
- package/dist/typings/models/forms.d.ts +3 -2
- package/dist/typings/models/geoImages.d.ts +3 -3
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/issues.d.ts +18 -14
- package/dist/typings/models/projects.d.ts +7 -7
- package/dist/typings/models/users.d.ts +0 -4
- package/dist/utils/file.d.ts +7 -11
- package/dist/utils/models/assets.d.ts +2 -1
- package/dist/utils/models/index.d.ts +1 -0
- package/dist/utils/models/issues.d.ts +2 -0
- 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/typings/models/categories.d.ts +0 -7
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Category, Organization, Payload, Stored, UUID } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OptimisticModelResult } from '../typings';
|
|
4
|
-
import { OvermapRootState } from '../../store';
|
|
5
|
-
import { BaseOfflineModelApiService } from './BaseOfflineModelApiService';
|
|
6
|
-
export declare abstract class CategoryService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineModelApiService<Category["uuid"], Category, TState, TSDK> {
|
|
7
|
-
name: string;
|
|
8
|
-
url: string;
|
|
9
|
-
actions: {
|
|
10
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>, "categories/addCategory">;
|
|
11
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>[], "categories/addCategories">;
|
|
12
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>, "categories/setCategory">;
|
|
13
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>[], "categories/setCategories">;
|
|
14
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>, "categories/updateCategory">;
|
|
15
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>[], "categories/updateCategories">;
|
|
16
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "categories/deleteCategory">;
|
|
17
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "categories/deleteCategories">;
|
|
18
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Category>[], "categories/initializeCategories">;
|
|
19
|
-
};
|
|
20
|
-
selectors: {
|
|
21
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<Category> | undefined>;
|
|
22
|
-
selectByIds: (uuids: string[]) => (state: any) => Stored<Category>[];
|
|
23
|
-
};
|
|
24
|
-
add(payload: Payload<Category>): OptimisticModelResult<Category>;
|
|
25
|
-
update(payload: UUID<Partial<Payload<Category>>>): OptimisticModelResult<Category>;
|
|
26
|
-
delete(uuid: Category["uuid"]): Promise<undefined>;
|
|
27
|
-
refreshStore(organizationUuid: Organization["uuid"], signal?: AbortSignal): Promise<Category[]>;
|
|
28
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ColorModel, CreatedByModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
|
-
import { Project } from './projects';
|
|
3
|
-
export interface Category extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, ColorModel {
|
|
4
|
-
name: string;
|
|
5
|
-
description: string | null;
|
|
6
|
-
project: Project["uuid"];
|
|
7
|
-
}
|