@overmap-ai/core 1.0.81-project-captures.2 → 1.1.1-comment-attachment-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 +6457 -6891
- package/dist/overmap-core.umd.cjs +8 -8
- package/dist/sdk/services/IssueCommentAttachmentService.d.ts +1 -0
- package/dist/sdk/services/IssueUpdateService.d.ts +0 -8
- package/dist/sdk/services/ProcedureStepService.d.ts +2 -1
- package/dist/sdk/services/ProjectFileService.d.ts +1 -1
- package/dist/sdk/services/index.d.ts +0 -4
- package/dist/store/reducers.d.ts +0 -12
- package/dist/store/slices/assetSlice.d.ts +0 -4
- package/dist/store/slices/assetTypeFieldValuesAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/assetTypeFieldValuesSlice.d.ts +0 -4
- package/dist/store/slices/assetTypeFieldsAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/assetTypeFieldsSlice.d.ts +0 -4
- package/dist/store/slices/assetTypeStatusSlice.d.ts +0 -4
- package/dist/store/slices/emailDomainsSlice.d.ts +0 -4
- package/dist/store/slices/formRevisionAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/formRevisionSlice.d.ts +0 -4
- package/dist/store/slices/formSlice.d.ts +0 -4
- package/dist/store/slices/geoImageSlice.d.ts +0 -4
- package/dist/store/slices/index.d.ts +0 -4
- package/dist/store/slices/issueAssociationSlice.d.ts +0 -4
- package/dist/store/slices/issueTypeFieldValuesAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/issueTypeFieldValuesSlice.d.ts +0 -4
- package/dist/store/slices/issueTypeFieldsAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/issueTypeFieldsSlice.d.ts +0 -4
- package/dist/store/slices/issueTypePrioritySlice.d.ts +0 -4
- package/dist/store/slices/issueTypeStatusSlice.d.ts +0 -4
- package/dist/store/slices/issueUpdateSlice.d.ts +0 -12
- package/dist/store/slices/organizationSlice.d.ts +0 -4
- package/dist/store/slices/procedureFieldValuesSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepAssigneeSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepCommentSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepDefaultAssigneeSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepDefaultReviewerSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepEventSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepFieldValuesAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepFieldValuesReviewSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepFieldValuesSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepFieldsAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepFieldsSlice.d.ts +0 -8
- package/dist/store/slices/procedureStepReviewerSlice.d.ts +0 -4
- package/dist/store/slices/procedureStepSlice.d.ts +0 -4
- package/dist/store/slices/procedureTypeAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/procedureTypeFieldValuesAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/procedureTypeFieldsAttachmentSlice.d.ts +0 -4
- package/dist/store/slices/projectFileSlice.d.ts +0 -4
- package/dist/store/slices/projectSlice.d.ts +0 -4
- package/dist/store/slices/userSlice.d.ts +0 -4
- package/dist/typings/models/base.d.ts +0 -6
- package/dist/typings/models/geoImages.d.ts +2 -2
- package/dist/typings/models/index.d.ts +0 -1
- package/dist/typings/models/issues.d.ts +2 -2
- package/dist/typings/models/projects.d.ts +2 -2
- package/dist/utils/file.d.ts +1 -0
- package/package.json +3 -3
- package/dist/sdk/services/CaptureAnalysisItemService.d.ts +0 -24
- package/dist/sdk/services/CaptureAnalysisService.d.ts +0 -26
- package/dist/sdk/services/CaptureService.d.ts +0 -31
- package/dist/sdk/services/CaptureSidecarService.d.ts +0 -30
- package/dist/store/slices/captureAnalysisItemSlice.d.ts +0 -22
- package/dist/store/slices/captureAnalysisSlice.d.ts +0 -22
- package/dist/store/slices/captureSidecarSlice.d.ts +0 -22
- package/dist/store/slices/captureSlice.d.ts +0 -22
- package/dist/typings/models/captures.d.ts +0 -31
|
@@ -22,10 +22,6 @@ export declare const selectProjectFiles: ((state: {
|
|
|
22
22
|
assetCommentReducer: import('./assetCommentSlice').AssetCommentState;
|
|
23
23
|
assetTypeReducer: import('./assetTypeSlice').AssetTypeState;
|
|
24
24
|
assetTypeAttachmentReducer: import('./assetTypeAttachmentSlice').AssetTypeAttachmentState;
|
|
25
|
-
captureAnalysisReducer: import('./captureAnalysisSlice').CaptureAnalysisState;
|
|
26
|
-
captureAnalysisItemReducer: import('./captureAnalysisItemSlice').CaptureAnalysisItemState;
|
|
27
|
-
captureReducer: import('./captureSlice').CaptureState;
|
|
28
|
-
captureSidecarReducer: import('./captureSidecarSlice').CaptureSidecarState;
|
|
29
25
|
issueReducer: import('./issueSlice').IssueState;
|
|
30
26
|
issueAttachmentReducer: import('./issueAttachmentSlice').IssueAttachmentState;
|
|
31
27
|
issueTypeReducer: import('./issueTypeSlice').IssueTypeState;
|
|
@@ -23,10 +23,6 @@ export declare const selectProjects: ((state: {
|
|
|
23
23
|
assetCommentReducer: import('./assetCommentSlice').AssetCommentState;
|
|
24
24
|
assetTypeReducer: import('./assetTypeSlice').AssetTypeState;
|
|
25
25
|
assetTypeAttachmentReducer: import('./assetTypeAttachmentSlice').AssetTypeAttachmentState;
|
|
26
|
-
captureAnalysisReducer: import('./captureAnalysisSlice').CaptureAnalysisState;
|
|
27
|
-
captureAnalysisItemReducer: import('./captureAnalysisItemSlice').CaptureAnalysisItemState;
|
|
28
|
-
captureReducer: import('./captureSlice').CaptureState;
|
|
29
|
-
captureSidecarReducer: import('./captureSidecarSlice').CaptureSidecarState;
|
|
30
26
|
issueReducer: import('./issueSlice').IssueState;
|
|
31
27
|
issueAttachmentReducer: import('./issueAttachmentSlice').IssueAttachmentState;
|
|
32
28
|
issueTypeReducer: import('./issueTypeSlice').IssueTypeState;
|
|
@@ -28,10 +28,6 @@ export declare const selectUsers: ((state: {
|
|
|
28
28
|
assetCommentReducer: import('./assetCommentSlice').AssetCommentState;
|
|
29
29
|
assetTypeReducer: import('./assetTypeSlice').AssetTypeState;
|
|
30
30
|
assetTypeAttachmentReducer: import('./assetTypeAttachmentSlice').AssetTypeAttachmentState;
|
|
31
|
-
captureAnalysisReducer: import('./captureAnalysisSlice').CaptureAnalysisState;
|
|
32
|
-
captureAnalysisItemReducer: import('./captureAnalysisItemSlice').CaptureAnalysisItemState;
|
|
33
|
-
captureReducer: import('./captureSlice').CaptureState;
|
|
34
|
-
captureSidecarReducer: import('./captureSidecarSlice').CaptureSidecarState;
|
|
35
31
|
issueReducer: import('./issueSlice').IssueState;
|
|
36
32
|
issueAttachmentReducer: import('./issueAttachmentSlice').IssueAttachmentState;
|
|
37
33
|
issueTypeReducer: import('./issueTypeSlice').IssueTypeState;
|
|
@@ -67,18 +67,12 @@ export interface IndexedModel {
|
|
|
67
67
|
export interface BoundableModel {
|
|
68
68
|
bounds?: MultiPoint;
|
|
69
69
|
}
|
|
70
|
-
export interface CanvasBoundableModel {
|
|
71
|
-
canvas_bounds?: MultiPoint;
|
|
72
|
-
}
|
|
73
70
|
export interface PolygonBoundedModel {
|
|
74
71
|
bounds: Polygon;
|
|
75
72
|
}
|
|
76
73
|
export interface MarkableModel {
|
|
77
74
|
geo_marker?: Point;
|
|
78
75
|
}
|
|
79
|
-
export interface CanvasMarkableModel {
|
|
80
|
-
canvas_marker?: Point;
|
|
81
|
-
}
|
|
82
76
|
export interface IdentifierModel {
|
|
83
77
|
name: string;
|
|
84
78
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreatedByModel, IndexedModel, MarkableModel, Payload, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
2
|
import { Project } from './projects';
|
|
3
|
-
export interface GeoImage extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, MarkableModel,
|
|
3
|
+
export interface GeoImage extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, MarkableModel, RequiredFileModel, IndexedModel {
|
|
4
4
|
title: string | null;
|
|
5
5
|
description: string | null;
|
|
6
6
|
project: Project["uuid"];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Asset } from './assets';
|
|
2
|
-
import { AbbreviationModel,
|
|
2
|
+
import { AbbreviationModel, ColorModel, CreatedByModel, IconModel, IdentifierModel, IdentifierValueModel, IndexedModel, MarkableModel, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
3
3
|
import { FieldsAttachmentModel, FieldsModel, FieldValuesModel } from './fields';
|
|
4
4
|
import { Organization } from './organizations';
|
|
5
5
|
import { Project } from './projects';
|
|
6
6
|
import { User } from './users';
|
|
7
7
|
import { IssueStatusType, IssuePriorityType, IssueUpdateChange } from '../../enums';
|
|
8
|
-
export interface Issue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, MarkableModel,
|
|
8
|
+
export interface Issue extends UUIDModel, SubmittedAtModel, TimestampedModel, CreatedByModel, MarkableModel, IndexedModel {
|
|
9
9
|
title: string | null;
|
|
10
10
|
description: string | null;
|
|
11
11
|
priority: IssueTypePriority["uuid"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BoundableModel,
|
|
1
|
+
import { BoundableModel, CreatedByModel, PolygonBoundedModel, RequiredFileModel, SubmittedAtModel, TimestampedModel, UUIDModel } from './base';
|
|
2
2
|
import { Organization, OrganizationAccess } from './organizations';
|
|
3
3
|
import { User } from './users';
|
|
4
4
|
export interface Project extends UUIDModel, TimestampedModel, PolygonBoundedModel, CreatedByModel {
|
|
@@ -10,7 +10,7 @@ export interface ProjectComment extends UUIDModel, SubmittedAtModel, Timestamped
|
|
|
10
10
|
content: string;
|
|
11
11
|
resolved: boolean;
|
|
12
12
|
}
|
|
13
|
-
export interface ProjectFile extends UUIDModel, SubmittedAtModel, TimestampedModel, RequiredFileModel, BoundableModel,
|
|
13
|
+
export interface ProjectFile extends UUIDModel, SubmittedAtModel, TimestampedModel, RequiredFileModel, BoundableModel, CreatedByModel {
|
|
14
14
|
z_index: number;
|
|
15
15
|
project: Project["uuid"];
|
|
16
16
|
}
|
package/dist/utils/file.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare function hashFile(file: Blob): Promise<string>;
|
|
2
|
+
export declare const fileToBlob: (file: File) => Promise<Blob>;
|
|
2
3
|
export declare const getS3FileKey: (sha1: string, extension: string) => string;
|
|
3
4
|
export declare function getRenamedFile(file: File, newName: string): File;
|
|
4
5
|
export declare function getFileExtension(file: File): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overmap-ai/core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1-comment-attachment-improvements.0",
|
|
4
4
|
"description": "Core functionality for Overmap",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"uuid": "11.1.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@overmap-ai/forms": "1.
|
|
54
|
+
"@overmap-ai/forms": "1.1.0",
|
|
55
55
|
"@tiptap/core": "3.10.4",
|
|
56
56
|
"@types/geojson": "7946.0.16",
|
|
57
57
|
"@types/jwt-decode": "3.1.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"vitest": "3.2.4"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@overmap-ai/forms": "1.
|
|
79
|
+
"@overmap-ai/forms": "^1.1.0",
|
|
80
80
|
"@tiptap/core": "3.10.4",
|
|
81
81
|
"react": ">=18.2.0 <20.0.0",
|
|
82
82
|
"react-dom": ">=18.2.0 <20.0.0"
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CaptureAnalysisItem, Project } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OvermapRootState } from '../../store';
|
|
4
|
-
import { BaseModelApiService } from './BaseModelApiService';
|
|
5
|
-
export declare abstract class CaptureAnalysisItemService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseModelApiService<CaptureAnalysisItem["uuid"], CaptureAnalysisItem, TState, TSDK> {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
actions: {
|
|
9
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/addCaptureAnalysisItem">;
|
|
10
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/addCaptureAnalysisItems">;
|
|
11
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/setCaptureAnalysisItem">;
|
|
12
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/setCaptureAnalysisItems">;
|
|
13
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/updateCaptureAnalysisItem">;
|
|
14
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/updateCaptureAnalysisItems">;
|
|
15
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureAnalysisItems/deleteCaptureAnalysisItem">;
|
|
16
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureAnalysisItems/deleteCaptureAnalysisItems">;
|
|
17
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/initializeCaptureAnalysisItems">;
|
|
18
|
-
};
|
|
19
|
-
selectors: {
|
|
20
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, CaptureAnalysisItem | undefined>;
|
|
21
|
-
selectByIds: (uuids: string[]) => (state: any) => CaptureAnalysisItem[];
|
|
22
|
-
};
|
|
23
|
-
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<CaptureAnalysisItem[]>;
|
|
24
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Capture, CaptureAnalysis, Project } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OvermapRootState } from '../../store';
|
|
4
|
-
import { BaseModelApiService } from './BaseModelApiService';
|
|
5
|
-
export declare abstract class CaptureAnalysisService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseModelApiService<CaptureAnalysis["uuid"], CaptureAnalysis, TState, TSDK> {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
actions: {
|
|
9
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/addCaptureAnalysis">;
|
|
10
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/addCaptureAnalyses">;
|
|
11
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/setCaptureAnalysis">;
|
|
12
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/setCaptureAnalyses">;
|
|
13
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/updateCaptureAnalysis">;
|
|
14
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/updateCaptureAnalyses">;
|
|
15
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureAnalyses/deleteCaptureAnalysis">;
|
|
16
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureAnalyses/deleteCaptureAnalyses">;
|
|
17
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/initializeCaptureAnalyses">;
|
|
18
|
-
};
|
|
19
|
-
selectors: {
|
|
20
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, CaptureAnalysis | undefined>;
|
|
21
|
-
selectByIds: (uuids: string[]) => (state: any) => CaptureAnalysis[];
|
|
22
|
-
};
|
|
23
|
-
add(captureUuid: Capture["uuid"]): Promise<CaptureAnalysis>;
|
|
24
|
-
delete(uuid: CaptureAnalysis["uuid"]): Promise<void>;
|
|
25
|
-
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<CaptureAnalysis[]>;
|
|
26
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Capture, Payload, Project, Stored, Submitted } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OvermapRootState } from '../../store';
|
|
4
|
-
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
-
export declare abstract class CaptureService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<Capture["uuid"], Capture, TState, TSDK> {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
actions: {
|
|
9
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/addCapture">;
|
|
10
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/addCaptures">;
|
|
11
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/setCapture">;
|
|
12
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/setCaptures">;
|
|
13
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/updateCapture">;
|
|
14
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/updateCaptures">;
|
|
15
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captures/deleteCapture">;
|
|
16
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captures/deleteCaptures">;
|
|
17
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/initializeCaptures">;
|
|
18
|
-
};
|
|
19
|
-
selectors: {
|
|
20
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<Capture> | undefined>;
|
|
21
|
-
selectByIds: (uuids: string[]) => (state: any) => Stored<Capture>[];
|
|
22
|
-
};
|
|
23
|
-
protected getId(model: Stored<Capture>): Capture["uuid"];
|
|
24
|
-
protected getBlockers(model: Stored<Capture>): string[];
|
|
25
|
-
protected getBlocks(model: Stored<Capture>): string[];
|
|
26
|
-
protected buildModel(data: Payload<Capture>): Submitted<Capture>;
|
|
27
|
-
protected buildPayload(model: Submitted<Capture>): object;
|
|
28
|
-
protected buildBulkPayload(model: Submitted<Capture>): object;
|
|
29
|
-
delete(uuid: Capture["uuid"]): Promise<void>;
|
|
30
|
-
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<Capture[]>;
|
|
31
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CaptureSidecar, Payload, Project, Stored, Submitted } from '../../typings';
|
|
2
|
-
import { BaseSDK } from '../base';
|
|
3
|
-
import { OvermapRootState } from '../../store';
|
|
4
|
-
import { BaseOfflineFileModelApiService } from './BaseOfflineFileModelApiService';
|
|
5
|
-
export declare abstract class CaptureSidecarService<TState extends OvermapRootState, TSDK extends BaseSDK<TState>> extends BaseOfflineFileModelApiService<CaptureSidecar["uuid"], CaptureSidecar, TState, TSDK> {
|
|
6
|
-
name: string;
|
|
7
|
-
url: string;
|
|
8
|
-
actions: {
|
|
9
|
-
addOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/addCaptureSidecar">;
|
|
10
|
-
addMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/addCaptureSidecars">;
|
|
11
|
-
setOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/setCaptureSidecar">;
|
|
12
|
-
setMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/setCaptureSidecars">;
|
|
13
|
-
updateOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/updateCaptureSidecar">;
|
|
14
|
-
updateMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/updateCaptureSidecars">;
|
|
15
|
-
deleteOne: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureSidecars/deleteCaptureSidecar">;
|
|
16
|
-
deleteMany: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureSidecars/deleteCaptureSidecars">;
|
|
17
|
-
initialize: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/initializeCaptureSidecars">;
|
|
18
|
-
};
|
|
19
|
-
selectors: {
|
|
20
|
-
selectById: import('../..').OvermapSelectorWithArgs<string, Stored<CaptureSidecar> | undefined>;
|
|
21
|
-
selectByIds: (uuids: string[]) => (state: any) => Stored<CaptureSidecar>[];
|
|
22
|
-
};
|
|
23
|
-
protected getId(model: Stored<CaptureSidecar>): CaptureSidecar["uuid"];
|
|
24
|
-
protected getBlockers(model: Stored<CaptureSidecar>): string[];
|
|
25
|
-
protected getBlocks(model: Stored<CaptureSidecar>): string[];
|
|
26
|
-
protected buildModel(data: Payload<CaptureSidecar>): Submitted<CaptureSidecar>;
|
|
27
|
-
protected buildPayload(model: Submitted<CaptureSidecar>): object;
|
|
28
|
-
protected buildBulkPayload(model: Submitted<CaptureSidecar>): object;
|
|
29
|
-
refreshStore(projectUuid: Project["uuid"], signal?: AbortSignal): Promise<CaptureSidecar[]>;
|
|
30
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CaptureAnalysis, CaptureAnalysisItem } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
|
-
import { ModelState } from '../adapters';
|
|
4
|
-
export type CaptureAnalysisItemState = ModelState<CaptureAnalysisItem["uuid"], CaptureAnalysisItem>;
|
|
5
|
-
export declare const captureAnalysisItemSlice: import('@reduxjs/toolkit').Slice<CaptureAnalysisItemState, {
|
|
6
|
-
initializeCaptureAnalysisItems: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').InitializePayloadAction<CaptureAnalysisItem>>;
|
|
7
|
-
addCaptureAnalysisItem: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').AddOnePayloadAction<CaptureAnalysisItem>>;
|
|
8
|
-
addCaptureAnalysisItems: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').AddManyPayloadAction<CaptureAnalysisItem>>;
|
|
9
|
-
setCaptureAnalysisItem: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').SetOnePayloadAction<CaptureAnalysisItem>>;
|
|
10
|
-
setCaptureAnalysisItems: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').SetManyPayloadAction<CaptureAnalysisItem>>;
|
|
11
|
-
updateCaptureAnalysisItem: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').UpdateOnePayloadAction<CaptureAnalysisItem>>;
|
|
12
|
-
updateCaptureAnalysisItems: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').UpdateManyPayloadAction<CaptureAnalysisItem>>;
|
|
13
|
-
deleteCaptureAnalysisItem: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').DeleteOnePayloadAction<string>>;
|
|
14
|
-
deleteCaptureAnalysisItems: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisItemState, import('..').DeleteManyPayloadAction<string>>;
|
|
15
|
-
}, "captureAnalysisItems", "captureAnalysisItems", import('@reduxjs/toolkit').SliceSelectors<CaptureAnalysisItemState>>;
|
|
16
|
-
export declare const initializeCaptureAnalysisItems: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/initializeCaptureAnalysisItems">, addCaptureAnalysisItem: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/addCaptureAnalysisItem">, addCaptureAnalysisItems: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/addCaptureAnalysisItems">, setCaptureAnalysisItem: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/setCaptureAnalysisItem">, setCaptureAnalysisItems: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/setCaptureAnalysisItems">, updateCaptureAnalysisItem: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem, "captureAnalysisItems/updateCaptureAnalysisItem">, updateCaptureAnalysisItems: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysisItem[], "captureAnalysisItems/updateCaptureAnalysisItems">, deleteCaptureAnalysisItem: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureAnalysisItems/deleteCaptureAnalysisItem">, deleteCaptureAnalysisItems: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureAnalysisItems/deleteCaptureAnalysisItems">;
|
|
17
|
-
export declare const selectCaptureAnalysisItemMapping: (state: OvermapRootState) => Record<string, CaptureAnalysisItem>;
|
|
18
|
-
export declare const selectCaptureAnalysisItems: OvermapSelector<CaptureAnalysisItem[]>;
|
|
19
|
-
export declare const selectCaptureAnalysisItemById: OvermapSelectorWithArgs<CaptureAnalysisItem["uuid"], CaptureAnalysisItem | undefined>;
|
|
20
|
-
export declare const selectCaptureAnalysisItemsByIds: (uuids: string[]) => (state: any) => CaptureAnalysisItem[];
|
|
21
|
-
export declare const selectCaptureAnalysisItemsOfAnalysis: OvermapSelectorWithArgs<CaptureAnalysis["uuid"], CaptureAnalysisItem[]>;
|
|
22
|
-
export declare const captureAnalysisItemReducer: import('redux').Reducer<CaptureAnalysisItemState>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Capture, CaptureAnalysis } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
|
-
import { ModelState } from '../adapters';
|
|
4
|
-
export type CaptureAnalysisState = ModelState<CaptureAnalysis["uuid"], CaptureAnalysis>;
|
|
5
|
-
export declare const captureAnalysisSlice: import('@reduxjs/toolkit').Slice<CaptureAnalysisState, {
|
|
6
|
-
initializeCaptureAnalyses: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').InitializePayloadAction<CaptureAnalysis>>;
|
|
7
|
-
addCaptureAnalysis: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').AddOnePayloadAction<CaptureAnalysis>>;
|
|
8
|
-
addCaptureAnalyses: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').AddManyPayloadAction<CaptureAnalysis>>;
|
|
9
|
-
setCaptureAnalysis: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').SetOnePayloadAction<CaptureAnalysis>>;
|
|
10
|
-
setCaptureAnalyses: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').SetManyPayloadAction<CaptureAnalysis>>;
|
|
11
|
-
updateCaptureAnalysis: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').UpdateOnePayloadAction<CaptureAnalysis>>;
|
|
12
|
-
updateCaptureAnalyses: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').UpdateManyPayloadAction<CaptureAnalysis>>;
|
|
13
|
-
deleteCaptureAnalysis: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').DeleteOnePayloadAction<string>>;
|
|
14
|
-
deleteCaptureAnalyses: import('@reduxjs/toolkit').CaseReducer<CaptureAnalysisState, import('..').DeleteManyPayloadAction<string>>;
|
|
15
|
-
}, "captureAnalyses", "captureAnalyses", import('@reduxjs/toolkit').SliceSelectors<CaptureAnalysisState>>;
|
|
16
|
-
export declare const initializeCaptureAnalyses: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/initializeCaptureAnalyses">, addCaptureAnalysis: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/addCaptureAnalysis">, addCaptureAnalyses: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/addCaptureAnalyses">, setCaptureAnalysis: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/setCaptureAnalysis">, setCaptureAnalyses: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/setCaptureAnalyses">, updateCaptureAnalysis: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis, "captureAnalyses/updateCaptureAnalysis">, updateCaptureAnalyses: import('@reduxjs/toolkit').ActionCreatorWithPayload<CaptureAnalysis[], "captureAnalyses/updateCaptureAnalyses">, deleteCaptureAnalysis: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureAnalyses/deleteCaptureAnalysis">, deleteCaptureAnalyses: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureAnalyses/deleteCaptureAnalyses">;
|
|
17
|
-
export declare const selectCaptureAnalysisMapping: (state: OvermapRootState) => Record<string, CaptureAnalysis>;
|
|
18
|
-
export declare const selectCaptureAnalyses: OvermapSelector<CaptureAnalysis[]>;
|
|
19
|
-
export declare const selectCaptureAnalysisById: OvermapSelectorWithArgs<CaptureAnalysis["uuid"], CaptureAnalysis | undefined>;
|
|
20
|
-
export declare const selectCaptureAnalysesByIds: (uuids: string[]) => (state: any) => CaptureAnalysis[];
|
|
21
|
-
export declare const selectCaptureAnalysesOfCapture: OvermapSelectorWithArgs<Capture["uuid"], CaptureAnalysis[]>;
|
|
22
|
-
export declare const captureAnalysisReducer: import('redux').Reducer<CaptureAnalysisState>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Capture, CaptureSidecar, Stored } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
|
-
import { ModelState } from '../adapters';
|
|
4
|
-
export type CaptureSidecarState = ModelState<CaptureSidecar["uuid"], Stored<CaptureSidecar>>;
|
|
5
|
-
export declare const captureSidecarSlice: import('@reduxjs/toolkit').Slice<CaptureSidecarState, {
|
|
6
|
-
initializeCaptureSidecars: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').InitializePayloadAction<Stored<CaptureSidecar>>>;
|
|
7
|
-
addCaptureSidecar: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').AddOnePayloadAction<Stored<CaptureSidecar>>>;
|
|
8
|
-
addCaptureSidecars: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').AddManyPayloadAction<Stored<CaptureSidecar>>>;
|
|
9
|
-
setCaptureSidecar: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').SetOnePayloadAction<Stored<CaptureSidecar>>>;
|
|
10
|
-
setCaptureSidecars: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').SetManyPayloadAction<Stored<CaptureSidecar>>>;
|
|
11
|
-
updateCaptureSidecar: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').UpdateOnePayloadAction<Stored<CaptureSidecar>>>;
|
|
12
|
-
updateCaptureSidecars: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').UpdateManyPayloadAction<Stored<CaptureSidecar>>>;
|
|
13
|
-
deleteCaptureSidecar: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').DeleteOnePayloadAction<string>>;
|
|
14
|
-
deleteCaptureSidecars: import('@reduxjs/toolkit').CaseReducer<CaptureSidecarState, import('..').DeleteManyPayloadAction<string>>;
|
|
15
|
-
}, "captureSidecars", "captureSidecars", import('@reduxjs/toolkit').SliceSelectors<CaptureSidecarState>>;
|
|
16
|
-
export declare const initializeCaptureSidecars: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/initializeCaptureSidecars">, addCaptureSidecar: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/addCaptureSidecar">, addCaptureSidecars: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/addCaptureSidecars">, setCaptureSidecar: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/setCaptureSidecar">, setCaptureSidecars: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/setCaptureSidecars">, updateCaptureSidecar: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>, "captureSidecars/updateCaptureSidecar">, updateCaptureSidecars: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<CaptureSidecar>[], "captureSidecars/updateCaptureSidecars">, deleteCaptureSidecar: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captureSidecars/deleteCaptureSidecar">, deleteCaptureSidecars: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captureSidecars/deleteCaptureSidecars">;
|
|
17
|
-
export declare const selectCaptureSidecarMapping: (state: OvermapRootState) => Record<string, Stored<CaptureSidecar>>;
|
|
18
|
-
export declare const selectCaptureSidecars: OvermapSelector<Stored<CaptureSidecar>[]>;
|
|
19
|
-
export declare const selectCaptureSidecarById: OvermapSelectorWithArgs<CaptureSidecar["uuid"], Stored<CaptureSidecar> | undefined>;
|
|
20
|
-
export declare const selectCaptureSidecarsByIds: (uuids: string[]) => (state: any) => Stored<CaptureSidecar>[];
|
|
21
|
-
export declare const selectCaptureSidecarOfCapture: OvermapSelectorWithArgs<Capture["uuid"], Stored<CaptureSidecar> | undefined>;
|
|
22
|
-
export declare const captureSidecarReducer: import('redux').Reducer<CaptureSidecarState>;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Capture, Project, Stored } from '../../typings';
|
|
2
|
-
import { OvermapRootState, OvermapSelector, OvermapSelectorWithArgs } from '../typings';
|
|
3
|
-
import { ModelState } from '../adapters';
|
|
4
|
-
export type CaptureState = ModelState<Capture["uuid"], Stored<Capture>>;
|
|
5
|
-
export declare const captureSlice: import('@reduxjs/toolkit').Slice<CaptureState, {
|
|
6
|
-
initializeCaptures: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').InitializePayloadAction<Stored<Capture>>>;
|
|
7
|
-
addCapture: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').AddOnePayloadAction<Stored<Capture>>>;
|
|
8
|
-
addCaptures: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').AddManyPayloadAction<Stored<Capture>>>;
|
|
9
|
-
setCapture: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').SetOnePayloadAction<Stored<Capture>>>;
|
|
10
|
-
setCaptures: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').SetManyPayloadAction<Stored<Capture>>>;
|
|
11
|
-
updateCapture: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').UpdateOnePayloadAction<Stored<Capture>>>;
|
|
12
|
-
updateCaptures: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').UpdateManyPayloadAction<Stored<Capture>>>;
|
|
13
|
-
deleteCapture: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').DeleteOnePayloadAction<string>>;
|
|
14
|
-
deleteCaptures: import('@reduxjs/toolkit').CaseReducer<CaptureState, import('..').DeleteManyPayloadAction<string>>;
|
|
15
|
-
}, "captures", "captures", import('@reduxjs/toolkit').SliceSelectors<CaptureState>>;
|
|
16
|
-
export declare const initializeCaptures: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/initializeCaptures">, addCapture: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/addCapture">, addCaptures: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/addCaptures">, setCapture: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/setCapture">, setCaptures: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/setCaptures">, updateCapture: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>, "captures/updateCapture">, updateCaptures: import('@reduxjs/toolkit').ActionCreatorWithPayload<Stored<Capture>[], "captures/updateCaptures">, deleteCapture: import('@reduxjs/toolkit').ActionCreatorWithPayload<string, "captures/deleteCapture">, deleteCaptures: import('@reduxjs/toolkit').ActionCreatorWithPayload<string[], "captures/deleteCaptures">;
|
|
17
|
-
export declare const selectCaptureMapping: (state: OvermapRootState) => Record<string, Stored<Capture>>;
|
|
18
|
-
export declare const selectCaptures: OvermapSelector<Stored<Capture>[]>;
|
|
19
|
-
export declare const selectCaptureById: OvermapSelectorWithArgs<Capture["uuid"], Stored<Capture> | undefined>;
|
|
20
|
-
export declare const selectCapturesByIds: (uuids: string[]) => (state: any) => Stored<Capture>[];
|
|
21
|
-
export declare const selectCapturesOfProject: OvermapSelectorWithArgs<Project["uuid"], Stored<Capture>[]>;
|
|
22
|
-
export declare const captureReducer: import('redux').Reducer<CaptureState>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CreatedByModel, IndexedModel, RequiredFileModel, TimestampedModel, UUIDModel } from './base';
|
|
2
|
-
import { Project } from './projects';
|
|
3
|
-
export interface Capture extends UUIDModel, TimestampedModel, CreatedByModel, IndexedModel, RequiredFileModel {
|
|
4
|
-
project: Project["uuid"];
|
|
5
|
-
captured_at: string;
|
|
6
|
-
}
|
|
7
|
-
export interface CaptureSidecar extends UUIDModel, TimestampedModel, CreatedByModel, RequiredFileModel {
|
|
8
|
-
capture: Capture["uuid"];
|
|
9
|
-
}
|
|
10
|
-
export type CaptureAnalysisStatus = "queued" | "processing" | "completed" | "failed";
|
|
11
|
-
export interface CaptureAnalysis extends UUIDModel, TimestampedModel, CreatedByModel {
|
|
12
|
-
capture: Capture["uuid"];
|
|
13
|
-
status: CaptureAnalysisStatus;
|
|
14
|
-
celery_task_id: string;
|
|
15
|
-
model_name: string;
|
|
16
|
-
schema_version: number;
|
|
17
|
-
error_message: string;
|
|
18
|
-
started_at: string | null;
|
|
19
|
-
finished_at: string | null;
|
|
20
|
-
}
|
|
21
|
-
export interface CaptureAnalysisItem extends UUIDModel, TimestampedModel {
|
|
22
|
-
analysis: CaptureAnalysis["uuid"];
|
|
23
|
-
position: number;
|
|
24
|
-
start_timestamp_ms: number;
|
|
25
|
-
end_timestamp_ms: number;
|
|
26
|
-
title: string;
|
|
27
|
-
description: string;
|
|
28
|
-
confidence: number;
|
|
29
|
-
visual_evidence: string;
|
|
30
|
-
sensor_evidence: string | null;
|
|
31
|
-
}
|