@overmap-ai/core 1.0.53-add-agent-slice.0 → 1.0.53-fix-not-send-org-in-payload.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/README.md +4 -4
- package/dist/overmap-core.js +79 -100
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +79 -100
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/store/slices/categorySlice.d.ts +0 -1
- package/dist/store/slices/documentSlice.d.ts +0 -1
- package/dist/store/slices/formRevisionSlice.d.ts +30 -31
- package/dist/store/slices/index.d.ts +0 -1
- package/dist/store/slices/issueSlice.d.ts +0 -1
- package/dist/store/slices/projectFileSlice.d.ts +0 -1
- package/dist/store/slices/workspaceSlice.d.ts +0 -1
- package/dist/store/store.d.ts +0 -4
- package/package.json +153 -153
- package/dist/store/slices/agentSlice.d.ts +0 -14
|
@@ -70,7 +70,6 @@ export declare const selectCategories: ((state: import("redux").EmptyObject & {
|
|
|
70
70
|
licenseReducer: import('..').LicenseState;
|
|
71
71
|
documentsReducer: import('..').DocumentState;
|
|
72
72
|
teamReducer: import('..').TeamState;
|
|
73
|
-
agentReducer: import('..').AgentState;
|
|
74
73
|
} & {
|
|
75
74
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
76
75
|
}) => Category[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Category>, args_1: string | null) => Category[], {
|
|
@@ -262,7 +262,6 @@ export declare const selectRootDocuments: ((state: import("redux").EmptyObject &
|
|
|
262
262
|
licenseReducer: import('..').LicenseState;
|
|
263
263
|
documentsReducer: DocumentState;
|
|
264
264
|
teamReducer: import('..').TeamState;
|
|
265
|
-
agentReducer: import('..').AgentState;
|
|
266
265
|
} & {
|
|
267
266
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
268
267
|
}) => ((import('../../typings/models/base').OfflineModel & import('../../typings/models/base').CreatedByModel & {
|
|
@@ -18,41 +18,40 @@ export declare const formRevisionsSlice: import("@reduxjs/toolkit").Slice<FormRe
|
|
|
18
18
|
deleteFormRevisionAttachment: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"]>) => void;
|
|
19
19
|
deleteFormRevisionAttachments: (state: import("immer/dist/internal.js").WritableDraft<FormRevisionState>, action: PayloadAction<UserFormRevisionAttachment["offline_id"][]>) => void;
|
|
20
20
|
}, "formRevisions">;
|
|
21
|
-
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import(
|
|
22
|
-
export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import(
|
|
21
|
+
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>, "formRevisions/setFormRevision">, setFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>[], "formRevisions/setFormRevisions">, addFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevision<import("index.ts").ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">, setFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/setFormRevisionAttachments">, addFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>, "formRevisions/addFormRevisionAttachment">, addFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<UserFormRevisionAttachment>[], "formRevisions/addFormRevisionAttachments">, deleteFormRevisionAttachment: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevisionAttachment">, deleteFormRevisionAttachments: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisionAttachments">;
|
|
22
|
+
export declare const selectFormRevisionMapping: (state: RootState) => Record<string, Stored<UserFormRevision<import("index.ts").ISerializedField>>>;
|
|
23
23
|
export declare const selectFormRevisions: ((state: import("redux").EmptyObject & {
|
|
24
|
-
versioning: import('../slices/versioningSlice').VersioningState;
|
|
25
|
-
fileReducer: import(
|
|
26
|
-
authReducer: import(
|
|
27
|
-
categoryReducer: import(
|
|
28
|
-
componentReducer: import(
|
|
29
|
-
componentStageCompletionReducer: import(
|
|
30
|
-
componentStageReducer: import(
|
|
31
|
-
componentTypeReducer: import(
|
|
32
|
-
issueReducer: import(
|
|
33
|
-
issueTypeReducer: import(
|
|
34
|
-
mapReducer: import(
|
|
35
|
-
organizationReducer: import(
|
|
36
|
-
outboxReducer: import(
|
|
37
|
-
projectReducer: import(
|
|
38
|
-
projectAccessReducer: import(
|
|
39
|
-
organizationAccessReducer: import(
|
|
40
|
-
projectFileReducer: import(
|
|
41
|
-
rehydratedReducer: import(
|
|
42
|
-
settingReducer: import(
|
|
43
|
-
formReducer: import(
|
|
44
|
-
userReducer: import(
|
|
24
|
+
versioning: import('../slices/versioningSlice.ts').VersioningState;
|
|
25
|
+
fileReducer: import("index.ts").FileState;
|
|
26
|
+
authReducer: import("index.ts").AuthState;
|
|
27
|
+
categoryReducer: import("index.ts").CategoryState;
|
|
28
|
+
componentReducer: import("index.ts").ComponentState;
|
|
29
|
+
componentStageCompletionReducer: import("index.ts").ComponentStageCompletionState;
|
|
30
|
+
componentStageReducer: import("index.ts").ComponentStageState;
|
|
31
|
+
componentTypeReducer: import("index.ts").ComponentTypeState;
|
|
32
|
+
issueReducer: import("index.ts").IssueState;
|
|
33
|
+
issueTypeReducer: import("index.ts").IssueTypeState;
|
|
34
|
+
mapReducer: import("index.ts").MapState;
|
|
35
|
+
organizationReducer: import("index.ts").OrganizationState;
|
|
36
|
+
outboxReducer: import("index.ts").OutboxState;
|
|
37
|
+
projectReducer: import("index.ts").ProjectState;
|
|
38
|
+
projectAccessReducer: import("index.ts").ProjectAccessState;
|
|
39
|
+
organizationAccessReducer: import("index.ts").OrganizationAccessState;
|
|
40
|
+
projectFileReducer: import("index.ts").ProjectFileState;
|
|
41
|
+
rehydratedReducer: import("index.ts").RehydratedState;
|
|
42
|
+
settingReducer: import("index.ts").SettingState;
|
|
43
|
+
formReducer: import("index.ts").FormState;
|
|
44
|
+
userReducer: import("index.ts").UserState;
|
|
45
45
|
formRevisionReducer: FormRevisionState;
|
|
46
|
-
formSubmissionReducer: import(
|
|
47
|
-
workspaceReducer: import(
|
|
48
|
-
emailDomainsReducer: import(
|
|
49
|
-
licenseReducer: import(
|
|
50
|
-
documentsReducer: import(
|
|
51
|
-
teamReducer: import(
|
|
52
|
-
agentReducer: import('..').AgentState;
|
|
46
|
+
formSubmissionReducer: import("index.ts").FormSubmissionState;
|
|
47
|
+
workspaceReducer: import("index.ts").WorkspaceState;
|
|
48
|
+
emailDomainsReducer: import("index.ts").EmailDomainState;
|
|
49
|
+
licenseReducer: import("index.ts").LicenseState;
|
|
50
|
+
documentsReducer: import("index.ts").DocumentState;
|
|
51
|
+
teamReducer: import("index.ts").TeamState;
|
|
53
52
|
} & {
|
|
54
53
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
55
|
-
}) => Stored<UserFormRevision<import(
|
|
54
|
+
}) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<UserFormRevision<import("index.ts").ISerializedField>>>) => Stored<UserFormRevision<import("index.ts").ISerializedField>>[], {
|
|
56
55
|
clearCache: () => void;
|
|
57
56
|
}> & {
|
|
58
57
|
clearCache: () => void;
|
|
@@ -146,7 +146,6 @@ export declare const selectAllAttachments: ((state: import("redux").EmptyObject
|
|
|
146
146
|
licenseReducer: import('..').LicenseState;
|
|
147
147
|
documentsReducer: import('..').DocumentState;
|
|
148
148
|
teamReducer: import('..').TeamState;
|
|
149
|
-
agentReducer: import('..').AgentState;
|
|
150
149
|
} & {
|
|
151
150
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
152
151
|
}) => Stored<IssueAttachment>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<IssueAttachment>>) => Stored<IssueAttachment>[], {
|
|
@@ -78,7 +78,6 @@ export declare const selectProjectFiles: ((state: import("redux").EmptyObject &
|
|
|
78
78
|
licenseReducer: import('..').LicenseState;
|
|
79
79
|
documentsReducer: import('..').DocumentState;
|
|
80
80
|
teamReducer: import('..').TeamState;
|
|
81
|
-
agentReducer: import('..').AgentState;
|
|
82
81
|
} & {
|
|
83
82
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
84
83
|
}) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|
|
@@ -56,7 +56,6 @@ export declare const selectWorkspaces: ((state: import("redux").EmptyObject & {
|
|
|
56
56
|
licenseReducer: import('..').LicenseState;
|
|
57
57
|
documentsReducer: import('..').DocumentState;
|
|
58
58
|
teamReducer: import('..').TeamState;
|
|
59
|
-
agentReducer: import('..').AgentState;
|
|
60
59
|
} & {
|
|
61
60
|
offline: import("@redux-offline/redux-offline/lib/types").OfflineState;
|
|
62
61
|
}) => Workspace[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Workspace>) => Workspace[], {
|
package/dist/store/store.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ import { type OfflineMetaEffect, type OvermapSDK, RequestDetails } from "../sdk"
|
|
|
6
6
|
import { AuthState, CategoryState, ComponentStageCompletionState, ComponentStageState, ComponentState, ComponentTypeState, DocumentState, EmailDomainState, FileState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, FormState, FormRevisionState, FormSubmissionState, UserState, WorkspaceState, TeamState } from "./slices";
|
|
7
7
|
import { VersioningState } from "./slices/versioningSlice";
|
|
8
8
|
import { RootState } from "../typings";
|
|
9
|
-
import { AgentState } from "./slices/agentSlice";
|
|
10
9
|
export declare const overmapReducers: {
|
|
11
10
|
versioning: Reducer<VersioningState>;
|
|
12
11
|
fileReducer: Reducer<FileState>;
|
|
@@ -36,7 +35,6 @@ export declare const overmapReducers: {
|
|
|
36
35
|
licenseReducer: Reducer<LicenseState>;
|
|
37
36
|
documentsReducer: Reducer<DocumentState>;
|
|
38
37
|
teamReducer: Reducer<TeamState>;
|
|
39
|
-
agentReducer: Reducer<AgentState>;
|
|
40
38
|
};
|
|
41
39
|
export declare const overmapReducer: Reducer<import("redux").CombinedState<{
|
|
42
40
|
versioning: VersioningState;
|
|
@@ -67,7 +65,6 @@ export declare const overmapReducer: Reducer<import("redux").CombinedState<{
|
|
|
67
65
|
licenseReducer: LicenseState;
|
|
68
66
|
documentsReducer: DocumentState;
|
|
69
67
|
teamReducer: TeamState;
|
|
70
|
-
agentReducer: AgentState;
|
|
71
68
|
}>, AnyAction>;
|
|
72
69
|
export declare const resetStore = "RESET";
|
|
73
70
|
export declare const rootReducer: Reducer<RootState>;
|
|
@@ -116,7 +113,6 @@ export declare const defaultStore: import("@reduxjs/toolkit/dist/configureStore"
|
|
|
116
113
|
licenseReducer: LicenseState;
|
|
117
114
|
documentsReducer: DocumentState;
|
|
118
115
|
teamReducer: TeamState;
|
|
119
|
-
agentReducer: AgentState;
|
|
120
116
|
} & {
|
|
121
117
|
offline: OfflineState;
|
|
122
118
|
}, AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<RootState, AnyAction>]>>;
|
package/package.json
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@overmap-ai/core",
|
|
3
|
-
"description": "Core functionality for Overmap",
|
|
4
|
-
"author": "Wôrdn Inc.",
|
|
5
|
-
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.53-
|
|
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
|
-
"qr-scanner": "^1.4.2",
|
|
43
|
-
"react-leaflet": "^4.2.1",
|
|
44
|
-
"react-pdf": "^8.0.2",
|
|
45
|
-
"react-sketch-canvas": "^6.2.0",
|
|
46
|
-
"react-spreadsheet": "^0.9.4",
|
|
47
|
-
"redux-persist-migrate": "^5.0.0",
|
|
48
|
-
"superagent": "^8.1.2",
|
|
49
|
-
"uuid": "^9.0.0",
|
|
50
|
-
"xlsx": "^0.18.5"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
54
|
-
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
55
|
-
"@overmap-ai/blocks": "^1.0.29-alpha.1",
|
|
56
|
-
"@rollup/plugin-commonjs": "^25.0.4",
|
|
57
|
-
"@storybook/addon-essentials": "7.3.2",
|
|
58
|
-
"@storybook/addon-interactions": "7.3.2",
|
|
59
|
-
"@storybook/addon-links": "7.3.2",
|
|
60
|
-
"@storybook/addon-onboarding": "1.0.8",
|
|
61
|
-
"@storybook/blocks": "7.3.2",
|
|
62
|
-
"@storybook/react": "7.3.2",
|
|
63
|
-
"@storybook/react-vite": "7.3.2",
|
|
64
|
-
"@storybook/testing-library": "0.2.0",
|
|
65
|
-
"@testing-library/dom": "^9.3.4",
|
|
66
|
-
"@testing-library/react": "^14.1.2",
|
|
67
|
-
"@testing-library/user-event": "^14.5.2",
|
|
68
|
-
"@tiptap/core": "^2.4.0",
|
|
69
|
-
"@types/color": "^3.0.4",
|
|
70
|
-
"@types/file-saver": "^2.0.7",
|
|
71
|
-
"@types/jwt-decode": "^3.1.0",
|
|
72
|
-
"@types/leaflet": "^1.9.3",
|
|
73
|
-
"@types/lodash.clonedeep": "^4.5.9",
|
|
74
|
-
"@types/lodash.get": "^4.4.9",
|
|
75
|
-
"@types/lodash.set": "^4.3.9",
|
|
76
|
-
"@types/node": "^20.12.11",
|
|
77
|
-
"@types/react": "^18.3.1",
|
|
78
|
-
"@types/react-dom": "^18.2.7",
|
|
79
|
-
"@types/react-redux": "^7.1.26",
|
|
80
|
-
"@types/superagent": "^4.1.18",
|
|
81
|
-
"@types/uuid": "^9.0.3",
|
|
82
|
-
"@types/xlsx": "^0.0.36",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
84
|
-
"@typescript-eslint/parser": "^6.4.1",
|
|
85
|
-
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
86
|
-
"@vitest/coverage-v8": "^1.2.1",
|
|
87
|
-
"eslint": "^8.47.0",
|
|
88
|
-
"eslint-config-prettier": "^9.0.0",
|
|
89
|
-
"eslint-plugin-import": "^2.28.1",
|
|
90
|
-
"eslint-plugin-prettier": "^5.0.0",
|
|
91
|
-
"eslint-plugin-react": "^7.33.2",
|
|
92
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
93
|
-
"eslint-plugin-react-refresh": "^0.4.3",
|
|
94
|
-
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
95
|
-
"eslint-plugin-storybook": "^0.6.13",
|
|
96
|
-
"happy-dom": "^13.3.1",
|
|
97
|
-
"husky": "^8.0.3",
|
|
98
|
-
"jsdom": "^23.2.0",
|
|
99
|
-
"leaflet": "^1.9.0",
|
|
100
|
-
"lint-staged": "^15.1.0",
|
|
101
|
-
"prettier": "^3.0.2",
|
|
102
|
-
"react": "^18.2.0",
|
|
103
|
-
"react-dom": "^18.2.0",
|
|
104
|
-
"react-hooks": "^1.0.1",
|
|
105
|
-
"react-redux": "^8.1.2",
|
|
106
|
-
"redux": "^4.2.1",
|
|
107
|
-
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
108
|
-
"sass": "^1.66.1",
|
|
109
|
-
"storybook": "7.3.2",
|
|
110
|
-
"typescript": "^5.2.2",
|
|
111
|
-
"vite": "^4.4.5",
|
|
112
|
-
"vite-plugin-dts": "^3.5.2",
|
|
113
|
-
"vite-plugin-externalize-deps": "^0.7.0",
|
|
114
|
-
"vitest": "^1.2.1"
|
|
115
|
-
},
|
|
116
|
-
"peerDependencies": {
|
|
117
|
-
"@overmap-ai/blocks": "1.0.8",
|
|
118
|
-
"@tiptap/core": "^2.4.0",
|
|
119
|
-
"leaflet": "^1.9.0",
|
|
120
|
-
"react": "^18.2.0",
|
|
121
|
-
"react-dom": "^18.2.0",
|
|
122
|
-
"react-redux": "^8.1.2"
|
|
123
|
-
},
|
|
124
|
-
"resolutions": {
|
|
125
|
-
"//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
|
|
126
|
-
"strip-ansi": "6.0.1",
|
|
127
|
-
"string-width": "4.2.2",
|
|
128
|
-
"wrap-ansi": "7.0.0"
|
|
129
|
-
},
|
|
130
|
-
"lint-staged": {
|
|
131
|
-
"src/**/*.{js,jsx,ts,tsx}": [
|
|
132
|
-
"yarn lint",
|
|
133
|
-
"yarn format"
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"files": [
|
|
137
|
-
"dist"
|
|
138
|
-
],
|
|
139
|
-
"keywords": [
|
|
140
|
-
"react",
|
|
141
|
-
"geospacial",
|
|
142
|
-
"map",
|
|
143
|
-
"components"
|
|
144
|
-
],
|
|
145
|
-
"homepage": "https://overmap.ai",
|
|
146
|
-
"repository": {
|
|
147
|
-
"type": "git",
|
|
148
|
-
"url": "git+https://github.com/hemora-app/overmap-core.git"
|
|
149
|
-
},
|
|
150
|
-
"bugs": {
|
|
151
|
-
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
152
|
-
}
|
|
153
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@overmap-ai/core",
|
|
3
|
+
"description": "Core functionality for Overmap",
|
|
4
|
+
"author": "Wôrdn Inc.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"version": "1.0.53-fix-not-send-org-in-payload.0",
|
|
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
|
+
"qr-scanner": "^1.4.2",
|
|
43
|
+
"react-leaflet": "^4.2.1",
|
|
44
|
+
"react-pdf": "^8.0.2",
|
|
45
|
+
"react-sketch-canvas": "^6.2.0",
|
|
46
|
+
"react-spreadsheet": "^0.9.4",
|
|
47
|
+
"redux-persist-migrate": "^5.0.0",
|
|
48
|
+
"superagent": "^8.1.2",
|
|
49
|
+
"uuid": "^9.0.0",
|
|
50
|
+
"xlsx": "^0.18.5"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
54
|
+
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
55
|
+
"@overmap-ai/blocks": "^1.0.29-alpha.1",
|
|
56
|
+
"@rollup/plugin-commonjs": "^25.0.4",
|
|
57
|
+
"@storybook/addon-essentials": "7.3.2",
|
|
58
|
+
"@storybook/addon-interactions": "7.3.2",
|
|
59
|
+
"@storybook/addon-links": "7.3.2",
|
|
60
|
+
"@storybook/addon-onboarding": "1.0.8",
|
|
61
|
+
"@storybook/blocks": "7.3.2",
|
|
62
|
+
"@storybook/react": "7.3.2",
|
|
63
|
+
"@storybook/react-vite": "7.3.2",
|
|
64
|
+
"@storybook/testing-library": "0.2.0",
|
|
65
|
+
"@testing-library/dom": "^9.3.4",
|
|
66
|
+
"@testing-library/react": "^14.1.2",
|
|
67
|
+
"@testing-library/user-event": "^14.5.2",
|
|
68
|
+
"@tiptap/core": "^2.4.0",
|
|
69
|
+
"@types/color": "^3.0.4",
|
|
70
|
+
"@types/file-saver": "^2.0.7",
|
|
71
|
+
"@types/jwt-decode": "^3.1.0",
|
|
72
|
+
"@types/leaflet": "^1.9.3",
|
|
73
|
+
"@types/lodash.clonedeep": "^4.5.9",
|
|
74
|
+
"@types/lodash.get": "^4.4.9",
|
|
75
|
+
"@types/lodash.set": "^4.3.9",
|
|
76
|
+
"@types/node": "^20.12.11",
|
|
77
|
+
"@types/react": "^18.3.1",
|
|
78
|
+
"@types/react-dom": "^18.2.7",
|
|
79
|
+
"@types/react-redux": "^7.1.26",
|
|
80
|
+
"@types/superagent": "^4.1.18",
|
|
81
|
+
"@types/uuid": "^9.0.3",
|
|
82
|
+
"@types/xlsx": "^0.0.36",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
84
|
+
"@typescript-eslint/parser": "^6.4.1",
|
|
85
|
+
"@vitejs/plugin-react-swc": "^3.3.2",
|
|
86
|
+
"@vitest/coverage-v8": "^1.2.1",
|
|
87
|
+
"eslint": "^8.47.0",
|
|
88
|
+
"eslint-config-prettier": "^9.0.0",
|
|
89
|
+
"eslint-plugin-import": "^2.28.1",
|
|
90
|
+
"eslint-plugin-prettier": "^5.0.0",
|
|
91
|
+
"eslint-plugin-react": "^7.33.2",
|
|
92
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
93
|
+
"eslint-plugin-react-refresh": "^0.4.3",
|
|
94
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
95
|
+
"eslint-plugin-storybook": "^0.6.13",
|
|
96
|
+
"happy-dom": "^13.3.1",
|
|
97
|
+
"husky": "^8.0.3",
|
|
98
|
+
"jsdom": "^23.2.0",
|
|
99
|
+
"leaflet": "^1.9.0",
|
|
100
|
+
"lint-staged": "^15.1.0",
|
|
101
|
+
"prettier": "^3.0.2",
|
|
102
|
+
"react": "^18.2.0",
|
|
103
|
+
"react-dom": "^18.2.0",
|
|
104
|
+
"react-hooks": "^1.0.1",
|
|
105
|
+
"react-redux": "^8.1.2",
|
|
106
|
+
"redux": "^4.2.1",
|
|
107
|
+
"rollup-plugin-polyfill-node": "^0.12.0",
|
|
108
|
+
"sass": "^1.66.1",
|
|
109
|
+
"storybook": "7.3.2",
|
|
110
|
+
"typescript": "^5.2.2",
|
|
111
|
+
"vite": "^4.4.5",
|
|
112
|
+
"vite-plugin-dts": "^3.5.2",
|
|
113
|
+
"vite-plugin-externalize-deps": "^0.7.0",
|
|
114
|
+
"vitest": "^1.2.1"
|
|
115
|
+
},
|
|
116
|
+
"peerDependencies": {
|
|
117
|
+
"@overmap-ai/blocks": "1.0.8",
|
|
118
|
+
"@tiptap/core": "^2.4.0",
|
|
119
|
+
"leaflet": "^1.9.0",
|
|
120
|
+
"react": "^18.2.0",
|
|
121
|
+
"react-dom": "^18.2.0",
|
|
122
|
+
"react-redux": "^8.1.2"
|
|
123
|
+
},
|
|
124
|
+
"resolutions": {
|
|
125
|
+
"//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
|
|
126
|
+
"strip-ansi": "6.0.1",
|
|
127
|
+
"string-width": "4.2.2",
|
|
128
|
+
"wrap-ansi": "7.0.0"
|
|
129
|
+
},
|
|
130
|
+
"lint-staged": {
|
|
131
|
+
"src/**/*.{js,jsx,ts,tsx}": [
|
|
132
|
+
"yarn lint",
|
|
133
|
+
"yarn format"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
"files": [
|
|
137
|
+
"dist"
|
|
138
|
+
],
|
|
139
|
+
"keywords": [
|
|
140
|
+
"react",
|
|
141
|
+
"geospacial",
|
|
142
|
+
"map",
|
|
143
|
+
"components"
|
|
144
|
+
],
|
|
145
|
+
"homepage": "https://overmap.ai",
|
|
146
|
+
"repository": {
|
|
147
|
+
"type": "git",
|
|
148
|
+
"url": "git+https://github.com/hemora-app/overmap-core.git"
|
|
149
|
+
},
|
|
150
|
+
"bugs": {
|
|
151
|
+
"url": "https://github.com/hemora-app/overmap-core/issues"
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PayloadAction, Reducer } from "@reduxjs/toolkit";
|
|
2
|
-
import { RootState } from "../../typings";
|
|
3
|
-
export interface AgentState {
|
|
4
|
-
conversationId: string | undefined;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Stores the state of the user's chats with the agent
|
|
8
|
-
*/
|
|
9
|
-
export declare const agentSlice: import("@reduxjs/toolkit").Slice<AgentState, {
|
|
10
|
-
setConversationId: (state: import("immer/dist/internal.js").WritableDraft<AgentState>, action: PayloadAction<string | undefined>) => void;
|
|
11
|
-
}, "agents">;
|
|
12
|
-
export declare const setConversationId: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "agents/setConversationId">;
|
|
13
|
-
export declare const selectConversationId: (state: RootState) => string | undefined;
|
|
14
|
-
export declare const agentReducer: Reducer<AgentState>;
|