@overmap-ai/core 1.0.53-component-asset-renames.5 → 1.0.53-component-asset-renames.6
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 +386 -359
- package/dist/overmap-core.js.map +1 -1
- package/dist/overmap-core.umd.cjs +387 -360
- package/dist/overmap-core.umd.cjs.map +1 -1
- package/dist/sdk/classes/OutboxCoordinator.d.ts +1 -1
- package/dist/sdk/sdk.d.ts +14 -2
- package/dist/sdk/services/BaseApiService.d.ts +0 -12
- package/dist/store/store.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ export declare class OutboxCoordinator {
|
|
|
9
9
|
/**
|
|
10
10
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
11
11
|
*/
|
|
12
|
-
static
|
|
12
|
+
static _fromOutbox(outbox: Outbox): OutboxCoordinator;
|
|
13
13
|
_addDependency(from: string, to: string): void;
|
|
14
14
|
static _addDependency(from: string, to: string, graph: DepGraph<FullOfflineAction>): void;
|
|
15
15
|
/**
|
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
import { AuthService, CategoryService, AssetService, AssetStageCompletionService, AssetStageService, AssetAttachmentService, AssetTypeService, AssetTypeAttachmentService,
|
|
2
|
-
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore
|
|
1
|
+
import { AgentService, AuthService, CategoryService, AssetService, AssetStageCompletionService, AssetStageService, AssetAttachmentService, AssetTypeService, AssetTypeAttachmentService, DocumentAttachmentService, DocumentService, EmailDomainsService, EmailVerificationService, FileService, IssueAttachmentService, IssueCommentService, IssueService, IssueTypeService, IssueUpdateService, LicenseService, MainService, OrganizationAccessService, OrganizationService, ProjectAccessService, ProjectAttachmentService, ProjectFileService, ProjectService, TeamService, UserFormService, UserFormSubmissionService, WorkspaceService } from "./services";
|
|
2
|
+
import { ToolkitStore } from "@reduxjs/toolkit/dist/configureStore";
|
|
3
3
|
import { RootState } from "../typings";
|
|
4
|
+
import { SDKRequest } from "./typings";
|
|
4
5
|
export declare class OvermapSDK {
|
|
5
6
|
readonly API_URL: string;
|
|
6
7
|
readonly store: ToolkitStore<RootState>;
|
|
7
8
|
constructor(apiUrl: string, store: ToolkitStore<RootState>);
|
|
9
|
+
/**
|
|
10
|
+
* Enqueues an API request to the offline outbox.
|
|
11
|
+
* @param requestDetails An SDKRequest object containing the details of the request.
|
|
12
|
+
* @protected
|
|
13
|
+
*/
|
|
14
|
+
enqueueRequest<TResult>(requestDetails: SDKRequest): Promise<TResult>;
|
|
15
|
+
/**
|
|
16
|
+
* Enqueues an API request to the Redux Offline outbox
|
|
17
|
+
* @protected
|
|
18
|
+
*/
|
|
19
|
+
private _enqueueRequest;
|
|
8
20
|
agent: AgentService;
|
|
9
21
|
files: FileService;
|
|
10
22
|
auth: AuthService;
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import type { OvermapSDK } from "../sdk";
|
|
2
|
-
import { SDKRequest } from "../typings";
|
|
3
2
|
/**
|
|
4
3
|
* Abstract base class for building a service that can enqueue API requests
|
|
5
4
|
*/
|
|
6
5
|
export declare abstract class BaseApiService {
|
|
7
6
|
protected readonly client: OvermapSDK;
|
|
8
7
|
constructor(sdk: OvermapSDK);
|
|
9
|
-
/**
|
|
10
|
-
* Enqueues an API request to the offline outbox.
|
|
11
|
-
* @param requestDetails An SDKRequest object containing the details of the request.
|
|
12
|
-
* @protected
|
|
13
|
-
*/
|
|
14
|
-
protected enqueueRequest<TResult>(requestDetails: SDKRequest): Promise<TResult>;
|
|
15
|
-
/**
|
|
16
|
-
* Enqueues an API request to the Redux Offline outbox
|
|
17
|
-
* @protected
|
|
18
|
-
*/
|
|
19
|
-
private _enqueueRequest;
|
|
20
8
|
}
|
package/dist/store/store.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { AnyAction, Reducer } from "redux";
|
|
|
3
3
|
import { Config, OfflineAction, OfflineMetadata, OfflineState } from "@redux-offline/redux-offline/lib/types";
|
|
4
4
|
import request from "superagent";
|
|
5
5
|
import { type OfflineMetaEffect, type OvermapSDK, RequestDetails } from "../sdk";
|
|
6
|
-
import { AuthState, CategoryState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeState, DocumentState, EmailDomainState, FileState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState,
|
|
6
|
+
import { AgentsState, AuthState, CategoryState, AssetStageCompletionState, AssetStageState, AssetState, AssetTypeState, DocumentState, EmailDomainState, FileState, FormRevisionState, FormState, FormSubmissionState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, UserState, WorkspaceState, TeamState } from "./slices";
|
|
7
7
|
import { VersioningState } from "./slices/versioningSlice";
|
|
8
8
|
import { RootState } from "../typings";
|
|
9
9
|
export declare const overmapReducers: {
|
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.53-component-asset-renames.
|
|
6
|
+
"version": "1.0.53-component-asset-renames.6",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|