@overmap-ai/core 1.0.57-fix-agent-responses.0 → 1.0.57-project-view-only-flag.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.
Files changed (50) hide show
  1. package/README.md +4 -4
  2. package/dist/constants/ui.d.ts +1 -1
  3. package/dist/enums/ui.d.ts +1 -1
  4. package/dist/forms/builder/constants.d.ts +1 -1
  5. package/dist/forms/builder/hooks.d.ts +1 -1
  6. package/dist/overmap-core.js +567 -621
  7. package/dist/overmap-core.js.map +1 -1
  8. package/dist/overmap-core.umd.cjs +567 -621
  9. package/dist/overmap-core.umd.cjs.map +1 -1
  10. package/dist/sdk/sdk.d.ts +7 -7
  11. package/dist/sdk/services/AgentService.d.ts +21 -2
  12. package/dist/sdk/services/AssetAttachmentService.d.ts +10 -0
  13. package/dist/sdk/services/AssetService.d.ts +11 -0
  14. package/dist/sdk/services/AssetStageCompletionService.d.ts +16 -0
  15. package/dist/sdk/services/AssetStageService.d.ts +11 -0
  16. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +10 -0
  17. package/dist/sdk/services/AssetTypeService.d.ts +9 -0
  18. package/dist/sdk/services/UserFormService.d.ts +2 -2
  19. package/dist/sdk/services/UserFormSubmissionService.d.ts +1 -1
  20. package/dist/sdk/services/index.d.ts +6 -6
  21. package/dist/store/slices/assetSlice.d.ts +63 -0
  22. package/dist/store/slices/assetStageCompletionSlice.d.ts +15 -0
  23. package/dist/store/slices/assetStageSlice.d.ts +32 -0
  24. package/dist/store/slices/assetTypeSlice.d.ts +74 -0
  25. package/dist/store/slices/categorySlice.d.ts +4 -4
  26. package/dist/store/slices/documentSlice.d.ts +6 -7
  27. package/dist/store/slices/formRevisionSlice.d.ts +5 -5
  28. package/dist/store/slices/formSlice.d.ts +7 -7
  29. package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
  30. package/dist/store/slices/index.d.ts +4 -4
  31. package/dist/store/slices/issueSlice.d.ts +4 -4
  32. package/dist/store/slices/projectFileSlice.d.ts +4 -4
  33. package/dist/store/slices/workspaceSlice.d.ts +4 -4
  34. package/dist/store/store.d.ts +13 -13
  35. package/dist/typings/models/access.d.ts +1 -0
  36. package/dist/typings/models/attachments.d.ts +6 -6
  37. package/dist/typings/models/components.d.ts +11 -7
  38. package/dist/typings/models/forms.d.ts +3 -3
  39. package/dist/utils/colors.d.ts +1 -1
  40. package/package.json +153 -153
  41. package/dist/sdk/services/ComponentAttachmentService.d.ts +0 -10
  42. package/dist/sdk/services/ComponentService.d.ts +0 -11
  43. package/dist/sdk/services/ComponentStageCompletionService.d.ts +0 -17
  44. package/dist/sdk/services/ComponentStageService.d.ts +0 -11
  45. package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +0 -10
  46. package/dist/sdk/services/ComponentTypeService.d.ts +0 -9
  47. package/dist/store/slices/ComponentStageCompletionSlice.d.ts +0 -27
  48. package/dist/store/slices/componentSlice.d.ts +0 -73
  49. package/dist/store/slices/componentStageSlice.d.ts +0 -42
  50. package/dist/store/slices/componentTypeSlice.d.ts +0 -75
