@overmap-ai/core 1.0.59 → 1.0.60-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/dist/contexts/overmap.d.ts +2 -2
- package/dist/contexts/sdk/globals.d.ts +3 -3
- package/dist/contexts/sdk/sdk.d.ts +4 -4
- package/dist/enums/index.d.ts +0 -1
- package/dist/forms/fields/BaseField/layouts.d.ts +3 -2
- package/dist/forms/fields/typings.d.ts +3 -3
- package/dist/forms/index.d.ts +1 -0
- package/dist/forms/provider.d.ts +5 -0
- package/dist/forms/renderer/index.d.ts +0 -1
- package/dist/overmap-core.js +5494 -3106
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +5571 -3184
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +4 -4
- package/dist/sdk/services/AssetAttachmentService.d.ts +9 -3
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +9 -3
- package/dist/sdk/services/BaseAttachmentService.d.ts +11 -15
- package/dist/sdk/services/CategoryService.d.ts +1 -20
- package/dist/sdk/services/DocumentAttachmentService.d.ts +9 -3
- package/dist/sdk/services/EmailDomainsService.d.ts +0 -1
- package/dist/sdk/services/IssueAttachmentService.d.ts +9 -3
- package/dist/sdk/services/IssueService.d.ts +1 -2
- package/dist/sdk/services/ProjectAttachmentService.d.ts +9 -3
- package/dist/store/adapter.d.ts +15 -0
- package/dist/store/index.d.ts +0 -1
- package/dist/store/slices/agentsSlice.d.ts +24 -13
- package/dist/store/slices/assetAttachmentSlice.d.ts +52 -0
- package/dist/store/slices/assetSlice.d.ts +11 -52
- package/dist/store/slices/assetStageCompletionSlice.d.ts +2 -2
- package/dist/store/slices/assetStageSlice.d.ts +32 -24
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +52 -0
- package/dist/store/slices/assetTypeSlice.d.ts +11 -49
- package/dist/store/slices/authSlice.d.ts +3 -3
- package/dist/store/slices/categorySlice.d.ts +19 -60
- package/dist/store/slices/documentAttachmentSlice.d.ts +52 -0
- package/dist/store/slices/documentSlice.d.ts +5 -79
- package/dist/store/slices/emailDomainsSlice.d.ts +14 -11
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +46 -0
- package/dist/store/slices/formRevisionSlice.d.ts +32 -56
- package/dist/store/slices/formSlice.d.ts +27 -22
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +46 -0
- package/dist/store/slices/formSubmissionSlice.d.ts +29 -29
- package/dist/store/slices/index.d.ts +9 -1
- package/dist/store/slices/issueAttachmentSlice.d.ts +52 -0
- package/dist/store/slices/issueCommentSlice.d.ts +34 -0
- package/dist/store/slices/issueSlice.d.ts +25 -131
- package/dist/store/slices/issueTypeSlice.d.ts +25 -11
- package/dist/store/slices/issueUpdateSlice.d.ts +34 -0
- package/dist/store/slices/licenseSlice.d.ts +9 -7
- package/dist/store/slices/organizationAccessSlice.d.ts +14 -12
- package/dist/store/slices/outboxSlice.d.ts +3 -3
- package/dist/store/slices/projectAccessSlice.d.ts +16 -12
- package/dist/store/slices/projectAttachmentSlice.d.ts +52 -0
- package/dist/store/slices/projectFileSlice.d.ts +4 -37
- package/dist/store/slices/projectSlice.d.ts +5 -46
- package/dist/store/slices/rehydratedSlice.d.ts +3 -2
- package/dist/store/slices/settingsSlice.d.ts +3 -24
- package/dist/store/slices/teamSlice.d.ts +24 -10
- package/dist/store/slices/userSlice.d.ts +4 -4
- package/dist/store/slices/workspaceSlice.d.ts +22 -52
- package/dist/store/store.d.ts +15 -70
- package/dist/store/typings.d.ts +3 -0
- package/dist/style.css +0 -7
- package/dist/typings/models/store.d.ts +41 -4
- package/dist/typings/store.d.ts +4 -4
- package/dist/utils/utils.d.ts +3 -3
- package/package.json +5 -3
- package/dist/enums/map.d.ts +0 -6
- package/dist/forms/renderer/FormSubmissionBrowser/FormSubmissionBrowser.d.ts +0 -28
- package/dist/store/hooks.d.ts +0 -4
- package/dist/store/slices/mapSlice.d.ts +0 -23
- package/dist/store/slices/utils.d.ts +0 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
3
|
-
import {
|
|
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<
|
|
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 {
|
|
3
|
-
export declare function setClientStore(store: ToolkitStore<
|
|
4
|
-
export declare function getClientStore(): ToolkitStore<
|
|
2
|
+
import { OvermapRootState } from "../../typings";
|
|
3
|
+
export declare function setClientStore(store: ToolkitStore<OvermapRootState>): void;
|
|
4
|
+
export declare function getClientStore(): ToolkitStore<OvermapRootState> | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { OvermapSDK } from "../../sdk";
|
|
3
3
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
4
|
-
import {
|
|
4
|
+
import { OvermapRootState } from "../../typings";
|
|
5
5
|
export interface ISDKContext {
|
|
6
6
|
sdk: OvermapSDK;
|
|
7
7
|
}
|
|
8
|
-
interface SDKProviderProps {
|
|
8
|
+
interface SDKProviderProps<TState extends OvermapRootState> {
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
API_URL: string;
|
|
11
|
-
store: ToolkitStore<
|
|
11
|
+
store: ToolkitStore<TState>;
|
|
12
12
|
}
|
|
13
13
|
declare const SDKContext: React.Context<ISDKContext>;
|
|
14
|
-
declare const SDKProvider:
|
|
14
|
+
declare const SDKProvider: <TState extends OvermapRootState>(props: SDKProviderProps<TState>) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export { SDKProvider, SDKContext };
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ReactElement, ComponentProps, ReactNode } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { Text, Flex } from "@radix-ui/themes";
|
|
3
|
+
import { Severity, ThemeOptions } from "@overmap-ai/blocks";
|
|
3
4
|
export type Color = ThemeOptions["accentColor"];
|
|
4
5
|
interface InputWithLabelProps {
|
|
5
|
-
size:
|
|
6
|
+
size: ComponentProps<typeof Text>["size"];
|
|
6
7
|
severity: Severity | undefined;
|
|
7
8
|
inputId: string;
|
|
8
9
|
labelId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { HTMLProps, ReactNode } from "react";
|
|
1
|
+
import { HTMLProps, ReactNode, ComponentProps as ReactComponentProps } from "react";
|
|
2
|
+
import { Text } from "@radix-ui/themes";
|
|
2
3
|
import { BaseField, BaseFormElement } from "./BaseField";
|
|
3
4
|
import { Form, ISerializedField, SerializedFieldSection } from "../typings";
|
|
4
|
-
import { TextProps } from "@overmap-ai/blocks";
|
|
5
5
|
import { FormikUserFormRevision } from "../builder";
|
|
6
6
|
export interface SchemaMeta {
|
|
7
7
|
readonly: boolean;
|
|
@@ -19,7 +19,7 @@ export type InputValidator<TValue> = InputFieldLevelValidator<TValue> | InputFor
|
|
|
19
19
|
export interface ComponentProps<TField extends BaseFormElement> extends Omit<HTMLProps<HTMLElement>, "color" | "size" | "ref" | "type" | "onChange" | "onBlur" | "value" | "defaultValue" | "name" | "dir"> {
|
|
20
20
|
field: TField;
|
|
21
21
|
formId: string;
|
|
22
|
-
size?:
|
|
22
|
+
size?: ReactComponentProps<typeof Text>["size"];
|
|
23
23
|
showInputOnly?: boolean;
|
|
24
24
|
}
|
|
25
25
|
export type GetInputProps<TField extends BaseFormElement> = Omit<ComponentProps<TField>, "field">;
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ComponentProps, PropsWithoutRef, FC } from "react";
|
|
2
|
+
import { Theme } from "@radix-ui/themes";
|
|
3
|
+
type OvermapFormsProviderProps = PropsWithoutRef<ComponentProps<typeof Theme>>;
|
|
4
|
+
export declare const OvermapFormsProvider: FC<OvermapFormsProviderProps>;
|
|
5
|
+
export {};
|