@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.
Files changed (69) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +4 -4
  3. package/dist/constants/ui.d.ts +1 -1
  4. package/dist/contexts/overmap.d.ts +2 -2
  5. package/dist/contexts/sdk/globals.d.ts +3 -3
  6. package/dist/contexts/sdk/sdk.d.ts +2 -2
  7. package/dist/enums/ui.d.ts +1 -1
  8. package/dist/forms/builder/constants.d.ts +1 -1
  9. package/dist/forms/builder/hooks.d.ts +1 -1
  10. package/dist/overmap-core.js +610 -942
  11. package/dist/overmap-core.js.map +1 -1
  12. package/dist/overmap-core.umd.cjs +611 -943
  13. package/dist/overmap-core.umd.cjs.map +1 -1
  14. package/dist/sdk/sdk.d.ts +11 -11
  15. package/dist/sdk/services/AgentService.d.ts +2 -21
  16. package/dist/sdk/services/AssetAttachmentService.d.ts +10 -0
  17. package/dist/sdk/services/AssetService.d.ts +11 -0
  18. package/dist/sdk/services/AssetStageCompletionService.d.ts +16 -0
  19. package/dist/sdk/services/AssetStageService.d.ts +11 -0
  20. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +10 -0
  21. package/dist/sdk/services/AssetTypeService.d.ts +9 -0
  22. package/dist/sdk/services/UserFormService.d.ts +2 -2
  23. package/dist/sdk/services/UserFormSubmissionService.d.ts +1 -1
  24. package/dist/sdk/services/index.d.ts +6 -6
  25. package/dist/store/index.d.ts +0 -1
  26. package/dist/store/slices/agentsSlice.d.ts +3 -3
  27. package/dist/store/slices/assetSlice.d.ts +63 -0
  28. package/dist/store/slices/assetStageCompletionSlice.d.ts +15 -0
  29. package/dist/store/slices/assetStageSlice.d.ts +32 -0
  30. package/dist/store/slices/assetTypeSlice.d.ts +74 -0
  31. package/dist/store/slices/authSlice.d.ts +3 -3
  32. package/dist/store/slices/categorySlice.d.ts +9 -9
  33. package/dist/store/slices/documentSlice.d.ts +12 -13
  34. package/dist/store/slices/formRevisionSlice.d.ts +7 -7
  35. package/dist/store/slices/formSlice.d.ts +7 -7
  36. package/dist/store/slices/formSubmissionSlice.d.ts +2 -2
  37. package/dist/store/slices/index.d.ts +4 -4
  38. package/dist/store/slices/issueSlice.d.ts +18 -18
  39. package/dist/store/slices/mapSlice.d.ts +4 -4
  40. package/dist/store/slices/organizationAccessSlice.d.ts +3 -3
  41. package/dist/store/slices/outboxSlice.d.ts +3 -3
  42. package/dist/store/slices/projectAccessSlice.d.ts +2 -2
  43. package/dist/store/slices/projectFileSlice.d.ts +7 -7
  44. package/dist/store/slices/projectSlice.d.ts +8 -8
  45. package/dist/store/slices/rehydratedSlice.d.ts +2 -2
  46. package/dist/store/slices/settingsSlice.d.ts +9 -9
  47. package/dist/store/slices/userSlice.d.ts +4 -4
  48. package/dist/store/slices/workspaceSlice.d.ts +6 -6
  49. package/dist/store/store.d.ts +12 -45
  50. package/dist/typings/models/access.d.ts +1 -0
  51. package/dist/typings/models/attachments.d.ts +6 -6
  52. package/dist/typings/models/components.d.ts +11 -7
  53. package/dist/typings/models/forms.d.ts +3 -3
  54. package/dist/typings/models/store.d.ts +2 -3
  55. package/dist/typings/store.d.ts +4 -4
  56. package/dist/utils/colors.d.ts +1 -1
  57. package/dist/utils/utils.d.ts +3 -3
  58. package/package.json +153 -153
  59. package/dist/sdk/services/ComponentAttachmentService.d.ts +0 -10
  60. package/dist/sdk/services/ComponentService.d.ts +0 -11
  61. package/dist/sdk/services/ComponentStageCompletionService.d.ts +0 -17
  62. package/dist/sdk/services/ComponentStageService.d.ts +0 -11
  63. package/dist/sdk/services/ComponentTypeAttachmentService.d.ts +0 -10
  64. package/dist/sdk/services/ComponentTypeService.d.ts +0 -9
  65. package/dist/store/hooks.d.ts +0 -4
  66. package/dist/store/slices/ComponentStageCompletionSlice.d.ts +0 -27
  67. package/dist/store/slices/componentSlice.d.ts +0 -73
  68. package/dist/store/slices/componentStageSlice.d.ts +0 -42
  69. package/dist/store/slices/componentTypeSlice.d.ts +0 -75
