@overmap-ai/core 1.0.53-component-asset-renames.2 → 1.0.53-fix-outbox.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/README.md +4 -4
- package/dist/constants/ui.d.ts +1 -1
- package/dist/enums/ui.d.ts +1 -1
- package/dist/overmap-core.js +967 -913
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +968 -914
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +20 -8
- package/dist/sdk/services/BaseApiService.d.ts +0 -12
- package/dist/sdk/services/ComponentAttachmentService.d.ts +10 -0
- package/dist/sdk/services/ComponentService.d.ts +11 -0
- package/dist/sdk/services/ComponentStageCompletionService.d.ts +17 -0
- package/dist/sdk/services/ComponentStageService.d.ts +11 -0
- package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +10 -0
- package/dist/sdk/services/ComponentTypeService.d.ts +9 -0
- package/dist/sdk/services/UserFormService.d.ts +2 -2
- package/dist/sdk/services/UserFormSubmissionService.d.ts +1 -1
- package/dist/sdk/services/index.d.ts +6 -6
- package/dist/store/slices/ComponentStageCompletionSlice.d.ts +27 -0
- package/dist/store/slices/categorySlice.d.ts +4 -4
- package/dist/store/slices/componentSlice.d.ts +73 -0
- package/dist/store/slices/componentStageSlice.d.ts +42 -0
- package/dist/store/slices/componentTypeSlice.d.ts +75 -0
- package/dist/store/slices/documentSlice.d.ts +7 -6
- package/dist/store/slices/formRevisionSlice.d.ts +5 -5
- package/dist/store/slices/formSlice.d.ts +7 -7
- package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
- package/dist/store/slices/index.d.ts +4 -4
- package/dist/store/slices/issueSlice.d.ts +4 -4
- package/dist/store/slices/projectFileSlice.d.ts +4 -4
- package/dist/store/slices/workspaceSlice.d.ts +4 -4
- package/dist/store/store.d.ts +13 -13
- package/dist/typings/models/attachments.d.ts +6 -6
- package/dist/typings/models/components.d.ts +7 -11
- package/dist/typings/models/forms.d.ts +3 -3
- package/dist/utils/colors.d.ts +1 -1
- package/package.json +153 -153
- package/dist/sdk/services/AssetAttachmentService.d.ts +0 -10
- package/dist/sdk/services/AssetService.d.ts +0 -11
- package/dist/sdk/services/AssetStageCompletionService.d.ts +0 -16
- package/dist/sdk/services/AssetStageService.d.ts +0 -11
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +0 -10
- package/dist/sdk/services/AssetTypeService.d.ts +0 -9
- package/dist/store/slices/assetSlice.d.ts +0 -63
- package/dist/store/slices/assetStageCompletionSlice.d.ts +0 -15
- package/dist/store/slices/assetStageSlice.d.ts +0 -32
- package/dist/store/slices/assetTypeSlice.d.ts +0 -74
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Reducer, PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
-
import { CompletedStagesMapping, Asset, RootState, SelectorWithArgs, AssetStageCompletion } from "../../typings";
|
|
3
|
-
export interface AssetStageCompletionState {
|
|
4
|
-
completionsByAssetId: CompletedStagesMapping;
|
|
5
|
-
}
|
|
6
|
-
export declare const assetStageCompletionSlice: import("@reduxjs/toolkit").Slice<AssetStageCompletionState, {
|
|
7
|
-
addStageCompletion: (state: import("immer/dist/internal.js").WritableDraft<AssetStageCompletionState>, action: PayloadAction<AssetStageCompletion>) => void;
|
|
8
|
-
addStageCompletions: (state: import("immer/dist/internal.js").WritableDraft<AssetStageCompletionState>, action: PayloadAction<CompletedStagesMapping>) => void;
|
|
9
|
-
removeStageCompletions: (state: import("immer/dist/internal.js").WritableDraft<AssetStageCompletionState>, action: PayloadAction<AssetStageCompletion[]>) => void;
|
|
10
|
-
setStageCompletions: (state: import("immer/dist/internal.js").WritableDraft<AssetStageCompletionState>, action: PayloadAction<CompletedStagesMapping>) => void;
|
|
11
|
-
}, "assetStageCompletions">;
|
|
12
|
-
export declare const addStageCompletion: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetStageCompletion, "assetStageCompletions/addStageCompletion">, addStageCompletions: import("@reduxjs/toolkit").ActionCreatorWithPayload<CompletedStagesMapping, "assetStageCompletions/addStageCompletions">, removeStageCompletions: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetStageCompletion[], "assetStageCompletions/removeStageCompletions">, setStageCompletions: import("@reduxjs/toolkit").ActionCreatorWithPayload<CompletedStagesMapping, "assetStageCompletions/setStageCompletions">;
|
|
13
|
-
export declare const selectCompletedStages: (state: RootState) => CompletedStagesMapping;
|
|
14
|
-
export declare const selectCompletedStageIdsForAsset: SelectorWithArgs<Asset, string[]>;
|
|
15
|
-
export declare const assetStageCompletionReducer: Reducer<AssetStageCompletionState>;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Reducer, PayloadAction } from "@reduxjs/toolkit";
|
|
2
|
-
import { AssetStage, RootState, SelectorWithArgs } from "../../typings";
|
|
3
|
-
export interface AssetStageState {
|
|
4
|
-
stages: Record<string, AssetStage>;
|
|
5
|
-
}
|
|
6
|
-
export declare const assetStageSlice: import("@reduxjs/toolkit").Slice<AssetStageState, {
|
|
7
|
-
addStages: (state: import("immer/dist/internal.js").WritableDraft<AssetStageState>, action: PayloadAction<AssetStage[]>) => void;
|
|
8
|
-
updateStages: (state: import("immer/dist/internal.js").WritableDraft<AssetStageState>, action: PayloadAction<AssetStage[]>) => void;
|
|
9
|
-
removeStages: (state: import("immer/dist/internal.js").WritableDraft<AssetStageState>, action: PayloadAction<string[]>) => void;
|
|
10
|
-
linkStageToForm: (state: import("immer/dist/internal.js").WritableDraft<AssetStageState>, action: PayloadAction<{
|
|
11
|
-
stageId: string;
|
|
12
|
-
formId: string;
|
|
13
|
-
}>) => void;
|
|
14
|
-
unlinkStageToForm: (state: import("immer/dist/internal.js").WritableDraft<AssetStageState>, action: PayloadAction<{
|
|
15
|
-
stageId: string;
|
|
16
|
-
}>) => void;
|
|
17
|
-
}, "assetStages">;
|
|
18
|
-
export declare const selectStageMapping: (state: RootState) => Record<string, AssetStage>;
|
|
19
|
-
export declare const selectStage: SelectorWithArgs<string, AssetStage | undefined>;
|
|
20
|
-
export declare const selectStages: (state: RootState) => AssetStage[];
|
|
21
|
-
export declare const selectStagesFromAssetTypeIds: SelectorWithArgs<string[], Record<string, AssetStage[]>>;
|
|
22
|
-
export declare const selectAssetTypeStagesMapping: SelectorWithArgs<string, Record<string, AssetStage>>;
|
|
23
|
-
export declare const selectStagesOfAssetType: SelectorWithArgs<string, AssetStage[]>;
|
|
24
|
-
export declare const selectStagesFromStageIds: SelectorWithArgs<string[], AssetStage[]>;
|
|
25
|
-
export declare const selectStageFormIdsFromStageIds: SelectorWithArgs<string[], Record<string, string>>;
|
|
26
|
-
export declare const addStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetStage[], "assetStages/addStages">, updateStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetStage[], "assetStages/updateStages">, removeStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "assetStages/removeStages">, linkStageToForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
27
|
-
stageId: string;
|
|
28
|
-
formId: string;
|
|
29
|
-
}, "assetStages/linkStageToForm">, unlinkStageToForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
30
|
-
stageId: string;
|
|
31
|
-
}, "assetStages/unlinkStageToForm">;
|
|
32
|
-
export declare const assetStageReducer: Reducer<AssetStageState>;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import type { Reducer } from "@reduxjs/toolkit";
|
|
2
|
-
import type { AssetType, AssetTypeAttachment, RootState, Selector, SelectorWithArgs, Stored } from "../../typings";
|
|
3
|
-
export interface AssetTypeState {
|
|
4
|
-
assetTypes: Record<string, AssetType>;
|
|
5
|
-
hiddenAssetTypeIds: Record<string, boolean>;
|
|
6
|
-
attachments: Record<string, AssetTypeAttachment>;
|
|
7
|
-
}
|
|
8
|
-
export declare const assetTypeSlice: import("@reduxjs/toolkit").Slice<AssetTypeState, {
|
|
9
|
-
addAssetType: (state: import("immer/dist/internal.js").WritableDraft<AssetTypeState>, action: {
|
|
10
|
-
payload: AssetType;
|
|
11
|
-
}) => void;
|
|
12
|
-
setAssetTypes: (state: import("immer/dist/internal.js").WritableDraft<AssetTypeState>, action: {
|
|
13
|
-
payload: AssetType[];
|
|
14
|
-
}) => void;
|
|
15
|
-
toggleAssetTypeVisibility: (state: import("immer/dist/internal.js").WritableDraft<AssetTypeState>, action: {
|
|
16
|
-
payload: string;
|
|
17
|
-
}) => void;
|
|
18
|
-
deleteAssetType: (state: import("immer/dist/internal.js").WritableDraft<AssetTypeState>, action: {
|
|
19
|
-
payload: string;
|
|
20
|
-
}) => void;
|
|
21
|
-
setAssetTypeAttachment: (state: AssetTypeState, action: {
|
|
22
|
-
payload: Stored<AssetTypeAttachment>;
|
|
23
|
-
type: string;
|
|
24
|
-
}) => void;
|
|
25
|
-
setAssetTypeAttachments: (state: AssetTypeState, action: {
|
|
26
|
-
payload: Stored<AssetTypeAttachment>[];
|
|
27
|
-
type: string;
|
|
28
|
-
}) => void;
|
|
29
|
-
addAssetTypeAttachment: (state: AssetTypeState, action: {
|
|
30
|
-
payload: import('../../typings/models/issues').Submitted<AssetTypeAttachment>;
|
|
31
|
-
type: string;
|
|
32
|
-
}) => void;
|
|
33
|
-
addAssetTypeAttachments: (state: AssetTypeState, action: {
|
|
34
|
-
payload: import('../../typings/models/issues').Submitted<AssetTypeAttachment>[];
|
|
35
|
-
type: string;
|
|
36
|
-
}) => void;
|
|
37
|
-
updateAssetTypeAttachment: (state: AssetTypeState, action: {
|
|
38
|
-
payload: import('../../typings/models/issues').Submitted<AssetTypeAttachment>;
|
|
39
|
-
type: string;
|
|
40
|
-
}) => void;
|
|
41
|
-
updateAssetTypeAttachments: (state: AssetTypeState, action: {
|
|
42
|
-
payload: import('../../typings/models/issues').Submitted<AssetTypeAttachment>[];
|
|
43
|
-
type: string;
|
|
44
|
-
}) => void;
|
|
45
|
-
removeAssetTypeAttachment: (state: AssetTypeState, action: {
|
|
46
|
-
payload: string;
|
|
47
|
-
type: string;
|
|
48
|
-
}) => void;
|
|
49
|
-
removeAssetTypeAttachments: (state: AssetTypeState, action: {
|
|
50
|
-
payload: string[];
|
|
51
|
-
type: string;
|
|
52
|
-
}) => void;
|
|
53
|
-
}, "assetTypes">;
|
|
54
|
-
export declare const addAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetType, "assetTypes/addAssetType">, setAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<AssetType[], "assetTypes/setAssetTypes">, toggleAssetTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "assetTypes/toggleAssetTypeVisibility">, deleteAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "assetTypes/deleteAssetType">, setAssetTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetTypeAttachment>, "assetTypes/setAssetTypeAttachment">, setAssetTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetTypeAttachment>[], "assetTypes/setAssetTypeAttachments">, addAssetTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<AssetTypeAttachment>, "assetTypes/addAssetTypeAttachment">, addAssetTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<AssetTypeAttachment>[], "assetTypes/addAssetTypeAttachments">, updateAssetTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<AssetTypeAttachment>, "assetTypes/updateAssetTypeAttachment">, updateAssetTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<AssetTypeAttachment>[], "assetTypes/updateAssetTypeAttachments">, removeAssetTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "assetTypes/removeAssetTypeAttachment">, removeAssetTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "assetTypes/removeAssetTypeAttachments">;
|
|
55
|
-
export declare const selectAssetTypesMapping: Selector<Record<string, AssetType>>;
|
|
56
|
-
export declare const selectAssetTypes: Selector<AssetType[]>;
|
|
57
|
-
export declare const selectAssetType: SelectorWithArgs<string, AssetType>;
|
|
58
|
-
interface selectNumberOfAssetTypesMatchingCaseInsensitiveNameProps {
|
|
59
|
-
name: string | null | undefined;
|
|
60
|
-
assetTypeId: string | undefined;
|
|
61
|
-
}
|
|
62
|
-
export declare const selectNumberOfAssetTypesMatchingCaseInsensitiveName: SelectorWithArgs<selectNumberOfAssetTypesMatchingCaseInsensitiveNameProps, number>;
|
|
63
|
-
export declare const selectAssetTypesByName: SelectorWithArgs<string, AssetType[]>;
|
|
64
|
-
export declare const selectHiddenAssetTypeIds: Selector<Record<string, boolean | undefined>>;
|
|
65
|
-
export declare const selectAssetTypeAttachmentMapping: (state: RootState) => Record<string, AssetTypeAttachment>;
|
|
66
|
-
export declare const selectAssetTypeAttachments: Selector<Stored<AssetTypeAttachment>[]>;
|
|
67
|
-
export declare const selectAssetTypeAttachment: SelectorWithArgs<string, Stored<AssetTypeAttachment>>;
|
|
68
|
-
export declare const selectAttachmentsOfAssetType: (args: string) => (state: RootState) => Stored<AssetTypeAttachment>[];
|
|
69
|
-
export declare const selectAttachmentsOfAssetTypeByType: (args: string) => (state: RootState) => {
|
|
70
|
-
fileAttachments: Stored<AssetTypeAttachment>[];
|
|
71
|
-
imageAttachments: Stored<AssetTypeAttachment>[];
|
|
72
|
-
};
|
|
73
|
-
export declare const assetTypeReducer: Reducer<AssetTypeState>;
|
|
74
|
-
export {};
|