@overmap-ai/core 1.0.56 → 1.0.57-export-overmap-reducer.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/LICENSE +1 -0
- package/README.md +4 -4
- package/dist/constants/ui.d.ts +1 -1
- package/dist/contexts/overmap.d.ts +2 -2
- package/dist/contexts/sdk/globals.d.ts +3 -3
- package/dist/contexts/sdk/sdk.d.ts +2 -2
- package/dist/enums/ui.d.ts +1 -1
- package/dist/forms/builder/constants.d.ts +1 -1
- package/dist/forms/builder/hooks.d.ts +1 -1
- package/dist/overmap-core.js +610 -942
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +611 -943
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +11 -11
- package/dist/sdk/services/AgentService.d.ts +2 -21
- package/dist/sdk/services/AssetAttachmentService.d.ts +10 -0
- package/dist/sdk/services/AssetService.d.ts +11 -0
- package/dist/sdk/services/AssetStageCompletionService.d.ts +16 -0
- package/dist/sdk/services/AssetStageService.d.ts +11 -0
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +10 -0
- package/dist/sdk/services/AssetTypeService.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/index.d.ts +0 -1
- package/dist/store/slices/agentsSlice.d.ts +3 -3
- package/dist/store/slices/assetSlice.d.ts +63 -0
- package/dist/store/slices/assetStageCompletionSlice.d.ts +15 -0
- package/dist/store/slices/assetStageSlice.d.ts +32 -0
- package/dist/store/slices/assetTypeSlice.d.ts +74 -0
- package/dist/store/slices/authSlice.d.ts +3 -3
- package/dist/store/slices/categorySlice.d.ts +9 -9
- package/dist/store/slices/documentSlice.d.ts +12 -13
- package/dist/store/slices/formRevisionSlice.d.ts +7 -7
- 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 +18 -18
- package/dist/store/slices/mapSlice.d.ts +4 -4
- package/dist/store/slices/organizationAccessSlice.d.ts +3 -3
- package/dist/store/slices/outboxSlice.d.ts +3 -3
- package/dist/store/slices/projectAccessSlice.d.ts +2 -2
- package/dist/store/slices/projectFileSlice.d.ts +7 -7
- package/dist/store/slices/projectSlice.d.ts +8 -8
- package/dist/store/slices/rehydratedSlice.d.ts +2 -2
- package/dist/store/slices/settingsSlice.d.ts +9 -9
- package/dist/store/slices/userSlice.d.ts +4 -4
- package/dist/store/slices/workspaceSlice.d.ts +6 -6
- package/dist/store/store.d.ts +12 -45
- package/dist/typings/models/access.d.ts +1 -0
- package/dist/typings/models/attachments.d.ts +6 -6
- package/dist/typings/models/components.d.ts +11 -7
- package/dist/typings/models/forms.d.ts +3 -3
- package/dist/typings/models/store.d.ts +2 -3
- package/dist/typings/store.d.ts +4 -4
- package/dist/utils/colors.d.ts +1 -1
- package/dist/utils/utils.d.ts +3 -3
- package/package.json +153 -153
- package/dist/sdk/services/ComponentAttachmentService.d.ts +0 -10
- package/dist/sdk/services/ComponentService.d.ts +0 -11
- package/dist/sdk/services/ComponentStageCompletionService.d.ts +0 -17
- package/dist/sdk/services/ComponentStageService.d.ts +0 -11
- package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +0 -10
- package/dist/sdk/services/ComponentTypeService.d.ts +0 -9
- package/dist/store/hooks.d.ts +0 -4
- package/dist/store/slices/ComponentStageCompletionSlice.d.ts +0 -27
- package/dist/store/slices/componentSlice.d.ts +0 -73
- package/dist/store/slices/componentStageSlice.d.ts +0 -42
- package/dist/store/slices/componentTypeSlice.d.ts +0 -75
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import type { Reducer } from "@reduxjs/toolkit";
|
|
2
|
-
import type { ComponentType, ComponentTypeAttachment, RootState, Selector, SelectorWithArgs, Stored } from "../../typings";
|
|
3
|
-
export interface ComponentTypeState {
|
|
4
|
-
componentTypes: Record<string, ComponentType>;
|
|
5
|
-
hiddenComponentTypeIds: Record<string, boolean>;
|
|
6
|
-
attachments: Record<string, ComponentTypeAttachment>;
|
|
7
|
-
}
|
|
8
|
-
export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<ComponentTypeState, {
|
|
9
|
-
addComponentType: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
10
|
-
payload: ComponentType;
|
|
11
|
-
}) => void;
|
|
12
|
-
setComponentTypes: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
13
|
-
payload: ComponentType[];
|
|
14
|
-
}) => void;
|
|
15
|
-
toggleComponentTypeVisibility: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
16
|
-
payload: string;
|
|
17
|
-
}) => void;
|
|
18
|
-
deleteComponentType: (state: import("immer/dist/internal.js").WritableDraft<ComponentTypeState>, action: {
|
|
19
|
-
payload: string;
|
|
20
|
-
}) => void;
|
|
21
|
-
setComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
22
|
-
payload: Stored<ComponentTypeAttachment>;
|
|
23
|
-
type: string;
|
|
24
|
-
}) => void;
|
|
25
|
-
setComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
26
|
-
payload: Stored<ComponentTypeAttachment>[];
|
|
27
|
-
type: string;
|
|
28
|
-
}) => void;
|
|
29
|
-
addComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
30
|
-
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
|
|
31
|
-
type: string;
|
|
32
|
-
}) => void;
|
|
33
|
-
addComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
34
|
-
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[];
|
|
35
|
-
type: string;
|
|
36
|
-
}) => void;
|
|
37
|
-
updateComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
38
|
-
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
|
|
39
|
-
type: string;
|
|
40
|
-
}) => void;
|
|
41
|
-
updateComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
42
|
-
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[];
|
|
43
|
-
type: string;
|
|
44
|
-
}) => void;
|
|
45
|
-
removeComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
46
|
-
payload: string;
|
|
47
|
-
type: string;
|
|
48
|
-
}) => void;
|
|
49
|
-
removeComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
50
|
-
payload: string[];
|
|
51
|
-
type: string;
|
|
52
|
-
}) => void;
|
|
53
|
-
}, "componentTypes">;
|
|
54
|
-
export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">, setComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentTypeAttachment>, "componentTypes/setComponentTypeAttachment">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentTypeAttachment>[], "componentTypes/setComponentTypeAttachments">, addComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/addComponentTypeAttachment">, addComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/addComponentTypeAttachments">, updateComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>, "componentTypes/updateComponentTypeAttachment">, updateComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[], "componentTypes/updateComponentTypeAttachments">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">;
|
|
55
|
-
export type AppSelector<TResult> = (state: RootState) => TResult;
|
|
56
|
-
export declare const selectComponentTypesMapping: AppSelector<Record<string, ComponentType>>;
|
|
57
|
-
export declare const selectComponentTypes: AppSelector<ComponentType[]>;
|
|
58
|
-
export declare const selectComponentType: SelectorWithArgs<string, ComponentType>;
|
|
59
|
-
interface selectNumberOfComponentTypesMatchingCaseInsensitiveNameProps {
|
|
60
|
-
name: string | null | undefined;
|
|
61
|
-
componentTypeId: string | undefined;
|
|
62
|
-
}
|
|
63
|
-
export declare const selectNumberOfComponentTypesMatchingCaseInsensitiveName: SelectorWithArgs<selectNumberOfComponentTypesMatchingCaseInsensitiveNameProps, number>;
|
|
64
|
-
export declare const selectComponentTypesByName: SelectorWithArgs<string, ComponentType[]>;
|
|
65
|
-
export declare const selectHiddenComponentTypeIds: AppSelector<Record<string, boolean | undefined>>;
|
|
66
|
-
export declare const selectComponentTypeAttachmentMapping: (state: RootState) => Record<string, ComponentTypeAttachment>;
|
|
67
|
-
export declare const selectAllComponentTypeAttachments: Selector<Stored<ComponentTypeAttachment>[]>;
|
|
68
|
-
export declare const selectComponentTypeAttachment: SelectorWithArgs<string, Stored<ComponentTypeAttachment>>;
|
|
69
|
-
export declare const selectAttachmentsOfComponentType: (args: string) => (state: RootState) => Stored<ComponentTypeAttachment>[];
|
|
70
|
-
export declare const selectAttachmentsOfComponentTypeByType: (args: string) => (state: RootState) => {
|
|
71
|
-
fileAttachments: Stored<ComponentTypeAttachment>[];
|
|
72
|
-
imageAttachments: Stored<ComponentTypeAttachment>[];
|
|
73
|
-
};
|
|
74
|
-
export declare const componentTypeReducer: Reducer<ComponentTypeState>;
|
|
75
|
-
export {};
|