package/LICENSE ADDED
@@ -0,0 +1 @@
1
+ UNLICENSED (ALL RIGHTS RESERVED)
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @overmap-ai/core
2
-
3
- The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
4
- packages.
1
+ # @overmap-ai/core
2
+
3
+ The `core` package contains core functionality for the Overmap platform. It is a peer dependency of all other overmap
4
+ packages.
@@ -1 +1 @@
1
- export declare const fullComponentMarkerSize = 45;
1
+ export declare const fullAssetMarkerSize = 45;
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
3
- import { RootState } from "../typings";
3
+ import { OvermapRootState } from "../typings";
4
4
  interface OvermapProviderProps {
5
5
  children: React.ReactNode;
6
6
  production?: boolean;
7
7
  disableDefaultTheme?: boolean;
8
- store: ToolkitStore<RootState>;
8
+ store: ToolkitStore<OvermapRootState>;
9
9
  }
10
10
  declare const OvermapContext: React.Context<null>;
11
11
  declare const OvermapProvider: (props: OvermapProviderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
2
- import { RootState } from "../../typings";
3
- export declare function setClientStore(store: ToolkitStore<RootState>): void;
4
- export declare function getClientStore(): ToolkitStore<RootState> | undefined;
2
+ import { OvermapRootState } from "../../typings";
3
+ export declare function setClientStore(store: ToolkitStore<OvermapRootState>): void;
4
+ export declare function getClientStore(): ToolkitStore<OvermapRootState> | undefined;
@@ -1,14 +1,14 @@
1
1
  import React from "react";
2
2
  import { OvermapSDK } from "../../sdk";
3
3
  import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
4
- import { RootState } from "../../typings";
4
+ import { OvermapRootState } from "../../typings";
5
5
  export interface ISDKContext {
6
6
  sdk: OvermapSDK;
7
7
  }
8
8
  interface SDKProviderProps {
9
9
  children: React.ReactNode;
10
10
  API_URL: string;
11
- store: ToolkitStore<RootState>;
11
+ store: ToolkitStore<OvermapRootState>;
12
12
  }
13
13
  declare const SDKContext: React.Context<ISDKContext>;
14
14
  declare const SDKProvider: React.MemoExoticComponent<({ children, API_URL, store }: SDKProviderProps) => import("react/jsx-runtime").JSX.Element>;
@@ -1,4 +1,4 @@
1
- export declare const ComponentStageColors: {
1
+ export declare const AssetStageColors: {
2
2
  indigo: string;
3
3
  red: string;
4
4
  violet: string;
@@ -1,6 +1,6 @@
1
1
  import { FieldSection } from "../fields";
2
2
  export declare const formId = "form-builder";
3
- export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "multi-select" | "upload")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
3
+ export declare const fieldsToChoose: (("string" | "text")[] | ("select" | "multi-select" | "upload" | "qr")[] | ("number" | "boolean" | "date" | "multi-string")[])[];
4
4
  export declare const indexOfLastFieldGroup: number;
5
5
  export declare const CompleteFieldTypeToClsMapping: {
6
6
  section: typeof FieldSection;
@@ -2,6 +2,6 @@ import { FieldTypeIdentifier } from "../typings";
2
2
  export declare const useFieldTypeItems: (onSelect?: (type: Exclude<FieldTypeIdentifier, "section">) => void) => {
3
3
  children: string;
4
4
  leftSlot: import("react/jsx-runtime").JSX.Element;
5
- value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload";
5
+ value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload" | "qr";
6
6
  onSelect: () => void;
7
7
  }[][];