@overmap-ai/core 1.0.71-fields.13 → 1.0.71-fields.15

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 (151) hide show
  1. package/dist/constants/defaults.d.ts +2 -1
  2. package/dist/constants/index.d.ts +3 -3
  3. package/dist/enums/index.d.ts +5 -5
  4. package/dist/index.d.ts +6 -6
  5. package/dist/overmap-core.js +126 -328
  6. package/dist/overmap-core.js.map +1 -1
  7. package/dist/overmap-core.umd.cjs +133 -334
  8. package/dist/overmap-core.umd.cjs.map +1 -1
  9. package/dist/sdk/base.d.ts +8 -6
  10. package/dist/sdk/classes/OutboxCoordinator.d.ts +4 -4
  11. package/dist/sdk/classes/index.d.ts +1 -1
  12. package/dist/sdk/errors.d.ts +3 -1
  13. package/dist/sdk/globals.d.ts +7 -5
  14. package/dist/sdk/index.d.ts +6 -6
  15. package/dist/sdk/sdk.d.ts +6 -5
  16. package/dist/sdk/services/AgentService.d.ts +6 -10
  17. package/dist/sdk/services/AssetAttachmentService.d.ts +18 -19
  18. package/dist/sdk/services/AssetService.d.ts +5 -4
  19. package/dist/sdk/services/AssetStageCompletionService.d.ts +5 -4
  20. package/dist/sdk/services/AssetStageService.d.ts +5 -4
  21. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +17 -18
  22. package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +4 -3
  23. package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +6 -5
  24. package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +5 -4
  25. package/dist/sdk/services/AssetTypeFieldsService.d.ts +5 -4
  26. package/dist/sdk/services/AssetTypeService.d.ts +5 -4
  27. package/dist/sdk/services/BaseApiService.d.ts +5 -4
  28. package/dist/sdk/services/BaseAttachmentService.d.ts +8 -7
  29. package/dist/sdk/services/BaseAuthService.d.ts +5 -4
  30. package/dist/sdk/services/BaseService.d.ts +7 -5
  31. package/dist/sdk/services/BaseUploadService.d.ts +5 -4
  32. package/dist/sdk/services/CategoryService.d.ts +5 -4
  33. package/dist/sdk/services/DocumentAttachmentService.d.ts +17 -18
  34. package/dist/sdk/services/DocumentService.d.ts +5 -4
  35. package/dist/sdk/services/EmailDomainsService.d.ts +4 -3
  36. package/dist/sdk/services/EmailVerificationService.d.ts +4 -3
  37. package/dist/sdk/services/FileService.d.ts +5 -4
  38. package/dist/sdk/services/FormRevisionAttachmentService.d.ts +5 -4
  39. package/dist/sdk/services/FormRevisionService.d.ts +5 -4
  40. package/dist/sdk/services/FormService.d.ts +5 -4
  41. package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +5 -4
  42. package/dist/sdk/services/FormSubmissionService.d.ts +6 -5
  43. package/dist/sdk/services/GeoImageService.d.ts +5 -4
  44. package/dist/sdk/services/IssueAssociationService.d.ts +5 -4
  45. package/dist/sdk/services/IssueAttachmentService.d.ts +17 -18
  46. package/dist/sdk/services/IssueCommentService.d.ts +5 -4
  47. package/dist/sdk/services/IssueService.d.ts +5 -4
  48. package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +5 -4
  49. package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +5 -4
  50. package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +5 -4
  51. package/dist/sdk/services/IssueTypeFieldsService.d.ts +5 -4
  52. package/dist/sdk/services/IssueTypeService.d.ts +5 -4
  53. package/dist/sdk/services/IssueUpdateService.d.ts +4 -3
  54. package/dist/sdk/services/JWTAuthService.d.ts +7 -6
  55. package/dist/sdk/services/LicenseService.d.ts +4 -3
  56. package/dist/sdk/services/OrganizationAccessService.d.ts +4 -3
  57. package/dist/sdk/services/OrganizationService.d.ts +4 -3
  58. package/dist/sdk/services/ProjectAccessService.d.ts +4 -3
  59. package/dist/sdk/services/ProjectAttachmentService.d.ts +17 -18
  60. package/dist/sdk/services/ProjectFileService.d.ts +5 -4
  61. package/dist/sdk/services/ProjectService.d.ts +4 -3
  62. package/dist/sdk/services/TeamService.d.ts +5 -4
  63. package/dist/sdk/services/UserService.d.ts +4 -3
  64. package/dist/sdk/services/WorkspaceService.d.ts +5 -4
  65. package/dist/sdk/services/index.d.ts +45 -45
  66. package/dist/sdk/typings.d.ts +9 -8
  67. package/dist/store/adapter.d.ts +12 -11
  68. package/dist/store/index.d.ts +2 -2
  69. package/dist/store/migrations.d.ts +2 -1
  70. package/dist/store/slices/agentsSlice.d.ts +11 -10
  71. package/dist/store/slices/assetAttachmentSlice.d.ts +16 -21
  72. package/dist/store/slices/assetSlice.d.ts +35 -24
  73. package/dist/store/slices/assetStageCompletionSlice.d.ts +33 -22
  74. package/dist/store/slices/assetStageSlice.d.ts +36 -25
  75. package/dist/store/slices/assetTypeAttachmentSlice.d.ts +16 -21
  76. package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +35 -24
  77. package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +35 -24
  78. package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +35 -24
  79. package/dist/store/slices/assetTypeFieldsSlice.d.ts +43 -32
  80. package/dist/store/slices/assetTypeSlice.d.ts +16 -21
  81. package/dist/store/slices/authSlice.d.ts +10 -9
  82. package/dist/store/slices/categorySlice.d.ts +30 -16
  83. package/dist/store/slices/documentAttachmentSlice.d.ts +16 -21
  84. package/dist/store/slices/documentSlice.d.ts +30 -13
  85. package/dist/store/slices/emailDomainsSlice.d.ts +29 -15
  86. package/dist/store/slices/fileSlice.d.ts +7 -6
  87. package/dist/store/slices/formRevisionAttachmentSlice.d.ts +16 -21
  88. package/dist/store/slices/formRevisionSlice.d.ts +37 -26
  89. package/dist/store/slices/formSlice.d.ts +35 -21
  90. package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +16 -21
  91. package/dist/store/slices/formSubmissionSlice.d.ts +16 -21
  92. package/dist/store/slices/geoImageSlice.d.ts +16 -21
  93. package/dist/store/slices/index.d.ts +46 -46
  94. package/dist/store/slices/issueAssociationSlice.d.ts +35 -24
  95. package/dist/store/slices/issueAttachmentSlice.d.ts +16 -21
  96. package/dist/store/slices/issueCommentSlice.d.ts +13 -18
  97. package/dist/store/slices/issueSlice.d.ts +13 -18
  98. package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +35 -24
  99. package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +35 -24
  100. package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +35 -24
  101. package/dist/store/slices/issueTypeFieldsSlice.d.ts +43 -32
  102. package/dist/store/slices/issueTypeSlice.d.ts +12 -14
  103. package/dist/store/slices/issueUpdateSlice.d.ts +13 -18
  104. package/dist/store/slices/licenseSlice.d.ts +10 -9
  105. package/dist/store/slices/organizationAccessSlice.d.ts +11 -13
  106. package/dist/store/slices/organizationSlice.d.ts +27 -10
  107. package/dist/store/slices/outboxSlice.d.ts +15 -15
  108. package/dist/store/slices/projectAccessSlice.d.ts +11 -17
  109. package/dist/store/slices/projectAttachmentSlice.d.ts +16 -21
  110. package/dist/store/slices/projectFileSlice.d.ts +33 -16
  111. package/dist/store/slices/projectSlice.d.ts +10 -24
  112. package/dist/store/slices/rehydratedSlice.d.ts +7 -6
  113. package/dist/store/slices/teamSlice.d.ts +12 -14
  114. package/dist/store/slices/userSlice.d.ts +14 -13
  115. package/dist/store/slices/versioningSlice.d.ts +3 -2
  116. package/dist/store/slices/workspaceSlice.d.ts +31 -17
  117. package/dist/store/store.d.ts +7 -7
  118. package/dist/typings/index.d.ts +6 -6
  119. package/dist/typings/models/access.d.ts +3 -2
  120. package/dist/typings/models/agents.d.ts +3 -2
  121. package/dist/typings/models/assets.d.ts +5 -4
  122. package/dist/typings/models/attachments.d.ts +3 -2
  123. package/dist/typings/models/base.d.ts +3 -2
  124. package/dist/typings/models/categories.d.ts +3 -2
  125. package/dist/typings/models/documents.d.ts +2 -1
  126. package/dist/typings/models/emailDomain.d.ts +2 -1
  127. package/dist/typings/models/emailVerification.d.ts +3 -2
  128. package/dist/typings/models/fields.d.ts +3 -2
  129. package/dist/typings/models/forms.d.ts +4 -3
  130. package/dist/typings/models/geoImages.d.ts +4 -3
  131. package/dist/typings/models/index.d.ts +22 -22
  132. package/dist/typings/models/issueTypes.d.ts +3 -2
  133. package/dist/typings/models/issues.d.ts +9 -8
  134. package/dist/typings/models/license.d.ts +3 -2
  135. package/dist/typings/models/organizations.d.ts +2 -1
  136. package/dist/typings/models/projects.d.ts +4 -3
  137. package/dist/typings/models/store.d.ts +3 -3
  138. package/dist/typings/models/teams.d.ts +4 -3
  139. package/dist/typings/models/users.d.ts +2 -1
  140. package/dist/typings/models/workspace.d.ts +2 -1
  141. package/dist/typings/search.d.ts +1 -1
  142. package/dist/typings/store.d.ts +2 -1
  143. package/dist/utils/async/DeferredPromise.d.ts +1 -1
  144. package/dist/utils/colors.d.ts +2 -1
  145. package/dist/utils/coordinates.d.ts +3 -2
  146. package/dist/utils/file.d.ts +2 -1
  147. package/dist/utils/forms.d.ts +2 -1
  148. package/dist/utils/index.d.ts +10 -10
  149. package/dist/utils/offline.d.ts +2 -1
  150. package/dist/utils/utils.d.ts +2 -1
  151. package/package.json +18 -20
