@overmap-ai/core 1.0.71-workspace-settings.8 → 1.0.71
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/constants/array.d.ts +1 -0
- package/dist/constants/defaults.d.ts +1 -1
- package/dist/constants/index.d.ts +3 -3
- package/dist/enums/index.d.ts +5 -5
- package/dist/index.d.ts +6 -6
- package/dist/overmap-core.js +6004 -7236
- package/dist/overmap-core.umd.cjs +12 -7928
- package/dist/sdk/base.d.ts +7 -6
- package/dist/sdk/classes/OutboxCoordinator.d.ts +3 -4
- package/dist/sdk/classes/index.d.ts +1 -1
- package/dist/sdk/errors.d.ts +2 -1
- package/dist/sdk/globals.d.ts +6 -5
- package/dist/sdk/index.d.ts +6 -6
- package/dist/sdk/sdk.d.ts +5 -5
- package/dist/sdk/services/AgentService.d.ts +5 -10
- package/dist/sdk/services/AssetAttachmentService.d.ts +38 -16
- package/dist/sdk/services/AssetService.d.ts +5 -5
- package/dist/sdk/services/AssetStageCompletionService.d.ts +4 -4
- package/dist/sdk/services/AssetStageService.d.ts +5 -7
- package/dist/sdk/services/AssetTypeAttachmentService.d.ts +37 -16
- package/dist/sdk/services/AssetTypeFieldValuesAttachmentService.d.ts +12 -0
- package/dist/sdk/services/AssetTypeFieldValuesService.d.ts +20 -0
- package/dist/sdk/services/AssetTypeFieldsAttachmentService.d.ts +12 -0
- package/dist/sdk/services/AssetTypeFieldsService.d.ts +8 -0
- package/dist/sdk/services/AssetTypeService.d.ts +5 -5
- package/dist/sdk/services/BaseApiService.d.ts +4 -4
- package/dist/sdk/services/BaseAttachmentService.d.ts +21 -23
- package/dist/sdk/services/BaseAuthService.d.ts +4 -4
- package/dist/sdk/services/BaseService.d.ts +6 -5
- package/dist/sdk/services/BaseUploadService.d.ts +5 -4
- package/dist/sdk/services/CategoryService.d.ts +4 -4
- package/dist/sdk/services/DocumentAttachmentService.d.ts +36 -16
- package/dist/sdk/services/DocumentService.d.ts +4 -4
- package/dist/sdk/services/EmailDomainsService.d.ts +3 -3
- package/dist/sdk/services/EmailVerificationService.d.ts +3 -3
- package/dist/sdk/services/FileService.d.ts +4 -4
- package/dist/sdk/services/FormRevisionAttachmentService.d.ts +12 -0
- package/dist/sdk/services/FormRevisionService.d.ts +8 -0
- package/dist/sdk/services/FormService.d.ts +14 -16
- package/dist/sdk/services/FormSubmissionAttachmentService.d.ts +13 -0
- package/dist/sdk/services/FormSubmissionService.d.ts +11 -30
- package/dist/sdk/services/GeoImageService.d.ts +4 -4
- package/dist/sdk/services/IssueAssociationService.d.ts +5 -5
- package/dist/sdk/services/IssueAttachmentService.d.ts +37 -16
- package/dist/sdk/services/IssueCommentService.d.ts +4 -4
- package/dist/sdk/services/IssueService.d.ts +4 -7
- package/dist/sdk/services/IssueTypeFieldValuesAttachmentService.d.ts +13 -0
- package/dist/sdk/services/IssueTypeFieldValuesService.d.ts +10 -0
- package/dist/sdk/services/IssueTypeFieldsAttachmentService.d.ts +12 -0
- package/dist/sdk/services/IssueTypeFieldsService.d.ts +8 -0
- package/dist/sdk/services/IssueTypeService.d.ts +4 -4
- package/dist/sdk/services/IssueUpdateService.d.ts +3 -3
- package/dist/sdk/services/JWTAuthService.d.ts +6 -6
- package/dist/sdk/services/LicenseService.d.ts +3 -3
- package/dist/sdk/services/OrganizationAccessService.d.ts +3 -3
- package/dist/sdk/services/OrganizationService.d.ts +3 -3
- package/dist/sdk/services/ProjectAccessService.d.ts +3 -3
- package/dist/sdk/services/ProjectAttachmentService.d.ts +37 -16
- package/dist/sdk/services/ProjectFileService.d.ts +4 -4
- package/dist/sdk/services/ProjectService.d.ts +3 -3
- package/dist/sdk/services/TeamService.d.ts +4 -4
- package/dist/sdk/services/UserService.d.ts +3 -3
- package/dist/sdk/services/WorkspaceService.d.ts +4 -4
- package/dist/sdk/services/index.d.ts +45 -34
- package/dist/sdk/typings.d.ts +8 -8
- package/dist/store/adapter.d.ts +11 -11
- package/dist/store/index.d.ts +2 -2
- package/dist/store/migrations.d.ts +1 -1
- package/dist/store/slices/agentsSlice.d.ts +10 -10
- package/dist/store/slices/assetAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/assetSlice.d.ts +34 -24
- package/dist/store/slices/assetStageCompletionSlice.d.ts +32 -23
- package/dist/store/slices/assetStageSlice.d.ts +35 -26
- package/dist/store/slices/assetTypeAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +62 -0
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +63 -0
- package/dist/store/slices/assetTypeSlice.d.ts +15 -21
- package/dist/store/slices/authSlice.d.ts +9 -9
- package/dist/store/slices/categorySlice.d.ts +29 -17
- package/dist/store/slices/documentAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/documentSlice.d.ts +29 -13
- package/dist/store/slices/emailDomainsSlice.d.ts +28 -15
- package/dist/store/slices/fileSlice.d.ts +6 -6
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/formRevisionSlice.d.ts +36 -27
- package/dist/store/slices/formSlice.d.ts +32 -26
- package/dist/store/slices/formSubmissionAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/formSubmissionSlice.d.ts +15 -27
- package/dist/store/slices/geoImageSlice.d.ts +36 -22
- package/dist/store/slices/index.d.ts +46 -38
- package/dist/store/slices/issueAssociationSlice.d.ts +34 -24
- package/dist/store/slices/issueAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/issueCommentSlice.d.ts +12 -18
- package/dist/store/slices/issueSlice.d.ts +12 -24
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +63 -0
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +62 -0
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +62 -0
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +64 -0
- package/dist/store/slices/issueTypeSlice.d.ts +11 -14
- package/dist/store/slices/issueUpdateSlice.d.ts +12 -18
- package/dist/store/slices/licenseSlice.d.ts +9 -9
- package/dist/store/slices/organizationAccessSlice.d.ts +10 -13
- package/dist/store/slices/organizationSlice.d.ts +25 -10
- package/dist/store/slices/outboxSlice.d.ts +14 -15
- package/dist/store/slices/projectAccessSlice.d.ts +10 -17
- package/dist/store/slices/projectAttachmentSlice.d.ts +15 -21
- package/dist/store/slices/projectFileSlice.d.ts +62 -31
- package/dist/store/slices/projectSlice.d.ts +9 -24
- package/dist/store/slices/rehydratedSlice.d.ts +6 -6
- package/dist/store/slices/teamSlice.d.ts +11 -14
- package/dist/store/slices/userSlice.d.ts +13 -13
- package/dist/store/slices/versioningSlice.d.ts +2 -2
- package/dist/store/slices/workspaceSlice.d.ts +30 -17
- package/dist/store/store.d.ts +14 -7
- package/dist/typings/files.d.ts +8 -4
- package/dist/typings/index.d.ts +6 -6
- package/dist/typings/models/access.d.ts +2 -2
- package/dist/typings/models/agents.d.ts +2 -12
- package/dist/typings/models/assets.d.ts +19 -4
- package/dist/typings/models/attachments.d.ts +2 -7
- package/dist/typings/models/base.d.ts +2 -5
- 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/fields.d.ts +16 -0
- package/dist/typings/models/forms.d.ts +13 -116
- package/dist/typings/models/geo.d.ts +5 -14
- package/dist/typings/models/geoImages.d.ts +3 -3
- package/dist/typings/models/index.d.ts +22 -21
- package/dist/typings/models/issueTypes.d.ts +2 -2
- package/dist/typings/models/issues.d.ts +21 -6
- package/dist/typings/models/license.d.ts +2 -2
- 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 +10 -3
- 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/search.d.ts +1 -1
- package/dist/typings/store.d.ts +1 -1
- package/dist/utils/async/DeferredPromise.d.ts +1 -1
- package/dist/utils/coordinates.d.ts +4 -18
- package/dist/utils/file.d.ts +2 -2
- package/dist/utils/forms.d.ts +1 -1
- package/dist/utils/index.d.ts +9 -10
- package/dist/utils/offline.d.ts +1 -1
- package/dist/utils/optimization.d.ts +1 -0
- package/dist/utils/utils.d.ts +1 -7
- package/package.json +46 -53
- package/dist/enums/ui.d.ts +0 -36
- package/dist/overmap-core.js.map +0 -1
- package/dist/overmap-core.umd.cjs.map +0 -1
- package/dist/utils/colors.d.ts +0 -14
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { PayloadAction, Reducer } from
|
|
2
|
-
import
|
|
1
|
+
import { PayloadAction, Reducer } from '@reduxjs/toolkit';
|
|
2
|
+
import { OvermapRootState, OvermapSelectorWithArgs, User } from '../../typings';
|
|
3
3
|
export interface UserState {
|
|
4
4
|
currentUser: User | null;
|
|
5
5
|
users: Record<number, User>;
|
|
6
6
|
}
|
|
7
|
-
export declare const userSlice: import(
|
|
8
|
-
setUsers: (state: import(
|
|
9
|
-
addUsers: (state: import(
|
|
10
|
-
setCurrentUser: (state: import(
|
|
11
|
-
setProfilePicture: (state: import(
|
|
7
|
+
export declare const userSlice: import('@reduxjs/toolkit').Slice<UserState, {
|
|
8
|
+
setUsers: (state: import('immer').WritableDraft<UserState>, action: PayloadAction<User[]>) => void;
|
|
9
|
+
addUsers: (state: import('immer').WritableDraft<UserState>, action: PayloadAction<User[]>) => void;
|
|
10
|
+
setCurrentUser: (state: import('immer').WritableDraft<UserState>, action: PayloadAction<User | null>) => void;
|
|
11
|
+
setProfilePicture: (state: import('immer').WritableDraft<UserState>, action: PayloadAction<{
|
|
12
12
|
file?: string;
|
|
13
13
|
file_sha1?: string;
|
|
14
14
|
}>) => void;
|
|
15
|
-
removeUser: (state: import(
|
|
16
|
-
}, "users"
|
|
17
|
-
export declare const setCurrentUser: import(
|
|
18
|
-
file?: string
|
|
19
|
-
file_sha1?: string
|
|
20
|
-
}, "users/setProfilePicture">, setUsers: import(
|
|
15
|
+
removeUser: (state: import('immer').WritableDraft<UserState>, action: PayloadAction<number>) => void;
|
|
16
|
+
}, "users", "users", import('@reduxjs/toolkit').SliceSelectors<UserState>>;
|
|
17
|
+
export declare const setCurrentUser: import('@reduxjs/toolkit').ActionCreatorWithPayload<User | null, "users/setCurrentUser">, setProfilePicture: import('@reduxjs/toolkit').ActionCreatorWithPayload<{
|
|
18
|
+
file?: string;
|
|
19
|
+
file_sha1?: string;
|
|
20
|
+
}, "users/setProfilePicture">, setUsers: import('@reduxjs/toolkit').ActionCreatorWithPayload<User[], "users/setUsers">, addUsers: import('@reduxjs/toolkit').ActionCreatorWithPayload<User[], "users/addUsers">, removeUser: import('@reduxjs/toolkit').ActionCreatorWithPayload<number, "users/removeUser">;
|
|
21
21
|
export declare const userReducer: Reducer<UserState>;
|
|
22
22
|
export declare const selectCurrentUser: (state: OvermapRootState) => User | null;
|
|
23
23
|
export declare const selectUsersMapping: (state: OvermapRootState) => Record<number, User>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Reducer } from
|
|
1
|
+
import { Reducer } from '@reduxjs/toolkit';
|
|
2
2
|
export interface VersioningState {
|
|
3
3
|
version: number;
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* Version of the offline redux store
|
|
7
7
|
*/
|
|
8
|
-
export declare const versioningSlice: import(
|
|
8
|
+
export declare const versioningSlice: import('@reduxjs/toolkit').Slice<VersioningState, {}, "versioning", "versioning", import('@reduxjs/toolkit').SliceSelectors<VersioningState>>;
|
|
9
9
|
export declare const versioningReducer: Reducer<VersioningState>;
|
|
@@ -1,35 +1,48 @@
|
|
|
1
|
-
import { Reducer } from
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { Reducer } from '@reduxjs/toolkit';
|
|
2
|
+
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs, Stored, Workspace } from '../../typings';
|
|
3
|
+
import { ModelState } from '../typings';
|
|
4
4
|
export type WorkspaceState = ModelState<Stored<Workspace>>;
|
|
5
|
-
export declare const workspaceSlice: import(
|
|
6
|
-
initializeWorkspaces:
|
|
5
|
+
export declare const workspaceSlice: import('@reduxjs/toolkit').Slice<WorkspaceState, {
|
|
6
|
+
initializeWorkspaces: (state: ModelState<Stored<Workspace>>, action: {
|
|
7
7
|
payload: Stored<Workspace>[];
|
|
8
8
|
type: string;
|
|
9
9
|
}) => void;
|
|
10
|
-
setWorkspaces:
|
|
10
|
+
setWorkspaces: (state: ModelState<Stored<Workspace>>, action: {
|
|
11
11
|
payload: Stored<Workspace>[];
|
|
12
12
|
type: string;
|
|
13
13
|
}) => void;
|
|
14
|
-
addWorkspace:
|
|
14
|
+
addWorkspace: (state: ModelState<Stored<Workspace>>, action: {
|
|
15
15
|
payload: Stored<Workspace>;
|
|
16
16
|
type: string;
|
|
17
17
|
}) => void;
|
|
18
|
-
updateWorkspace:
|
|
18
|
+
updateWorkspace: (state: ModelState<Stored<Workspace>>, action: {
|
|
19
19
|
payload: Stored<Workspace>;
|
|
20
20
|
type: string;
|
|
21
21
|
}) => void;
|
|
22
|
-
deleteWorkspace:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}) => void;
|
|
26
|
-
}, "workspace">;
|
|
27
|
-
export declare const initializeWorkspaces: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<Workspace>[], "workspace/initializeWorkspaces">, setWorkspaces: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<Workspace>[], "workspace/setWorkspaces">, addWorkspace: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<Workspace>, "workspace/addWorkspace">, updateWorkspace: import("@reduxjs/toolkit").ActionCreatorWithPayload<Stored<Workspace>, "workspace/updateWorkspace">, deleteWorkspace: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "workspace/deleteWorkspace">;
|
|
22
|
+
deleteWorkspace: (state: ModelState<Stored<Workspace>>, action: import('@reduxjs/toolkit').PayloadAction<string>) => void;
|
|
23
|
+
}, "workspace", "workspace", import('@reduxjs/toolkit').SliceSelectors<WorkspaceState>>;
|
|
24
|
+
export declare const initializeWorkspaces: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Workspace>[], "workspace/initializeWorkspaces">, setWorkspaces: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Workspace>[], "workspace/setWorkspaces">, addWorkspace: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Workspace>, "workspace/addWorkspace">, updateWorkspace: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Workspace>, "workspace/updateWorkspace">, deleteWorkspace: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "workspace/deleteWorkspace">;
|
|
28
25
|
export declare const selectWorkspaceMapping: OvermapSelector<Record<string, Workspace>>;
|
|
29
|
-
export declare const selectWorkspaces: ((state: OvermapRootState) => Workspace[]) &
|
|
30
|
-
clearCache: () => void;
|
|
31
|
-
}> & {
|
|
26
|
+
export declare const selectWorkspaces: ((state: OvermapRootState) => Workspace[]) & {
|
|
32
27
|
clearCache: () => void;
|
|
28
|
+
resultsCount: () => number;
|
|
29
|
+
resetResultsCount: () => void;
|
|
30
|
+
} & {
|
|
31
|
+
resultFunc: (resultFuncArgs_0: Record<string, Workspace>) => Workspace[];
|
|
32
|
+
memoizedResultFunc: ((resultFuncArgs_0: Record<string, Workspace>) => Workspace[]) & {
|
|
33
|
+
clearCache: () => void;
|
|
34
|
+
resultsCount: () => number;
|
|
35
|
+
resetResultsCount: () => void;
|
|
36
|
+
};
|
|
37
|
+
lastResult: () => Workspace[];
|
|
38
|
+
dependencies: [OvermapSelector<Record<string, Workspace>>];
|
|
39
|
+
recomputations: () => number;
|
|
40
|
+
resetRecomputations: () => void;
|
|
41
|
+
dependencyRecomputations: () => number;
|
|
42
|
+
resetDependencyRecomputations: () => void;
|
|
43
|
+
} & {
|
|
44
|
+
argsMemoize: typeof import('reselect').weakMapMemoize;
|
|
45
|
+
memoize: typeof import('reselect').weakMapMemoize;
|
|
33
46
|
};
|
|
34
47
|
export declare const selectMainWorkspace: OvermapSelector<Workspace | undefined>;
|
|
35
48
|
export declare const selectWorkspaceById: OvermapSelectorWithArgs<string, Stored<Workspace> | undefined>;
|
package/dist/store/store.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import { Reducer } from
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
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, VersioningState, WorkspaceState } from
|
|
7
|
-
import type { BaseState, OvermapRootState } from "../typings";
|
|
1
|
+
import { Config, OfflineAction, OfflineMetadata } from '@redux-offline/redux-offline/lib/types';
|
|
2
|
+
import { Reducer } from '@reduxjs/toolkit';
|
|
3
|
+
import { default as request } from 'superagent';
|
|
4
|
+
import { BaseSDK, OfflineMetaEffect, OutboxCoordinator, RequestDetails } from '../sdk';
|
|
5
|
+
import { BaseState, OvermapRootState } from '../typings';
|
|
6
|
+
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, VersioningState, WorkspaceState } from './slices';
|
|
8
7
|
export declare const VERSION_REDUCER_KEY = "versioning";
|
|
9
8
|
export declare const overmapReducers: {
|
|
10
9
|
versioning: Reducer<VersioningState>;
|
|
@@ -45,6 +44,14 @@ export declare const overmapReducers: {
|
|
|
45
44
|
issueAttachmentReducer: Reducer<IssueAttachmentState>;
|
|
46
45
|
geoImageReducer: Reducer<GeoImageSliceState>;
|
|
47
46
|
issueAssociationReducer: Reducer<IssueAssociationSliceState>;
|
|
47
|
+
issueTypeFieldsReducer: Reducer<IssueTypeFieldsState>;
|
|
48
|
+
issueTypeFieldValuesReducer: Reducer<IssueTypeFieldValuesState>;
|
|
49
|
+
issueTypeFieldsAttachmentReducer: Reducer<IssueTypeFieldsAttachmentState>;
|
|
50
|
+
issueTypeFieldValuesAttachmentReducer: Reducer<IssueTypeFieldValuesAttachmentState>;
|
|
51
|
+
assetTypeFieldsReducer: Reducer<AssetTypeFieldsState>;
|
|
52
|
+
assetTypeFieldValuesReducer: Reducer<AssetTypeFieldValuesState>;
|
|
53
|
+
assetTypeFieldsAttachmentReducer: Reducer<AssetTypeFieldsAttachmentState>;
|
|
54
|
+
assetTypeFieldValuesAttachmentReducer: Reducer<AssetTypeFieldValuesAttachmentState>;
|
|
48
55
|
};
|
|
49
56
|
export declare const resetStore = "RESET";
|
|
50
57
|
export declare const overmapRootReducer: Reducer<OvermapRootState>;
|
package/dist/typings/files.d.ts
CHANGED
|
@@ -12,10 +12,14 @@ export type FileModel = MaybeObjectURL<{
|
|
|
12
12
|
export interface FileWithNameModel extends FileModel {
|
|
13
13
|
file_name: string;
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
sha1: string;
|
|
18
|
-
extension: string;
|
|
15
|
+
export interface FilePayload {
|
|
16
|
+
sha1: FileModel["file_sha1"];
|
|
19
17
|
file_type: string;
|
|
18
|
+
extension: string;
|
|
20
19
|
size: number;
|
|
21
20
|
}
|
|
21
|
+
export interface FileModelPayload {
|
|
22
|
+
file_sha1: FileWithNameModel["file_sha1"];
|
|
23
|
+
file_name: FileWithNameModel["file_name"];
|
|
24
|
+
file_extension: string;
|
|
25
|
+
}
|
package/dist/typings/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
1
|
+
export * from './colors';
|
|
2
|
+
export * from './files';
|
|
3
|
+
export * from './json';
|
|
4
|
+
export * from './models';
|
|
5
|
+
export * from './search';
|
|
6
|
+
export * from './store';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { OrganizationAccessLevel, ProjectAccessLevel } from 'enums';
|
|
2
|
+
import { OfflineModel } from './base';
|
|
3
3
|
export interface ProjectAccess extends OfflineModel {
|
|
4
4
|
user: number;
|
|
5
5
|
project: number;
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import { JSONContent } from
|
|
2
|
-
import
|
|
3
|
-
export interface AgentProfile extends OptionalFileModel {
|
|
4
|
-
/**
|
|
5
|
-
* The name of the agent.
|
|
6
|
-
*/
|
|
7
|
-
name: string;
|
|
8
|
-
/**
|
|
9
|
-
* The description of the agent.
|
|
10
|
-
*/
|
|
11
|
-
description: string;
|
|
12
|
-
}
|
|
1
|
+
import { JSONContent } from '@tiptap/core';
|
|
2
|
+
import { Offline, OptionalFileModel, TimestampedModel } from './base';
|
|
13
3
|
export interface AgentProfile extends OptionalFileModel {
|
|
14
4
|
/**
|
|
15
5
|
* The name of the agent.
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { BaseSerializedObject, ISerializedField } from '@overmap-ai/forms';
|
|
2
|
+
import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
|
|
3
|
+
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
4
|
+
import { CanvasMarkableModel, MarkableModel } from './geo';
|
|
3
5
|
export interface Asset extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel {
|
|
4
6
|
asset_type: string;
|
|
5
7
|
created_at?: string;
|
|
6
8
|
label: string | null;
|
|
7
9
|
description?: string;
|
|
10
|
+
project: number;
|
|
8
11
|
}
|
|
9
12
|
export interface AssetType extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel, IconModel, ColorModel {
|
|
10
|
-
|
|
13
|
+
organization: number;
|
|
11
14
|
name?: string;
|
|
12
15
|
description?: string;
|
|
13
16
|
}
|
|
@@ -16,10 +19,22 @@ export interface AssetStage extends OfflineModel, TimestampedModel, SubmittedAtM
|
|
|
16
19
|
name?: string | null;
|
|
17
20
|
description?: string | null;
|
|
18
21
|
priority: number;
|
|
19
|
-
form?: string;
|
|
20
22
|
}
|
|
21
23
|
export interface AssetStageCompletion extends OfflineModel, TimestampedModel, SubmittedAtModel, CreatedByModel {
|
|
22
24
|
asset: string;
|
|
23
25
|
stage: string;
|
|
24
26
|
}
|
|
25
27
|
export type CompletedStagesMapping = Record<string, Record<string, string>>;
|
|
28
|
+
export interface AssetTypeFields<TFields extends BaseSerializedObject = ISerializedField> extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel<TFields> {
|
|
29
|
+
asset_type: string;
|
|
30
|
+
}
|
|
31
|
+
export interface AssetTypeFieldsAttachment extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
32
|
+
fields_revision: string;
|
|
33
|
+
}
|
|
34
|
+
export interface AssetTypeFieldValues extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel {
|
|
35
|
+
fields_revision: string;
|
|
36
|
+
asset: string;
|
|
37
|
+
}
|
|
38
|
+
export interface AssetTypeFieldValuesAttachment extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
39
|
+
field_values: string;
|
|
40
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { FileModel, FileWithNameModel } from '../files';
|
|
2
|
+
import { CreatedByModel, OfflineModel, SubmittedAtModel } from './base';
|
|
3
3
|
export interface Attachment extends OfflineModel, SubmittedAtModel, FileWithNameModel, CreatedByModel {
|
|
4
4
|
description?: string;
|
|
5
5
|
file_type: string;
|
|
@@ -19,9 +19,4 @@ export interface ProjectAttachment extends Attachment {
|
|
|
19
19
|
export interface DocumentAttachment extends Attachment {
|
|
20
20
|
document: string;
|
|
21
21
|
}
|
|
22
|
-
/** to get an AttachmentPayload for a specific type, pass in the given AttachmentType
|
|
23
|
-
* ex. AttachmentPayload<IssueAttachment> */
|
|
24
|
-
export type AttachmentPayload<TAttachment> = Omit<TAttachment, "file" | "submitted_at" | "created_by"> & {
|
|
25
|
-
file: MaybeObjectURL<File>;
|
|
26
|
-
};
|
|
27
22
|
export type ProfilePic = FileModel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { CSSColor } from '../colors';
|
|
2
|
+
import { User } from './users';
|
|
3
3
|
export interface Model {
|
|
4
4
|
}
|
|
5
5
|
export interface OfflineModel extends Model {
|
|
@@ -33,9 +33,6 @@ export interface OptionalFileModel {
|
|
|
33
33
|
export interface OwnedByOrganization {
|
|
34
34
|
organization_owner: number;
|
|
35
35
|
}
|
|
36
|
-
export interface SubmittedAtModel {
|
|
37
|
-
submitted_at: string;
|
|
38
|
-
}
|
|
39
36
|
export interface IconModel {
|
|
40
37
|
icon: string;
|
|
41
38
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { CSSColor } from '../colors';
|
|
2
|
+
import { CreatedByModel, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
|
|
3
3
|
export interface Category extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel {
|
|
4
4
|
name: string;
|
|
5
5
|
description?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { 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,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { OfflineModel } from './base';
|
|
2
|
+
import { RegistrationPayload } from './users';
|
|
3
3
|
export type EmailVerificationPayload = undefined | RegistrationPayload | Omit<RegistrationPayload, "username" | "email">;
|
|
4
4
|
export interface EmailVerificationReturn {
|
|
5
5
|
username?: string;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseSerializedObject, FieldValue, ISerializedField } from '@overmap-ai/forms';
|
|
2
|
+
import { FileWithNameModel } from '../files';
|
|
3
|
+
export interface FieldsModel<TFields extends BaseSerializedObject = ISerializedField> {
|
|
4
|
+
fields: TFields[];
|
|
5
|
+
revision: number | "Pending";
|
|
6
|
+
}
|
|
7
|
+
export interface FieldValuesModel {
|
|
8
|
+
published_at?: string | null;
|
|
9
|
+
values: Record<string, FieldValue>;
|
|
10
|
+
}
|
|
11
|
+
export interface FieldsAttachmentModel extends FileWithNameModel {
|
|
12
|
+
field_identifier: string;
|
|
13
|
+
}
|
|
14
|
+
export interface FieldValuesAttachmentModel extends FileWithNameModel {
|
|
15
|
+
field_identifier: string;
|
|
16
|
+
}
|
|
@@ -1,127 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export interface BaseSerializedField<TIdentifier extends FieldTypeIdentifier = FieldTypeIdentifier> extends BaseSerializedObject<TIdentifier> {
|
|
5
|
-
label: string;
|
|
6
|
-
required: boolean;
|
|
7
|
-
image?: File | Promise<File>;
|
|
8
|
-
}
|
|
9
|
-
export interface SerializedCondition<TValue extends FieldValue = FieldValue> {
|
|
10
|
-
identifier: string;
|
|
11
|
-
value: TValue;
|
|
12
|
-
}
|
|
13
|
-
export interface SerializedFieldSection extends BaseSerializedObject {
|
|
14
|
-
label: string | null;
|
|
15
|
-
type: "section";
|
|
16
|
-
conditional: boolean;
|
|
17
|
-
condition: SerializedCondition | null;
|
|
18
|
-
fields: Exclude<ISerializedField, SerializedFieldSection>[];
|
|
19
|
-
}
|
|
20
|
-
interface BaseSerializedStringField extends BaseSerializedField {
|
|
21
|
-
minimum_length?: number;
|
|
22
|
-
maximum_length: number;
|
|
23
|
-
placeholder?: string;
|
|
24
|
-
}
|
|
25
|
-
export type StringInputType = Exclude<HTMLInputTypeAttribute, "checkbox" | "number" | "button">;
|
|
26
|
-
export interface SerializedStringField extends BaseSerializedStringField {
|
|
27
|
-
type: "string";
|
|
28
|
-
input_type?: StringInputType;
|
|
29
|
-
}
|
|
30
|
-
export interface SerializedQrField extends BaseSerializedField {
|
|
31
|
-
type: "qr";
|
|
32
|
-
}
|
|
33
|
-
export interface SerializedTextField extends BaseSerializedStringField {
|
|
34
|
-
type: "text";
|
|
35
|
-
}
|
|
36
|
-
export interface SerializedMultiStringField extends BaseSerializedStringField {
|
|
37
|
-
type: "multi-string";
|
|
38
|
-
}
|
|
39
|
-
export interface SerializedBooleanField extends BaseSerializedField {
|
|
40
|
-
type: "boolean";
|
|
41
|
-
}
|
|
42
|
-
export interface SerializedNumberField extends BaseSerializedField {
|
|
43
|
-
type: "number";
|
|
44
|
-
minimum: number | undefined;
|
|
45
|
-
maximum: number | undefined;
|
|
46
|
-
integers: boolean;
|
|
47
|
-
placeholder?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface SerializedDateField extends BaseSerializedField {
|
|
50
|
-
type: "date";
|
|
51
|
-
}
|
|
52
|
-
export type SelectFieldOptionValue = string;
|
|
53
|
-
/** Represents an option in the select input. Not to be confused with the 'field options' of SelectField. */
|
|
54
|
-
export interface SelectFieldOption {
|
|
55
|
-
value: SelectFieldOptionValue;
|
|
56
|
-
label: string;
|
|
57
|
-
}
|
|
58
|
-
export interface SerializedSelectField extends BaseSerializedField {
|
|
59
|
-
type: "select";
|
|
60
|
-
options: SelectFieldOption[];
|
|
61
|
-
placeholder?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface SerializedMultiSelectField extends BaseSerializedField {
|
|
64
|
-
type: "multi-select";
|
|
65
|
-
options: SelectFieldOption[];
|
|
66
|
-
placeholder?: string;
|
|
67
|
-
}
|
|
68
|
-
export interface SerializedUploadField extends BaseSerializedField {
|
|
69
|
-
type: "upload";
|
|
70
|
-
/** @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept */
|
|
71
|
-
extensions?: string[];
|
|
72
|
-
/** in bytes */
|
|
73
|
-
maximum_size?: number;
|
|
74
|
-
/** how many files the user can upload to this field
|
|
75
|
-
* @default 1
|
|
76
|
-
*/
|
|
77
|
-
maximum_files?: number;
|
|
78
|
-
}
|
|
79
|
-
export type ISerializedField = SerializedTextField | SerializedBooleanField | SerializedNumberField | SerializedDateField | SerializedStringField | SerializedSelectField | SerializedFieldSection | SerializedMultiStringField | SerializedMultiSelectField | SerializedUploadField | SerializedQrField;
|
|
80
|
-
export type ISerializedOnlyField = Exclude<ISerializedField, SerializedFieldSection>;
|
|
81
|
-
/** All the possible field values */
|
|
82
|
-
export type FieldValue = string | number | boolean | string[] | File[] | Date | null;
|
|
83
|
-
export type FieldTypeIdentifier = "string" | "text" | "boolean" | "number" | "date" | "select" | "custom" | "section" | "multi-string" | "multi-select" | "upload" | "qr";
|
|
84
|
-
export interface BaseSerializedObject<TIdentifier extends FieldTypeIdentifier = FieldTypeIdentifier> {
|
|
85
|
-
description?: string | null;
|
|
86
|
-
identifier: string;
|
|
87
|
-
type: TIdentifier;
|
|
88
|
-
}
|
|
1
|
+
import { BaseSerializedObject, ISerializedField } from '@overmap-ai/forms';
|
|
2
|
+
import { CreatedByModel, OfflineModel, Payload, SubmittedAtModel, TimestampedModel } from './base';
|
|
3
|
+
import { FieldsAttachmentModel, FieldsModel, FieldValuesAttachmentModel, FieldValuesModel } from './fields';
|
|
89
4
|
export interface Form extends OfflineModel, SubmittedAtModel, CreatedByModel {
|
|
90
|
-
|
|
91
|
-
issue_type?: string;
|
|
92
|
-
organization?: number;
|
|
93
|
-
project?: number;
|
|
5
|
+
organization: number;
|
|
94
6
|
}
|
|
95
|
-
export
|
|
96
|
-
created_by: number;
|
|
97
|
-
submitted_at: string;
|
|
98
|
-
};
|
|
99
|
-
export type CachedForm = SubmittedForm & {
|
|
100
|
-
latestRevision: FormRevision;
|
|
101
|
-
};
|
|
102
|
-
export interface FormRevision<TFields extends BaseSerializedObject = ISerializedField> extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel {
|
|
7
|
+
export interface FormRevision<TFields extends BaseSerializedObject = ISerializedField> extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel<TFields> {
|
|
103
8
|
form: string;
|
|
104
9
|
title: string;
|
|
105
10
|
description?: string;
|
|
106
|
-
fields: TFields[];
|
|
107
|
-
revision: number | "Pending";
|
|
108
11
|
}
|
|
109
|
-
export type FormRevisionPayload = Omit<Payload<FormRevision>, "revision"
|
|
110
|
-
export interface FormSubmission extends OfflineModel, SubmittedAtModel, CreatedByModel {
|
|
111
|
-
published_at?: string | null;
|
|
12
|
+
export type FormRevisionPayload = Omit<Payload<FormRevision>, "revision">;
|
|
13
|
+
export interface FormSubmission extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel {
|
|
112
14
|
form_revision: string;
|
|
113
15
|
project: number;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
asset?: string;
|
|
117
|
-
asset_stage?: string;
|
|
16
|
+
issue?: string | null;
|
|
17
|
+
asset?: string | null;
|
|
118
18
|
}
|
|
119
|
-
export interface FormSubmissionAttachment extends
|
|
120
|
-
|
|
121
|
-
field_identifier: string;
|
|
19
|
+
export interface FormSubmissionAttachment extends FieldValuesAttachmentModel {
|
|
20
|
+
form_submission: string;
|
|
122
21
|
}
|
|
123
|
-
export interface FormRevisionAttachment extends
|
|
124
|
-
|
|
125
|
-
field_identifier: string;
|
|
22
|
+
export interface FormRevisionAttachment extends FieldsAttachmentModel {
|
|
23
|
+
form_revision: string;
|
|
126
24
|
}
|
|
127
|
-
export {};
|
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export type Bounds = [Coordinates, Coordinates];
|
|
3
|
-
export interface PointGeometry {
|
|
4
|
-
type: "Point";
|
|
5
|
-
coordinates: Coordinates;
|
|
6
|
-
}
|
|
7
|
-
export interface MultiPointGeometry {
|
|
8
|
-
type: "MultiPoint";
|
|
9
|
-
coordinates: Bounds;
|
|
10
|
-
}
|
|
1
|
+
import { MultiPoint, Point } from 'geojson';
|
|
11
2
|
export interface BoundableModel {
|
|
12
|
-
bounds?:
|
|
3
|
+
bounds?: MultiPoint;
|
|
13
4
|
}
|
|
14
5
|
export interface CanvasBoundableModel {
|
|
15
|
-
canvas_bounds?:
|
|
6
|
+
canvas_bounds?: MultiPoint;
|
|
16
7
|
}
|
|
17
8
|
export interface MarkableModel {
|
|
18
|
-
geo_marker?:
|
|
9
|
+
geo_marker?: Point;
|
|
19
10
|
}
|
|
20
11
|
export interface CanvasMarkableModel {
|
|
21
|
-
canvas_marker?:
|
|
12
|
+
canvas_marker?: Point;
|
|
22
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { FileWithNameModel } from '../files';
|
|
2
|
+
import { CreatedByModel, OfflineModel, SubmittedAtModel } from './base';
|
|
3
|
+
import { CanvasMarkableModel, MarkableModel } from './geo';
|
|
4
4
|
export interface GeoImage extends OfflineModel, SubmittedAtModel, CreatedByModel, MarkableModel, CanvasMarkableModel, FileWithNameModel {
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
1
|
+
export * from './access';
|
|
2
|
+
export * from './agents';
|
|
3
|
+
export * from './assets';
|
|
4
|
+
export * from './attachments';
|
|
5
|
+
export * from './base';
|
|
6
|
+
export * from './categories';
|
|
7
|
+
export * from './documents';
|
|
8
|
+
export * from './emailDomain';
|
|
9
|
+
export * from './emailVerification';
|
|
10
|
+
export * from './fields';
|
|
11
|
+
export * from './forms';
|
|
12
|
+
export * from './geo';
|
|
13
|
+
export * from './geoImages';
|
|
14
|
+
export * from './issues';
|
|
15
|
+
export * from './issueTypes';
|
|
16
|
+
export * from './license';
|
|
17
|
+
export * from './organizations';
|
|
18
|
+
export * from './projects';
|
|
19
|
+
export * from './store';
|
|
20
|
+
export * from './teams';
|
|
21
|
+
export * from './users';
|
|
22
|
+
export * from './workspace';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { ColorModel, CreatedByModel, IconModel, OfflineModel, SubmittedAtModel } from './base';
|
|
2
|
+
import { Organization } from './organizations';
|
|
3
3
|
export interface IssueType extends OfflineModel, SubmittedAtModel, IconModel, ColorModel, CreatedByModel {
|
|
4
4
|
name?: string;
|
|
5
5
|
description?: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { BaseSerializedObject, ISerializedField } from '@overmap-ai/forms';
|
|
2
|
+
import { IssuePriority, IssueStatus, IssueUpdateChange } from '../../enums';
|
|
3
|
+
import { CSSColor } from '../colors';
|
|
4
|
+
import { CreatedByModel, Offline, OfflineModel, SubmittedAtModel, TimestampedModel } from './base';
|
|
5
|
+
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
6
|
+
import { CanvasMarkableModel, MarkableModel } from './geo';
|
|
7
|
+
import { User } from './users';
|
|
8
|
+
import { WorkspaceIndexedModel } from './workspace';
|
|
7
9
|
/**
|
|
8
10
|
* Represents a model instance that has been submitted to the backend. Some properties (depending on which model, but in
|
|
9
11
|
* all cases, the `offline_id`) are guaranteed to be set.
|
|
@@ -95,3 +97,16 @@ export interface IssueAssociation extends OfflineModel, SubmittedAtModel, Create
|
|
|
95
97
|
issue?: string;
|
|
96
98
|
asset?: string;
|
|
97
99
|
}
|
|
100
|
+
export interface IssueTypeFields<TFields extends BaseSerializedObject = ISerializedField> extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsModel<TFields> {
|
|
101
|
+
issue_type: string;
|
|
102
|
+
}
|
|
103
|
+
export interface IssueTypeFieldsAttachment extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
104
|
+
fields_revision: string;
|
|
105
|
+
}
|
|
106
|
+
export interface IssueTypeFieldValues extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldValuesModel {
|
|
107
|
+
fields_revision: string;
|
|
108
|
+
issue: string;
|
|
109
|
+
}
|
|
110
|
+
export interface IssueTypeFieldValuesAttachment extends OfflineModel, SubmittedAtModel, TimestampedModel, CreatedByModel, FieldsAttachmentModel {
|
|
111
|
+
field_values: string;
|
|
112
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { LicenseLevel, LicenseStatus } from '../../enums';
|
|
2
|
+
import { OfflineModel, OwnedByOrganization } from './base';
|
|
3
3
|
export interface Transaction {
|
|
4
4
|
id: string;
|
|
5
5
|
}
|