@overmap-ai/core 1.0.65-asset-models-improvements.2 → 1.0.65-asset-models-improvements.5
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/enums/access.d.ts +8 -0
- package/dist/enums/attachments.d.ts +7 -0
- package/dist/enums/index.d.ts +3 -0
- package/dist/enums/issue.d.ts +9 -0
- package/dist/enums/licenses.d.ts +14 -0
- package/dist/overmap-core.js +192 -248
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +189 -245
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/base.d.ts +1 -1
- package/dist/sdk/globals.d.ts +2 -2
- package/dist/sdk/sdk.d.ts +3 -3
- package/dist/sdk/services/AgentService.d.ts +1 -1
- package/dist/sdk/services/AssetAttachmentService.d.ts +3 -2
- package/dist/sdk/services/AssetService.d.ts +2 -2
- package/dist/sdk/services/AssetStageCompletionService.d.ts +2 -2
- package/dist/sdk/services/AssetStageService.d.ts +1 -1
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +3 -2
- package/dist/sdk/services/AssetTypeService.d.ts +2 -2
- package/dist/sdk/services/BaseApiService.d.ts +1 -1
- package/dist/sdk/services/BaseAttachmentService.d.ts +3 -2
- package/dist/sdk/services/BaseAuthService.d.ts +1 -1
- package/dist/sdk/services/BaseService.d.ts +2 -2
- package/dist/sdk/services/BaseUploadService.d.ts +2 -2
- package/dist/sdk/services/CategoryService.d.ts +2 -2
- package/dist/sdk/services/DocumentAttachmentService.d.ts +3 -2
- package/dist/sdk/services/DocumentService.d.ts +2 -2
- package/dist/sdk/services/EmailDomainsService.d.ts +1 -1
- package/dist/sdk/services/EmailVerificationService.d.ts +1 -1
- package/dist/sdk/services/FileService.d.ts +1 -1
- package/dist/sdk/services/FormService.d.ts +1 -2
- package/dist/sdk/services/FormSubmissionService.d.ts +2 -3
- package/dist/sdk/services/GeoImageService.d.ts +2 -2
- package/dist/sdk/services/IssueAttachmentService.d.ts +3 -2
- package/dist/sdk/services/IssueCommentService.d.ts +2 -2
- package/dist/sdk/services/IssueService.d.ts +2 -2
- package/dist/sdk/services/IssueTypeService.d.ts +2 -2
- package/dist/sdk/services/IssueUpdateService.d.ts +1 -1
- package/dist/sdk/services/JWTAuthService.d.ts +2 -2
- package/dist/sdk/services/LicenseService.d.ts +1 -1
- package/dist/sdk/services/OrganizationAccessService.d.ts +1 -1
- package/dist/sdk/services/OrganizationService.d.ts +1 -1
- package/dist/sdk/services/ProjectAccessService.d.ts +1 -1
- package/dist/sdk/services/ProjectAttachmentService.d.ts +3 -2
- package/dist/sdk/services/ProjectFileService.d.ts +2 -3
- package/dist/sdk/services/ProjectService.d.ts +1 -2
- package/dist/sdk/services/TeamService.d.ts +2 -2
- package/dist/sdk/services/UserService.d.ts +2 -2
- package/dist/sdk/services/WorkspaceService.d.ts +2 -4
- package/dist/store/slices/assetStageSlice.d.ts +0 -1
- package/dist/store/slices/userSlice.d.ts +13 -33
- package/dist/typings/models/access.d.ts +2 -9
- package/dist/typings/models/agents.d.ts +1 -1
- package/dist/typings/models/assets.d.ts +2 -2
- package/dist/typings/models/attachments.d.ts +2 -9
- package/dist/typings/models/base.d.ts +2 -2
- package/dist/typings/models/categories.d.ts +2 -2
- package/dist/typings/models/documents.d.ts +1 -1
- package/dist/typings/models/emailDomain.d.ts +1 -1
- package/dist/typings/models/emailVerification.d.ts +2 -2
- package/dist/typings/models/forms.d.ts +2 -2
- package/dist/typings/models/geoImages.d.ts +3 -3
- package/dist/typings/models/issueTypes.d.ts +2 -2
- package/dist/typings/models/issues.d.ts +1 -10
- package/dist/typings/models/license.d.ts +2 -15
- package/dist/typings/models/organizations.d.ts +1 -1
- package/dist/typings/models/projects.d.ts +3 -3
- package/dist/typings/models/store.d.ts +1 -1
- package/dist/typings/models/teams.d.ts +3 -3
- package/dist/typings/models/users.d.ts +1 -1
- package/dist/typings/models/workspace.d.ts +1 -1
- package/dist/typings/store.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CreatedByModel, Offline, OfflineModel, SubmittedAtModel } 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 { CreatedForm, Form, SubmittedForm } from "./forms";
|
|
@@ -73,15 +73,6 @@ export interface CreatedIssueComment {
|
|
|
73
73
|
created_at: Exclude<IssueComment["created_at"], undefined>;
|
|
74
74
|
}
|
|
75
75
|
export type IssueCommentPayload = Omit<IssueComment, "author" | "created_at" | "offline_id">;
|
|
76
|
-
export declare enum IssueUpdateChange {
|
|
77
|
-
STATUS = "status",
|
|
78
|
-
PRIORITY = "priority",
|
|
79
|
-
CATEGORY = "category",
|
|
80
|
-
DESCRIPTION = "description",
|
|
81
|
-
TITLE = "title",
|
|
82
|
-
ASSIGNED_TO = "assigned_to",
|
|
83
|
-
DUE_DATE = "due_date"
|
|
84
|
-
}
|
|
85
76
|
export interface IssueUpdateChangeTypes {
|
|
86
77
|
status: IssueStatus;
|
|
87
78
|
priority: IssuePriority;
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import { OfflineModel, OwnedByUserOrOrganization } from "./base";
|
|
2
|
-
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { Model, OfflineModel } from "./base";
|
|
2
|
-
import { FileWithNameModel } from "../files";
|
|
3
|
-
import { BoundableModel, CanvasBoundableModel } from "./geo";
|
|
1
|
+
import type { Model, OfflineModel } 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, Payload, SubmittedAtModel } from "./base";
|
|
2
|
-
import { Organization } from "./organizations";
|
|
3
|
-
import { User } from "./users";
|
|
1
|
+
import type { ColorModel, IconModel, OfflineModel, Payload, 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;
|
package/dist/typings/store.d.ts
CHANGED
|
@@ -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>;
|
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-asset-models-improvements.
|
|
6
|
+
"version": "1.0.65-asset-models-improvements.5",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|