@overmap-ai/core 1.0.76 → 1.0.77-store-typing-improvements.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 +1294 -1289
- package/dist/overmap-core.umd.cjs +7 -7
- package/dist/sdk/base.d.ts +1 -1
- package/dist/sdk/globals.d.ts +1 -1
- package/dist/sdk/sdk.d.ts +1 -1
- package/dist/sdk/services/AgentService.d.ts +2 -1
- package/dist/sdk/services/AssetAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureFieldValuesAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureFieldValuesService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureFieldsAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureFieldsService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureInstanceService.d.ts +2 -1
- package/dist/sdk/services/AssetProcedureService.d.ts +2 -1
- package/dist/sdk/services/AssetService.d.ts +2 -1
- package/dist/sdk/services/AssetStageCompletionService.d.ts +2 -1
- package/dist/sdk/services/AssetStageService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +2 -1
- package/dist/sdk/services/AssetTypeService.d.ts +2 -1
- package/dist/sdk/services/BaseApiService.d.ts +1 -1
- package/dist/sdk/services/BaseAttachmentService.d.ts +2 -1
- package/dist/sdk/services/BaseAuthService.d.ts +1 -1
- package/dist/sdk/services/BaseService.d.ts +1 -1
- package/dist/sdk/services/BaseUploadService.d.ts +2 -1
- package/dist/sdk/services/CategoryService.d.ts +2 -1
- package/dist/sdk/services/DocumentAttachmentService.d.ts +2 -1
- package/dist/sdk/services/DocumentService.d.ts +2 -1
- package/dist/sdk/services/EmailDomainsService.d.ts +2 -1
- package/dist/sdk/services/EmailVerificationService.d.ts +2 -1
- package/dist/sdk/services/FileService.d.ts +1 -1
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +2 -1
- package/dist/sdk/services/FormRevisionService.d.ts +2 -1
- package/dist/sdk/services/FormService.d.ts +2 -1
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +2 -1
- package/dist/sdk/services/FormSubmissionService.d.ts +2 -1
- package/dist/sdk/services/GeoImageService.d.ts +2 -1
- package/dist/sdk/services/IssueAssociationService.d.ts +2 -1
- package/dist/sdk/services/IssueAttachmentService.d.ts +2 -1
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +2 -1
- package/dist/sdk/services/IssueCommentService.d.ts +2 -1
- package/dist/sdk/services/IssueService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeAttachmentService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +2 -1
- package/dist/sdk/services/IssueTypeService.d.ts +2 -1
- package/dist/sdk/services/IssueUpdateService.d.ts +2 -1
- package/dist/sdk/services/JWTAuthService.d.ts +1 -1
- package/dist/sdk/services/LicenseService.d.ts +2 -1
- package/dist/sdk/services/OrganizationAccessService.d.ts +2 -1
- package/dist/sdk/services/OrganizationService.d.ts +2 -1
- package/dist/sdk/services/ProjectAccessService.d.ts +2 -1
- package/dist/sdk/services/ProjectAttachmentService.d.ts +2 -1
- package/dist/sdk/services/ProjectFileService.d.ts +2 -1
- package/dist/sdk/services/ProjectService.d.ts +2 -1
- package/dist/sdk/services/TeamService.d.ts +2 -1
- package/dist/sdk/services/UserService.d.ts +2 -1
- package/dist/sdk/typings.d.ts +2 -1
- package/dist/store/adapters/index.d.ts +1 -0
- package/dist/store/adapters/modelAdapter.d.ts +1 -1
- package/dist/store/adapters/selectionAdapter.d.ts +1 -1
- package/dist/store/adapters/typings.d.ts +6 -0
- package/dist/store/constants.d.ts +2 -0
- package/dist/store/index.d.ts +3 -1
- package/dist/store/migrations.d.ts +1 -1
- package/dist/store/reducers.d.ts +181 -0
- package/dist/store/slices/agentsSlice.d.ts +3 -2
- package/dist/store/slices/assetAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/assetProcedureAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/assetProcedureFieldValuesAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/assetProcedureFieldValuesSlice.d.ts +61 -3
- package/dist/store/slices/assetProcedureFieldsAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/assetProcedureFieldsSlice.d.ts +61 -3
- package/dist/store/slices/assetProcedureInstanceSlice.d.ts +61 -3
- package/dist/store/slices/assetProcedureSlice.d.ts +61 -3
- package/dist/store/slices/assetSlice.d.ts +61 -3
- package/dist/store/slices/assetStageCompletionSlice.d.ts +61 -3
- package/dist/store/slices/assetStageSlice.d.ts +62 -4
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +61 -3
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +61 -3
- package/dist/store/slices/assetTypeSlice.d.ts +3 -2
- package/dist/store/slices/authSlice.d.ts +1 -1
- package/dist/store/slices/categorySlice.d.ts +61 -3
- package/dist/store/slices/documentAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/documentSlice.d.ts +60 -2
- package/dist/store/slices/emailDomainsSlice.d.ts +61 -3
- package/dist/store/slices/fileSlice.d.ts +1 -1
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/formRevisionSlice.d.ts +61 -3
- package/dist/store/slices/formSlice.d.ts +61 -3
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/formSubmissionSlice.d.ts +3 -2
- package/dist/store/slices/geoImageSlice.d.ts +61 -3
- package/dist/store/slices/issueAssociationSlice.d.ts +61 -3
- package/dist/store/slices/issueAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/issueCommentAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/issueCommentSlice.d.ts +3 -2
- package/dist/store/slices/issueSlice.d.ts +3 -2
- package/dist/store/slices/issueTypeAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +61 -3
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +61 -3
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +61 -3
- package/dist/store/slices/issueTypeSlice.d.ts +3 -2
- package/dist/store/slices/issueUpdateSlice.d.ts +3 -2
- package/dist/store/slices/licenseSlice.d.ts +3 -2
- package/dist/store/slices/organizationAccessSlice.d.ts +3 -2
- package/dist/store/slices/organizationSlice.d.ts +61 -3
- package/dist/store/slices/outboxSlice.d.ts +1 -1
- package/dist/store/slices/projectAccessSlice.d.ts +3 -2
- package/dist/store/slices/projectAttachmentSlice.d.ts +3 -2
- package/dist/store/slices/projectFileSlice.d.ts +61 -3
- package/dist/store/slices/projectSlice.d.ts +61 -3
- package/dist/store/slices/rehydratedSlice.d.ts +1 -1
- package/dist/store/slices/teamSlice.d.ts +3 -2
- package/dist/store/slices/userSlice.d.ts +3 -2
- package/dist/store/store.d.ts +1 -61
- package/dist/store/typings.d.ts +14 -6
- package/dist/typings/index.d.ts +0 -1
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/store.d.ts +0 -61
- package/dist/utils/utils.d.ts +2 -1
- package/package.json +1 -1
- package/dist/typings/store.d.ts +0 -7
package/dist/sdk/base.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResultAction } from '@redux-offline/redux-offline/lib/types';
|
|
2
2
|
import { ActionCreatorWithPayload, Store, UnknownAction } from '@reduxjs/toolkit';
|
|
3
|
-
import { BaseState } from '../
|
|
3
|
+
import { BaseState } from '../store';
|
|
4
4
|
import { FileService } from './services';
|
|
5
5
|
import { SDKRequest } from './typings';
|
|
6
6
|
export declare abstract class BaseSDK<TState extends BaseState> {
|
package/dist/sdk/globals.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResultAction } from '@redux-offline/redux-offline/lib/types';
|
|
2
2
|
import { Store, UnknownAction } from '@reduxjs/toolkit';
|
|
3
|
-
import { BaseState } from '../
|
|
3
|
+
import { BaseState } from '../store';
|
|
4
4
|
import { BaseSDK } from './base';
|
|
5
5
|
export declare function setClientStore<TState extends BaseState>(store: Store<TState>): void;
|
|
6
6
|
export declare function getClientStore(): Store<BaseState, UnknownAction | ResultAction> | undefined;
|
package/dist/sdk/sdk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from '@reduxjs/toolkit';
|
|
2
|
-
import { BaseState } from '../
|
|
2
|
+
import { BaseState } from '../store';
|
|
3
3
|
import { BaseSDK } from './base';
|
|
4
4
|
import { OvermapSDKConstructor } from './typings';
|
|
5
5
|
export declare const initSDK: <TState extends BaseState, TSDK extends BaseSDK<TState>>(store: Store<TState>, sdk: OvermapSDKConstructor<TState, TSDK>) => TSDK;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AgentUserConversation, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class AgentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Asset, AssetAttachment, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedure, AssetProcedureAttachment, Organization, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedureFieldValues, AssetProcedureFieldValuesAttachment, Created, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
4
5
|
export declare abstract class AssetProcedureFieldValuesAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SerializedFieldValues } from '@overmap-ai/forms';
|
|
2
|
-
import {
|
|
2
|
+
import { OvermapRootState } from '../../store';
|
|
3
|
+
import { Asset, AssetProcedureFields, AssetProcedureFieldValues, AssetProcedureInstance, Created, Payload, Project, Stored, UUID } from '../../typings';
|
|
3
4
|
import { BaseSDK } from '../base';
|
|
4
5
|
import { OptimisticModelResult } from '../typings';
|
|
5
6
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedureFields, AssetProcedureFieldsAttachment, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedureFields, Organization, Payload } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedureInstance, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedure, Organization, Payload, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Asset, AssetType, Created, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetStageCompletion, Payload, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult, OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetProcedure, AssetStage, Organization, Payload, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult, OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetType, AssetTypeAttachment, Organization, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetTypeFieldValues, AssetTypeFieldValuesAttachment, Created, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
4
5
|
export declare abstract class AssetTypeFieldValuesAttachmentService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SerializedFieldValues } from '@overmap-ai/forms';
|
|
2
|
-
import {
|
|
2
|
+
import { OvermapRootState } from '../../store';
|
|
3
|
+
import { Asset, AssetTypeFields, AssetTypeFieldValues, Created, Payload, Project, Stored, UUID } from '../../typings';
|
|
3
4
|
import { BaseSDK } from '../base';
|
|
4
5
|
import { OptimisticModelResult } from '../typings';
|
|
5
6
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetTypeFields, AssetTypeFieldsAttachment, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetTypeFields, Organization, Payload } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { AssetType, Organization, Payload, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
|
|
2
|
-
import {
|
|
2
|
+
import { OvermapRootState, OvermapSelectorWithArgs } from '../../store';
|
|
3
|
+
import { Attachment, FileModelPayload, Stored, Submitted, User, UUIDModel } from '../../typings';
|
|
3
4
|
import { BaseSDK } from '../base';
|
|
4
5
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
5
6
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Response, SuperAgentRequest } from 'superagent';
|
|
2
|
-
import { BaseState } from '../../
|
|
2
|
+
import { BaseState } from '../../store';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { BaseService } from './BaseService';
|
|
5
5
|
export declare abstract class BaseAuthService<TStore extends BaseState, TSDK extends BaseSDK<TStore>> extends BaseService<TStore, TSDK> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ResultAction } from '@redux-offline/redux-offline/lib/types';
|
|
2
2
|
import { ActionCreatorWithPayload, UnknownAction } from '@reduxjs/toolkit';
|
|
3
|
-
import { BaseState } from '../../
|
|
3
|
+
import { BaseState } from '../../store';
|
|
4
4
|
import { BaseSDK } from '../base';
|
|
5
5
|
import { SDKRequest } from '../typings';
|
|
6
6
|
export declare const CLASS_NAME_TO_SERVICE: Record<string, BaseService<BaseState, BaseSDK<BaseState>>>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { FilePayload } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { PresignedUrlsResponse } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Category, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Document, DocumentAttachment, Organization, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Document, MovePosition, Organization, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { EmailDomain, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class EmailDomainsService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { EmailVerificationPayload, EmailVerificationReturn, VerificationCode } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class EmailVerificationService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { FormRevision, FormRevisionAttachment, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { FormRevision, FormRevisionPayload, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Created, Form, FormRevision, Organization, Payload, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseUploadService } from './BaseUploadService';
|
|
4
5
|
export declare abstract class FormService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseUploadService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { FormSubmission, FormSubmissionAttachment, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { FormSubmission, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { BulkGeoImagePayload, GeoImage, GeoImagePayload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult, OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueAssociation, Payload, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Issue, IssueAttachment, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueComment, IssueCommentAttachment, Project, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueComment, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Issue, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueType, IssueTypeAttachment, Organization, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueTypeFieldValues, IssueTypeFieldValuesAttachment, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueTypeFieldValues, Payload, Project, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueTypeFields, IssueTypeFieldsAttachment, Organization } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseUploadService } from './BaseUploadService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueTypeFields, Organization, Payload } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { IssueType, Organization, Payload, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { OvermapRootState
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class IssueUpdateService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as request } from 'superagent';
|
|
2
|
-
import { BaseState } from '../../
|
|
2
|
+
import { BaseState } from '../../store';
|
|
3
3
|
import { BaseSDK } from '../base';
|
|
4
4
|
import { TokenPair } from '../typings';
|
|
5
5
|
import { BaseAuthService } from './BaseAuthService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { License, Organization, Project, Transaction } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class LicenseService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Organization, OrganizationAccess } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class OrganizationAccessService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Organization, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class OrganizationService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { OvermapRootState
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Project, ProjectAccess } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class ProjectAccessService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { OvermapRootState
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Project, ProjectAttachment, Stored } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticMultipleModelResult } from '../typings';
|
|
4
5
|
import { BaseAttachmentService, BuildAttachmentPayloadData, BuildOfflineAttachmentData } from './BaseAttachmentService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { OvermapRootState
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Project, ProjectFile } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticGenericResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { OvermapRootState
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Payload, Project, User } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
interface JoinProjectResponse {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Organization, Payload, Team, User, UUID } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { OptimisticModelResult } from '../typings';
|
|
4
5
|
import { BaseApiService } from './BaseApiService';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OvermapRootState } from '../../store';
|
|
2
|
+
import { Organization, Project } from '../../typings';
|
|
2
3
|
import { BaseSDK } from '../base';
|
|
3
4
|
import { BaseApiService } from './BaseApiService';
|
|
4
5
|
export declare abstract class UserService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseApiService<TState, TSDK> {
|
package/dist/sdk/typings.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Store } from '@reduxjs/toolkit';
|
|
2
2
|
import { default as request } from 'superagent';
|
|
3
3
|
import { HttpMethod } from '../enums';
|
|
4
|
-
import { BaseState
|
|
4
|
+
import { BaseState } from '../store';
|
|
5
|
+
import { Created, Model, Stored, Submitted } from '../typings';
|
|
5
6
|
import { DeferredPromise } from '../utils';
|
|
6
7
|
import { BaseSDK } from './base';
|
|
7
8
|
import { GetS3UrlResponse, GetS3UrlSuccessResponse } from './services';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { ModelState } from '
|
|
2
|
+
import { ModelState } from './typings';
|
|
3
3
|
export interface OvermapModelAdapter<TId extends string | number | symbol, TModel> {
|
|
4
4
|
addOne: (state: ModelState<TId, TModel>, action: PayloadAction<TModel>) => void;
|
|
5
5
|
addMany: (state: ModelState<TId, TModel>, action: PayloadAction<TModel[]>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
-
import { SelectionState } from '
|
|
2
|
+
import { SelectionState } from './typings';
|
|
3
3
|
export interface SelectionAdapter<TSelection> {
|
|
4
4
|
selectOne: (state: SelectionState<TSelection>, action: PayloadAction<TSelection>) => void;
|
|
5
5
|
selectMany: (state: SelectionState<TSelection>, action: PayloadAction<TSelection[]>) => void;
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Manifest } from '
|
|
1
|
+
import { Manifest } from './typings';
|
|
2
2
|
export declare const manifest: Manifest;
|