@overmap-ai/core 1.0.48-few-bug-fixes.0 → 1.0.48-fix-agent-errors.1
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/README.md +4 -4
- package/dist/components/FileViewer/context.d.ts +1 -1
- package/dist/forms/builder/FieldActions.d.ts +1 -1
- package/dist/forms/constants.d.ts +2 -0
- package/dist/forms/constantsJsx.d.ts +9 -0
- package/dist/overmap-core.js +37 -2
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +37 -2
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/sdk.d.ts +2 -1
- package/dist/sdk/services/AgentService.d.ts +39 -0
- package/dist/sdk/services/AuthService.d.ts +1 -1
- package/dist/sdk/services/LicenseService.d.ts +1 -1
- package/dist/sdk/services/index.d.ts +1 -0
- package/dist/store/slices/componentSlice.d.ts +2 -2
- package/dist/store/slices/componentTypeSlice.d.ts +5 -5
- package/dist/store/slices/licenseSlice.d.ts +1 -2
- package/dist/store/slices/organizationSlice.d.ts +1 -1
- package/dist/typings/models/base.d.ts +5 -0
- package/dist/typings/models/users.d.ts +2 -3
- package/package.json +152 -150
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService } from "./services";
|
|
1
|
+
import { AttachmentService, AuthService, CategoryService, ComponentService, ComponentStageCompletionService, ComponentStageService, ComponentTypeService, EmailVerificationService, FileService, IssueCommentService, IssueService, MainService, OrganizationAccessService, ProjectAccessService, ProjectFileService, ProjectService, UserFormService, UserFormSubmissionService, WorkspaceService, OrganizationService, EmailDomainsService, LicenseService, DocumentService, AgentService } from "./services";
|
|
2
2
|
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore.js";
|
|
3
3
|
import { RootState } from "../typings";
|
|
4
4
|
export declare class OvermapSDK {
|
|
5
5
|
readonly API_URL: string;
|
|
6
6
|
readonly store: ToolkitStore<RootState>;
|
|
7
7
|
constructor(apiUrl: string, store: ToolkitStore<RootState>);
|
|
8
|
+
agent: AgentService;
|
|
8
9
|
files: FileService;
|
|
9
10
|
attachments: AttachmentService;
|
|
10
11
|
auth: AuthService;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
|
+
import { OptionalFileModel, Payload } from "../../typings";
|
|
3
|
+
import { JSONContent } from "@tiptap/core";
|
|
4
|
+
export interface AgentProfile extends OptionalFileModel {
|
|
5
|
+
/**
|
|
6
|
+
* The name of the agent.
|
|
7
|
+
*/
|
|
8
|
+
name: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the agent.
|
|
11
|
+
*/
|
|
12
|
+
description: string;
|
|
13
|
+
}
|
|
14
|
+
export interface PromptAgentResponse {
|
|
15
|
+
/**
|
|
16
|
+
* The response from the agent.
|
|
17
|
+
*/
|
|
18
|
+
response: JSONContent[];
|
|
19
|
+
/**
|
|
20
|
+
* The UUID of the conversation.
|
|
21
|
+
*/
|
|
22
|
+
conversation_id: string;
|
|
23
|
+
/**
|
|
24
|
+
* The UUID of the response (used when submitting ratings)
|
|
25
|
+
*/
|
|
26
|
+
response_id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The profile of the agent. Only included in the first response in a conversation.
|
|
29
|
+
*/
|
|
30
|
+
profile?: AgentProfile;
|
|
31
|
+
}
|
|
32
|
+
export declare class AgentService extends BaseApiService {
|
|
33
|
+
/**
|
|
34
|
+
* Prompt the agent with a message.
|
|
35
|
+
* @param request The message to prompt the agent with.
|
|
36
|
+
* @param conversationId If continuing an existing message, the UUID of that conversation.
|
|
37
|
+
*/
|
|
38
|
+
prompt(request: Payload<string>, conversationId: string): Promise<PromptAgentResponse>;
|
|
39
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseApiService } from "./BaseApiService
|
|
1
|
+
import { BaseApiService } from "./BaseApiService";
|
|
2
2
|
import { License, Project, Transaction } from "../../typings";
|
|
3
3
|
export declare class LicenseService extends BaseApiService {
|
|
4
4
|
fetchLicensesForOrganization(organizationId: number, showLoading?: boolean): Promise<License[]>;
|
|
@@ -15,7 +15,7 @@ export declare const componentSlice: import("@reduxjs/toolkit").Slice<ComponentS
|
|
|
15
15
|
payload: Component[];
|
|
16
16
|
}) => void;
|
|
17
17
|
setComponentAttachments: (state: ComponentState, action: {
|
|
18
|
-
payload: import('../../typings/models/issues
|
|
18
|
+
payload: import('../../typings/models/issues').Created<ComponentAttachment>[];
|
|
19
19
|
type: string;
|
|
20
20
|
}) => void;
|
|
21
21
|
addComponentAttachment: (state: ComponentState, action: {
|
|
@@ -59,5 +59,5 @@ export declare const selectAttachmentsOfComponentByType: (args: string) => (stat
|
|
|
59
59
|
fileAttachments: Stored<ComponentAttachment>[];
|
|
60
60
|
imageAttachments: Stored<ComponentAttachment>[];
|
|
61
61
|
};
|
|
62
|
-
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">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues
|
|
62
|
+
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">, setComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<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">, removeComponentAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeComponentAttachment">, removeComponentAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "components/removeComponentAttachments">, removeAllComponentsOfType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "components/removeAllComponentsOfType">;
|
|
63
63
|
export declare const componentReducer: Reducer<ComponentState>;
|
|
@@ -13,19 +13,19 @@ export declare const componentTypeSlice: import("@reduxjs/toolkit").Slice<Compon
|
|
|
13
13
|
payload: ComponentType[];
|
|
14
14
|
}) => void;
|
|
15
15
|
setComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
16
|
-
payload: import('../../typings/models/issues
|
|
16
|
+
payload: import('../../typings/models/issues').Created<ComponentTypeAttachment>[];
|
|
17
17
|
type: string;
|
|
18
18
|
}) => void;
|
|
19
19
|
addComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
20
|
-
payload: import('../../typings/models/issues
|
|
20
|
+
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
|
|
21
21
|
type: string;
|
|
22
22
|
}) => void;
|
|
23
23
|
addComponentTypeAttachments: (state: ComponentTypeState, action: {
|
|
24
|
-
payload: import('../../typings/models/issues
|
|
24
|
+
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>[];
|
|
25
25
|
type: string;
|
|
26
26
|
}) => void;
|
|
27
27
|
updateComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
28
|
-
payload: import('../../typings/models/issues
|
|
28
|
+
payload: import('../../typings/models/issues').Submitted<ComponentTypeAttachment>;
|
|
29
29
|
type: string;
|
|
30
30
|
}) => void;
|
|
31
31
|
removeComponentTypeAttachment: (state: ComponentTypeState, action: {
|
|
@@ -61,6 +61,6 @@ export declare const selectAttachmentsOfComponentTypeByType: (args: string) => (
|
|
|
61
61
|
fileAttachments: Stored<ComponentTypeAttachment>[];
|
|
62
62
|
imageAttachments: Stored<ComponentTypeAttachment>[];
|
|
63
63
|
};
|
|
64
|
-
export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues
|
|
64
|
+
export declare const addComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType, "componentTypes/addComponentType">, setComponentTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentType[], "componentTypes/setComponentTypes">, setComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<import('../../typings/models/issues').Created<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">, removeComponentTypeAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/removeComponentTypeAttachment">, removeComponentTypeAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "componentTypes/removeComponentTypeAttachments">, toggleComponentTypeVisibility: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/toggleComponentTypeVisibility">, deleteComponentType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "componentTypes/deleteComponentType">;
|
|
65
65
|
export declare const componentTypeReducer: Reducer<ComponentTypeState>;
|
|
66
66
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { License } from "../../typings
|
|
1
|
+
import { License, Selector, SelectorWithArgs } from "../../typings";
|
|
2
2
|
import { Reducer } from "@reduxjs/toolkit";
|
|
3
|
-
import { Selector, SelectorWithArgs } from "../../typings";
|
|
4
3
|
export interface LicenseState {
|
|
5
4
|
licenses: Record<string, License>;
|
|
6
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Reducer } from "@reduxjs/toolkit";
|
|
2
2
|
import { Selector, SelectorWithArgs } from '../../typings/store';
|
|
3
|
-
import {
|
|
3
|
+
import { License, Organization, Project, User } from "../../typings";
|
|
4
4
|
export interface OrganizationState {
|
|
5
5
|
organizations: Record<number, Organization>;
|
|
6
6
|
activeOrganizationId: number | null;
|
|
@@ -16,6 +16,11 @@ export interface FileObject {
|
|
|
16
16
|
file: string;
|
|
17
17
|
objectURL?: string;
|
|
18
18
|
}
|
|
19
|
+
export interface OptionalFileModel {
|
|
20
|
+
file_sha1?: string | null;
|
|
21
|
+
file?: string | null;
|
|
22
|
+
objectURL?: string;
|
|
23
|
+
}
|
|
19
24
|
export interface OwnedByUserOrOrganization {
|
|
20
25
|
user_owner: number;
|
|
21
26
|
organization_owner: number;
|
package/package.json
CHANGED
|
@@ -1,150 +1,152 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@overmap-ai/core",
|
|
3
|
-
"description": "Core functionality for Overmap",
|
|
4
|
-
"author": "Wôrdn Inc.",
|
|
5
|
-
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.48-
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "dist/overmap-core.umd.cjs",
|
|
9
|
-
"module": "dist/overmap-core.js",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"dev": "vite",
|
|
13
|
-
"build": "tsc --noEmit && vite build",
|
|
14
|
-
"lint": "tsc --noEmit && eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
|
|
15
|
-
"lint:fix": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
16
|
-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
|
|
17
|
-
"preview": "vite preview",
|
|
18
|
-
"prepare": "husky install",
|
|
19
|
-
"storybook": "storybook dev -p 6006",
|
|
20
|
-
"build-storybook": "storybook build",
|
|
21
|
-
"test": "npx vitest"
|
|
22
|
-
},
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"@hello-pangea/dnd": "^16.5.0",
|
|
25
|
-
"@redux-offline/redux-offline": "^2.6.0",
|
|
26
|
-
"@reduxjs/toolkit": "^1.9.5",
|
|
27
|
-
"color": "^4.2.3",
|
|
28
|
-
"dependency-graph": "^1.0.0",
|
|
29
|
-
"eslint-plugin-vitest": "^0.3.20",
|
|
30
|
-
"file-saver": "^2.0.5",
|
|
31
|
-
"formik": "^2.4.5",
|
|
32
|
-
"idb": "^7.1.1",
|
|
33
|
-
"jwt-decode": "^3.1.2",
|
|
34
|
-
"leaflet-draw": "^1.0.4",
|
|
35
|
-
"leaflet.markercluster": "^1.5.3",
|
|
36
|
-
"linkify-react": "^4.1.3",
|
|
37
|
-
"linkifyjs": "^4.1.3",
|
|
38
|
-
"localforage": "^1.10.0",
|
|
39
|
-
"lodash.clonedeep": "^4.5.0",
|
|
40
|
-
"lodash.get": "^4.4.2",
|
|
41
|
-
"lodash.set": "^4.3.2",
|
|
42
|
-
"react-leaflet": "^4.2.1",
|
|
43
|
-
"react-pdf": "^8.0.2",
|
|
44
|
-
"react-sketch-canvas": "^6.2.0",
|
|
45
|
-
"react-spreadsheet": "^0.9.4",
|
|
46
|
-
"redux-persist-migrate": "^5.0.0",
|
|
47
|
-
"superagent": "^8.1.2",
|
|
48
|
-
"uuid": "^9.0.0",
|
|
49
|
-
"xlsx": "^0.18.5"
|
|
50
|
-
},
|
|
51
|
-
"devDependencies": {
|
|
52
|
-
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
53
|
-
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
54
|
-
"@overmap-ai/blocks": "^1.0.29-alpha.0",
|
|
55
|
-
"@rollup/plugin-commonjs": "^25.0.4",
|
|
56
|
-
"@storybook/addon-essentials": "7.3.2",
|
|
57
|
-
"@storybook/addon-interactions": "7.3.2",
|
|
58
|
-
"@storybook/addon-links": "7.3.2",
|
|
59
|
-
"@storybook/addon-onboarding": "1.0.8",
|
|
60
|
-
"@storybook/blocks": "7.3.2",
|
|
61
|
-
"@storybook/react": "7.3.2",
|
|
62
|
-
"@storybook/react-vite": "7.3.2",
|
|
63
|
-
"@storybook/testing-library": "0.2.0",
|
|
64
|
-
"@testing-library/dom": "^9.3.4",
|
|
65
|
-
"@testing-library/react": "^14.1.2",
|
|
66
|
-
"@testing-library/user-event": "^14.5.2",
|
|
67
|
-
"@types/color": "^3.0.4",
|
|
68
|
-
"@types/file-saver": "^2.0.7",
|
|
69
|
-
"@types/jwt-decode": "^3.1.0",
|
|
70
|
-
"@types/leaflet": "^1.9.3",
|
|
71
|
-
"@types/lodash.clonedeep": "^4.5.9",
|
|
72
|
-
"@types/lodash.get": "^4.4.9",
|
|
73
|
-
"@types/lodash.set": "^4.3.9",
|
|
74
|
-
"@types/node": "^20.12.11",
|
|
75
|
-
"@types/react": "^18.3.1",
|
|
76
|
-
"@types/react-dom": "^18.2.7",
|
|
77
|
-
"@types/react-redux": "^7.1.26",
|
|
78
|
-
"@types/superagent": "^4.1.18",
|
|
79
|
-
"@types/uuid": "^9.0.3",
|
|
80
|
-
"@types/xlsx": "^0.0.36",
|
|
81
|
-
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
82
|
-
"@typescript-eslint/parser": "^6.4.1",
|
|
83
|
-
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
84
|
-
"@vitest/coverage-v8": "^1.2.1",
|
|
85
|
-
"eslint": "^8.47.0",
|
|
86
|
-
"eslint-config-prettier": "^9.0.0",
|
|
87
|
-
"eslint-plugin-import": "^2.28.1",
|
|
88
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
89
|
-
"eslint-plugin-react": "^7.33.2",
|
|
90
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
91
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
92
|
-
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
93
|
-
"eslint-plugin-storybook": "^0.6.13",
|
|
94
|
-
"happy-dom": "^13.3.1",
|
|
95
|
-
"husky": "^8.0.3",
|
|
96
|
-
"jsdom": "^23.2.0",
|
|
97
|
-
"leaflet": "^1.9.0",
|
|
98
|
-
"lint-staged": "^15.1.0",
|
|
99
|
-
"prettier": "^3.0.2",
|
|
100
|
-
"react": "^18.2.0",
|
|
101
|
-
"react-dom": "^18.2.0",
|
|
102
|
-
"react-hooks": "^1.0.1",
|
|
103
|
-
"react-redux": "^8.1.2",
|
|
104
|
-
"redux": "^4.2.1",
|
|
105
|
-
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
106
|
-
"sass": "^1.66.1",
|
|
107
|
-
"storybook": "7.3.2",
|
|
108
|
-
"typescript": "^5.2.2",
|
|
109
|
-
"vite": "^4.4.5",
|
|
110
|
-
"vite-plugin-dts": "^3.5.2",
|
|
111
|
-
"vite-plugin-externalize-deps": "^0.7.0",
|
|
112
|
-
"vitest": "^1.2.1"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"react
|
|
119
|
-
"react-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@overmap-ai/core",
|
|
3
|
+
"description": "Core functionality for Overmap",
|
|
4
|
+
"author": "Wôrdn Inc.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"version": "1.0.48-fix-agent-errors.1",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "dist/overmap-core.umd.cjs",
|
|
9
|
+
"module": "dist/overmap-core.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite",
|
|
13
|
+
"build": "tsc --noEmit && vite build",
|
|
14
|
+
"lint": "tsc --noEmit && eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0",
|
|
15
|
+
"lint:fix": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
16
|
+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
|
|
17
|
+
"preview": "vite preview",
|
|
18
|
+
"prepare": "husky install",
|
|
19
|
+
"storybook": "storybook dev -p 6006",
|
|
20
|
+
"build-storybook": "storybook build",
|
|
21
|
+
"test": "npx vitest"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@hello-pangea/dnd": "^16.5.0",
|
|
25
|
+
"@redux-offline/redux-offline": "^2.6.0",
|
|
26
|
+
"@reduxjs/toolkit": "^1.9.5",
|
|
27
|
+
"color": "^4.2.3",
|
|
28
|
+
"dependency-graph": "^1.0.0",
|
|
29
|
+
"eslint-plugin-vitest": "^0.3.20",
|
|
30
|
+
"file-saver": "^2.0.5",
|
|
31
|
+
"formik": "^2.4.5",
|
|
32
|
+
"idb": "^7.1.1",
|
|
33
|
+
"jwt-decode": "^3.1.2",
|
|
34
|
+
"leaflet-draw": "^1.0.4",
|
|
35
|
+
"leaflet.markercluster": "^1.5.3",
|
|
36
|
+
"linkify-react": "^4.1.3",
|
|
37
|
+
"linkifyjs": "^4.1.3",
|
|
38
|
+
"localforage": "^1.10.0",
|
|
39
|
+
"lodash.clonedeep": "^4.5.0",
|
|
40
|
+
"lodash.get": "^4.4.2",
|
|
41
|
+
"lodash.set": "^4.3.2",
|
|
42
|
+
"react-leaflet": "^4.2.1",
|
|
43
|
+
"react-pdf": "^8.0.2",
|
|
44
|
+
"react-sketch-canvas": "^6.2.0",
|
|
45
|
+
"react-spreadsheet": "^0.9.4",
|
|
46
|
+
"redux-persist-migrate": "^5.0.0",
|
|
47
|
+
"superagent": "^8.1.2",
|
|
48
|
+
"uuid": "^9.0.0",
|
|
49
|
+
"xlsx": "^0.18.5"
|
|
50
|
+
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
53
|
+
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
54
|
+
"@overmap-ai/blocks": "^1.0.29-alpha.0",
|
|
55
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
56
|
+
"@storybook/addon-essentials": "7.3.2",
|
|
57
|
+
"@storybook/addon-interactions": "7.3.2",
|
|
58
|
+
"@storybook/addon-links": "7.3.2",
|
|
59
|
+
"@storybook/addon-onboarding": "1.0.8",
|
|
60
|
+
"@storybook/blocks": "7.3.2",
|
|
61
|
+
"@storybook/react": "7.3.2",
|
|
62
|
+
"@storybook/react-vite": "7.3.2",
|
|
63
|
+
"@storybook/testing-library": "0.2.0",
|
|
64
|
+
"@testing-library/dom": "^9.3.4",
|
|
65
|
+
"@testing-library/react": "^14.1.2",
|
|
66
|
+
"@testing-library/user-event": "^14.5.2",
|
|
67
|
+
"@types/color": "^3.0.4",
|
|
68
|
+
"@types/file-saver": "^2.0.7",
|
|
69
|
+
"@types/jwt-decode": "^3.1.0",
|
|
70
|
+
"@types/leaflet": "^1.9.3",
|
|
71
|
+
"@types/lodash.clonedeep": "^4.5.9",
|
|
72
|
+
"@types/lodash.get": "^4.4.9",
|
|
73
|
+
"@types/lodash.set": "^4.3.9",
|
|
74
|
+
"@types/node": "^20.12.11",
|
|
75
|
+
"@types/react": "^18.3.1",
|
|
76
|
+
"@types/react-dom": "^18.2.7",
|
|
77
|
+
"@types/react-redux": "^7.1.26",
|
|
78
|
+
"@types/superagent": "^4.1.18",
|
|
79
|
+
"@types/uuid": "^9.0.3",
|
|
80
|
+
"@types/xlsx": "^0.0.36",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
82
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
83
|
+
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
84
|
+
"@vitest/coverage-v8": "^1.2.1",
|
|
85
|
+
"eslint": "^8.47.0",
|
|
86
|
+
"eslint-config-prettier": "^9.0.0",
|
|
87
|
+
"eslint-plugin-import": "^2.28.1",
|
|
88
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
89
|
+
"eslint-plugin-react": "^7.33.2",
|
|
90
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
91
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
92
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
93
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
94
|
+
"happy-dom": "^13.3.1",
|
|
95
|
+
"husky": "^8.0.3",
|
|
96
|
+
"jsdom": "^23.2.0",
|
|
97
|
+
"leaflet": "^1.9.0",
|
|
98
|
+
"lint-staged": "^15.1.0",
|
|
99
|
+
"prettier": "^3.0.2",
|
|
100
|
+
"react": "^18.2.0",
|
|
101
|
+
"react-dom": "^18.2.0",
|
|
102
|
+
"react-hooks": "^1.0.1",
|
|
103
|
+
"react-redux": "^8.1.2",
|
|
104
|
+
"redux": "^4.2.1",
|
|
105
|
+
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
106
|
+
"sass": "^1.66.1",
|
|
107
|
+
"storybook": "7.3.2",
|
|
108
|
+
"typescript": "^5.2.2",
|
|
109
|
+
"vite": "^4.4.5",
|
|
110
|
+
"vite-plugin-dts": "^3.5.2",
|
|
111
|
+
"vite-plugin-externalize-deps": "^0.7.0",
|
|
112
|
+
"vitest": "^1.2.1",
|
|
113
|
+
"@tiptap/core": "^2.4.0"
|
|
114
|
+
},
|
|
115
|
+
"peerDependencies": {
|
|
116
|
+
"@overmap-ai/blocks": "1.0.8",
|
|
117
|
+
"leaflet": "^1.9.0",
|
|
118
|
+
"react": "^18.2.0",
|
|
119
|
+
"react-dom": "^18.2.0",
|
|
120
|
+
"@tiptap/core": "^2.4.0",
|
|
121
|
+
"react-redux": "^8.1.2"
|
|
122
|
+
},
|
|
123
|
+
"resolutions": {
|
|
124
|
+
"//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
|
|
125
|
+
"strip-ansi": "6.0.1",
|
|
126
|
+
"string-width": "4.2.2",
|
|
127
|
+
"wrap-ansi": "7.0.0"
|
|
128
|
+
},
|
|
129
|
+
"lint-staged": {
|
|
130
|
+
"src/**/*.{js,jsx,ts,tsx}": [
|
|
131
|
+
"yarn lint",
|
|
132
|
+
"yarn format"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"files": [
|
|
136
|
+
"dist"
|
|
137
|
+
],
|
|
138
|
+
"keywords": [
|
|
139
|
+
"react",
|
|
140
|
+
"geospacial",
|
|
141
|
+
"map",
|
|
142
|
+
"components"
|
|
143
|
+
],
|
|
144
|
+
"homepage": "https://overmap.ai",
|
|
145
|
+
"repository": {
|
|
146
|
+
"type": "git",
|
|
147
|
+
"url": "git+https://github.com/hemora-app/overmap-core.git"
|
|
148
|
+
},
|
|
149
|
+
"bugs": {
|
|
150
|
+
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
151
|
+
}
|
|
152
|
+
}
|