@overmap-ai/core 1.0.71-project-file-improvements.4 → 1.0.71-workspace-settings.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/overmap-core.js +166 -118
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +166 -118
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/services/FormService.d.ts +1 -2
- package/dist/sdk/services/FormSubmissionService.d.ts +1 -2
- package/dist/sdk/services/ProjectFileService.d.ts +7 -7
- package/dist/store/slices/formRevisionSlice.d.ts +13 -13
- package/dist/store/slices/projectFileSlice.d.ts +29 -34
- package/dist/typings/models/forms.d.ts +87 -1
- package/dist/typings/models/geoImages.d.ts +2 -2
- package/dist/typings/models/projects.d.ts +2 -5
- package/package.json +3 -5
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { Form, FormRevision, FormRevisionAttachment, FormRevisionPayload, OvermapRootState, Stored, Created } from "../../typings";
|
|
1
|
+
import type { Form, FormRevision, FormRevisionAttachment, FormRevisionPayload, ISerializedField, OvermapRootState, Stored, Created } from "../../typings";
|
|
2
2
|
import type { BaseSDK } from "../base";
|
|
3
3
|
import { BaseUploadService } from "./BaseUploadService";
|
|
4
|
-
import { ISerializedField } from "@overmap-ai/forms";
|
|
5
4
|
export declare abstract class FormService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
6
5
|
private bulkAddRevisionAttachments;
|
|
7
6
|
private add;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import type { Created, FormSubmission, FormSubmissionAttachment, Offline, OvermapRootState, Payload, Stored } from "../../typings";
|
|
1
|
+
import type { Created, FieldValue, FormSubmission, FormSubmissionAttachment, Offline, OvermapRootState, Payload, Stored } from "../../typings";
|
|
2
2
|
import type { PresignedUrlsResponse } from "../typings";
|
|
3
3
|
import type { BaseSDK } from "../base";
|
|
4
4
|
import { BaseUploadService } from "./BaseUploadService";
|
|
5
|
-
import { FieldValue } from "@overmap-ai/forms";
|
|
6
5
|
interface BulkAddRequestReturnValue {
|
|
7
6
|
submissions: Created<FormSubmission>[];
|
|
8
7
|
attachments: Created<FormSubmissionAttachment>[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { OptimisticGenericResult
|
|
1
|
+
import type { OvermapRootState, ProjectFile } from "../../typings";
|
|
2
|
+
import type { OptimisticGenericResult } from "../typings";
|
|
3
|
+
import { BaseApiService } from "./BaseApiService";
|
|
3
4
|
import type { BaseSDK } from "../base";
|
|
4
|
-
import { BaseUploadService } from "./BaseUploadService";
|
|
5
5
|
/**
|
|
6
6
|
* Handles creation and caching of ProjectFiles
|
|
7
7
|
*/
|
|
8
|
-
export declare abstract class ProjectFileService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
delete(
|
|
8
|
+
export declare abstract class ProjectFileService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
9
|
+
saveExisting(file: ProjectFile): Promise<ProjectFile>;
|
|
10
|
+
saveActive(): OptimisticGenericResult<ProjectFile>;
|
|
11
|
+
delete(projectFileId: string): Promise<undefined>;
|
|
12
12
|
refreshStore(projectId: number): Promise<void>;
|
|
13
13
|
}
|
|
@@ -3,34 +3,34 @@ import type { Form, FormRevision, OvermapRootState, OvermapSelector, OvermapSele
|
|
|
3
3
|
import type { ModelState } from "../typings";
|
|
4
4
|
export type FormRevisionState = ModelState<Stored<FormRevision>>;
|
|
5
5
|
export declare const formRevisionsSlice: import("@reduxjs/toolkit").Slice<FormRevisionState, {
|
|
6
|
-
initializeFormRevisions: <TState extends ModelState<Stored<FormRevision<import(
|
|
7
|
-
payload: Stored<FormRevision<import(
|
|
6
|
+
initializeFormRevisions: <TState extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState, action: {
|
|
7
|
+
payload: Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[];
|
|
8
8
|
type: string;
|
|
9
9
|
}) => void;
|
|
10
|
-
setFormRevision: <TState_1 extends ModelState<Stored<FormRevision<import(
|
|
11
|
-
payload: Stored<FormRevision<import(
|
|
10
|
+
setFormRevision: <TState_1 extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState_1, action: {
|
|
11
|
+
payload: Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>;
|
|
12
12
|
type: string;
|
|
13
13
|
}) => void;
|
|
14
|
-
addFormRevision: <TState_2 extends ModelState<Stored<FormRevision<import(
|
|
15
|
-
payload: Stored<FormRevision<import(
|
|
14
|
+
addFormRevision: <TState_2 extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState_2, action: {
|
|
15
|
+
payload: Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>;
|
|
16
16
|
type: string;
|
|
17
17
|
}) => void;
|
|
18
|
-
addFormRevisions: <TState_3 extends ModelState<Stored<FormRevision<import(
|
|
19
|
-
payload: Stored<FormRevision<import(
|
|
18
|
+
addFormRevisions: <TState_3 extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState_3, action: {
|
|
19
|
+
payload: Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[];
|
|
20
20
|
type: string;
|
|
21
21
|
}) => void;
|
|
22
|
-
deleteFormRevision: <TState_4 extends ModelState<Stored<FormRevision<import(
|
|
22
|
+
deleteFormRevision: <TState_4 extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState_4, action: {
|
|
23
23
|
payload: string;
|
|
24
24
|
type: string;
|
|
25
25
|
}) => void;
|
|
26
|
-
deleteFormRevisions: <TState_5 extends ModelState<Stored<FormRevision<import(
|
|
26
|
+
deleteFormRevisions: <TState_5 extends ModelState<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>>(state: TState_5, action: {
|
|
27
27
|
payload: string[];
|
|
28
28
|
type: string;
|
|
29
29
|
}) => void;
|
|
30
30
|
}, "formRevisions">;
|
|
31
|
-
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<FormRevision<import(
|
|
32
|
-
export declare const selectFormRevisionMapping: (state: OvermapRootState) => Record<string, Stored<FormRevision<import(
|
|
33
|
-
export declare const selectFormRevisions: ((state: OvermapRootState) => Stored<FormRevision<import(
|
|
31
|
+
export declare const setFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>, "formRevisions/setFormRevision">, initializeFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[], "formRevisions/initializeFormRevisions">, addFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>, "formRevisions/addFormRevision">, addFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[], "formRevisions/addFormRevisions">, deleteFormRevision: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "formRevisions/deleteFormRevision">, deleteFormRevisions: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "formRevisions/deleteFormRevisions">;
|
|
32
|
+
export declare const selectFormRevisionMapping: (state: OvermapRootState) => Record<string, Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>;
|
|
33
|
+
export declare const selectFormRevisions: ((state: OvermapRootState) => Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>>) => Stored<FormRevision<import('../../typings/models/forms').ISerializedField>>[], {
|
|
34
34
|
clearCache: () => void;
|
|
35
35
|
}> & {
|
|
36
36
|
clearCache: () => void;
|
|
@@ -1,51 +1,46 @@
|
|
|
1
1
|
import { Reducer } from "@reduxjs/toolkit";
|
|
2
|
-
import type { OvermapRootState, OvermapSelectorWithArgs, ProjectFile
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
import type { MultiPointGeometry, OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, ProjectFile } from "../../typings";
|
|
3
|
+
export interface ProjectFileState {
|
|
4
|
+
projectFiles: Record<string, ProjectFile>;
|
|
5
|
+
activeProjectFileId: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* State variable which is set true by web client to mark that the activeProjectFile is a new one that was just
|
|
8
|
+
* imported and not a pre-existing one which is being edited
|
|
9
|
+
*/
|
|
10
|
+
isImportingProjectFile: boolean;
|
|
11
|
+
}
|
|
5
12
|
export declare const projectFileSlice: import("@reduxjs/toolkit").Slice<ProjectFileState, {
|
|
6
|
-
|
|
7
|
-
payload:
|
|
8
|
-
type: string;
|
|
13
|
+
addOrReplaceProjectFiles: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
14
|
+
payload: ProjectFile[];
|
|
9
15
|
}) => void;
|
|
10
|
-
|
|
11
|
-
payload:
|
|
12
|
-
type: string;
|
|
16
|
+
addOrReplaceProjectFile: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
17
|
+
payload: ProjectFile;
|
|
13
18
|
}) => void;
|
|
14
|
-
|
|
15
|
-
payload:
|
|
16
|
-
type: string;
|
|
19
|
+
setIsImportingProjectFile: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
20
|
+
payload: boolean;
|
|
17
21
|
}) => void;
|
|
18
|
-
|
|
19
|
-
payload:
|
|
20
|
-
type: string;
|
|
22
|
+
saveActiveProjectFileBounds: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
23
|
+
payload: MultiPointGeometry;
|
|
21
24
|
}) => void;
|
|
22
|
-
|
|
23
|
-
payload:
|
|
24
|
-
type: string;
|
|
25
|
+
setActiveProjectFileId: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
26
|
+
payload: string | null;
|
|
25
27
|
}) => void;
|
|
26
|
-
|
|
27
|
-
payload: Stored<ProjectFile>;
|
|
28
|
-
type: string;
|
|
29
|
-
}) => void;
|
|
30
|
-
updateProjectFiles: <TState_6 extends ModelState<Stored<ProjectFile>>>(state: TState_6, action: {
|
|
31
|
-
payload: Stored<ProjectFile>[];
|
|
32
|
-
type: string;
|
|
33
|
-
}) => void;
|
|
34
|
-
deleteProjectFile: <TState_7 extends ModelState<Stored<ProjectFile>>>(state: TState_7, action: {
|
|
28
|
+
removeProjectFile: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
35
29
|
payload: string;
|
|
36
|
-
type: string;
|
|
37
30
|
}) => void;
|
|
38
|
-
|
|
39
|
-
payload:
|
|
40
|
-
type: string;
|
|
31
|
+
removeProjectFilesOfProject: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>, action: {
|
|
32
|
+
payload: number;
|
|
41
33
|
}) => void;
|
|
34
|
+
resetProjectFileObjectUrls: (state: import("immer/dist/internal.js").WritableDraft<ProjectFileState>) => void;
|
|
42
35
|
}, "projectFiles">;
|
|
43
|
-
export declare const
|
|
44
|
-
export declare const selectProjectFileMapping: (state: OvermapRootState) => Record<string,
|
|
45
|
-
export declare const selectProjectFiles: ((state: OvermapRootState) =>
|
|
36
|
+
export declare const addOrReplaceProjectFiles: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProjectFile[], "projectFiles/addOrReplaceProjectFiles">, addOrReplaceProjectFile: import("@reduxjs/toolkit").ActionCreatorWithPayload<ProjectFile, "projectFiles/addOrReplaceProjectFile">, setIsImportingProjectFile: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "projectFiles/setIsImportingProjectFile">, setActiveProjectFileId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string | null, "projectFiles/setActiveProjectFileId">, saveActiveProjectFileBounds: import("@reduxjs/toolkit").ActionCreatorWithPayload<MultiPointGeometry, "projectFiles/saveActiveProjectFileBounds">, removeProjectFile: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "projectFiles/removeProjectFile">, removeProjectFilesOfProject: import("@reduxjs/toolkit").ActionCreatorWithPayload<number, "projectFiles/removeProjectFilesOfProject">, resetProjectFileObjectUrls: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"projectFiles/resetProjectFileObjectUrls">;
|
|
37
|
+
export declare const selectProjectFileMapping: (state: OvermapRootState) => Record<string, ProjectFile>;
|
|
38
|
+
export declare const selectProjectFiles: ((state: OvermapRootState) => ProjectFile[]) & import("reselect").OutputSelectorFields<(args_0: Record<string, ProjectFile>, args_1: number | null) => ProjectFile[], {
|
|
46
39
|
clearCache: () => void;
|
|
47
40
|
}> & {
|
|
48
41
|
clearCache: () => void;
|
|
49
42
|
};
|
|
43
|
+
export declare const selectActiveProjectFileId: OvermapSelector<string | null>;
|
|
44
|
+
export declare const selectIsImportingProjectFile: OvermapSelector<boolean>;
|
|
50
45
|
export declare const selectProjectFileById: OvermapSelectorWithArgs<string, ProjectFile | undefined>;
|
|
51
46
|
export declare const projectFileReducer: Reducer<ProjectFileState>;
|
|
@@ -1,6 +1,91 @@
|
|
|
1
|
+
import { HTMLInputTypeAttribute } from "react";
|
|
1
2
|
import type { CreatedByModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from "./base";
|
|
2
3
|
import type { Attachment } from "./attachments";
|
|
3
|
-
|
|
4
|
+
export interface BaseSerializedField<TIdentifier extends FieldTypeIdentifier = FieldTypeIdentifier> extends BaseSerializedObject<TIdentifier> {
|
|
5
|
+
label: string;
|
|
6
|
+
required: boolean;
|
|
7
|
+
image?: File | Promise<File>;
|
|
8
|
+
}
|
|
9
|
+
export interface SerializedCondition<TValue extends FieldValue = FieldValue> {
|
|
10
|
+
identifier: string;
|
|
11
|
+
value: TValue;
|
|
12
|
+
}
|
|
13
|
+
export interface SerializedFieldSection extends BaseSerializedObject {
|
|
14
|
+
label: string | null;
|
|
15
|
+
type: "section";
|
|
16
|
+
conditional: boolean;
|
|
17
|
+
condition: SerializedCondition | null;
|
|
18
|
+
fields: Exclude<ISerializedField, SerializedFieldSection>[];
|
|
19
|
+
}
|
|
20
|
+
interface BaseSerializedStringField extends BaseSerializedField {
|
|
21
|
+
minimum_length?: number;
|
|
22
|
+
maximum_length: number;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
}
|
|
25
|
+
export type StringInputType = Exclude<HTMLInputTypeAttribute, "checkbox" | "number" | "button">;
|
|
26
|
+
export interface SerializedStringField extends BaseSerializedStringField {
|
|
27
|
+
type: "string";
|
|
28
|
+
input_type?: StringInputType;
|
|
29
|
+
}
|
|
30
|
+
export interface SerializedQrField extends BaseSerializedField {
|
|
31
|
+
type: "qr";
|
|
32
|
+
}
|
|
33
|
+
export interface SerializedTextField extends BaseSerializedStringField {
|
|
34
|
+
type: "text";
|
|
35
|
+
}
|
|
36
|
+
export interface SerializedMultiStringField extends BaseSerializedStringField {
|
|
37
|
+
type: "multi-string";
|
|
38
|
+
}
|
|
39
|
+
export interface SerializedBooleanField extends BaseSerializedField {
|
|
40
|
+
type: "boolean";
|
|
41
|
+
}
|
|
42
|
+
export interface SerializedNumberField extends BaseSerializedField {
|
|
43
|
+
type: "number";
|
|
44
|
+
minimum: number | undefined;
|
|
45
|
+
maximum: number | undefined;
|
|
46
|
+
integers: boolean;
|
|
47
|
+
placeholder?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface SerializedDateField extends BaseSerializedField {
|
|
50
|
+
type: "date";
|
|
51
|
+
}
|
|
52
|
+
export type SelectFieldOptionValue = string;
|
|
53
|
+
/** Represents an option in the select input. Not to be confused with the 'field options' of SelectField. */
|
|
54
|
+
export interface SelectFieldOption {
|
|
55
|
+
value: SelectFieldOptionValue;
|
|
56
|
+
label: string;
|
|
57
|
+
}
|
|
58
|
+
export interface SerializedSelectField extends BaseSerializedField {
|
|
59
|
+
type: "select";
|
|
60
|
+
options: SelectFieldOption[];
|
|
61
|
+
placeholder?: string;
|
|
62
|
+
}
|
|
63
|
+
export interface SerializedMultiSelectField extends BaseSerializedField {
|
|
64
|
+
type: "multi-select";
|
|
65
|
+
options: SelectFieldOption[];
|
|
66
|
+
placeholder?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface SerializedUploadField extends BaseSerializedField {
|
|
69
|
+
type: "upload";
|
|
70
|
+
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept */
|
|
71
|
+
extensions?: string[];
|
|
72
|
+
/** in bytes */
|
|
73
|
+
maximum_size?: number;
|
|
74
|
+
/** how many files the user can upload to this field
|
|
75
|
+
* @default 1
|
|
76
|
+
*/
|
|
77
|
+
maximum_files?: number;
|
|
78
|
+
}
|
|
79
|
+
export type ISerializedField = SerializedTextField | SerializedBooleanField | SerializedNumberField | SerializedDateField | SerializedStringField | SerializedSelectField | SerializedFieldSection | SerializedMultiStringField | SerializedMultiSelectField | SerializedUploadField | SerializedQrField;
|
|
80
|
+
export type ISerializedOnlyField = Exclude<ISerializedField, SerializedFieldSection>;
|
|
81
|
+
/** All the possible field values */
|
|
82
|
+
export type FieldValue = string | number | boolean | string[] | File[] | Date | null;
|
|
83
|
+
export type FieldTypeIdentifier = "string" | "text" | "boolean" | "number" | "date" | "select" | "custom" | "section" | "multi-string" | "multi-select" | "upload" | "qr";
|
|
84
|
+
export interface BaseSerializedObject<TIdentifier extends FieldTypeIdentifier = FieldTypeIdentifier> {
|
|
85
|
+
description?: string | null;
|
|
86
|
+
identifier: string;
|
|
87
|
+
type: TIdentifier;
|
|
88
|
+
}
|
|
4
89
|
export interface Form extends OfflineModel, SubmittedAtModel, CreatedByModel {
|
|
5
90
|
asset_type?: string;
|
|
6
91
|
issue_type?: string;
|
|
@@ -39,3 +124,4 @@ export interface FormRevisionAttachment extends Attachment {
|
|
|
39
124
|
revision: string;
|
|
40
125
|
field_identifier: string;
|
|
41
126
|
}
|
|
127
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CreatedByModel, OfflineModel,
|
|
1
|
+
import type { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
|
|
2
2
|
import type { CanvasMarkableModel, MarkableModel } from "./geo";
|
|
3
3
|
import type { FileWithNameModel } from "../files";
|
|
4
4
|
export interface GeoImage extends OfflineModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, FileWithNameModel {
|
|
@@ -8,7 +8,7 @@ export interface GeoImage extends OfflineModel, SubmittedAtModel, CreatedByModel
|
|
|
8
8
|
direction?: number;
|
|
9
9
|
original_date?: string;
|
|
10
10
|
}
|
|
11
|
-
export type GeoImagePayload = Omit<
|
|
11
|
+
export type GeoImagePayload = Omit<GeoImage, "offline_id" | "submitted_at" | "created_by" | "file_name" | "file_sha1" | "file"> & {
|
|
12
12
|
file: File;
|
|
13
13
|
};
|
|
14
14
|
export type BulkGeoImagePayload = Omit<GeoImagePayload, "project">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from "./base";
|
|
2
2
|
import type { FileWithNameModel } from "../files";
|
|
3
3
|
import type { BoundableModel, CanvasBoundableModel } from "./geo";
|
|
4
4
|
export interface Project extends Model, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
|
|
@@ -8,10 +8,7 @@ export interface Project extends Model, BoundableModel, CanvasBoundableModel, Ow
|
|
|
8
8
|
issues_count?: number;
|
|
9
9
|
form_submissions_count?: number;
|
|
10
10
|
}
|
|
11
|
-
export interface ProjectFile extends OfflineModel, SubmittedAtModel,
|
|
11
|
+
export interface ProjectFile extends OfflineModel, SubmittedAtModel, FileWithNameModel, BoundableModel, CanvasBoundableModel {
|
|
12
12
|
z_index: number;
|
|
13
13
|
project: number;
|
|
14
14
|
}
|
|
15
|
-
export type ProjectFilePayload = Omit<Payload<ProjectFile>, "file_name" | "file_sha1" | "file"> & {
|
|
16
|
-
file: File;
|
|
17
|
-
};
|
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.71-
|
|
6
|
+
"version": "1.0.71-workspace-settings.0",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|
|
@@ -39,8 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
41
41
|
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
|
|
42
|
-
"@overmap-ai/blocks": "
|
|
43
|
-
"@overmap-ai/forms": "^1.0.17-radio-field.16",
|
|
42
|
+
"@overmap-ai/blocks": "1.0.31-tailwind-components.25",
|
|
44
43
|
"@rollup/plugin-commonjs": "^25.0.4",
|
|
45
44
|
"@testing-library/dom": "^9.3.4",
|
|
46
45
|
"@testing-library/react": "^14.1.2",
|
|
@@ -87,8 +86,7 @@
|
|
|
87
86
|
"vitest": "^1.2.1"
|
|
88
87
|
},
|
|
89
88
|
"peerDependencies": {
|
|
90
|
-
"@overmap-ai/blocks": "
|
|
91
|
-
"@overmap-ai/forms": "^1.0.17-radio-field.16",
|
|
89
|
+
"@overmap-ai/blocks": "1.0.31-tailwind-components.25",
|
|
92
90
|
"@tiptap/core": "^2.4.0",
|
|
93
91
|
"leaflet": "^1.9.0",
|
|
94
92
|
"react": ">=18.2.0 <20.0.0",
|