@@ -1,6 +1,7 @@
1
- import type { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import type { CanvasMarkableModel, MarkableModel } from "./geo";
3
- import type { FileWithNameModel } from "../files";
1
+ import { CreatedByModel, OfflineModel, SubmittedAtModel } from './base';
2
+ import { CanvasMarkableModel, MarkableModel } from './geo';
3
+ import { FileWithNameModel } from '../files';
4
+
4
5
  export interface GeoImage extends OfflineModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, FileWithNameModel {
5
6
  title?: string;
6
7
  description?: string;
@@ -1,22 +1,22 @@
1
- export * from "./access";
2
- export * from "./attachments";
3
- export * from "./base";
4
- export * from "./categories";
5
- export * from "./assets";
6
- export * from "./forms";
7
- export * from "./fields";
8
- export * from "./geo";
9
- export * from "./issues";
10
- export * from "./issueTypes";
11
- export * from "./organizations";
12
- export * from "./projects";
13
- export * from "./users";
14
- export * from "./workspace";
15
- export * from "./emailVerification";
16
- export * from "./store";
17
- export * from "./emailDomain";
18
- export * from "./license";
19
- export * from "./documents";
20
- export * from "./teams";
21
- export * from "./agents";
22
- export * from "./geoImages";
1
+ export * from './access';
2
+ export * from './attachments';
3
+ export * from './base';
4
+ export * from './categories';
5
+ export * from './assets';
6
+ export * from './forms';
7
+ export * from './fields';
8
+ export * from './geo';
9
+ export * from './issues';
10
+ export * from './issueTypes';
11
+ export * from './organizations';
12
+ export * from './projects';
13
+ export * from './users';
14
+ export * from './workspace';
15
+ export * from './emailVerification';
16
+ export * from './store';
17
+ export * from './emailDomain';
18
+ export * from './license';
19
+ export * from './documents';
20
+ export * from './teams';
21
+ export * from './agents';
22
+ export * from './geoImages';
@@ -1,5 +1,6 @@
1
- import type { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import type { Organization } from "./organizations";
1
+ import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
2
+ import { Organization } from './organizations';
3
+
3
4
  export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
4
5
  name?: string;
5
6
  description?: string;
@@ -1,11 +1,12 @@
1
- import type { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
- import type { IssuePriority, IssueStatus, IssueUpdateChange } from "../../enums";
3
- import type { WorkspaceIndexedModel } from "./workspace";
4
- import type { CanvasMarkableModel, MarkableModel } from "./geo";
5
- import type { User } from "./users";
6
- import type { CSSColor } from "../colors";
7
- import type { BaseSerializedObject, ISerializedField } from "@overmap-ai/forms";
8
- import type { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from "./fields";
1
+ import { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
2
+ import { IssuePriority, IssueStatus, IssueUpdateChange } from '../../enums';
3
+ import { WorkspaceIndexedModel } from './workspace';
4
+ import { CanvasMarkableModel, MarkableModel } from './geo';
5
+ import { User } from './users';
6
+ import { CSSColor } from '../colors';
7
+ import { BaseSerializedObject, ISerializedField } from '@overmap-ai/forms';
8
+ import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
9
+
9
10
  /**
10
11
  * Represents a model instance that has been submitted to the backend. Some properties (depending on which model, but in
11
12
  * all cases, the `offline_id`) are guaranteed to be set.
@@ -1,5 +1,6 @@
1
- import type { OfflineModel, OwnedByOrganization } from "./base";
2
- import type { LicenseLevel, LicenseStatus } from "../../enums";
1
+ import { OfflineModel, OwnedByOrganization } from './base';
2
+ import { LicenseLevel, LicenseStatus } from '../../enums';
3
+
3
4
  export interface Transaction {
4
5
  id: string;
5
6
  }
@@ -1,4 +1,5 @@
1
- import type { CreatedByModel, Model } from "./base";
1
+ import { CreatedByModel, Model } from './base';
2
+
2
3
  export interface Organization extends Model, CreatedByModel {
3
4
  id: number;
4
5
  name: string;
@@ -1,6 +1,7 @@
1
- import type { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from "./base";
2
- import type { FileWithNameModel } from "../files";
3
- import type { BoundableModel, CanvasBoundableModel } from "./geo";
1
+ import { Model, OfflineModel, OwnedByOrganization, SubmittedAtModel } from './base';
2
+ import { FileWithNameModel } from '../files';
3
+ import { BoundableModel, CanvasBoundableModel } from './geo';
4
+
4
5
  export interface Project extends Model, BoundableModel, CanvasBoundableModel, OwnedByOrganization {
5
6
  id: number;
6
7
  name: string;
@@ -1,6 +1,6 @@
1
- /// <reference types="@redux-offline/redux-offline" />
2
- import { OfflineState } from "@redux-offline/redux-offline/lib/types";
3
- import type { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeFieldsAttachmentState, AssetTypeFieldsState, AssetTypeFieldValuesAttachmentState, AssetTypeFieldValuesState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeFieldsAttachmentState, IssueTypeFieldsState, IssueTypeFieldValuesAttachmentState, IssueTypeFieldValuesState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from "../../store";
1
+ import { OfflineState } from '@redux-offline/redux-offline/lib/types';
2
+ import { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeFieldsAttachmentState, AssetTypeFieldsState, AssetTypeFieldValuesAttachmentState, AssetTypeFieldValuesState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeFieldsAttachmentState, IssueTypeFieldsState, IssueTypeFieldValuesAttachmentState, IssueTypeFieldValuesState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from '../../store';
3
+
4
4
  export interface BaseState {
5
5
  outboxReducer: OutboxState;
6
6
  offline: OfflineState;
@@ -1,6 +1,7 @@
1
- import type { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import type { Organization } from "./organizations";
3
- import type { User } from "./users";
1
+ import { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
2
+ import { Organization } from './organizations';
3
+ import { User } from './users';
4
+
4
5
  export interface Team extends OfflineModel, SubmittedAtModel, IconModel, ColorModel {
5
6
  name: string;
6
7
  parent: OfflineModel["offline_id"] | null;
@@ -1,4 +1,5 @@
1
- import type { OptionalFileModel } from "./base";
1
+ import { OptionalFileModel } from './base';
2
+
2
3
  export interface Profile extends OptionalFileModel {
3
4
  favourite_project_ids: number[];
4
5
  tour_step: number;
@@ -1,4 +1,5 @@
1
- import type { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
1
+ import { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
2
+
2
3
  export interface Workspace extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
3
4
  name: string;
4
5
  project: number;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Argument for standard (Redux) search selectors.
3
3
  */
4
- export type SearchArgs<TExtra = {}> = TExtra & {
4
+ export type SearchArgs<TExtra = object> = TExtra & {
5
5
  searchTerm: string;
6
6
  maxResults: number;
7
7
  };
@@ -1,4 +1,5 @@
1
- import type { OvermapRootState } from "./models";
1
+ import { OvermapRootState } from './models';
2
+
2
3
  export type SelectorWithArgs<TState, TArgs, TRet> = (args: TArgs) => (state: TState) => TRet;
3
4
  export type Selector<TState, TRet> = (state: TState) => TRet;
4
5
  export type OvermapSelectorWithArgs<TArgs, TRet> = SelectorWithArgs<OvermapRootState, TArgs, TRet>;
@@ -31,5 +31,5 @@ export declare class DeferredPromise<T> implements Promise<T> {
31
31
  catch<TResult>(onRejected?: (reason: unknown) => TResult | PromiseLike<TResult>): Promise<T | TResult>;
32
32
  resolve(value?: T | PromiseLike<T>): void;
33
33
  reject(reason?: unknown): void;
34
- finally(_onFinally?: (() => void) | undefined | null): Promise<T>;
34
+ finally(_onFinally?: (() => void) | null): Promise<T>;
35
35
  }
@@ -1,4 +1,5 @@
1
- import { CSSColor } from "../typings";
1
+ import { CSSColor } from '../typings';
2
+
2
3
  export declare const primaryColor: CSSColor;
3
4
  export declare const successColor: CSSColor;
4
5
  export declare const warningColor: CSSColor;
@@ -1,5 +1,6 @@
1
- import L from "leaflet";
2
- import { Bounds, Coordinates, MultiPointGeometry, PointGeometry } from "../typings";
1
+ import { default as L } from 'leaflet';
2
+ import { Bounds, Coordinates, MultiPointGeometry, PointGeometry } from '../typings';
3
+
3
4
  export declare const coordinatesToLiteral: (coordinates: Coordinates) => L.LatLngLiteral;
4
5
  export declare const literalToCoordinates: (literal: L.LatLngLiteral) => Coordinates;
5
6
  /**
@@ -1,4 +1,5 @@
1
- import type { FilePayload } from "../typings";
1
+ import { FilePayload } from '../typings';
2
+
2
3
  export declare const getFileS3Key: (file: File, hash?: string) => Promise<string>;
3
4
  export declare function hashFile(file: Blob): Promise<string>;
4
5
  export declare function getFileIdentifier(file: File): string;
@@ -1,2 +1,3 @@
1
- import { Stored, FormRevision } from "../typings";
1
+ import { Stored, FormRevision } from '../typings';
2
+
2
3
  export declare const formRevisionSortFn: (formRevisionA: Stored<FormRevision>, formRevisionB: Stored<FormRevision>) => 1 | -1;
@@ -1,10 +1,10 @@
1
- export * from "./coordinates";
2
- export * from "./file";
3
- export * from "./logging";
4
- export * from "./offline";
5
- export * from "./string";
6
- export * from "./utils";
7
- export * from "./optimization";
8
- export * from "./colors";
9
- export * from "./date";
10
- export * from "./async/DeferredPromise";
1
+ export * from './coordinates';
2
+ export * from './file';
3
+ export * from './logging';
4
+ export * from './offline';
5
+ export * from './string';
6
+ export * from './utils';
7
+ export * from './optimization';
8
+ export * from './colors';
9
+ export * from './date';
10
+ export * from './async/DeferredPromise';
@@ -1,4 +1,5 @@
1
- import { Offline, OfflineModel } from "../typings";
1
+ import { Offline, OfflineModel } from '../typings';
2
+
2
3
  /**
3
4
  * Adds a generated UUID to the "offline_id" key of the object.
4
5
  * @param draft The model data to add the offline_id to
@@ -1,4 +1,5 @@
1
- import { Coordinates, IssueAttachment, OfflineModel, OvermapRootState } from "../typings";
1
+ import { Coordinates, IssueAttachment, OfflineModel, OvermapRootState } from '../typings';
2
+
2
3
  type MemoizedSelectorWithArgs<TArgs, TRet> = (state: OvermapRootState, args: TArgs) => TRet;
3
4
  export declare const restructureCreateSelectorWithArgs: <TArgs, TRet>(selector: MemoizedSelectorWithArgs<TArgs, TRet>) => (args: TArgs) => (state: OvermapRootState) => TRet;
4
5
  export declare function onlyUniqueOfflineIds(value: OfflineModel, index: number, self: OfflineModel[]): boolean;
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-fields.13",
6
+ "version": "1.0.71-fields.15",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",
@@ -15,13 +15,13 @@
15
15
  "lint:fix": "eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0 --fix",
16
16
  "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,html,sass,yaml}\"",
17
17
  "preview": "vite preview",
18
- "prepare": "husky install",
18
+ "prepare": "husky",
19
19
  "test": "npx vitest"
20
20
  },
21
21
  "dependencies": {
22
22
  "@radix-ui/colors": "^3.0.0",
23
23
  "@redux-offline/redux-offline": "^2.6.0",
24
- "@reduxjs/toolkit": "^1.9.5",
24
+ "@reduxjs/toolkit": "^2.8.2",
25
25
  "@types/file-saver": "^2.0.7",
26
26
  "color": "^4.2.3",
27
27
  "dependency-graph": "^1.0.0",
@@ -34,14 +34,14 @@
34
34
  "react-leaflet": "^4.2.1",
35
35
  "redux-persist-migrate": "^5.0.0",
36
36
  "superagent": "^8.1.2",
37
- "uuid": "^9.0.0"
37
+ "uuid": "^11.1.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
41
41
  "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
42
42
  "@overmap-ai/blocks": "^1.0.35-radio-card.2",
43
43
  "@overmap-ai/forms": "^1.0.17-radio-field.16",
44
- "@rollup/plugin-commonjs": "^25.0.4",
44
+ "@rollup/plugin-commonjs": "^28.0.0",
45
45
  "@testing-library/dom": "^9.3.4",
46
46
  "@testing-library/react": "^14.1.2",
47
47
  "@testing-library/user-event": "^14.5.2",
@@ -50,13 +50,12 @@
50
50
  "@types/jwt-decode": "^3.1.0",
51
51
  "@types/leaflet": "^1.9.3",
52
52
  "@types/node": "^20.12.11",
53
- "@types/react": "^19.0.8",
53
+ "@types/react": "^19.1.8",
54
54
  "@types/react-dom": "^19.0.3",
55
- "@types/react-redux": "^7.1.26",
56
55
  "@types/superagent": "^4.1.18",
57
56
  "@types/uuid": "^9.0.3",
58
- "@typescript-eslint/eslint-plugin": "^6.4.1",
59
- "@typescript-eslint/parser": "^6.4.1",
57
+ "@typescript-eslint/eslint-plugin": "^8.35.1",
58
+ "@typescript-eslint/parser": "^8.35.1",
60
59
  "@vitejs/plugin-react-swc": "^3.3.2",
61
60
  "@vitest/coverage-v8": "^1.2.1",
62
61
  "eslint": "^8.47.0",
@@ -68,23 +67,20 @@
68
67
  "eslint-plugin-react-refresh": "^0.4.3",
69
68
  "eslint-plugin-simple-import-sort": "^10.0.0",
70
69
  "eslint-plugin-vitest": "^0.3.20",
71
- "happy-dom": "^13.3.1",
72
- "husky": "^8.0.3",
70
+ "happy-dom": "^15.10.2",
71
+ "husky": "^9.1.7",
73
72
  "jsdom": "^23.2.0",
74
73
  "leaflet": "^1.9.0",
75
74
  "lint-staged": "^15.1.0",
76
75
  "prettier": "^3.0.2",
77
- "react": "^19.0.0",
76
+ "react": "^19.1.0",
78
77
  "react-dom": "^19.0.0",
79
- "react-hooks": "^1.0.1",
80
- "react-redux": "^8.1.2",
81
- "redux": "^4.2.1",
82
78
  "rollup-plugin-polyfill-node": "^0.12.0",
83
79
  "typescript": "^5.2.2",
84
- "vite": "^4.4.5",
80
+ "vite": "^6.3.4",
85
81
  "vite-plugin-dts": "^3.5.2",
86
82
  "vite-plugin-externalize-deps": "^0.7.0",
87
- "vitest": "^1.2.1"
83
+ "vitest": "3.2.4"
88
84
  },
89
85
  "peerDependencies": {
90
86
  "@overmap-ai/blocks": "^1.0.35-radio-card.2",
@@ -92,11 +88,9 @@
92
88
  "@tiptap/core": "^2.4.0",
93
89
  "leaflet": "^1.9.0",
94
90
  "react": ">=18.2.0 <20.0.0",
95
- "react-dom": ">=18.2.0 <20.0.0",
96
- "react-redux": "^8.1.2"
91
+ "react-dom": ">=18.2.0 <20.0.0"
97
92
  },
98
93
  "resolutions": {
99
- "//": "Workaround for eslint issue: https://github.com/eslint/eslint/discussions/17215",
100
94
  "strip-ansi": "6.0.1",
101
95
  "string-width": "4.2.2",
102
96
  "wrap-ansi": "7.0.0"
@@ -123,5 +117,9 @@
123
117
  },
124
118
  "bugs": {
125
119
  "url": "https://github.com/hemora-app/overmap-core/issues"
120
+ },
121
+ "volta": {
122
+ "node": "22.17.0",
123
+ "yarn": "4.9.2"
126
124
  }
127
125
  }