@overmap-ai/core 1.0.48-add-agent-response-rating.1 → 1.0.48-bulk-form-submission.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 (32) hide show
  1. package/README.md +4 -4
  2. package/dist/components/ImageCard/ImageCard.d.ts +1 -1
  3. package/dist/forms/builder/hooks.d.ts +2 -1
  4. package/dist/forms/renderer/FormSubmissionBrowser/FormSubmissionBrowser.d.ts +5 -5
  5. package/dist/forms/renderer/FormSubmissionViewer/FormSubmissionViewer.d.ts +3 -3
  6. package/dist/overmap-core.js +1028 -533
  7. package/dist/overmap-core.js.map +1 -1
  8. package/dist/overmap-core.umd.cjs +1027 -532
  9. package/dist/overmap-core.umd.cjs.map +1 -1
  10. package/dist/sdk/sdk.d.ts +2 -1
  11. package/dist/sdk/services/IssueCommentService.d.ts +2 -2
  12. package/dist/sdk/services/IssueUpdateService.d.ts +4 -0
  13. package/dist/sdk/services/UserFormSubmissionService.d.ts +9 -2
  14. package/dist/sdk/services/index.d.ts +1 -0
  15. package/dist/store/slices/categorySlice.d.ts +3 -1
  16. package/dist/store/slices/componentSlice.d.ts +1 -0
  17. package/dist/store/slices/componentStageSlice.d.ts +2 -0
  18. package/dist/store/slices/documentSlice.d.ts +3 -1
  19. package/dist/store/slices/formRevisionSlice.d.ts +73 -0
  20. package/dist/store/slices/formSubmissionSlice.d.ts +46 -0
  21. package/dist/store/slices/index.d.ts +2 -0
  22. package/dist/store/slices/issueSlice.d.ts +24 -4
  23. package/dist/store/slices/projectFileSlice.d.ts +3 -1
  24. package/dist/store/slices/userFormSlice.d.ts +38 -63
  25. package/dist/store/slices/workspaceSlice.d.ts +3 -1
  26. package/dist/store/store.d.ts +10 -4
  27. package/dist/typings/models/access.d.ts +1 -1
  28. package/dist/typings/models/attachments.d.ts +3 -1
  29. package/dist/typings/models/base.d.ts +7 -0
  30. package/dist/typings/models/forms.d.ts +3 -6
  31. package/dist/typings/models/issues.d.ts +35 -1
  32. package/package.json +152 -152
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.
@@ -6,4 +6,4 @@ export interface ImageCardProps extends Omit<OvermapItemProps, "children" | "lef
6
6
  error?: string;
7
7
  truncateLength?: number;
8
8
  }
9
- export declare const ImageCard: import("react").MemoExoticComponent<(props: ImageCardProps) => import("react/jsx-runtime").JSX.Element>;
9
+ export declare const ImageCard: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ImageCardProps & import("react").RefAttributes<HTMLDivElement>>>;
@@ -1,6 +1,7 @@
1
1
  import { FieldTypeIdentifier } from "../typings";
2
2
  export declare const useFieldTypeItems: (onSelect?: (type: Exclude<FieldTypeIdentifier, "section">) => void) => {
3
- content: import("react/jsx-runtime").JSX.Element;
3
+ children: string;
4
+ leftSlot: import("react/jsx-runtime").JSX.Element;
4
5
  value: "string" | "number" | "boolean" | "select" | "text" | "date" | "multi-string" | "multi-select" | "upload";
5
6
  onSelect: () => void;
6
7
  }[][];
@@ -1,18 +1,18 @@
1
1
  import { ReactNode } from "react";
2
- import { Offline, UserFormSubmission, UserFormSubmissionPayload } from "../../../typings";
2
+ import { Stored, UserFormSubmission } from "../../../typings";
3
3
  export interface FormSubmissionClickEvent {
4
- submission: Offline<UserFormSubmissionPayload>;
4
+ submission: Stored<UserFormSubmission>;
5
5
  }
6
6
  interface UserFormSubmissionBrowserEntryProps {
7
- submission: Offline<UserFormSubmissionPayload> | UserFormSubmission;
7
+ submission: Stored<UserFormSubmission>;
8
8
  onSubmissionClick?: (e: FormSubmissionClickEvent) => void;
9
- rowDecorator?: (submission: Offline<UserFormSubmissionPayload> | UserFormSubmission, Row: ReactNode) => ReactNode;
9
+ rowDecorator?: (submission: Stored<UserFormSubmission>, Row: ReactNode) => ReactNode;
10
10
  compact: boolean;
11
11
  labelType: "creator" | "formName";
12
12
  }
13
13
  interface FormSubmissionBrowserProps {
14
14
  formId?: string;
15
- submissions?: (Offline<UserFormSubmissionPayload> | UserFormSubmission)[];
15
+ submissions?: Stored<UserFormSubmission>[];
16
16
  onSubmissionClick?: (e: FormSubmissionClickEvent) => void;
17
17
  rowDecorator?: UserFormSubmissionBrowserEntryProps["rowDecorator"];
18
18
  /** @default false */
@@ -1,15 +1,15 @@
1
1
  /// <reference types="react" />
2
- import { Offline, UserFormSubmissionPayload } from "../../../typings";
2
+ import { Stored, UserFormSubmission } from "../../../typings";
3
3
  interface FormSubmissionViewerProps {
4
4
  /** The submission to render for viewing */
5
- submission: Offline<UserFormSubmissionPayload>;
5
+ submission: Stored<UserFormSubmission>;
6
6
  /** @default false */
7
7
  showFormDescription?: boolean;
8
8
  /** @default true */
9
9
  showFormTitle?: boolean;
10
10
  }
11
11
  /**
12
- * Wrapper for `FormRenderer` that takes a `UserFormSubmissionPayload` instead of an `ISchema`.
12
+ * Wrapper for `FormRenderer` that takes a `Stored<UserFormSubmission` instead of an `ISchema`.
13
13
  * Also, unlike `FormRenderer`, this component depends on the redux store.
14
14
  * @see FormRenderer
15
15
  */