@overmap-ai/core 1.0.65-strip-workspace-access.3 → 1.0.66

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 (82) hide show
  1. package/dist/constants/index.d.ts +0 -1
  2. package/dist/enums/access.d.ts +8 -0
  3. package/dist/enums/attachments.d.ts +7 -0
  4. package/dist/enums/index.d.ts +3 -0
  5. package/dist/enums/issue.d.ts +9 -0
  6. package/dist/enums/licenses.d.ts +14 -0
  7. package/dist/overmap-core.js +586 -540
  8. package/dist/overmap-core.js.map +1 -1
  9. package/dist/overmap-core.umd.cjs +584 -537
  10. package/dist/overmap-core.umd.cjs.map +1 -1
  11. package/dist/sdk/base.d.ts +1 -1
  12. package/dist/sdk/globals.d.ts +2 -2
  13. package/dist/sdk/sdk.d.ts +3 -3
  14. package/dist/sdk/services/AgentService.d.ts +1 -1
  15. package/dist/sdk/services/AssetAttachmentService.d.ts +3 -2
  16. package/dist/sdk/services/AssetService.d.ts +6 -7
  17. package/dist/sdk/services/AssetStageCompletionService.d.ts +6 -12
  18. package/dist/sdk/services/AssetStageService.d.ts +5 -4
  19. package/dist/sdk/services/AssetTypeAttachmentService.d.ts +3 -2
  20. package/dist/sdk/services/AssetTypeService.d.ts +4 -4
  21. package/dist/sdk/services/BaseApiService.d.ts +1 -1
  22. package/dist/sdk/services/BaseAttachmentService.d.ts +3 -2
  23. package/dist/sdk/services/BaseAuthService.d.ts +1 -1
  24. package/dist/sdk/services/BaseService.d.ts +2 -2
  25. package/dist/sdk/services/BaseUploadService.d.ts +2 -2
  26. package/dist/sdk/services/CategoryService.d.ts +2 -2
  27. package/dist/sdk/services/DocumentAttachmentService.d.ts +3 -2
  28. package/dist/sdk/services/DocumentService.d.ts +3 -3
  29. package/dist/sdk/services/EmailDomainsService.d.ts +1 -1
  30. package/dist/sdk/services/EmailVerificationService.d.ts +1 -1
  31. package/dist/sdk/services/FileService.d.ts +1 -1
  32. package/dist/sdk/services/FormService.d.ts +1 -2
  33. package/dist/sdk/services/FormSubmissionService.d.ts +2 -3
  34. package/dist/sdk/services/GeoImageService.d.ts +2 -2
  35. package/dist/sdk/services/IssueAttachmentService.d.ts +3 -2
  36. package/dist/sdk/services/IssueCommentService.d.ts +2 -2
  37. package/dist/sdk/services/IssueService.d.ts +2 -2
  38. package/dist/sdk/services/IssueTypeService.d.ts +2 -2
  39. package/dist/sdk/services/IssueUpdateService.d.ts +1 -1
  40. package/dist/sdk/services/JWTAuthService.d.ts +2 -2
  41. package/dist/sdk/services/LicenseService.d.ts +1 -1
  42. package/dist/sdk/services/OrganizationAccessService.d.ts +1 -1
  43. package/dist/sdk/services/OrganizationService.d.ts +1 -1
  44. package/dist/sdk/services/ProjectAccessService.d.ts +2 -3
  45. package/dist/sdk/services/ProjectAttachmentService.d.ts +3 -2
  46. package/dist/sdk/services/ProjectFileService.d.ts +2 -3
  47. package/dist/sdk/services/ProjectService.d.ts +2 -9
  48. package/dist/sdk/services/TeamService.d.ts +2 -2
  49. package/dist/sdk/services/UserService.d.ts +2 -2
  50. package/dist/sdk/services/WorkspaceService.d.ts +2 -4
  51. package/dist/store/slices/assetStageCompletionSlice.d.ts +41 -11
  52. package/dist/store/slices/assetStageSlice.d.ts +20 -9
  53. package/dist/store/slices/assetTypeSlice.d.ts +27 -3
  54. package/dist/typings/models/access.d.ts +2 -9
  55. package/dist/typings/models/agents.d.ts +1 -1
  56. package/dist/typings/models/assets.d.ts +8 -9
  57. package/dist/typings/models/attachments.d.ts +2 -9
  58. package/dist/typings/models/base.d.ts +2 -2
  59. package/dist/typings/models/categories.d.ts +2 -2
  60. package/dist/typings/models/documents.d.ts +1 -1
  61. package/dist/typings/models/emailDomain.d.ts +1 -1
  62. package/dist/typings/models/emailVerification.d.ts +2 -2
  63. package/dist/typings/models/forms.d.ts +2 -2
  64. package/dist/typings/models/geoImages.d.ts +3 -3
  65. package/dist/typings/models/issueTypes.d.ts +2 -2
  66. package/dist/typings/models/issues.d.ts +1 -10
  67. package/dist/typings/models/license.d.ts +2 -15
  68. package/dist/typings/models/organizations.d.ts +1 -1
  69. package/dist/typings/models/projects.d.ts +3 -3
  70. package/dist/typings/models/store.d.ts +1 -1
  71. package/dist/typings/models/teams.d.ts +3 -3
  72. package/dist/typings/models/users.d.ts +1 -1
  73. package/dist/typings/models/workspace.d.ts +1 -1
  74. package/dist/typings/store.d.ts +1 -1
  75. package/dist/utils/colors.d.ts +0 -2
  76. package/dist/utils/index.d.ts +0 -2
  77. package/dist/utils/optimization.d.ts +0 -3
  78. package/package.json +1 -1
  79. package/dist/constants/ui.d.ts +0 -1
  80. package/dist/typings/base.d.ts +0 -0
  81. package/dist/utils/css.d.ts +0 -5
  82. package/dist/utils/search.d.ts +0 -3
