@overmap-ai/core 1.0.48-activity-history.4 → 1.0.48-activity-history.6
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/components/ImageCard/ImageCard.d.ts +1 -1
- package/dist/forms/builder/hooks.d.ts +2 -1
- package/dist/overmap-core.js +104 -70
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +103 -69
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/services/AgentService.d.ts +1 -0
- package/dist/typings/models/attachments.d.ts +3 -1
- package/package.json +5 -5
|
@@ -36,4 +36,5 @@ export declare class AgentService extends BaseApiService {
|
|
|
36
36
|
* @param conversationId If continuing an existing message, the UUID of that conversation.
|
|
37
37
|
*/
|
|
38
38
|
prompt(request: Payload<string>, conversationId?: string): Promise<PromptAgentResponse>;
|
|
39
|
+
rate(responseId: string, rating: 1 | 5): Promise<undefined>;
|
|
39
40
|
}
|
|
@@ -5,6 +5,8 @@ export interface Attachment extends OfflineModel, UploadedFileModel {
|
|
|
5
5
|
description?: string;
|
|
6
6
|
file_name: string;
|
|
7
7
|
file_type: string;
|
|
8
|
+
submitted_at: string;
|
|
9
|
+
created_by: number;
|
|
8
10
|
}
|
|
9
11
|
export interface IssueAttachment extends Attachment, UploadedFileModel {
|
|
10
12
|
issue: string;
|
|
@@ -20,7 +22,7 @@ export interface ProjectAttachment extends Attachment, UploadedFileModel {
|
|
|
20
22
|
}
|
|
21
23
|
/** to get an AttachmentPayload for a specific type, pass in the given AttachmentType
|
|
22
24
|
* ex. AttachmentPayload<IssueAttachment> */
|
|
23
|
-
export type AttachmentPayload<TAttachment> = Omit<TAttachment, "file"> & {
|
|
25
|
+
export type AttachmentPayload<TAttachment> = Omit<TAttachment, "file" | "submitted_at" | "created_by"> & {
|
|
24
26
|
file: MaybeObjectURL<File>;
|
|
25
27
|
};
|
|
26
28
|
export interface ProfilePic extends UploadedFileModel {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.48-activity-history.
|
|
6
|
+
"version": "1.0.48-activity-history.6",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
53
53
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
54
|
-
"@overmap-ai/blocks": "^1.0.29-alpha.
|
|
54
|
+
"@overmap-ai/blocks": "^1.0.29-alpha.1",
|
|
55
55
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
56
56
|
"@storybook/addon-essentials": "7.3.2",
|
|
57
57
|
"@storybook/addon-interactions": "7.3.2",
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"@testing-library/dom": "^9.3.4",
|
|
65
65
|
"@testing-library/react": "^14.1.2",
|
|
66
66
|
"@testing-library/user-event": "^14.5.2",
|
|
67
|
+
"@tiptap/core": "^2.4.0",
|
|
67
68
|
"@types/color": "^3.0.4",
|
|
68
69
|
"@types/file-saver": "^2.0.7",
|
|
69
70
|
"@types/jwt-decode": "^3.1.0",
|
|
@@ -109,15 +110,14 @@
|
|
|
109
110
|
"vite": "^4.4.5",
|
|
110
111
|
"vite-plugin-dts": "^3.5.2",
|
|
111
112
|
"vite-plugin-externalize-deps": "^0.7.0",
|
|
112
|
-
"vitest": "^1.2.1"
|
|
113
|
-
"@tiptap/core": "^2.4.0"
|
|
113
|
+
"vitest": "^1.2.1"
|
|
114
114
|
},
|
|
115
115
|
"peerDependencies": {
|
|
116
116
|
"@overmap-ai/blocks": "1.0.8",
|
|
117
|
+
"@tiptap/core": "^2.4.0",
|
|
117
118
|
"leaflet": "^1.9.0",
|
|
118
119
|
"react": "^18.2.0",
|
|
119
120
|
"react-dom": "^18.2.0",
|
|
120
|
-
"@tiptap/core": "^2.4.0",
|
|
121
121
|
"react-redux": "^8.1.2"
|
|
122
122
|
},
|
|
123
123
|
"resolutions": {
|