@@ -1,73 +0,0 @@
1
- import { PayloadAction, Reducer } from "@reduxjs/toolkit";
2
- import { Component, ComponentAttachment, ComponentType, RootState, Selector, SelectorWithArgs, Stored, Submitted } from "../../typings";
3
- export interface ComponentState {
4
- components: Record<string, Component | Submitted<Component>>;
5
- attachments: Record<string, Stored<ComponentAttachment>>;
6
- }
7
- export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentState, {
8
- addComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
9
- payload: Component;
10
- }) => void;
11
- addComponentsInBatches: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
12
- payload: (Component | Submitted<Component>)[];
13
- }) => void;
14
- setComponents: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
15
- payload: Component[];
16
- }) => void;
17
- updateComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: {
18
- payload: Component;
19
- }) => void;
20
- removeComponent: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
21
- removeAllComponentsOfType: (state: import("immer/dist/internal.js").WritableDraft<ComponentState>, action: PayloadAction<string>) => void;
22
- setComponentAttachment: (state: ComponentState, action: {
23
- payload: Stored<ComponentAttachment>;
24
- type: string;
25
- }) => void;
26
- setComponentAttachments: (state: ComponentState, action: {
27
- payload: Stored<ComponentAttachment>[];
28
- type: string;
29
- }) => void;
30
- addComponentAttachment: (state: ComponentState, action: {
31
- payload: Submitted<ComponentAttachment>;
32
- type: string;
33
- }) => void;
34
- addComponentAttachments: (state: ComponentState, action: {
35
- payload: Submitted<ComponentAttachment>[];
36
- type: string;
37
- }) => void;
38
- updateComponentAttachment: (state: ComponentState, action: {
39
- payload: Submitted<ComponentAttachment>;
40
- type: string;
41
- }) => void;
42
- updateComponentAttachments: (state: ComponentState, action: {
43
- payload: Submitted<ComponentAttachment>[];
44
- type: string;
45
- }) => void;
46
- removeComponentAttachment: (state: ComponentState, action: {
47
- payload: string;
48
- type: string;
49
- }) => void;
50
- removeComponentAttachments: (state: ComponentState, action: {
51
- payload: string[];
52
- type: string;
53
- }) => void;
54
- }, "components">;
55
- export declare const addComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/addComponent">, updateComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component, "components/updateComponent">, removeComponent: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponent">, addComponentsInBatches: import("@reduxjs/toolkit").ActionCreatorWithPayload<(Component | Submitted<Component>)[], "components/addComponentsInBatches">, setComponents: import("@reduxjs/toolkit").ActionCreatorWithPayload<Component[], "components/setComponents">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">, setComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentAttachment>, "components/setComponentAttachment">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<ComponentAttachment>[], "components/setComponentAttachments">, addComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/addComponentAttachment">, addComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/addComponentAttachments">, updateComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>, "components/updateComponentAttachment">, updateComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Submitted<ComponentAttachment>[], "components/updateComponentAttachments">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">;
56
- export declare const selectComponents: (state: RootState) => Component[];
57
- export declare const selectComponentsMapping: (state: RootState) => Record<string, Component | Submitted<Component>>;
58
- export declare const selectComponentsFromComponentType: SelectorWithArgs<string, Component[]>;
59
- export declare const selectComponent: SelectorWithArgs<string, Component>;
60
- export declare const selectComponentTypeFromComponent: SelectorWithArgs<string, ComponentType>;
61
- export declare const selectComponentTypeFromComponents: Selector<Record<string, ComponentType>>;
62
- export declare const selectComponentsByType: SelectorWithArgs<string, Component[]>;
63
- export declare const selectNumberOfComponentsOfComponentType: SelectorWithArgs<string | undefined, number>;
64
- export declare const selectComponentTypesFromIds: SelectorWithArgs<string[], ComponentType[]>;
65
- export declare const selectComponentAttachmentMapping: (state: RootState) => Record<string, Stored<ComponentAttachment>>;
66
- export declare const selectAllComponentAttachments: Selector<Stored<ComponentAttachment>[]>;
67
- export declare const selectComponentAttachment: SelectorWithArgs<string, Stored<ComponentAttachment>>;
68
- export declare const selectAttachmentsOfComponent: (args: string) => (state: RootState) => Stored<ComponentAttachment>[];
69
- export declare const selectAttachmentsOfComponentByType: (args: string) => (state: RootState) => {
70
- fileAttachments: Stored<ComponentAttachment>[];
71
- imageAttachments: Stored<ComponentAttachment>[];
72
- };
73
- export declare const componentReducer: Reducer<ComponentState>;
@@ -1,42 +0,0 @@
1
- import { Reducer } from "@reduxjs/toolkit";
2
- import { ComponentStage, RootState, SelectorWithArgs } from "../../typings";
3
- export interface ComponentStageState {
4
- stages: Record<string, ComponentStage>;
5
- }
6
- export declare const componentStageSlice: import("@reduxjs/toolkit").Slice<ComponentStageState, {
7
- addStages: (state: import("immer/dist/internal.js").WritableDraft<ComponentStageState>, action: {
8
- payload: ComponentStage[];
9
- }) => void;
10
- updateStages: (state: import("immer/dist/internal.js").WritableDraft<ComponentStageState>, action: {
11
- payload: ComponentStage[];
12
- }) => void;
13
- removeStages: (state: import("immer/dist/internal.js").WritableDraft<ComponentStageState>, action: {
14
- payload: string[];
15
- }) => void;
16
- linkStageToForm: (state: import("immer/dist/internal.js").WritableDraft<ComponentStageState>, action: {
17
- payload: {
18
- stageId: string;
19
- formId: string;
20
- };
21
- }) => void;
22
- unlinkStageToForm: (state: import("immer/dist/internal.js").WritableDraft<ComponentStageState>, action: {
23
- payload: {
24
- stageId: string;
25
- };
26
- }) => void;
27
- }, "componentStages">;
28
- export declare const selectStageMapping: (state: RootState) => Record<string, ComponentStage>;
29
- export declare const selectStage: SelectorWithArgs<string, ComponentStage | undefined>;
30
- export declare const selectStages: (state: RootState) => ComponentStage[];
31
- export declare const selectStagesFromComponentTypeIds: SelectorWithArgs<string[], Record<string, ComponentStage[]>>;
32
- export declare const selectComponentTypeStagesMapping: SelectorWithArgs<string, Record<string, ComponentStage>>;
33
- export declare const selectStagesFromComponentType: SelectorWithArgs<string, ComponentStage[]>;
34
- export declare const selectStagesFromStageIds: SelectorWithArgs<string[], ComponentStage[]>;
35
- export declare const selectStageFormIdsFromStageIds: SelectorWithArgs<string[], Record<string, string>>;
36
- export declare const addStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentStage[], "componentStages/addStages">, updateStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentStage[], "componentStages/updateStages">, removeStages: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentStages/removeStages">, linkStageToForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
37
- stageId: string;
38
- formId: string;
39
- }, "componentStages/linkStageToForm">, unlinkStageToForm: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
40
- stageId: string;
41
- }, "componentStages/unlinkStageToForm">;
42
- export declare const componentStageReducer: Reducer<ComponentStageState>;
@@ -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 {};