@@ -7,16 +7,40 @@ export declare const assetTypeSlice: import("@reduxjs/toolkit").Slice<AssetTypeS
7
7
  payload: Stored<AssetType>[];
8
8
  type: string;
9
9
  }) => void;
10
- addAssetType: <TState_1 extends ModelState<Stored<AssetType>>>(state: TState_1, action: {
10
+ setAssetType: <TState_1 extends ModelState<Stored<AssetType>>>(state: TState_1, action: {
11
11
  payload: Stored<AssetType>;
12
12
  type: string;
13
13
  }) => void;
14
- deleteAssetType: <TState_2 extends ModelState<Stored<AssetType>>>(state: TState_2, action: {
14
+ setAssetTypes: <TState_2 extends ModelState<Stored<AssetType>>>(state: TState_2, action: {
15
+ payload: Stored<AssetType>[];
16
+ type: string;
17
+ }) => void;
18
+ addAssetType: <TState_3 extends ModelState<Stored<AssetType>>>(state: TState_3, action: {
19
+ payload: Stored<AssetType>;
20
+ type: string;
21
+ }) => void;
22
+ addAssetTypes: <TState_4 extends ModelState<Stored<AssetType>>>(state: TState_4, action: {
23
+ payload: Stored<AssetType>[];
24
+ type: string;
25
+ }) => void;
26
+ updateAssetType: <TState_5 extends ModelState<Stored<AssetType>>>(state: TState_5, action: {
27
+ payload: Stored<AssetType>;
28
+ type: string;
29
+ }) => void;
30
+ updateAssetTypes: <TState_6 extends ModelState<Stored<AssetType>>>(state: TState_6, action: {
31
+ payload: Stored<AssetType>[];
32
+ type: string;
33
+ }) => void;
34
+ deleteAssetType: <TState_7 extends ModelState<Stored<AssetType>>>(state: TState_7, action: {
15
35
  payload: string;
16
36
  type: string;
17
37
  }) => void;
38
+ deleteAssetTypes: <TState_8 extends ModelState<Stored<AssetType>>>(state: TState_8, action: {
39
+ payload: string[];
40
+ type: string;
41
+ }) => void;
18
42
  }, "assetTypes">;
19
- export declare const addAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/addAssetType">, initializeAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/initializeAssetTypes">, deleteAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "assetTypes/deleteAssetType">;
43
+ export declare const initializeAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/initializeAssetTypes">, setAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/setAssetType">, setAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/setAssetTypes">, addAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/addAssetType">, addAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/addAssetTypes">, updateAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>, "assetTypes/updateAssetType">, updateAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<AssetType>[], "assetTypes/updateAssetTypes">, deleteAssetType: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "assetTypes/deleteAssetType">, deleteAssetTypes: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "assetTypes/deleteAssetTypes">;
20
44
  export declare const selectAssetTypesMapping: OvermapSelector<Record<string, AssetType>>;
21
45
  export declare const selectAssetTypes: OvermapSelector<AssetType[]>;
22
46
  export declare const selectAssetTypeById: OvermapSelectorWithArgs<AssetType["offline_id"], Stored<AssetType> | undefined>;
@@ -1,20 +1,13 @@
1
- import { OfflineModel } from "./base";
1
+ import type { OrganizationAccessLevel, ProjectAccessLevel } from '../../enums';
2
+ import type { OfflineModel } from "./base";
2
3
  export interface ProjectAccess extends OfflineModel {
3
4
  user: number;
4
5
  project: number;
5
6
  access_level: ProjectAccessLevel;
6
7
  view_only: boolean;
7
8
  }
8
- export declare enum ProjectAccessLevel {
9
- BASIC = 0,
10
- ADMIN = 2
11
- }
12
9
  export interface OrganizationAccess extends OfflineModel {
13
10
  user: number;
14
11
  organization: number;
15
12
  access_level: OrganizationAccessLevel;
16
13
  }
17
- export declare enum OrganizationAccessLevel {
18
- BASIC = 0,
19
- ADMIN = 2
20
- }
@@ -1,5 +1,5 @@
1
1
  import { JSONContent } from "@tiptap/core";
2
- import { Offline, OptionalFileModel, TimestampedModel } from "./base";
2
+ import type { Offline, OptionalFileModel, TimestampedModel } from "./base";
3
3
  export interface AgentProfile extends OptionalFileModel {
4
4
  /**
5
5
  * The name of the agent.
@@ -1,25 +1,24 @@
1
- import { ColorModel, IconModel, Model, OfflineModel } from "./base";
2
- import { CanvasMarkableModel, MarkableModel } from "./geo";
3
- export interface Asset extends OfflineModel, MarkableModel, CanvasMarkableModel {
1
+ import type { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
+ import type { CanvasMarkableModel, MarkableModel } from "./geo";
3
+ export interface Asset extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel {
4
4
  asset_type: string;
5
5
  created_at?: string;
6
6
  label: string | null;
7
7
  description?: string;
8
8
  }
9
- export interface AssetType extends OfflineModel, IconModel, ColorModel {
9
+ export interface AssetType extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel, IconModel, ColorModel {
10
10
  project: number;
11
11
  name?: string;
12
12
  description?: string;
13
13
  }
14
- export interface AssetStage extends OfflineModel {
14
+ export interface AssetStage extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel, ColorModel {
15
15
  asset_type: string;
16
- name: string;
17
- description?: string;
16
+ name?: string | null;
17
+ description?: string | null;
18
18
  priority: number;
19
19
  form?: string;
20
20
  }
21
- export type AssetStagePayload = Omit<AssetStage, "asset_type">;
22
- export interface AssetStageCompletion extends Model {
21
+ export interface AssetStageCompletion extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
23
22
  asset: string;
24
23
  stage: string;
25
24
  }
@@ -1,5 +1,5 @@
1
- import { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import { FileModel, FileWithNameModel, MaybeObjectURL } from "../files";
1
+ import type { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
2
+ import type { FileModel, FileWithNameModel, MaybeObjectURL } from "../files";
3
3
  export interface Attachment extends OfflineModel, SubmittedAtModel, FileWithNameModel, CreatedByModel {
4
4
  description?: string;
5
5
  file_type: string;
@@ -19,13 +19,6 @@ export interface ProjectAttachment extends Attachment {
19
19
  export interface DocumentAttachment extends Attachment {
20
20
  document: string;
21
21
  }
22
- export declare enum AttachmentModel {
23
- Issue = "issue",
24
- Asset = "asset",
25
- AssetType = "asset_type",
26
- Project = "project",
27
- Document = "document"
28
- }
29
22
  /** to get an AttachmentPayload for a specific type, pass in the given AttachmentType
30
23
  * ex. AttachmentPayload<IssueAttachment> */
31
24
  export type AttachmentPayload<TAttachment> = Omit<TAttachment, "file" | "submitted_at" | "created_by"> & {
@@ -1,5 +1,5 @@
1
- import { CSSColor } from "../colors";
2
- import { User } from "./users";
1
+ import type { CSSColor } from "../colors";
2
+ import type { User } from "./users";
3
3
  export interface Model {
4
4
  }
5
5
  export interface OfflineModel extends Model {
@@ -1,5 +1,5 @@
1
- import { CreatedByModel, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
- import { CSSColor } from "../colors";
1
+ import type { CreatedByModel, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
+ import type { CSSColor } from "../colors";
3
3
  export interface Category extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel {
4
4
  name: string;
5
5
  description?: string;
@@ -1,4 +1,4 @@
1
- import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
1
+ import type { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
2
  export interface Document extends OfflineModel, SubmittedAtModel, CreatedByModel, TimestampedModel, IconModel, ColorModel {
3
3
  title: string | null;
4
4
  description: string | null;
@@ -1,4 +1,4 @@
1
- import { OfflineModel } from "./base";
1
+ import type { OfflineModel } from "./base";
2
2
  export interface EmailDomain extends OfflineModel {
3
3
  domain: string;
4
4
  organization: number;
@@ -1,5 +1,5 @@
1
- import { RegistrationPayload } from "./users";
2
- import { OfflineModel } from "./base";
1
+ import type { RegistrationPayload } from "./users";
2
+ import type { OfflineModel } from "./base";
3
3
  export type EmailVerificationPayload = undefined | RegistrationPayload | Omit<RegistrationPayload, "username" | "email">;
4
4
  export interface EmailVerificationReturn {
5
5
  username?: string;
@@ -1,6 +1,6 @@
1
1
  import { HTMLInputTypeAttribute } from "react";
2
- import { CreatedByModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from "./base";
3
- import { Attachment } from "./attachments";
2
+ import type { CreatedByModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from "./base";
3
+ import type { Attachment } from "./attachments";
4
4
  export interface BaseSerializedField<TIdentifier extends FieldTypeIdentifier = FieldTypeIdentifier> extends BaseSerializedObject<TIdentifier> {
5
5
  label: string;
6
6
  required: boolean;
@@ -1,6 +1,6 @@
1
- import { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import { CanvasMarkableModel, MarkableModel } from "./geo";
3
- import { FileWithNameModel } from "../files";
1
+ import type { CreatedByModel, OfflineModel, SubmittedAtModel } from "./base";
2
+ import type { CanvasMarkableModel, MarkableModel } from "./geo";
3
+ import type { FileWithNameModel } from "../files";
4
4
  export interface GeoImage extends OfflineModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, FileWithNameModel {
5
5
  title?: string;
6
6
  description?: string;
@@ -1,5 +1,5 @@
1
- import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import { Organization } from "./organizations";
1
+ import type { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
+ import type { Organization } from "./organizations";
3
3
  export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
4
4
  name?: string;
5
5
  description?: string;
@@ -1,5 +1,5 @@
1
1
  import type { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
- import { IssuePriority, IssueStatus } from "../../enums";
2
+ import type { IssuePriority, IssueStatus, IssueUpdateChange } from "../../enums";
3
3
  import type { WorkspaceIndexedModel } from "./workspace";
4
4
  import type { CanvasMarkableModel, MarkableModel } from "./geo";
5
5
  import type { User } from "./users";
@@ -69,15 +69,6 @@ export interface CreatedIssueComment {
69
69
  created_at: Exclude<IssueComment["created_at"], undefined>;
70
70
  }
71
71
  export type IssueCommentPayload = Omit<IssueComment, "author" | "created_at" | "offline_id">;
72
- export declare enum IssueUpdateChange {
73
- STATUS = "status",
74
- PRIORITY = "priority",
75
- CATEGORY = "category",
76
- DESCRIPTION = "description",
77
- TITLE = "title",
78
- ASSIGNED_TO = "assigned_to",
79
- DUE_DATE = "due_date"
80
- }
81
72
  export interface IssueUpdateChangeTypes {
82
73
  status: IssueStatus;
83
74
  priority: IssuePriority;
@@ -1,18 +1,5 @@
1
- import { OfflineModel, OwnedByUserOrOrganization } from "./base";
2
- export declare enum PaddleCheckoutEvent {
3
- COMPLETED = "checkout.completed",
4
- CLOSED = "checkout.closed"
5
- }
6
- export declare enum LicenseLevel {
7
- PRO = 0
8
- }
9
- export declare enum LicenseStatus {
10
- ACTIVE = 0,
11
- PAUSED = 2,
12
- CANCELLED = 4,
13
- INACTIVE = 6,
14
- PAST_DUE = 8
15
- }
1
+ import type { OfflineModel, OwnedByUserOrOrganization } from "./base";
2
+ import type { LicenseLevel, LicenseStatus } from "../../enums";
16
3
  export interface Transaction {
17
4
  id: string;
18
5
  }
@@ -1,4 +1,4 @@
1
- import { CreatedByModel, Model } from "./base";
1
+ import type { CreatedByModel, Model } from "./base";
2
2
  export interface Organization extends Model, CreatedByModel {
3
3
  id: number;
4
4
  name: string;
@@ -1,6 +1,6 @@
1
- import { Model, OfflineModel, SubmittedAtModel } from "./base";
2
- import { FileWithNameModel } from "../files";
3
- import { BoundableModel, CanvasBoundableModel } from "./geo";
1
+ import type { Model, OfflineModel, SubmittedAtModel } from "./base";
2
+ import type { FileWithNameModel } from "../files";
3
+ import type { BoundableModel, CanvasBoundableModel } from "./geo";
4
4
  export interface Project extends Model, BoundableModel, CanvasBoundableModel {
5
5
  id: number;
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@redux-offline/redux-offline" />
2
2
  import { OfflineState } from "@redux-offline/redux-offline/lib/types";
3
- import { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from "../../store";
3
+ import type { AgentsState, AssetAttachmentState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeAttachmentState, AssetTypeState, AuthState, CategoryState, DocumentAttachmentState, DocumentState, EmailDomainState, FileState, FormRevisionAttachmentState, FormRevisionState, FormState, FormSubmissionAttachmentState, FormSubmissionState, GeoImageSliceState, IssueAssociationSliceState, IssueAttachmentState, IssueCommentState, IssueState, IssueTypeState, IssueUpdateState, LicenseState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectAttachmentState, ProjectFileState, ProjectState, RehydratedState, TeamState, UserState, VERSION_REDUCER_KEY, VersioningState, WorkspaceState } from "../../store";
4
4
  export interface BaseState {
5
5
  outboxReducer: OutboxState;
6
6
  offline: OfflineState;
@@ -1,6 +1,6 @@
1
- import { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
- import { Organization } from "./organizations";
3
- import { User } from "./users";
1
+ import type { ColorModel, IconModel, OfflineModel, SubmittedAtModel } from "./base";
2
+ import type { Organization } from "./organizations";
3
+ import type { User } from "./users";
4
4
  export interface Team extends OfflineModel, SubmittedAtModel, IconModel, ColorModel {
5
5
  name: string;
6
6
  parent: OfflineModel["offline_id"] | null;
@@ -1,4 +1,4 @@
1
- import { OptionalFileModel } from "./base";
1
+ import type { OptionalFileModel } from "./base";
2
2
  export interface Profile extends OptionalFileModel {
3
3
  favourite_project_ids: number[];
4
4
  tour_step: number;
@@ -1,4 +1,4 @@
1
- import { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
1
+ import type { CreatedByModel, Model, OfflineModel, SubmittedAtModel, TimestampedModel } from "./base";
2
2
  export interface Workspace extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
3
3
  name: string;
4
4
  project: number;
@@ -1,4 +1,4 @@
1
- import { OvermapRootState } from "./models";
1
+ import type { OvermapRootState } from "./models";
2
2
  export type SelectorWithArgs<TState, TArgs, TRet> = (args: TArgs) => (state: TState) => TRet;
3
3
  export type Selector<TState, TRet> = (state: TState) => TRet;
4
4
  export type OvermapSelectorWithArgs<TArgs, TRet> = SelectorWithArgs<OvermapRootState, TArgs, TRet>;
@@ -10,7 +10,5 @@ export interface BadgeColors {
10
10
  textColor: CSSColor;
11
11
  }
12
12
  export declare const Colors: Record<string, CSSColor>;
13
- export declare const AssetStageColors: Record<string, CSSColor>;
14
13
  export declare const defaultBadgeColor: CSSColor;
15
14
  export declare const generateBadgeColors: (rawColor: CSSColor) => BadgeColors;
16
- export declare function getStageColor(index: number): CSSColor;
@@ -1,9 +1,7 @@
1
1
  export * from "./coordinates";
2
- export * from "./css";
3
2
  export * from "./file";
4
3
  export * from "./logging";
5
4
  export * from "./offline";
6
- export * from "./search";
7
5
  export * from "./string";
8
6
  export * from "./utils";
9
7
  export * from "./optimization";
@@ -1,11 +1,8 @@
1
1
  export declare function shallowEqual(objA: Record<string, unknown>, objB: Record<string, unknown>): boolean;
2
2
  export declare function memoize<T extends (...args: never[]) => unknown>(func: T): T;
3
- export type EqualityChecker<TArgs> = (current: TArgs, previous: TArgs) => boolean;
4
- export declare function useMemoCompare<TValue>(next: TValue | undefined, compare: (prev: TValue | undefined, next: TValue | undefined) => boolean): TValue | undefined;
5
3
  /**
6
4
  * Performs an equality check by contents in order.
7
5
  * Reference types like objects and arrays are compared by reference.
8
6
  */
9
7
  export declare function areArraysEqual(first: unknown[], second: unknown[]): boolean;
10
- export declare const genericMemo: <T>(component: T) => T;
11
8
  export declare const fallbackToEmptyArray: <T>(array: T[]) => T[];
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.65-strip-workspace-access.3",
6
+ "version": "1.0.66",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",
@@ -1 +0,0 @@
1
- export declare const fullAssetMarkerSize = 45;
File without changes
@@ -1,5 +0,0 @@
1
- /**
2
- * Combines multiple class names into a single string. Keys are class names and values are booleans.
3
- * If the value is true, the key is added to the string.
4
- */
5
- export declare function classNames(...args: (object | string | undefined | null | number)[]): string;
@@ -1,3 +0,0 @@
1
- import { SearchResult, Stored } from "../typings";
2
- import { Issue } from "../typings";
3
- export declare const issueToSearchResult: (issue: Stored<Issue>, tag: string | null) => SearchResult<Stored<Issue>>;