@evercam/api 1.0.0-003291add → 1.0.0-0088ae60c
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/api/api/3dFirebaseApi.d.ts +1 -6
- package/dist/api/api/evercamApi.d.ts +4 -1
- package/dist/api/types/analytics.d.ts +23 -11
- package/dist/api/types/auditLogs.d.ts +18 -0
- package/dist/api/types/bim.d.ts +17 -0
- package/dist/api/types/camera.d.ts +2 -2
- package/dist/api/types/comments.d.ts +8 -6
- package/dist/api/types/detections.d.ts +0 -9
- package/dist/api/types/ingest.d.ts +2 -2
- package/dist/api/types/planner.d.ts +2 -3
- package/dist/api/types/shared.d.ts +1 -0
- package/dist/api/types/siteAnalytics.d.ts +2 -2
- package/dist/api/types/snapshots.d.ts +8 -0
- package/dist/api/types/timelapse.d.ts +2 -6
- package/dist/index.js +516 -533
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +26 -5
- package/dist/shared/types/imagePlayer.d.ts +8 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag } from "@evercam/shared/types";
|
|
1
|
+
import { type _360Scene, type Media, type DroneModel, type MobileCaptureSnapshot, type TimelineDateInterval, type TimelinePrecision, type Comment, type ProcoreUserProject, type ProcoreProjectAlbum, type ProcoreObservationType, type AconexUserProject, type AutodeskUserHub, type AutodeskProject, type AutodeskFolder, type ProcoreType, TaskStatus, Tag, TuplePoint2D } from "@evercam/shared/types";
|
|
2
|
+
import type { IngestUploadInitResponse } from "@evercam/api/types";
|
|
2
3
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
3
4
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
4
5
|
import { SeriesOptionsType } from "highcharts";
|
|
@@ -33,7 +34,9 @@ export declare enum IframeMessageType {
|
|
|
33
34
|
Load360Gallery = "load360Gallery",
|
|
34
35
|
Upload360 = "upload360",
|
|
35
36
|
FetchForgeToken = "FetchForgeToken",
|
|
36
|
-
ForgeTokenResponse = "ForgeTokenResponse"
|
|
37
|
+
ForgeTokenResponse = "ForgeTokenResponse",
|
|
38
|
+
ShowBimUploadChoice = "showBimUploadChoice",
|
|
39
|
+
ViewerLaunchFlags = "viewerLaunchFlags"
|
|
37
40
|
}
|
|
38
41
|
export declare enum NavigationArrow {
|
|
39
42
|
Previous = "previous",
|
|
@@ -44,7 +47,6 @@ export declare enum WatermarkedImageDownloadOrigin {
|
|
|
44
47
|
Bim = "BIM",
|
|
45
48
|
Snapshot = "snapshot",
|
|
46
49
|
The360 = "360",
|
|
47
|
-
The360Gallery = "360 Gallery",
|
|
48
50
|
Planner = "Planner"
|
|
49
51
|
}
|
|
50
52
|
export declare enum PlayerMode {
|
|
@@ -151,8 +153,8 @@ export type LeaderLineOptions = {
|
|
|
151
153
|
startPlugSize?: number;
|
|
152
154
|
endPlugSize?: number;
|
|
153
155
|
path?: LeaderLinesPathType;
|
|
154
|
-
startSocketGravity?:
|
|
155
|
-
endSocketGravity?:
|
|
156
|
+
startSocketGravity?: TuplePoint2D;
|
|
157
|
+
endSocketGravity?: TuplePoint2D;
|
|
156
158
|
dash?: {
|
|
157
159
|
animation: boolean | {
|
|
158
160
|
duration: number;
|
|
@@ -213,6 +215,17 @@ export type FormSchemaField = {
|
|
|
213
215
|
columns?: number;
|
|
214
216
|
};
|
|
215
217
|
export type FormSchema = Record<string, FormSchemaField>;
|
|
218
|
+
export type DrawingStats = {
|
|
219
|
+
overlay: boolean;
|
|
220
|
+
geolocated: boolean;
|
|
221
|
+
isCalibrated: boolean;
|
|
222
|
+
walks: number;
|
|
223
|
+
markers: number;
|
|
224
|
+
minimodel: number;
|
|
225
|
+
bim: number;
|
|
226
|
+
comments: number;
|
|
227
|
+
lastCapturedDate: string | null;
|
|
228
|
+
};
|
|
216
229
|
export interface ScrollListener {
|
|
217
230
|
element: Element | Window;
|
|
218
231
|
handler: () => void;
|
|
@@ -299,3 +312,11 @@ export type TableHeaderParams<TItem = unknown> = {
|
|
|
299
312
|
toStringFn?: (item: TItem, key: string) => any;
|
|
300
313
|
sort?: (a: unknown, b: unknown) => number;
|
|
301
314
|
};
|
|
315
|
+
export type BimUploadObject = IngestUploadInitResponse & {
|
|
316
|
+
projectName: string;
|
|
317
|
+
};
|
|
318
|
+
export type BimUploadFileResult = {
|
|
319
|
+
url: string;
|
|
320
|
+
title: string;
|
|
321
|
+
fileExtension: string;
|
|
322
|
+
};
|
|
@@ -13,7 +13,7 @@ export type EventMarker<T extends {}> = T & {
|
|
|
13
13
|
label: string;
|
|
14
14
|
thumbnailUrl: string;
|
|
15
15
|
isActive: boolean;
|
|
16
|
-
|
|
16
|
+
markerType?: RecordingsMarker;
|
|
17
17
|
};
|
|
18
18
|
export type SnapshotEvent<T extends {}> = T & {
|
|
19
19
|
eventTime: Timestamp;
|
|
@@ -22,6 +22,13 @@ export type MatchedSnapshotEvent<T extends {}> = SnapshotEvent<T> & {
|
|
|
22
22
|
frameIndex: number;
|
|
23
23
|
snapshotTimestamp: Timestamp;
|
|
24
24
|
};
|
|
25
|
+
export declare enum RecordingsMarker {
|
|
26
|
+
Comment = "comment",
|
|
27
|
+
GateReport = "gate-report",
|
|
28
|
+
Anpr = "anpr",
|
|
29
|
+
Detection = "detection",
|
|
30
|
+
SmartSearch = "smart-search"
|
|
31
|
+
}
|
|
25
32
|
export declare enum ImageQuality {
|
|
26
33
|
ThreeSixty = "360",
|
|
27
34
|
FourEighty = "480",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evercam/api",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-0088ae60c",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"publish-api": "cd ../.. && yarn publish-api"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/node": "^25.6.
|
|
39
|
+
"@types/node": "^25.6.2",
|
|
40
40
|
"vite": "latest",
|
|
41
41
|
"vite-plugin-commonjs": "^0.10.3",
|
|
42
42
|
"vite-plugin-dts": "^4.5.4"
|