gps-plus-slam-app-framework 1.0.0 → 1.0.7
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/LICENSE +4 -4
- package/README.md +249 -108
- package/dist/accuracy-circles-CsxE_7x1.d.ts +43 -0
- package/dist/{app-selectors-DyMzxCEC.d.ts → app-selectors-BeU0_ab8.d.ts} +14 -15
- package/dist/ar/camera-blit-capture.d.ts +1 -1
- package/dist/ar/capture-failure-tracker.d.ts +1 -1
- package/dist/ar/chromium-camera-access-workaround.d.ts +1 -1
- package/dist/ar/depth-sampler.d.ts +2 -2
- package/dist/ar/depth-sampler.js +1 -1
- package/dist/ar/frame-loop.d.ts +2 -0
- package/dist/ar/frame-loop.js +40 -0
- package/dist/ar/image-capture.d.ts +1 -1
- package/dist/ar/image-capture.js +1 -1
- package/dist/ar/index.d.ts +12 -12
- package/dist/ar/index.js +3 -3
- package/dist/ar/replay-scene.d.ts +1 -1
- package/dist/ar/scene-node-names.d.ts +1 -1
- package/dist/ar/webxr-session.d.ts +4 -4
- package/dist/ar/webxr-session.js +151 -56
- package/dist/ar/xr-camera-texture.d.ts +1 -1
- package/dist/ar/xr-error-handler.d.ts +1 -1
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +2 -0
- package/dist/create-slam-app-store-CNsZ3rcX.d.ts +371 -0
- package/dist/{depth-sampler-BNCtnEoP.d.ts → depth-sampler-xg8vna6c.d.ts} +1 -1
- package/dist/file-system-DTApEv_Q.d.ts +114 -0
- package/dist/frame-loop-QJIxLin0.d.ts +42 -0
- package/dist/frustum-visibility-BHnFrSKQ.d.ts +58 -0
- package/dist/{fused-path-DtqCSqJh.d.ts → fused-path-CB4DwWOG.d.ts} +1 -1
- package/dist/geo/h3-proximity.d.ts +2 -0
- package/dist/{ref-points/h3-ref-point.js → geo/h3-proximity.js} +16 -12
- package/dist/geo/index.d.ts +2 -0
- package/dist/geo/index.js +2 -0
- package/dist/{geo-types-Xx-LVcnw.d.ts → geo-types-CTuF23gG.d.ts} +16 -1
- package/dist/{gps-Ddzr2KlX.d.ts → gps-DXoQb9Kf.d.ts} +1 -1
- package/dist/gps-anchor-CnWY61XK.d.ts +48 -0
- package/dist/gps-anchor-DjC_3MoT.js +257 -0
- package/dist/gps-ar-pose-sampler-DsM1Kb2N.d.ts +43 -0
- package/dist/{recording-coordinator-DzflP07_.d.ts → gps-event-coordinator-DBx9I1YX.d.ts} +7 -6
- package/dist/gps-event-markers-BGr-iLvi.d.ts +103 -0
- package/dist/{h3-ref-point-CFhayNSZ.d.ts → h3-proximity-BhfgNbdW.d.ts} +16 -12
- package/dist/{image-capture-2pKjYUS6.d.ts → image-capture-DZLxHDN9.d.ts} +1 -1
- package/dist/index-gzWJMVpo.d.ts +2 -0
- package/dist/index-pOjUCKEP.d.ts +24 -0
- package/dist/index.d.ts +59 -56
- package/dist/index.js +22 -21
- package/dist/{leaflet-map-overlay-CvfQXTye.d.ts → leaflet-map-overlay-Cew7XAoO.d.ts} +32 -17
- package/dist/licensing/index.d.ts +1 -1
- package/dist/licensing/index.js +1 -1
- package/dist/{logger-B81iwxx0.d.ts → logger-C9vugiQb.d.ts} +7 -1
- package/dist/map-data-sih4g64v.d.ts +49 -0
- package/dist/map-overlay-draw-B3R1c9Xp.d.ts +42 -0
- package/dist/{null-storage-backend-CsWvQwN8.d.ts → null-storage-backend-BKOS7JpL.d.ts} +4 -2
- package/dist/{opfs-storage-ChOzF_Wp.d.ts → opfs-storage-DOPkzgeT.d.ts} +54 -51
- package/dist/opfs-storage-backend-Cj_7PWoq.d.ts +13 -0
- package/dist/{permission-checker-jO2ziCWC.d.ts → permission-checker-DPJl_RU6.d.ts} +41 -1
- package/dist/persistence-middleware-BkHIqvaA.d.ts +55 -0
- package/dist/{recording-replayer-oOzPITrd.d.ts → recording-replayer-CmCIIZ02.d.ts} +2 -2
- package/dist/recording-slice-d6OtCrza.d.ts +28 -0
- package/dist/{replay-engine-DuX316ae.d.ts → replay-engine-BGBRQyXs.d.ts} +4 -1
- package/dist/{replay-scene-DtUm6bsr.d.ts → replay-scene-DpAGcAKY.d.ts} +3 -3
- package/dist/sensors/gps-error-handler.d.ts +1 -1
- package/dist/sensors/gps.d.ts +1 -1
- package/dist/sensors/gps.js +2 -2
- package/dist/sensors/index.d.ts +3 -3
- package/dist/sensors/index.js +1 -1
- package/dist/sensors/permission-checker.d.ts +2 -2
- package/dist/sensors/permission-checker.js +79 -1
- package/dist/state/app-selectors.d.ts +2 -2
- package/dist/state/app-selectors.js +33 -3
- package/dist/state/combined-root-state.d.ts +2 -0
- package/dist/state/combined-root-state.js +1 -0
- package/dist/state/create-slam-app-store.d.ts +2 -0
- package/dist/state/create-slam-app-store.js +75 -0
- package/dist/state/gps-ar-pose-sampler.d.ts +4 -0
- package/dist/state/gps-ar-pose-sampler.js +19 -0
- package/dist/state/{recording-coordinator.d.ts → gps-event-coordinator.d.ts} +1 -1
- package/dist/state/{recording-coordinator.js → gps-event-coordinator.js} +3 -4
- package/dist/state/index.d.ts +17 -17
- package/dist/state/index.js +10 -8
- package/dist/state/persistence-middleware.d.ts +2 -2
- package/dist/state/persistence-middleware.js +39 -11
- package/dist/state/recording-options.d.ts +1 -1
- package/dist/state/recording-replayer.d.ts +3 -2
- package/dist/state/recording-replayer.js +2 -2
- package/dist/state/recording-slice.d.ts +2 -0
- package/dist/state/{recorder-slice.js → recording-slice.js} +7 -15
- package/dist/state/replay-engine.d.ts +1 -1
- package/dist/state/replay-engine.js +3 -3
- package/dist/state/store-subscribers.d.ts +2 -2
- package/dist/state/store-subscribers.js +38 -20
- package/dist/state/subscribe-to-selector.d.ts +1 -1
- package/dist/state/tracking-quality.d.ts +2 -0
- package/dist/state/tracking-quality.js +723 -0
- package/dist/state/tracking-slice.d.ts +2 -0
- package/dist/state/tracking-slice.js +147 -0
- package/dist/storage/file-system-utils.d.ts +1 -1
- package/dist/storage/file-system.d.ts +2 -2
- package/dist/storage/file-system.js +154 -94
- package/dist/storage/index.d.ts +9 -11
- package/dist/storage/index.js +5 -7
- package/dist/storage/null-storage-backend.d.ts +1 -1
- package/dist/storage/null-storage-backend.js +7 -0
- package/dist/storage/opfs-storage-backend.d.ts +1 -1
- package/dist/storage/opfs-storage-backend.js +7 -1
- package/dist/storage/opfs-storage.d.ts +2 -2
- package/dist/storage/opfs-storage.js +69 -85
- package/dist/storage/storage-backend.d.ts +2 -2
- package/dist/storage/zip-export.d.ts +2 -2
- package/dist/storage/zip-export.js +55 -62
- package/dist/storage/zip-reader.d.ts +2 -2
- package/dist/storage/zip-reader.js +32 -5
- package/dist/storage-backend-CT0Il_AB.d.ts +28 -0
- package/dist/{store-subscribers-CuoIzB5T.d.ts → store-subscribers-Dce_CoJF.d.ts} +31 -7
- package/dist/{subscribe-to-selector-UTZ0KkAc.d.ts → subscribe-to-selector-DIHm3BRZ.d.ts} +1 -1
- package/dist/test-utils/browser-mocks.d.ts +1 -1
- package/dist/test-utils/zip-round-trip-helpers.d.ts +7 -1
- package/dist/test-utils/zip-round-trip-helpers.js +6 -5
- package/dist/tracking-slice-utCNND8t.d.ts +86 -0
- package/dist/types/ar-types.d.ts +1 -1
- package/dist/types/geo-types.d.ts +2 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/utils/concurrency.d.ts +1 -1
- package/dist/utils/failure-tracker.d.ts +1 -1
- package/dist/utils/format-file-size.d.ts +1 -1
- package/dist/utils/fused-path.d.ts +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/list-formatter.d.ts +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.js +68 -8
- package/dist/visualization/accuracy-circles.d.ts +2 -0
- package/dist/visualization/accuracy-circles.js +57 -0
- package/dist/visualization/alignment-lerper.d.ts +1 -1
- package/dist/visualization/camera-follower.d.ts +1 -1
- package/dist/visualization/css3d-renderer-manager.d.ts +1 -1
- package/dist/visualization/frustum-visibility.d.ts +2 -0
- package/dist/visualization/frustum-visibility.js +139 -0
- package/dist/visualization/gps-anchor.d.ts +2 -0
- package/dist/visualization/gps-anchor.js +2 -0
- package/dist/visualization/gps-compass-cubes.d.ts +1 -1
- package/dist/visualization/gps-event-markers.d.ts +2 -2
- package/dist/visualization/gps-event-markers.js +69 -2
- package/dist/visualization/index.d.ts +17 -12
- package/dist/visualization/index.js +6 -2
- package/dist/visualization/leaflet-map-overlay.d.ts +1 -1
- package/dist/visualization/leaflet-map-overlay.js +56 -98
- package/dist/visualization/lerp-utils.d.ts +1 -1
- package/dist/visualization/map-data.d.ts +2 -0
- package/dist/visualization/map-data.js +33 -0
- package/dist/visualization/map-overlay-draw.d.ts +2 -0
- package/dist/visualization/map-overlay-draw.js +107 -0
- package/dist/visualization/map-overlay.d.ts +1 -1
- package/dist/visualization/three-dispose.d.ts +1 -1
- package/dist/visualization/vis-colors.d.ts +1 -1
- package/dist/{webxr-session-COlSrXdL.d.ts → webxr-session-DB5cIZnN.d.ts} +53 -12
- package/dist/{zip-export-Rtpi75JJ.d.ts → zip-export-QO4iLIi7.d.ts} +58 -7
- package/dist/{zip-reader-D7pkpX8K.d.ts → zip-reader-D1105idz.d.ts} +38 -1
- package/package.json +29 -18
- package/dist/ar/tracking-state.d.ts +0 -2
- package/dist/ar/tracking-state.js +0 -164
- package/dist/community-license-key-ChZLCJyO.d.ts +0 -21
- package/dist/file-system-BsQgYCU3.d.ts +0 -128
- package/dist/gps-event-markers-DpEy2qRd.d.ts +0 -67
- package/dist/licensing/community-license-key.d.ts +0 -2
- package/dist/licensing/community-license-key.js +0 -21
- package/dist/opfs-storage-backend-CVcmfJHN.d.ts +0 -11
- package/dist/persistence-middleware-DrptY02i.d.ts +0 -31
- package/dist/recorder-slice-fcwAXrsh.d.ts +0 -35
- package/dist/ref-point-importer-B_wn5ABk.d.ts +0 -62
- package/dist/ref-point-loader-Pt1smgHS.d.ts +0 -117
- package/dist/ref-points/h3-ref-point.d.ts +0 -2
- package/dist/ref-points/index.d.ts +0 -2
- package/dist/ref-points/index.js +0 -2
- package/dist/ref-points-slice-tC-Wd6XJ.d.ts +0 -48
- package/dist/reference-points-CFWy8_wj.d.ts +0 -68
- package/dist/routing-slice-BlHTM8eh.d.ts +0 -23
- package/dist/state/recorder-slice.d.ts +0 -2
- package/dist/state/ref-points-slice.d.ts +0 -2
- package/dist/state/ref-points-slice.js +0 -44
- package/dist/state/routing-slice.d.ts +0 -2
- package/dist/state/routing-slice.js +0 -13
- package/dist/state/store.d.ts +0 -9
- package/dist/state/store.js +0 -71
- package/dist/storage/ref-point-importer.d.ts +0 -2
- package/dist/storage/ref-point-importer.js +0 -163
- package/dist/storage/ref-point-loader.d.ts +0 -2
- package/dist/storage/ref-point-loader.js +0 -248
- package/dist/storage/ref-point-recovery.d.ts +0 -28
- package/dist/storage/ref-point-recovery.js +0 -159
- package/dist/storage-backend-BcEItnFr.d.ts +0 -20
- package/dist/store-C7PKOj8S.d.ts +0 -96
- package/dist/tracking-state-B9QfuZCg.d.ts +0 -101
- package/dist/visualization/reference-points.d.ts +0 -2
- package/dist/visualization/reference-points.js +0 -160
- /package/dist/{alignment-lerper-D9BeDwZX.d.ts → alignment-lerper-L1RbWHQ4.d.ts} +0 -0
- /package/dist/{ar-types-B-ORgk6Z.d.ts → ar-types-Ck8LEq8k.d.ts} +0 -0
- /package/dist/{camera-blit-capture-DHuyrrxr.d.ts → camera-blit-capture-C1V9I1Z6.d.ts} +0 -0
- /package/dist/{camera-follower-BMqPddxx.d.ts → camera-follower-1k8mnw5J.d.ts} +0 -0
- /package/dist/{capture-failure-tracker-2Q6oI2uQ.d.ts → capture-failure-tracker-JKb1ST8E.d.ts} +0 -0
- /package/dist/{chromium-camera-access-workaround-CU5zSKNr.d.ts → chromium-camera-access-workaround-NvChXsi8.d.ts} +0 -0
- /package/dist/{concurrency-p6gB30fT.d.ts → concurrency-CMw8pSaG.d.ts} +0 -0
- /package/dist/{css3d-renderer-manager-rgLMVAvd.d.ts → css3d-renderer-manager-CkjCb2HW.d.ts} +0 -0
- /package/dist/{failure-tracker-1sQ_Cgyw.d.ts → failure-tracker-DnHXOIRa.d.ts} +0 -0
- /package/dist/{file-system-utils-5cWO8Xyv.d.ts → file-system-utils-CtKiiw27.d.ts} +0 -0
- /package/dist/{format-file-size-onGq0k1Q.d.ts → format-file-size-BTS5H62-.d.ts} +0 -0
- /package/dist/{gps-compass-cubes-C-6JEnpR.d.ts → gps-compass-cubes-CsLtFv4B.d.ts} +0 -0
- /package/dist/{gps-error-handler-VPuNOuf8.d.ts → gps-error-handler-Dg3ziRVY.d.ts} +0 -0
- /package/dist/{lerp-utils-87NWjUOD.d.ts → lerp-utils-B8MM8zCR.d.ts} +0 -0
- /package/dist/{list-formatter-DKQQVLcl.d.ts → list-formatter-CNqi-E2j.d.ts} +0 -0
- /package/dist/{map-overlay-DuiZuCTx.d.ts → map-overlay-DAmreyA3.d.ts} +0 -0
- /package/dist/{recording-options-BYUFX8iU.d.ts → recording-options-Dq6IsKAv.d.ts} +0 -0
- /package/dist/{scene-node-names-DPsaE2z3.d.ts → scene-node-names-6LBjPmwz.d.ts} +0 -0
- /package/dist/{three-dispose-CCBHjE_a.d.ts → three-dispose-C2drkp6f.d.ts} +0 -0
- /package/dist/{vis-colors-Qi2vlRGt.d.ts → vis-colors-CHQhjal3.d.ts} +0 -0
- /package/dist/{xr-camera-texture-BbukNE79.d.ts → xr-camera-texture-BU5YvKAM.d.ts} +0 -0
- /package/dist/{xr-error-handler-DTHfmvrl.d.ts → xr-error-handler-CDY5QxGb.d.ts} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
import { i as computeCaptureSize, n as CameraBlitCaptureConfig, r as DEFAULT_BLIT_CONFIG, t as CameraBlitCapture } from "./camera-blit-capture-
|
|
2
|
-
import { a as createCaptureFailureTracker, i as DEFAULT_CAPTURE_TRACKER_CONFIG, n as CaptureFailureTracker, r as CaptureFailureTrackerConfig, t as CAPTURE_FAILURE_WARNING } from "./capture-failure-tracker-
|
|
3
|
-
import { n as applyChromiumProjectionLayerWorkaround, t as ChromiumProjectionLayerWorkaroundResult } from "./chromium-camera-access-workaround-
|
|
4
|
-
import { a as WebXRQuaternion, i as DepthSample, n as ArPoseTuples, o as WebXRVec3, r as DepthPoint, t as ARPose } from "./ar-types-
|
|
5
|
-
import { i as DepthSamplerConfig, n as DepthSampler, r as DepthSamplerCallbacks, t as DepthInfo } from "./depth-sampler-
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { i as
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { a as
|
|
19
|
-
import { a as
|
|
20
|
-
import { a as
|
|
21
|
-
import { a as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import { a as
|
|
31
|
-
import { n as
|
|
32
|
-
import { a as
|
|
33
|
-
import { n as
|
|
34
|
-
import { a as
|
|
35
|
-
import {
|
|
36
|
-
import { a as
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { t as
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import { n as
|
|
46
|
-
import {
|
|
47
|
-
import { i as
|
|
48
|
-
import {
|
|
49
|
-
import { a as
|
|
50
|
-
import { n as
|
|
51
|
-
import { a as
|
|
52
|
-
import { n as
|
|
53
|
-
import { n as
|
|
54
|
-
import { t as
|
|
55
|
-
import { t as
|
|
56
|
-
|
|
1
|
+
import { i as computeCaptureSize, n as CameraBlitCaptureConfig, r as DEFAULT_BLIT_CONFIG, t as CameraBlitCapture } from "./camera-blit-capture-C1V9I1Z6.js";
|
|
2
|
+
import { a as createCaptureFailureTracker, i as DEFAULT_CAPTURE_TRACKER_CONFIG, n as CaptureFailureTracker, r as CaptureFailureTrackerConfig, t as CAPTURE_FAILURE_WARNING } from "./capture-failure-tracker-JKb1ST8E.js";
|
|
3
|
+
import { n as applyChromiumProjectionLayerWorkaround, t as ChromiumProjectionLayerWorkaroundResult } from "./chromium-camera-access-workaround-NvChXsi8.js";
|
|
4
|
+
import { a as WebXRQuaternion, i as DepthSample, n as ArPoseTuples, o as WebXRVec3, r as DepthPoint, t as ARPose } from "./ar-types-Ck8LEq8k.js";
|
|
5
|
+
import { i as DepthSamplerConfig, n as DepthSampler, r as DepthSamplerCallbacks, t as DepthInfo } from "./depth-sampler-xg8vna6c.js";
|
|
6
|
+
import { r as registerFrameUpdate, t as FrameUpdate } from "./frame-loop-QJIxLin0.js";
|
|
7
|
+
import { a as ImageCaptureManager, i as ImageCaptureConfig, n as DEFAULT_CAPTURE_CONFIG, o as MIN_VALID_IMAGE_BYTES, r as ImageCaptureCallbacks, t as CapturedImage } from "./image-capture-DZLxHDN9.js";
|
|
8
|
+
import { n as createCameraFollower, t as CameraFollower } from "./camera-follower-1k8mnw5J.js";
|
|
9
|
+
import { n as createAlignmentLerper, t as AlignmentLerper } from "./alignment-lerper-L1RbWHQ4.js";
|
|
10
|
+
import { n as createCss3dRendererManager, t as Css3dRendererManager } from "./css3d-renderer-manager-CkjCb2HW.js";
|
|
11
|
+
import { a as getCameraFollower, c as getReplayState, d as updateOrbitTarget, i as getAlignmentLerper, l as initReplayScene, n as ReplaySceneState, o as getCameraMode, r as disposeReplayScene, t as CameraMode, u as toggleCameraMode } from "./replay-scene-DpAGcAKY.js";
|
|
12
|
+
import { t as SCENE_NODE } from "./scene-node-names-6LBjPmwz.js";
|
|
13
|
+
import { a as TrackingSliceState, c as poseLost, d as selectLastRestartedPayload, f as selectLastSensorOrientation, g as trackingReducer, h as selectTrackingPhase, i as TrackingPhase, l as poseReceived, m as selectLostFrameCount, n as PoseReceivedPayload, o as clearLastRestartedPayload, p as selectLastValidPose, s as originReset, u as resetTracking } from "./tracking-slice-utCNND8t.js";
|
|
14
|
+
import { _ as validateRecordingOptions, a as IMAGE_CONSTRAINTS, c as RecordingOptionsInput, d as loadRecordingOptions, f as resetRecordingOptions, g as validateImageOptions, h as validateDepthOptions, i as DepthCaptureOptions, l as STORAGE_KEY, n as DEFAULT_RECORDING_OPTIONS, o as ImageCaptureOptions, p as saveRecordingOptions, r as DEPTH_CONSTRAINTS, u as cloneRecordingOptions } from "./recording-options-Dq6IsKAv.js";
|
|
15
|
+
import { i as acquireCameraTexture, n as RendererLike, r as XRCameraLike, t as CameraTextureResult } from "./xr-camera-texture-BU5YvKAM.js";
|
|
16
|
+
import { A as setTrackingCallbacks, D as setFrameCallback, E as setDepthCaptureCallback, F as startDepthCapture, I as startImageCapture, L as stopDepthCapture, N as setTrackingStore, O as setImageCaptureCallback, R as stopImageCapture, _ as initAR, a as endARSession, f as getDepthSampleCount, j as setTrackingLostCallback, m as getLiveCss3dManager, p as getImageCaptureFrameCount } from "./webxr-session-DB5cIZnN.js";
|
|
17
|
+
import { n as XR_ERROR_MESSAGE_UNKNOWN, r as getXrErrorMessage, t as XR_ERROR_MESSAGES } from "./xr-error-handler-CDY5QxGb.js";
|
|
18
|
+
import { a as gpsToH3, i as findNearbyGeoAnchor, n as KnownGeoAnchor, o as h3CellsMatch, r as approxDistanceMetres, s as isH3Index, t as H3_RESOLUTION } from "./h3-proximity-BhfgNbdW.js";
|
|
19
|
+
import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "./gps-DXoQb9Kf.js";
|
|
20
|
+
import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "./gps-error-handler-Dg3ziRVY.js";
|
|
21
|
+
import { a as checkCameraPermission, c as checkOrientationPermission, d as requestCameraPermission, f as requestGeolocationPermission, g as setFileSystemState, h as resetFileSystemState, i as checkAllPermissions, l as checkWebXRSupport, m as requestWebXRWithDepthPermission, n as PermissionStatus, o as checkFileSystemPermission, p as requestOrientationPermission$1, s as checkGeolocationPermission, t as PermissionCheckResult, u as requestAllPermissions } from "./permission-checker-DPJl_RU6.js";
|
|
22
|
+
import { a as createLogger, c as setGlobalLogLevel, i as clearLogBuffer, l as subscribeToLogs, n as LogLevel, o as getGlobalLogLevel, r as Logger, s as getLogBuffer, t as LogEntry } from "./logger-C9vugiQb.js";
|
|
23
|
+
import { n as RawGpsSample, r as RefPointMarker, t as GpsCoord } from "./geo-types-CTuF23gG.js";
|
|
24
|
+
import { n as computeFusedPath, r as fusedGpsFromOdom, t as FusedPathInput } from "./fused-path-CB4DwWOG.js";
|
|
25
|
+
import { n as FailureTrackerConfig, r as createFailureTracker, t as FailureTracker } from "./failure-tracker-DnHXOIRa.js";
|
|
26
|
+
import { t as mapWithConcurrencyLimit } from "./concurrency-CMw8pSaG.js";
|
|
27
|
+
import { t as formatFileSize } from "./format-file-size-BTS5H62-.js";
|
|
28
|
+
import { t as listFormatter } from "./list-formatter-CNqi-E2j.js";
|
|
29
|
+
import { a as recordWriteFailure, i as recordDepthSample, o as recordingReducer, r as endSession, s as startSession, t as RecordingState } from "./recording-slice-d6OtCrza.js";
|
|
30
|
+
import { a as getAppRootHandle, c as initOpfsStorage, d as resetSessionHandles, i as createSession, l as listSessions, o as getSessionHandle, r as checkStorageQuota, s as getSessionsRootHandle, u as resetOpfsStorage } from "./opfs-storage-DOPkzgeT.js";
|
|
31
|
+
import { n as StorageBackend, t as CreateSessionResult } from "./storage-backend-CT0Il_AB.js";
|
|
32
|
+
import { A as resetTrackingQuality, C as computeResidualConsensus, D as firstAgreementReached, F as snapshotsTrimmed, I as trackingQualityReducer, M as selectRecentAlignments, N as selectTrackingQuality, O as matrixDelta, P as snapshotPushed, S as computeGpsVsFusedDivergence, T as createTrackingQualityListenerMiddleware, _ as TrackingQualityState, a as SlamAppStoreOptions, b as computeCoverage, d as DEFAULT_TRACKING_QUALITY_OPTIONS, g as TrackingQualitySliceState, h as TrackingQualityReport, i as SlamAppStore, j as selectFirstAgreementObservationIndex, k as reportUpdated, m as TrackingQualityOptions, n as SlamAppMiddleware, o as createSlamAppStore, r as SlamAppRootState, s as AlignmentSnapshot, t as SlamAppCombinedState, v as computeCompassAgreement, w as computeTrackingQualityReport, x as computeGpsAccuracy, y as computeConvergence } from "./create-slam-app-store-CNsZ3rcX.js";
|
|
33
|
+
import { a as eulerToQuaternion, c as getLastDeviceOrientation, i as createGpsPositionHandler, l as resetCoordinatorState, n as buildRawGpsPoint, o as extractOdomPosition, r as buildRecordGpsEventPayload, s as extractOdomRotation, t as RecordingCoordinatorConfig, u as updateDeviceOrientation } from "./gps-event-coordinator-DBx9I1YX.js";
|
|
34
|
+
import { a as ZipActionEntry, d as loadSessionMetadataFromBlob, f as readZipEntries, i as RecordedAction, l as loadGpsPathFromBlob, n as GpsPathCoord, r as MAX_ACTION_FILE_SIZE, s as loadActionsFromZip } from "./zip-reader-D1105idz.js";
|
|
35
|
+
import { n as replayRecording } from "./recording-replayer-CmCIIZ02.js";
|
|
36
|
+
import { a as ReplayAction, c as computeInterActionDelay, i as ProgressCallback, l as extractActionTimestamp, n as DEFAULT_MAX_DELAY_MS, o as ReplayEngine, r as ErrorCallback, s as ReplayState, t as CompleteCallback } from "./replay-engine-BGBRQyXs.js";
|
|
37
|
+
import { n as MapDataInput, r as buildMapData, t as MapData } from "./map-data-sih4g64v.js";
|
|
38
|
+
import { t as SubscribableStore } from "./subscribe-to-selector-DIHm3BRZ.js";
|
|
39
|
+
import { n as wireStoreSubscribers, t as StoreSubscriberDeps } from "./store-subscribers-Dce_CoJF.js";
|
|
40
|
+
import { add2dImage, calcRelativeCoordsInMeters, recordGpsEvent, setZeroPos } from "./state/index.js";
|
|
41
|
+
import { t as NullStorageBackend } from "./null-storage-backend-BKOS7JpL.js";
|
|
42
|
+
import { t as OpfsStorageBackend } from "./opfs-storage-backend-Cj_7PWoq.js";
|
|
43
|
+
import { c as resetForNewSession, d as startSession$1, f as verifyWriteAccess, l as resetStorageState, m as writeFrame, n as WriteAccessResult, o as initStorage, p as writeAction } from "./file-system-DTApEv_Q.js";
|
|
44
|
+
import { n as formatFrameFilename, r as formatTimestamp, t as formatActionFilename } from "./file-system-utils-CtKiiw27.js";
|
|
45
|
+
import { a as downloadZip, c as syncToExternalZip, i as ZipExportResult, n as ZipContributorAddFile, o as exportAndDownloadSession, r as ZipExportContributor, s as exportSessionAsZip, t as ExportSessionAsZipOptions } from "./zip-export-QO4iLIi7.js";
|
|
46
|
+
import { i as createGpsCompassCubes, n as COMPASS_CUBE_SIZE, r as GpsCompassCubes, t as COMPASS_CUBE_DISTANCE } from "./gps-compass-cubes-CsLtFv4B.js";
|
|
47
|
+
import { i as isSphereInCameraFrustum, n as isObjectInCameraFrustum, r as isPointInCameraFrustum, t as buildCameraFrustum } from "./frustum-visibility-BHnFrSKQ.js";
|
|
48
|
+
import { t as nueToArLocal } from "./index-pOjUCKEP.js";
|
|
49
|
+
import { a as GpsAnchorSamplePoint, i as GpsAnchorPhase, n as GpsAnchorMode, o as createGpsAnchor, r as GpsAnchorOptions, t as GpsAnchor } from "./gps-anchor-CnWY61XK.js";
|
|
50
|
+
import { n as GpsEventVisualizer, r as gpsEventVisualizer } from "./gps-event-markers-BGr-iLvi.js";
|
|
51
|
+
import { a as DEFAULT_Z_OFFSET, n as DEFAULT_LEAFLET_MAP_SIZE_PX, o as LeafletMapOverlay, r as DEFAULT_WORLD_SIZE, s as LeafletMapOverlayOptions } from "./leaflet-map-overlay-Cew7XAoO.js";
|
|
52
|
+
import { n as clampedAlpha, t as DEFAULT_LERP_RATE } from "./lerp-utils-B8MM8zCR.js";
|
|
53
|
+
import { a as addAccuracyCircles, i as AccuracyCircleSample, n as ACCURACY_CIRCLE_STROKE_OPACITY, r as ACCURACY_CIRCLE_WEIGHT, t as ACCURACY_CIRCLE_FILL_OPACITY } from "./accuracy-circles-CsxE_7x1.js";
|
|
54
|
+
import { a as MAP_PATH_POLYLINE_OPACITY, c as USER_POSITION_COLOR, i as FUSED_PATH_COLOR, l as drawMapData, n as DrawMapDataOptions, o as MAP_PATH_POLYLINE_WEIGHT, r as DrawnMapData, s as RAW_GPS_COLOR, t as ALIGNMENT_SNAPSHOT_COLOR } from "./map-overlay-draw-B3R1c9Xp.js";
|
|
55
|
+
import { a as MapOverlayOptions, c as tileXYToLatLon, i as MapOverlay, n as DEFAULT_MAP_SIZE, o as TextureLoaderInterface, r as DEFAULT_ZOOM, s as latLonToTileXY, t as DEFAULT_HEIGHT_OFFSET } from "./map-overlay-DAmreyA3.js";
|
|
56
|
+
import { n as disposeMeshArray, r as disposeObject3D, t as DisposeOptions } from "./three-dispose-C2drkp6f.js";
|
|
57
|
+
import { t as VIS_COLORS } from "./vis-colors-CHQhjal3.js";
|
|
58
|
+
import { COMMUNITY_LICENSE_KEY } from "./licensing/index.js";
|
|
59
|
+
export { ACCURACY_CIRCLE_FILL_OPACITY, ACCURACY_CIRCLE_STROKE_OPACITY, ACCURACY_CIRCLE_WEIGHT, ALIGNMENT_SNAPSHOT_COLOR, ARPose, AccuracyCircleSample, AlignmentLerper, type AlignmentSnapshot, ArPoseTuples, CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, CameraBlitCaptureConfig, CameraFollower, CameraMode, CameraTextureResult, CaptureFailureTracker, CaptureFailureTrackerConfig, CapturedImage, ChromiumProjectionLayerWorkaroundResult, type CompleteCallback, type CreateSessionResult, Css3dRendererManager, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_TRACKING_QUALITY_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, type DepthCaptureOptions, DepthInfo, DepthPoint, DepthSample, DepthSampler, DepthSamplerCallbacks, DepthSamplerConfig, DisposeOptions, DrawMapDataOptions, DrawnMapData, type ErrorCallback, type ExportSessionAsZipOptions, FUSED_PATH_COLOR, FailureTracker, FailureTrackerConfig, FrameUpdate, FusedPathInput, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsAnchor, GpsAnchorMode, GpsAnchorOptions, GpsAnchorPhase, GpsAnchorSamplePoint, GpsCompassCubes, GpsCoord, GpsEventVisualizer, type GpsPathCoord, GpsPosition, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureCallbacks, ImageCaptureConfig, ImageCaptureManager, type ImageCaptureOptions, KnownGeoAnchor, LeafletMapOverlay, LeafletMapOverlayOptions, LogEntry, LogLevel, Logger, MAP_PATH_POLYLINE_OPACITY, MAP_PATH_POLYLINE_WEIGHT, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapData, MapDataInput, MapOverlay, MapOverlayOptions, NullStorageBackend, OpfsStorageBackend, PermissionCheckResult, PermissionStatus, type PoseReceivedPayload, type ProgressCallback, RAW_GPS_COLOR, RawDeviceOrientation, RawGpsSample, type RecordedAction, type RecordingCoordinatorConfig, type RecordingOptionsInput, type RecordingState, RefPointMarker, RendererLike, type ReplayAction, ReplayEngine, ReplaySceneState, type ReplayState, SCENE_NODE, STORAGE_KEY, type SlamAppCombinedState, type SlamAppMiddleware, type SlamAppRootState, type SlamAppStore, type SlamAppStoreOptions, type StorageBackend, type StoreSubscriberDeps, type SubscribableStore, TextureLoaderInterface, type TrackingPhase, type TrackingQualityOptions, type TrackingQualityReport, type TrackingQualitySliceState, type TrackingQualityState, type TrackingSliceState, USER_POSITION_COLOR, VIS_COLORS, WebXRQuaternion, WebXRVec3, type WriteAccessResult, XRCameraLike, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, type ZipActionEntry, type ZipContributorAddFile, type ZipExportContributor, type ZipExportResult, acquireCameraTexture, add2dImage, addAccuracyCircles, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, buildCameraFrustum, buildMapData, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLastRestartedPayload, clearLogBuffer, cloneRecordingOptions, computeCaptureSize, computeCompassAgreement, computeConvergence, computeCoverage, computeFusedPath, computeGpsAccuracy, computeGpsVsFusedDivergence, computeInterActionDelay, computeResidualConsensus, computeTrackingQualityReport, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsAnchor, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createSession, createSlamAppStore, createTrackingQualityListenerMiddleware, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, drawMapData, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyGeoAnchor, firstAgreementReached, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getAppRootHandle, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getSessionHandle, getSessionsRootHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3CellsMatch, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, isObjectInCameraFrustum, isPointInCameraFrustum, isSphereInCameraFrustum, latLonToTileXY, listFormatter, listSessions, loadActionsFromZip, loadGpsPathFromBlob, loadRecordingOptions, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, matrixDelta, nueToArLocal, originReset, poseLost, poseReceived, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, recordingReducer, registerFrameUpdate, replayRecording, reportUpdated, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetSessionHandles, resetStorageState, resetTracking, resetTrackingQuality, saveRecordingOptions, selectFirstAgreementObservationIndex, selectLastRestartedPayload, selectLastSensorOrientation, selectLastValidPose, selectLostFrameCount, selectRecentAlignments, selectTrackingPhase, selectTrackingQuality, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, setTrackingStore, setZeroPos, snapshotPushed, snapshotsTrimmed, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, trackingQualityReducer, trackingReducer, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
|
package/dist/index.js
CHANGED
|
@@ -4,26 +4,16 @@ import { CameraBlitCapture, DEFAULT_BLIT_CONFIG, computeCaptureSize } from "./ar
|
|
|
4
4
|
import { applyChromiumProjectionLayerWorkaround } from "./ar/chromium-camera-access-workaround.js";
|
|
5
5
|
import { createFailureTracker } from "./utils/failure-tracker.js";
|
|
6
6
|
import { CAPTURE_FAILURE_WARNING, DEFAULT_CAPTURE_TRACKER_CONFIG, createCaptureFailureTracker } from "./ar/capture-failure-tracker.js";
|
|
7
|
-
import {
|
|
8
|
-
import { H3_RESOLUTION, approxDistanceMetres, findNearbyRefPoint, gpsToH3, h3RefsMatch, isH3Index } from "./ref-points/h3-ref-point.js";
|
|
9
|
-
import { clearSessionRefPointUsage, incrementRefPointUsage, refPointsReducer, resetRefPointsState, selectCachedKnownRefPoints, setImportedRefPoints } from "./state/ref-points-slice.js";
|
|
10
|
-
import { navigateTo } from "./state/routing-slice.js";
|
|
11
|
-
import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./sensors/permission-checker.js";
|
|
12
|
-
import { formatActionFilename, formatFrameFilename, formatTimestamp } from "./storage/file-system-utils.js";
|
|
13
|
-
import { checkStorageQuota, createSession, getScenarioHandle, getScenariosRootHandle, getSessionHandle, initOpfsStorage, listSessions, resetOpfsStorage, resetSessionHandles } from "./storage/opfs-storage.js";
|
|
14
|
-
import { initStorage, resetForNewSession, resetStorageState, startSession as startSession$1, verifyWriteAccess, writeAction, writeFrame } from "./storage/file-system.js";
|
|
15
|
-
import { OpfsStorageBackend } from "./storage/opfs-storage-backend.js";
|
|
16
|
-
import { COMMUNITY_LICENSE_KEY } from "./licensing/community-license-key.js";
|
|
17
|
-
import { add2dImage, calcRelativeCoordsInMeters, createRecorderStore, markReferencePoint, recordGpsEvent, setZeroPos } from "./state/store.js";
|
|
18
|
-
import { buildRawGpsPoint, buildRecordGpsEventPayload, createGpsPositionHandler, eulerToQuaternion, extractOdomPosition, extractOdomRotation, getLastDeviceOrientation, resetCoordinatorState, updateDeviceOrientation } from "./state/recording-coordinator.js";
|
|
7
|
+
import { buildRawGpsPoint, buildRecordGpsEventPayload, createGpsPositionHandler, eulerToQuaternion, extractOdomPosition, extractOdomRotation, getLastDeviceOrientation, resetCoordinatorState, updateDeviceOrientation } from "./state/gps-event-coordinator.js";
|
|
19
8
|
import { DepthSampler } from "./ar/depth-sampler.js";
|
|
9
|
+
import { registerFrameUpdate } from "./ar/frame-loop.js";
|
|
20
10
|
import { DEFAULT_CAPTURE_CONFIG, ImageCaptureManager, MIN_VALID_IMAGE_BYTES } from "./ar/image-capture.js";
|
|
21
|
-
import {
|
|
11
|
+
import { clearLastRestartedPayload, originReset, poseLost, poseReceived, resetTracking, selectLastRestartedPayload, selectLastSensorOrientation, selectLastValidPose, selectLostFrameCount, selectTrackingPhase, trackingReducer } from "./state/tracking-slice.js";
|
|
22
12
|
import { acquireCameraTexture } from "./ar/xr-camera-texture.js";
|
|
23
13
|
import { DEFAULT_RECORDING_OPTIONS, DEPTH_CONSTRAINTS, IMAGE_CONSTRAINTS, STORAGE_KEY, cloneRecordingOptions, loadRecordingOptions, resetRecordingOptions, saveRecordingOptions, validateDepthOptions, validateImageOptions, validateRecordingOptions } from "./state/recording-options.js";
|
|
24
14
|
import { SCENE_NODE } from "./ar/scene-node-names.js";
|
|
25
15
|
import { createCss3dRendererManager } from "./visualization/css3d-renderer-manager.js";
|
|
26
|
-
import { endARSession, getDepthSampleCount, getImageCaptureFrameCount, getLiveCss3dManager, initAR, setDepthCaptureCallback, setFrameCallback, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, startDepthCapture, startImageCapture, stopDepthCapture, stopImageCapture } from "./ar/webxr-session.js";
|
|
16
|
+
import { endARSession, getDepthSampleCount, getImageCaptureFrameCount, getLiveCss3dManager, initAR, setDepthCaptureCallback, setFrameCallback, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, setTrackingStore, startDepthCapture, startImageCapture, stopDepthCapture, stopImageCapture } from "./ar/webxr-session.js";
|
|
27
17
|
import { DEFAULT_LERP_RATE, clampedAlpha } from "./visualization/lerp-utils.js";
|
|
28
18
|
import { createCameraFollower } from "./visualization/camera-follower.js";
|
|
29
19
|
import { createAlignmentLerper } from "./visualization/alignment-lerper.js";
|
|
@@ -34,28 +24,39 @@ import { XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, getXrErrorMessage } from "
|
|
|
34
24
|
import "./ar/index.js";
|
|
35
25
|
import { requestOrientationPermission, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch } from "./sensors/gps.js";
|
|
36
26
|
import { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, createGpsErrorHandler, getGpsErrorMessage } from "./sensors/gps-error-handler.js";
|
|
27
|
+
import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./sensors/permission-checker.js";
|
|
37
28
|
import "./sensors/index.js";
|
|
38
|
-
import "./
|
|
29
|
+
import { H3_RESOLUTION, approxDistanceMetres, findNearbyGeoAnchor, gpsToH3, h3CellsMatch, isH3Index } from "./geo/h3-proximity.js";
|
|
30
|
+
import "./geo/index.js";
|
|
39
31
|
import { computeFusedPath, fusedGpsFromOdom } from "./utils/fused-path.js";
|
|
40
32
|
import { mapWithConcurrencyLimit } from "./utils/concurrency.js";
|
|
41
33
|
import { formatFileSize } from "./utils/format-file-size.js";
|
|
42
34
|
import { listFormatter } from "./utils/list-formatter.js";
|
|
43
35
|
import "./utils/index.js";
|
|
44
36
|
import "./types/index.js";
|
|
37
|
+
import { endSession, recordDepthSample, recordWriteFailure, recordingReducer, startSession } from "./state/recording-slice.js";
|
|
45
38
|
import { MAX_ACTION_FILE_SIZE, loadActionsFromZip, loadGpsPathFromBlob, loadSessionMetadataFromBlob, readZipEntries } from "./storage/zip-reader.js";
|
|
39
|
+
import { formatActionFilename, formatFrameFilename, formatTimestamp } from "./storage/file-system-utils.js";
|
|
46
40
|
import { NullStorageBackend } from "./storage/null-storage-backend.js";
|
|
41
|
+
import { DEFAULT_TRACKING_QUALITY_OPTIONS, computeCompassAgreement, computeConvergence, computeCoverage, computeGpsAccuracy, computeGpsVsFusedDivergence, computeResidualConsensus, computeTrackingQualityReport, createTrackingQualityListenerMiddleware, firstAgreementReached, matrixDelta, reportUpdated, resetTrackingQuality, selectFirstAgreementObservationIndex, selectRecentAlignments, selectTrackingQuality, snapshotPushed, snapshotsTrimmed, trackingQualityReducer } from "./state/tracking-quality.js";
|
|
42
|
+
import { createSlamAppStore } from "./state/create-slam-app-store.js";
|
|
47
43
|
import { replayRecording } from "./state/recording-replayer.js";
|
|
48
44
|
import { DEFAULT_MAX_DELAY_MS, ReplayEngine, computeInterActionDelay, extractActionTimestamp } from "./state/replay-engine.js";
|
|
45
|
+
import { buildMapData } from "./visualization/map-data.js";
|
|
49
46
|
import { wireStoreSubscribers } from "./state/store-subscribers.js";
|
|
50
|
-
import "./state/index.js";
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
47
|
+
import { add2dImage, calcRelativeCoordsInMeters, recordGpsEvent, setZeroPos } from "./state/index.js";
|
|
48
|
+
import { checkStorageQuota, createSession, getAppRootHandle, getSessionHandle, getSessionsRootHandle, initOpfsStorage, listSessions, resetOpfsStorage, resetSessionHandles } from "./storage/opfs-storage.js";
|
|
49
|
+
import { initStorage, resetForNewSession, resetStorageState, startSession as startSession$1, verifyWriteAccess, writeAction, writeFrame } from "./storage/file-system.js";
|
|
50
|
+
import { OpfsStorageBackend } from "./storage/opfs-storage-backend.js";
|
|
53
51
|
import { downloadZip, exportAndDownloadSession, exportSessionAsZip, syncToExternalZip } from "./storage/zip-export.js";
|
|
54
52
|
import "./storage/index.js";
|
|
53
|
+
import { buildCameraFrustum, isObjectInCameraFrustum, isPointInCameraFrustum, isSphereInCameraFrustum } from "./visualization/frustum-visibility.js";
|
|
54
|
+
import { n as nueToArLocal, t as createGpsAnchor } from "./gps-anchor-DjC_3MoT.js";
|
|
55
55
|
import { GpsEventVisualizer, gpsEventVisualizer } from "./visualization/gps-event-markers.js";
|
|
56
|
+
import { ACCURACY_CIRCLE_FILL_OPACITY, ACCURACY_CIRCLE_STROKE_OPACITY, ACCURACY_CIRCLE_WEIGHT, addAccuracyCircles } from "./visualization/accuracy-circles.js";
|
|
57
|
+
import { ALIGNMENT_SNAPSHOT_COLOR, FUSED_PATH_COLOR, MAP_PATH_POLYLINE_OPACITY, MAP_PATH_POLYLINE_WEIGHT, RAW_GPS_COLOR, USER_POSITION_COLOR, drawMapData } from "./visualization/map-overlay-draw.js";
|
|
56
58
|
import { DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_WORLD_SIZE, DEFAULT_Z_OFFSET, LeafletMapOverlay } from "./visualization/leaflet-map-overlay.js";
|
|
57
59
|
import { DEFAULT_HEIGHT_OFFSET, DEFAULT_MAP_SIZE, DEFAULT_ZOOM, MapOverlay, latLonToTileXY, tileXYToLatLon } from "./visualization/map-overlay.js";
|
|
58
|
-
import { RefPointVisualizer, refPointVisualizer } from "./visualization/reference-points.js";
|
|
59
60
|
import "./visualization/index.js";
|
|
60
|
-
import "./licensing/index.js";
|
|
61
|
-
export { CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, DepthSampler, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsEventVisualizer, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureManager, LeafletMapOverlay, LogLevel, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, NullStorageBackend, OpfsStorageBackend,
|
|
61
|
+
import { COMMUNITY_LICENSE_KEY } from "./licensing/index.js";
|
|
62
|
+
export { ACCURACY_CIRCLE_FILL_OPACITY, ACCURACY_CIRCLE_STROKE_OPACITY, ACCURACY_CIRCLE_WEIGHT, ALIGNMENT_SNAPSHOT_COLOR, CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_TRACKING_QUALITY_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, DepthSampler, FUSED_PATH_COLOR, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsEventVisualizer, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureManager, LeafletMapOverlay, LogLevel, MAP_PATH_POLYLINE_OPACITY, MAP_PATH_POLYLINE_WEIGHT, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, NullStorageBackend, OpfsStorageBackend, RAW_GPS_COLOR, ReplayEngine, SCENE_NODE, STORAGE_KEY, USER_POSITION_COLOR, VIS_COLORS, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, acquireCameraTexture, add2dImage, addAccuracyCircles, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, buildCameraFrustum, buildMapData, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLastRestartedPayload, clearLogBuffer, cloneRecordingOptions, computeCaptureSize, computeCompassAgreement, computeConvergence, computeCoverage, computeFusedPath, computeGpsAccuracy, computeGpsVsFusedDivergence, computeInterActionDelay, computeResidualConsensus, computeTrackingQualityReport, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsAnchor, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createSession, createSlamAppStore, createTrackingQualityListenerMiddleware, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, drawMapData, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyGeoAnchor, firstAgreementReached, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getAppRootHandle, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getSessionHandle, getSessionsRootHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3CellsMatch, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, isObjectInCameraFrustum, isPointInCameraFrustum, isSphereInCameraFrustum, latLonToTileXY, listFormatter, listSessions, loadActionsFromZip, loadGpsPathFromBlob, loadRecordingOptions, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, matrixDelta, nueToArLocal, originReset, poseLost, poseReceived, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, recordingReducer, registerFrameUpdate, replayRecording, reportUpdated, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetSessionHandles, resetStorageState, resetTracking, resetTrackingQuality, saveRecordingOptions, selectFirstAgreementObservationIndex, selectLastRestartedPayload, selectLastSensorOrientation, selectLastValidPose, selectLostFrameCount, selectRecentAlignments, selectTrackingPhase, selectTrackingQuality, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, setTrackingStore, setZeroPos, snapshotPushed, snapshotsTrimmed, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, trackingQualityReducer, trackingReducer, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { t as MapData } from "./map-data-sih4g64v.js";
|
|
1
2
|
import * as THREE from "three";
|
|
2
3
|
import { LatLong } from "gps-plus-slam-js";
|
|
3
4
|
import L from "leaflet";
|
|
@@ -58,14 +59,9 @@ declare class LeafletMapOverlay {
|
|
|
58
59
|
private leafletMap;
|
|
59
60
|
private tileLayer;
|
|
60
61
|
private cssObject;
|
|
61
|
-
private
|
|
62
|
-
private
|
|
63
|
-
private
|
|
64
|
-
private refPoints;
|
|
65
|
-
private userMarker;
|
|
66
|
-
private rawGpsPolyline;
|
|
67
|
-
private fusedPolyline;
|
|
68
|
-
private snapshotPolyline;
|
|
62
|
+
private latestMapData;
|
|
63
|
+
private trajectoryLayers;
|
|
64
|
+
private namedMarkers;
|
|
69
65
|
constructor(scene: THREE.Scene, camera: THREE.Camera, options?: LeafletMapOverlayOptions);
|
|
70
66
|
setGpsPosition(lat: number, lon: number): void;
|
|
71
67
|
getGpsPosition(): LatLong | null;
|
|
@@ -73,17 +69,32 @@ declare class LeafletMapOverlay {
|
|
|
73
69
|
hide(): void;
|
|
74
70
|
toggle(): void;
|
|
75
71
|
isVisible(): boolean;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Render a full trajectory snapshot.
|
|
74
|
+
*
|
|
75
|
+
* Replaces the previous incremental `addRawGpsPoint` / `addFusedPoint` /
|
|
76
|
+
* `addAlignmentSnapshot` API with a single full-snapshot path: the caller
|
|
77
|
+
* builds a {@link MapData} (via the shared `buildMapData`) from the latest
|
|
78
|
+
* store slices and hands it here. The trajectory layers are redrawn
|
|
79
|
+
* wholesale through the shared {@link drawMapData} routine, so the live map
|
|
80
|
+
* stays pixel-identical to the 2D session-summary map and the fused path
|
|
81
|
+
* recomputes (D2) as the alignment matrix improves.
|
|
82
|
+
*
|
|
83
|
+
* Buffered when the map is not yet shown; applied on `show()`.
|
|
84
|
+
*/
|
|
85
|
+
render(data: MapData): void;
|
|
86
|
+
/** Add a "current" named marker (red). Buffered if map is not yet shown. */
|
|
87
|
+
addCurrentMarker(lat: number, lon: number, name: string): void;
|
|
88
|
+
/** Add a "prior" named marker (green, decorated). Buffered if not shown. */
|
|
89
|
+
addPriorMarker(lat: number, lon: number, name: string): void;
|
|
90
|
+
/** Bulk add prior markers. */
|
|
91
|
+
addPriorMarkers(markers: Array<{
|
|
82
92
|
lat: number;
|
|
83
93
|
lon: number;
|
|
84
94
|
name: string;
|
|
85
95
|
}>): void;
|
|
86
|
-
|
|
96
|
+
/** Remove all prior markers; current markers are unaffected. */
|
|
97
|
+
clearPriorMarkers(): void;
|
|
87
98
|
setZoomLevel(zoom: number): void;
|
|
88
99
|
getZoomLevel(): number;
|
|
89
100
|
/** Increment zoom level by 1 (clamped at MAX_ZOOM). */
|
|
@@ -107,8 +118,12 @@ declare class LeafletMapOverlay {
|
|
|
107
118
|
private createCssObject;
|
|
108
119
|
private removeCssObject;
|
|
109
120
|
private applyBufferedOverlays;
|
|
110
|
-
|
|
111
|
-
|
|
121
|
+
/**
|
|
122
|
+
* Redraw the trajectory layers from {@link latestMapData} via the shared
|
|
123
|
+
* {@link drawMapData} routine, removing any layers from the previous draw.
|
|
124
|
+
*/
|
|
125
|
+
private drawTrajectory;
|
|
126
|
+
private createNamedMarker;
|
|
112
127
|
}
|
|
113
128
|
//#endregion
|
|
114
129
|
export { DEFAULT_Z_OFFSET as a, DEFAULT_ZOOM as i, DEFAULT_LEAFLET_MAP_SIZE_PX as n, LeafletMapOverlay as o, DEFAULT_WORLD_SIZE as r, LeafletMapOverlayOptions as s, DEFAULT_HEIGHT_OFFSET as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { COMMUNITY_LICENSE_KEY } from "gps-plus-slam-js/community-license-key";
|
|
2
2
|
export { COMMUNITY_LICENSE_KEY };
|
package/dist/licensing/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { COMMUNITY_LICENSE_KEY } from "
|
|
1
|
+
import { COMMUNITY_LICENSE_KEY } from "gps-plus-slam-js/community-license-key";
|
|
2
2
|
export { COMMUNITY_LICENSE_KEY };
|
|
@@ -11,7 +11,13 @@
|
|
|
11
11
|
*
|
|
12
12
|
* Sentry Integration:
|
|
13
13
|
* - All log levels add Sentry breadcrumbs for debugging context
|
|
14
|
-
* - log.
|
|
14
|
+
* - log.warn() reports a standalone Sentry Issue (captureMessage)
|
|
15
|
+
* - log.error() reports a standalone Sentry Issue: captureException for Error
|
|
16
|
+
* arguments, or a captureMessage fallback for string-only errors
|
|
17
|
+
* - warn/error Issues are grouped by a normalized message template
|
|
18
|
+
* (['log', level, tag, template]) so dynamic values (frame indices, sizes,
|
|
19
|
+
* filenames) collapse into one Issue per message kind without merging
|
|
20
|
+
* genuinely different messages that share a tag
|
|
15
21
|
*/
|
|
16
22
|
/**
|
|
17
23
|
* Log levels in order of verbosity (lower = more verbose)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as RawGpsSample, t as GpsCoord } from "./geo-types-CTuF23gG.js";
|
|
2
|
+
import { LatLong, Matrix4, Vector3 } from "gps-plus-slam-js";
|
|
3
|
+
|
|
4
|
+
//#region ../src/visualization/map-data.d.ts
|
|
5
|
+
/** Fully-resolved trajectory data ready to be drawn onto a Leaflet map. */
|
|
6
|
+
interface MapData {
|
|
7
|
+
/** Latest user GPS position (blue dot), or null when unknown. */
|
|
8
|
+
userPosition: GpsCoord | null;
|
|
9
|
+
/** Raw GPS samples (yellow polyline + per-event accuracy circles). */
|
|
10
|
+
rawGpsPath: RawGpsSample[];
|
|
11
|
+
/** Fused SLAM+GPS positions (cyan polyline), recomputed from latest matrix. */
|
|
12
|
+
fusedPath: GpsCoord[];
|
|
13
|
+
/** Alignment-snapshot GPS positions (red). */
|
|
14
|
+
alignmentSnapshots: GpsCoord[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Inputs to {@link buildMapData}, all optional so callers can supply only the
|
|
18
|
+
* slices they have. Array inputs are read-only and defensively copied.
|
|
19
|
+
*/
|
|
20
|
+
interface MapDataInput {
|
|
21
|
+
/** Raw GPS samples in chronological order. */
|
|
22
|
+
rawGpsPath?: readonly RawGpsSample[];
|
|
23
|
+
/** Odometry positions (AR-local) used to derive the fused path. */
|
|
24
|
+
odometryPositions?: ReadonlyArray<Vector3>;
|
|
25
|
+
/** Latest alignment matrix from the solver (null until first solve). */
|
|
26
|
+
alignmentMatrix?: Matrix4 | null;
|
|
27
|
+
/** GPS origin for ENU→GPS conversion (null when no GPS yet). */
|
|
28
|
+
zeroRef?: LatLong | null;
|
|
29
|
+
/** Alignment-snapshot GPS positions. */
|
|
30
|
+
alignmentSnapshots?: readonly GpsCoord[];
|
|
31
|
+
/**
|
|
32
|
+
* Explicit user position. When omitted, defaults to the last entry of
|
|
33
|
+
* `rawGpsPath` (or null when there is none).
|
|
34
|
+
*/
|
|
35
|
+
userPosition?: GpsCoord | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Build a {@link MapData} snapshot from store-derived inputs.
|
|
39
|
+
*
|
|
40
|
+
* Pure and free of Leaflet/Three dependencies. The fused path is always
|
|
41
|
+
* derived via {@link computeFusedPath} (D2); when the matrix or zero reference
|
|
42
|
+
* is missing it is an empty array.
|
|
43
|
+
*
|
|
44
|
+
* @param input - Optional trajectory slices (see {@link MapDataInput}).
|
|
45
|
+
* @returns A fully-resolved {@link MapData} with all arrays defensively copied.
|
|
46
|
+
*/
|
|
47
|
+
declare function buildMapData(input: MapDataInput): MapData;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { MapDataInput as n, buildMapData as r, MapData as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as MapData } from "./map-data-sih4g64v.js";
|
|
2
|
+
import L from "leaflet";
|
|
3
|
+
|
|
4
|
+
//#region ../src/visualization/map-overlay-draw.d.ts
|
|
5
|
+
/** Raw GPS polyline + accuracy-circle color (yellow). */
|
|
6
|
+
declare const RAW_GPS_COLOR: "#ffff00";
|
|
7
|
+
/** Fused SLAM+GPS polyline color (cyan). */
|
|
8
|
+
declare const FUSED_PATH_COLOR: "#00ffff";
|
|
9
|
+
/** Alignment-snapshot polyline color (red). */
|
|
10
|
+
declare const ALIGNMENT_SNAPSHOT_COLOR: "#ff0000";
|
|
11
|
+
/** User-position marker color (blue). */
|
|
12
|
+
declare const USER_POSITION_COLOR: "#3b82f6";
|
|
13
|
+
/** Polyline weight (px) — matches the recorder's `PATH_POLYLINE_WEIGHT`. */
|
|
14
|
+
declare const MAP_PATH_POLYLINE_WEIGHT = 3;
|
|
15
|
+
/** Polyline opacity — matches the recorder's `PATH_POLYLINE_OPACITY`. */
|
|
16
|
+
declare const MAP_PATH_POLYLINE_OPACITY = 0.8;
|
|
17
|
+
/** Options controlling optional layers drawn by {@link drawMapData}. */
|
|
18
|
+
interface DrawMapDataOptions {
|
|
19
|
+
/**
|
|
20
|
+
* Draw a user-position marker when `MapData.userPosition` is set. Off by
|
|
21
|
+
* default — the summary map shows the path only; the live overlay opts in.
|
|
22
|
+
*/
|
|
23
|
+
showUserPosition?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/** Result of {@link drawMapData}: the created layers and accumulated bounds. */
|
|
26
|
+
interface DrawnMapData {
|
|
27
|
+
/** Every Leaflet layer created, in draw order, for later cleanup. */
|
|
28
|
+
layers: L.Layer[];
|
|
29
|
+
/** Bounds spanning every drawn coordinate; use `.isValid()` before fitting. */
|
|
30
|
+
bounds: L.LatLngBounds;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Draw a {@link MapData} snapshot onto an existing Leaflet map.
|
|
34
|
+
*
|
|
35
|
+
* @param map - Target map (already created with a tile layer by the caller).
|
|
36
|
+
* @param data - Resolved trajectory data from `buildMapData`.
|
|
37
|
+
* @param options - Optional layer toggles (see {@link DrawMapDataOptions}).
|
|
38
|
+
* @returns The created layers and the bounds spanning every drawn coordinate.
|
|
39
|
+
*/
|
|
40
|
+
declare function drawMapData(map: L.Map, data: MapData, options?: DrawMapDataOptions): DrawnMapData;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { MAP_PATH_POLYLINE_OPACITY as a, USER_POSITION_COLOR as c, FUSED_PATH_COLOR as i, drawMapData as l, DrawMapDataOptions as n, MAP_PATH_POLYLINE_WEIGHT as o, DrawnMapData as r, RAW_GPS_COLOR as s, ALIGNMENT_SNAPSHOT_COLOR as t };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { n as SessionMetadata } from "./opfs-storage-
|
|
2
|
-
import {
|
|
1
|
+
import { n as SessionMetadata } from "./opfs-storage-DOPkzgeT.js";
|
|
2
|
+
import { n as StorageBackend, t as CreateSessionResult } from "./storage-backend-CT0Il_AB.js";
|
|
3
3
|
|
|
4
4
|
//#region ../src/storage/null-storage-backend.d.ts
|
|
5
5
|
declare class NullStorageBackend implements StorageBackend {
|
|
6
|
+
createSession(timestamp: Date, _contextTag?: string): Promise<CreateSessionResult>;
|
|
7
|
+
listSessions(): Promise<string[]>;
|
|
6
8
|
writeAction(_action: unknown, _index: number): Promise<void>;
|
|
7
9
|
writeFrame(_blob: Blob, _index: number): Promise<void>;
|
|
8
10
|
writeSessionMetadata(_metadata: SessionMetadata): Promise<void>;
|