@evercam/api 1.0.0-1b85d13c0 → 1.0.0-1bc49e878
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/README.md +1 -0
- package/dist/api/api/3dFirebaseApi.d.ts +49 -16
- package/dist/api/api/adminApi.d.ts +3 -6
- package/dist/api/api/aiApi.d.ts +60 -2
- package/dist/api/api/evercamApi.d.ts +7 -7
- package/dist/api/api/evercamLabsApi.d.ts +5 -5
- package/dist/api/api/ingestApi.d.ts +7 -1
- package/dist/api/types/360.d.ts +116 -4
- package/dist/api/types/aiConfigs.d.ts +154 -0
- package/dist/api/types/analytics.d.ts +4 -1
- package/dist/api/types/axios.d.ts +7 -4
- package/dist/api/types/bim.d.ts +8 -0
- package/dist/api/types/camera.d.ts +3 -1
- package/dist/api/types/comments.d.ts +2 -1
- package/dist/api/types/connector.d.ts +1 -0
- package/dist/api/types/detections.d.ts +3 -1
- package/dist/api/types/errors.d.ts +11 -0
- package/dist/api/types/gateReport.d.ts +1 -0
- package/dist/api/types/gateReportManagement.d.ts +175 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/ingest.d.ts +1 -0
- package/dist/api/types/kit.d.ts +2 -1
- package/dist/api/types/media.d.ts +8 -2
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/recording.d.ts +3 -8
- package/dist/api/types/roi.d.ts +2 -1
- package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
- package/dist/api/types/siteView.d.ts +0 -1
- package/dist/api/types/snapshots.d.ts +5 -0
- package/dist/api/types/user.d.ts +1 -0
- package/dist/api/utils.d.ts +0 -1
- package/dist/index.js +1035 -657
- 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 +16 -2
- package/dist/shared/types/customDataTableFilters.d.ts +10 -0
- package/dist/shared/types/index.d.ts +2 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/package.json +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
+
import type { AdminCamera, IngestUploadInitResponse } from "@evercam/api/types";
|
|
3
3
|
import type { TimelineChartType, TimelineEvent, TimelineEventsGroup } from "@evercam/ui";
|
|
4
4
|
import { TimelineDataProvider } from "@evercam/shared/components/timelinePlayer/providers";
|
|
5
5
|
import { SeriesOptionsType } from "highcharts";
|
|
@@ -7,6 +7,11 @@ export type SelectItem = {
|
|
|
7
7
|
text: string;
|
|
8
8
|
value: string | number;
|
|
9
9
|
};
|
|
10
|
+
export type RoiProjectGroup = {
|
|
11
|
+
exid: string;
|
|
12
|
+
name: string;
|
|
13
|
+
cameras: AdminCamera[];
|
|
14
|
+
};
|
|
10
15
|
export declare enum IframeMessageType {
|
|
11
16
|
LiveView = "liveView",
|
|
12
17
|
EditSnapshot = "editSnapshot",
|
|
@@ -36,7 +41,8 @@ export declare enum IframeMessageType {
|
|
|
36
41
|
FetchForgeToken = "FetchForgeToken",
|
|
37
42
|
ForgeTokenResponse = "ForgeTokenResponse",
|
|
38
43
|
ShowBimUploadChoice = "showBimUploadChoice",
|
|
39
|
-
ViewerLaunchFlags = "viewerLaunchFlags"
|
|
44
|
+
ViewerLaunchFlags = "viewerLaunchFlags",
|
|
45
|
+
CloseCameraMarkerPreview = "CloseCameraMarkerPreview"
|
|
40
46
|
}
|
|
41
47
|
export declare enum NavigationArrow {
|
|
42
48
|
Previous = "previous",
|
|
@@ -228,6 +234,7 @@ export type DrawingStats = {
|
|
|
228
234
|
};
|
|
229
235
|
export interface ScrollListener {
|
|
230
236
|
element: Element | Window;
|
|
237
|
+
event: "scroll" | "resize";
|
|
231
238
|
handler: () => void;
|
|
232
239
|
}
|
|
233
240
|
export interface LeaderLineInstance {
|
|
@@ -320,3 +327,10 @@ export type BimUploadFileResult = {
|
|
|
320
327
|
title: string;
|
|
321
328
|
fileExtension: string;
|
|
322
329
|
};
|
|
330
|
+
export type DatePreset = {
|
|
331
|
+
name: string;
|
|
332
|
+
resolveRange?: (ctx: {
|
|
333
|
+
minDate?: string;
|
|
334
|
+
maxDate: string;
|
|
335
|
+
}) => [string, string];
|
|
336
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum CustomDataTableFilterType {
|
|
2
|
+
Select = "SelectSearchFilter",
|
|
3
|
+
Text = "TextFieldSearchFilter"
|
|
4
|
+
}
|
|
5
|
+
export interface CustomDataTableFilterField<T = unknown> {
|
|
6
|
+
component: CustomDataTableFilterType;
|
|
7
|
+
attributes?: Record<string, unknown>;
|
|
8
|
+
customFilter?: (item: T, fieldName: string, search: unknown) => boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CustomDataTableFilterFields<T = unknown> = Record<string, CustomDataTableFilterField<T>>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type ObservationsTableHeader = {
|
|
2
|
+
isThumbnail?: boolean;
|
|
3
|
+
visible: boolean;
|
|
4
|
+
divider: boolean;
|
|
5
|
+
sortable: boolean;
|
|
6
|
+
text: string;
|
|
7
|
+
value: string;
|
|
8
|
+
class: string;
|
|
9
|
+
align: string;
|
|
10
|
+
};
|
|
11
|
+
export type ObservationsCountDay = {
|
|
12
|
+
day: string;
|
|
13
|
+
};
|
|
14
|
+
export type ObservationsTableOptionsUpdate = {
|
|
15
|
+
page: number;
|
|
16
|
+
sortBy: string[];
|
|
17
|
+
sortDesc: boolean[];
|
|
18
|
+
};
|
|
19
|
+
export type ObservationsEventsTableState = {
|
|
20
|
+
height: number | string;
|
|
21
|
+
};
|
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-1bc49e878",
|
|
4
4
|
"description": "Evercam API client",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
},
|
|
29
29
|
"readme": "README.md",
|
|
30
30
|
"scripts": {
|
|
31
|
+
"preinstall": "node ../shared/ci-scripts/check-bootstrap.js",
|
|
32
|
+
"bootstrap": "node ../shared/ci-scripts/bootstrap.js",
|
|
31
33
|
"clean": "rimraf dist",
|
|
32
34
|
"typecheck": "tsc --noEmit",
|
|
33
35
|
"build:types": "tsc --declaration --emitDeclarationOnly",
|