@dreamerbird/camera-studio 0.0.0-stage → 0.2.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/LICENSE +866 -0
- package/assets/models/Y Bot.glb +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-base-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-base-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-point-relaxed-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-point-relaxed-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-point-straight-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-point-straight-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-01-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-01-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-02-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-02-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-03-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-03-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-04-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-04-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-05-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-05-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-06-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-01-base-relaxed-06-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-bowl-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-bowl-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-card-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-card-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-claw-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-claw-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-fist-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-fist-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-grip-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-grip-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-ko-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-ko-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-nail-check-01-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-nail-check-01-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-nail-check-02-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-nail-check-02-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-offer-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-offer-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-push-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-push-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-push-the-button-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-push-the-button-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-scratch-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-scratch-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-spread-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-spread-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-write-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-02-other-write-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-cobblepot-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-cobblepot-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-fingers-crossed-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-fingers-crossed-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-five-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-five-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-four-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-four-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-four-ring-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-four-ring-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-fu-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-fu-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-index-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-index-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-martian-reactor-switch-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-martian-reactor-switch-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-one-does-not-simply-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-one-does-not-simply-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-peace-flipped-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-peace-flipped.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-peace-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-peace-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-perfect-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-perfect-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-pinky-swear-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-pinky-swear-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-rock-out-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-rock-out-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-scout-salute-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-scout-salute-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-spock-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-spock-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-stop-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-stop-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-surf-s-up-flipped-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-surf-s-up-flipped-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-surf-s-up-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-surf-s-up-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-hicox-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-hicox-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-ring-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-three-ring-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-thumbs-up-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-03-signs-thumbs-up-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-detonator-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-detonator-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-grip-sword-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-grip-sword-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-01-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-01-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-02-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-02-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-03-l-cock-the-hammer.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-gun-03-r-cock-the-hammer.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-hadoken-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-hadoken-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-pistol-double-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-pistol-double-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-pistol-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-pistol-r.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-throw-l.png +0 -0
- package/assets/poseThumbs/qbx-hands-04-weapons-throw-r.png +0 -0
- package/dist/Anchors.d.ts +11 -0
- package/dist/Anchors.d.ts.map +1 -0
- package/dist/Anchors.js +315 -0
- package/dist/App.hostFlows.test.d.ts +2 -0
- package/dist/App.hostFlows.test.d.ts.map +1 -0
- package/dist/App.hostFlows.test.js +48 -0
- package/dist/CameraPath.d.ts +130 -0
- package/dist/CameraPath.d.ts.map +1 -0
- package/dist/CameraPath.js +920 -0
- package/dist/CameraScene.d.ts +45 -0
- package/dist/CameraScene.d.ts.map +1 -0
- package/dist/CameraScene.js +1777 -0
- package/dist/CameraScene.test.d.ts +2 -0
- package/dist/CameraScene.test.d.ts.map +1 -0
- package/dist/CameraScene.test.js +259 -0
- package/dist/PathPresetDropRig.d.ts +27 -0
- package/dist/PathPresetDropRig.d.ts.map +1 -0
- package/dist/PathPresetDropRig.js +192 -0
- package/dist/PathPresetThumb.d.ts +11 -0
- package/dist/PathPresetThumb.d.ts.map +1 -0
- package/dist/PathPresetThumb.js +85 -0
- package/dist/PipCameraSelector.d.ts +15 -0
- package/dist/PipCameraSelector.d.ts.map +1 -0
- package/dist/PipCameraSelector.js +92 -0
- package/dist/PlacementManager.d.ts +252 -0
- package/dist/PlacementManager.d.ts.map +1 -0
- package/dist/PlacementManager.js +1552 -0
- package/dist/ShotCamera.d.ts +21 -0
- package/dist/ShotCamera.d.ts.map +1 -0
- package/dist/ShotCamera.js +568 -0
- package/dist/TopToolbar.d.ts +43 -0
- package/dist/TopToolbar.d.ts.map +1 -0
- package/dist/TopToolbar.js +167 -0
- package/dist/TopToolbar.test.d.ts +2 -0
- package/dist/TopToolbar.test.d.ts.map +1 -0
- package/dist/TopToolbar.test.js +107 -0
- package/dist/agent/api.d.ts +95 -0
- package/dist/agent/api.d.ts.map +1 -0
- package/dist/agent/api.js +337 -0
- package/dist/agent/api.test.d.ts +2 -0
- package/dist/agent/api.test.d.ts.map +1 -0
- package/dist/agent/api.test.js +907 -0
- package/dist/agent/bridgeClient.d.ts +62 -0
- package/dist/agent/bridgeClient.d.ts.map +1 -0
- package/dist/agent/bridgeClient.js +277 -0
- package/dist/agent/bridgeClient.test.d.ts +2 -0
- package/dist/agent/bridgeClient.test.d.ts.map +1 -0
- package/dist/agent/bridgeClient.test.js +413 -0
- package/dist/agent/bridgeFiles.d.ts +33 -0
- package/dist/agent/bridgeFiles.d.ts.map +1 -0
- package/dist/agent/bridgeFiles.js +193 -0
- package/dist/agent/bridgeFiles.test.d.ts +2 -0
- package/dist/agent/bridgeFiles.test.d.ts.map +1 -0
- package/dist/agent/bridgeFiles.test.js +220 -0
- package/dist/agent/commands/anchors.d.ts +43 -0
- package/dist/agent/commands/anchors.d.ts.map +1 -0
- package/dist/agent/commands/anchors.js +331 -0
- package/dist/agent/commands/anchors.test.d.ts +2 -0
- package/dist/agent/commands/anchors.test.d.ts.map +1 -0
- package/dist/agent/commands/anchors.test.js +447 -0
- package/dist/agent/commands/animations.d.ts +47 -0
- package/dist/agent/commands/animations.d.ts.map +1 -0
- package/dist/agent/commands/animations.js +245 -0
- package/dist/agent/commands/animations.test.d.ts +2 -0
- package/dist/agent/commands/animations.test.d.ts.map +1 -0
- package/dist/agent/commands/animations.test.js +426 -0
- package/dist/agent/commands/assets.d.ts +34 -0
- package/dist/agent/commands/assets.d.ts.map +1 -0
- package/dist/agent/commands/assets.js +367 -0
- package/dist/agent/commands/assets.test.d.ts +2 -0
- package/dist/agent/commands/assets.test.d.ts.map +1 -0
- package/dist/agent/commands/assets.test.js +405 -0
- package/dist/agent/commands/bindings.realStudio.test.d.ts +21 -0
- package/dist/agent/commands/bindings.realStudio.test.d.ts.map +1 -0
- package/dist/agent/commands/bindings.realStudio.test.js +281 -0
- package/dist/agent/commands/cameras.d.ts +65 -0
- package/dist/agent/commands/cameras.d.ts.map +1 -0
- package/dist/agent/commands/cameras.js +498 -0
- package/dist/agent/commands/cameras.test.d.ts +2 -0
- package/dist/agent/commands/cameras.test.d.ts.map +1 -0
- package/dist/agent/commands/cameras.test.js +560 -0
- package/dist/agent/commands/delete.test.d.ts +2 -0
- package/dist/agent/commands/delete.test.d.ts.map +1 -0
- package/dist/agent/commands/delete.test.js +518 -0
- package/dist/agent/commands/exports.d.ts +12 -0
- package/dist/agent/commands/exports.d.ts.map +1 -0
- package/dist/agent/commands/exports.js +132 -0
- package/dist/agent/commands/exports.test.d.ts +2 -0
- package/dist/agent/commands/exports.test.d.ts.map +1 -0
- package/dist/agent/commands/exports.test.js +402 -0
- package/dist/agent/commands/history.d.ts +17 -0
- package/dist/agent/commands/history.d.ts.map +1 -0
- package/dist/agent/commands/history.js +96 -0
- package/dist/agent/commands/history.test.d.ts +2 -0
- package/dist/agent/commands/history.test.d.ts.map +1 -0
- package/dist/agent/commands/history.test.js +140 -0
- package/dist/agent/commands/jobs.d.ts +23 -0
- package/dist/agent/commands/jobs.d.ts.map +1 -0
- package/dist/agent/commands/jobs.js +66 -0
- package/dist/agent/commands/keyframes.d.ts +42 -0
- package/dist/agent/commands/keyframes.d.ts.map +1 -0
- package/dist/agent/commands/keyframes.js +310 -0
- package/dist/agent/commands/keyframes.realStudio.test.d.ts +11 -0
- package/dist/agent/commands/keyframes.realStudio.test.d.ts.map +1 -0
- package/dist/agent/commands/keyframes.realStudio.test.js +95 -0
- package/dist/agent/commands/keyframes.test.d.ts +2 -0
- package/dist/agent/commands/keyframes.test.d.ts.map +1 -0
- package/dist/agent/commands/keyframes.test.js +474 -0
- package/dist/agent/commands/models.d.ts +34 -0
- package/dist/agent/commands/models.d.ts.map +1 -0
- package/dist/agent/commands/models.js +137 -0
- package/dist/agent/commands/models.test.d.ts +2 -0
- package/dist/agent/commands/models.test.d.ts.map +1 -0
- package/dist/agent/commands/models.test.js +268 -0
- package/dist/agent/commands/objects.d.ts +4 -0
- package/dist/agent/commands/objects.d.ts.map +1 -0
- package/dist/agent/commands/objects.js +182 -0
- package/dist/agent/commands/objects.test.d.ts +2 -0
- package/dist/agent/commands/objects.test.d.ts.map +1 -0
- package/dist/agent/commands/objects.test.js +316 -0
- package/dist/agent/commands/paths.d.ts +111 -0
- package/dist/agent/commands/paths.d.ts.map +1 -0
- package/dist/agent/commands/paths.js +576 -0
- package/dist/agent/commands/paths.test.d.ts +2 -0
- package/dist/agent/commands/paths.test.d.ts.map +1 -0
- package/dist/agent/commands/paths.test.js +773 -0
- package/dist/agent/commands/poses.d.ts +101 -0
- package/dist/agent/commands/poses.d.ts.map +1 -0
- package/dist/agent/commands/poses.js +500 -0
- package/dist/agent/commands/poses.realStudio.test.d.ts +15 -0
- package/dist/agent/commands/poses.realStudio.test.d.ts.map +1 -0
- package/dist/agent/commands/poses.realStudio.test.js +161 -0
- package/dist/agent/commands/poses.test.d.ts +2 -0
- package/dist/agent/commands/poses.test.d.ts.map +1 -0
- package/dist/agent/commands/poses.test.js +735 -0
- package/dist/agent/commands/project.d.ts +12 -0
- package/dist/agent/commands/project.d.ts.map +1 -0
- package/dist/agent/commands/project.js +42 -0
- package/dist/agent/commands/project.test.d.ts +2 -0
- package/dist/agent/commands/project.test.d.ts.map +1 -0
- package/dist/agent/commands/project.test.js +125 -0
- package/dist/agent/commands/revision.realStudio.test.d.ts +14 -0
- package/dist/agent/commands/revision.realStudio.test.d.ts.map +1 -0
- package/dist/agent/commands/revision.realStudio.test.js +129 -0
- package/dist/agent/commands/scene.d.ts +32 -0
- package/dist/agent/commands/scene.d.ts.map +1 -0
- package/dist/agent/commands/scene.js +100 -0
- package/dist/agent/commands/scene.test.d.ts +2 -0
- package/dist/agent/commands/scene.test.d.ts.map +1 -0
- package/dist/agent/commands/scene.test.js +147 -0
- package/dist/agent/commands/selection.d.ts +21 -0
- package/dist/agent/commands/selection.d.ts.map +1 -0
- package/dist/agent/commands/selection.js +101 -0
- package/dist/agent/commands/selection.test.d.ts +2 -0
- package/dist/agent/commands/selection.test.d.ts.map +1 -0
- package/dist/agent/commands/selection.test.js +173 -0
- package/dist/agent/commands/sequence.d.ts +25 -0
- package/dist/agent/commands/sequence.d.ts.map +1 -0
- package/dist/agent/commands/sequence.js +174 -0
- package/dist/agent/commands/sequence.test.d.ts +2 -0
- package/dist/agent/commands/sequence.test.d.ts.map +1 -0
- package/dist/agent/commands/sequence.test.js +264 -0
- package/dist/agent/commands/ui.d.ts +40 -0
- package/dist/agent/commands/ui.d.ts.map +1 -0
- package/dist/agent/commands/ui.js +166 -0
- package/dist/agent/commands/view.d.ts +61 -0
- package/dist/agent/commands/view.d.ts.map +1 -0
- package/dist/agent/commands/view.js +229 -0
- package/dist/agent/commands/view.test.d.ts +2 -0
- package/dist/agent/commands/view.test.d.ts.map +1 -0
- package/dist/agent/commands/view.test.js +347 -0
- package/dist/agent/contractCoverage.test.d.ts +2 -0
- package/dist/agent/contractCoverage.test.d.ts.map +1 -0
- package/dist/agent/contractCoverage.test.js +87 -0
- package/dist/agent/deleteHandlers.d.ts +61 -0
- package/dist/agent/deleteHandlers.d.ts.map +1 -0
- package/dist/agent/deleteHandlers.js +41 -0
- package/dist/agent/errors.d.ts +24 -0
- package/dist/agent/errors.d.ts.map +1 -0
- package/dist/agent/errors.js +59 -0
- package/dist/agent/errors.test.d.ts +2 -0
- package/dist/agent/errors.test.d.ts.map +1 -0
- package/dist/agent/errors.test.js +25 -0
- package/dist/agent/expectedCommands.d.ts +9 -0
- package/dist/agent/expectedCommands.d.ts.map +1 -0
- package/dist/agent/expectedCommands.js +79 -0
- package/dist/agent/jobs.d.ts +52 -0
- package/dist/agent/jobs.d.ts.map +1 -0
- package/dist/agent/jobs.js +175 -0
- package/dist/agent/jobs.test.d.ts +2 -0
- package/dist/agent/jobs.test.d.ts.map +1 -0
- package/dist/agent/jobs.test.js +281 -0
- package/dist/agent/keyframeTracks.d.ts +57 -0
- package/dist/agent/keyframeTracks.d.ts.map +1 -0
- package/dist/agent/keyframeTracks.js +127 -0
- package/dist/agent/objectIds.d.ts +7 -0
- package/dist/agent/objectIds.d.ts.map +1 -0
- package/dist/agent/objectIds.js +20 -0
- package/dist/agent/objectIds.test.d.ts +2 -0
- package/dist/agent/objectIds.test.d.ts.map +1 -0
- package/dist/agent/objectIds.test.js +10 -0
- package/dist/agent/objectResolver.d.ts +34 -0
- package/dist/agent/objectResolver.d.ts.map +1 -0
- package/dist/agent/objectResolver.js +112 -0
- package/dist/agent/pathCommands.d.ts +78 -0
- package/dist/agent/pathCommands.d.ts.map +1 -0
- package/dist/agent/pathCommands.js +240 -0
- package/dist/agent/propAccess.d.ts +42 -0
- package/dist/agent/propAccess.d.ts.map +1 -0
- package/dist/agent/propAccess.js +181 -0
- package/dist/agent/registerCommands.d.ts +9 -0
- package/dist/agent/registerCommands.d.ts.map +1 -0
- package/dist/agent/registerCommands.js +77 -0
- package/dist/agent/registry.d.ts +33 -0
- package/dist/agent/registry.d.ts.map +1 -0
- package/dist/agent/registry.js +55 -0
- package/dist/agent/registry.test.d.ts +2 -0
- package/dist/agent/registry.test.d.ts.map +1 -0
- package/dist/agent/registry.test.js +106 -0
- package/dist/agent/runtime/animationStatus.d.ts +25 -0
- package/dist/agent/runtime/animationStatus.d.ts.map +1 -0
- package/dist/agent/runtime/animationStatus.js +13 -0
- package/dist/agent/runtime/cameraLifecycle.d.ts +37 -0
- package/dist/agent/runtime/cameraLifecycle.d.ts.map +1 -0
- package/dist/agent/runtime/cameraLifecycle.js +112 -0
- package/dist/agent/runtime/directorView.d.ts +42 -0
- package/dist/agent/runtime/directorView.d.ts.map +1 -0
- package/dist/agent/runtime/directorView.js +27 -0
- package/dist/agent/runtime/exportRuntime.d.ts +95 -0
- package/dist/agent/runtime/exportRuntime.d.ts.map +1 -0
- package/dist/agent/runtime/exportRuntime.js +227 -0
- package/dist/agent/runtime/objectRuntime.d.ts +26 -0
- package/dist/agent/runtime/objectRuntime.d.ts.map +1 -0
- package/dist/agent/runtime/objectRuntime.js +29 -0
- package/dist/agent/runtime/pathRuntime.d.ts +21 -0
- package/dist/agent/runtime/pathRuntime.d.ts.map +1 -0
- package/dist/agent/runtime/pathRuntime.js +13 -0
- package/dist/agent/runtime/placementLifecycle.d.ts +34 -0
- package/dist/agent/runtime/placementLifecycle.d.ts.map +1 -0
- package/dist/agent/runtime/placementLifecycle.js +63 -0
- package/dist/agent/runtime/placementLifecycle.test.d.ts +2 -0
- package/dist/agent/runtime/placementLifecycle.test.d.ts.map +1 -0
- package/dist/agent/runtime/placementLifecycle.test.js +68 -0
- package/dist/agent/runtime/poseSessionRuntime.d.ts +17 -0
- package/dist/agent/runtime/poseSessionRuntime.d.ts.map +1 -0
- package/dist/agent/runtime/poseSessionRuntime.js +64 -0
- package/dist/agent/runtime.d.ts +67 -0
- package/dist/agent/runtime.d.ts.map +1 -0
- package/dist/agent/runtime.js +214 -0
- package/dist/agent/runtime.test.d.ts +2 -0
- package/dist/agent/runtime.test.d.ts.map +1 -0
- package/dist/agent/runtime.test.js +142 -0
- package/dist/agent/sequenceLength.d.ts +20 -0
- package/dist/agent/sequenceLength.d.ts.map +1 -0
- package/dist/agent/sequenceLength.js +18 -0
- package/dist/agent/types.d.ts +70 -0
- package/dist/agent/types.d.ts.map +1 -0
- package/dist/agent/types.js +6 -0
- package/dist/agent/validation.d.ts +7 -0
- package/dist/agent/validation.d.ts.map +1 -0
- package/dist/agent/validation.js +39 -0
- package/dist/aimTargets.d.ts +128 -0
- package/dist/aimTargets.d.ts.map +1 -0
- package/dist/aimTargets.js +367 -0
- package/dist/aimTargets.test.d.ts +2 -0
- package/dist/aimTargets.test.d.ts.map +1 -0
- package/dist/aimTargets.test.js +84 -0
- package/dist/anchorParenting.test.d.ts +2 -0
- package/dist/anchorParenting.test.d.ts.map +1 -0
- package/dist/anchorParenting.test.js +87 -0
- package/dist/anchorsRegistry.d.ts +45 -0
- package/dist/anchorsRegistry.d.ts.map +1 -0
- package/dist/anchorsRegistry.js +101 -0
- package/dist/anchorsRegistry.test.d.ts +2 -0
- package/dist/anchorsRegistry.test.d.ts.map +1 -0
- package/dist/anchorsRegistry.test.js +29 -0
- package/dist/assetLibrary/AssetLibraryPanel.d.ts +35 -0
- package/dist/assetLibrary/AssetLibraryPanel.d.ts.map +1 -0
- package/dist/assetLibrary/AssetLibraryPanel.js +544 -0
- package/dist/assetLibrary/AssetLibraryPanel.viewer.test.d.ts +2 -0
- package/dist/assetLibrary/AssetLibraryPanel.viewer.test.d.ts.map +1 -0
- package/dist/assetLibrary/AssetLibraryPanel.viewer.test.js +133 -0
- package/dist/assetLibrary/ModelPickerSlot.d.ts +24 -0
- package/dist/assetLibrary/ModelPickerSlot.d.ts.map +1 -0
- package/dist/assetLibrary/ModelPickerSlot.js +32 -0
- package/dist/assetLibrary/catalogThumbs.d.ts +7 -0
- package/dist/assetLibrary/catalogThumbs.d.ts.map +1 -0
- package/dist/assetLibrary/catalogThumbs.js +75 -0
- package/dist/assetLibrary/classify.d.ts +14 -0
- package/dist/assetLibrary/classify.d.ts.map +1 -0
- package/dist/assetLibrary/classify.js +43 -0
- package/dist/assetLibrary/classify.test.d.ts +2 -0
- package/dist/assetLibrary/classify.test.d.ts.map +1 -0
- package/dist/assetLibrary/classify.test.js +44 -0
- package/dist/assetLibrary/contract.indexeddb.test.d.ts +2 -0
- package/dist/assetLibrary/contract.indexeddb.test.d.ts.map +1 -0
- package/dist/assetLibrary/contract.indexeddb.test.js +10 -0
- package/dist/assetLibrary/contractTests.d.ts +12 -0
- package/dist/assetLibrary/contractTests.d.ts.map +1 -0
- package/dist/assetLibrary/contractTests.js +51 -0
- package/dist/assetLibrary/dispose.d.ts +4 -0
- package/dist/assetLibrary/dispose.d.ts.map +1 -0
- package/dist/assetLibrary/dispose.js +21 -0
- package/dist/assetLibrary/draco.d.ts +6 -0
- package/dist/assetLibrary/draco.d.ts.map +1 -0
- package/dist/assetLibrary/draco.js +45 -0
- package/dist/assetLibrary/draco.test.d.ts +2 -0
- package/dist/assetLibrary/draco.test.d.ts.map +1 -0
- package/dist/assetLibrary/draco.test.js +93 -0
- package/dist/assetLibrary/exportGLB.d.ts +45 -0
- package/dist/assetLibrary/exportGLB.d.ts.map +1 -0
- package/dist/assetLibrary/exportGLB.js +125 -0
- package/dist/assetLibrary/exportGLB.test.d.ts +2 -0
- package/dist/assetLibrary/exportGLB.test.d.ts.map +1 -0
- package/dist/assetLibrary/exportGLB.test.js +127 -0
- package/dist/assetLibrary/gltfLoader.d.ts +8 -0
- package/dist/assetLibrary/gltfLoader.d.ts.map +1 -0
- package/dist/assetLibrary/gltfLoader.js +11 -0
- package/dist/assetLibrary/hash.d.ts +7 -0
- package/dist/assetLibrary/hash.d.ts.map +1 -0
- package/dist/assetLibrary/hash.js +17 -0
- package/dist/assetLibrary/importModelFile.d.ts +5 -0
- package/dist/assetLibrary/importModelFile.d.ts.map +1 -0
- package/dist/assetLibrary/importModelFile.js +19 -0
- package/dist/assetLibrary/importModelFile.test.d.ts +2 -0
- package/dist/assetLibrary/importModelFile.test.d.ts.map +1 -0
- package/dist/assetLibrary/importModelFile.test.js +77 -0
- package/dist/assetLibrary/importPipeline.d.ts +61 -0
- package/dist/assetLibrary/importPipeline.d.ts.map +1 -0
- package/dist/assetLibrary/importPipeline.js +253 -0
- package/dist/assetLibrary/importPipeline.test.d.ts +2 -0
- package/dist/assetLibrary/importPipeline.test.d.ts.map +1 -0
- package/dist/assetLibrary/importPipeline.test.js +188 -0
- package/dist/assetLibrary/indexedDBBackend.d.ts +31 -0
- package/dist/assetLibrary/indexedDBBackend.d.ts.map +1 -0
- package/dist/assetLibrary/indexedDBBackend.js +134 -0
- package/dist/assetLibrary/indexedDBBackend.test.d.ts +2 -0
- package/dist/assetLibrary/indexedDBBackend.test.d.ts.map +1 -0
- package/dist/assetLibrary/indexedDBBackend.test.js +148 -0
- package/dist/assetLibrary/legacySeedCleanup.d.ts +19 -0
- package/dist/assetLibrary/legacySeedCleanup.d.ts.map +1 -0
- package/dist/assetLibrary/legacySeedCleanup.js +50 -0
- package/dist/assetLibrary/legacySeedCleanup.test.d.ts +2 -0
- package/dist/assetLibrary/legacySeedCleanup.test.d.ts.map +1 -0
- package/dist/assetLibrary/legacySeedCleanup.test.js +74 -0
- package/dist/assetLibrary/library.d.ts +122 -0
- package/dist/assetLibrary/library.d.ts.map +1 -0
- package/dist/assetLibrary/library.js +424 -0
- package/dist/assetLibrary/library.test.d.ts +2 -0
- package/dist/assetLibrary/library.test.d.ts.map +1 -0
- package/dist/assetLibrary/library.test.js +520 -0
- package/dist/assetLibrary/options.d.ts +9 -0
- package/dist/assetLibrary/options.d.ts.map +1 -0
- package/dist/assetLibrary/options.js +20 -0
- package/dist/assetLibrary/options.test.d.ts +2 -0
- package/dist/assetLibrary/options.test.d.ts.map +1 -0
- package/dist/assetLibrary/options.test.js +70 -0
- package/dist/assetLibrary/pose.d.ts +15 -0
- package/dist/assetLibrary/pose.d.ts.map +1 -0
- package/dist/assetLibrary/pose.js +41 -0
- package/dist/assetLibrary/pose.test.d.ts +2 -0
- package/dist/assetLibrary/pose.test.d.ts.map +1 -0
- package/dist/assetLibrary/pose.test.js +45 -0
- package/dist/assetLibrary/poseThumbnail.d.ts +30 -0
- package/dist/assetLibrary/poseThumbnail.d.ts.map +1 -0
- package/dist/assetLibrary/poseThumbnail.js +144 -0
- package/dist/assetLibrary/poseThumbnail.test.d.ts +2 -0
- package/dist/assetLibrary/poseThumbnail.test.d.ts.map +1 -0
- package/dist/assetLibrary/poseThumbnail.test.js +111 -0
- package/dist/assetLibrary/rig.d.ts +14 -0
- package/dist/assetLibrary/rig.d.ts.map +1 -0
- package/dist/assetLibrary/rig.js +33 -0
- package/dist/assetLibrary/rig.test.d.ts +2 -0
- package/dist/assetLibrary/rig.test.d.ts.map +1 -0
- package/dist/assetLibrary/rig.test.js +55 -0
- package/dist/assetLibrary/seedAssetsManifest.d.ts +24 -0
- package/dist/assetLibrary/seedAssetsManifest.d.ts.map +1 -0
- package/dist/assetLibrary/seedAssetsManifest.js +347 -0
- package/dist/assetLibrary/seedBuiltinPoses.d.ts +29 -0
- package/dist/assetLibrary/seedBuiltinPoses.d.ts.map +1 -0
- package/dist/assetLibrary/seedBuiltinPoses.js +114 -0
- package/dist/assetLibrary/seedBuiltinPoses.test.d.ts +2 -0
- package/dist/assetLibrary/seedBuiltinPoses.test.d.ts.map +1 -0
- package/dist/assetLibrary/seedBuiltinPoses.test.js +176 -0
- package/dist/assetLibrary/seedPoses.d.ts +8 -0
- package/dist/assetLibrary/seedPoses.d.ts.map +1 -0
- package/dist/assetLibrary/seedPoses.js +2414 -0
- package/dist/assetLibrary/seedPosesDpl.d.ts +8 -0
- package/dist/assetLibrary/seedPosesDpl.d.ts.map +1 -0
- package/dist/assetLibrary/seedPosesDpl.js +11660 -0
- package/dist/assetLibrary/seedPosesQbx.d.ts +8 -0
- package/dist/assetLibrary/seedPosesQbx.d.ts.map +1 -0
- package/dist/assetLibrary/seedPosesQbx.js +5612 -0
- package/dist/assetLibrary/seedPosesQbx.test.d.ts +2 -0
- package/dist/assetLibrary/seedPosesQbx.test.d.ts.map +1 -0
- package/dist/assetLibrary/seedPosesQbx.test.js +181 -0
- package/dist/assetLibrary/source.d.ts +45 -0
- package/dist/assetLibrary/source.d.ts.map +1 -0
- package/dist/assetLibrary/source.js +11 -0
- package/dist/assetLibrary/source.test.d.ts +2 -0
- package/dist/assetLibrary/source.test.d.ts.map +1 -0
- package/dist/assetLibrary/source.test.js +28 -0
- package/dist/assetLibrary/staticCatalogSource.d.ts +48 -0
- package/dist/assetLibrary/staticCatalogSource.d.ts.map +1 -0
- package/dist/assetLibrary/staticCatalogSource.js +140 -0
- package/dist/assetLibrary/staticCatalogSource.test.d.ts +2 -0
- package/dist/assetLibrary/staticCatalogSource.test.d.ts.map +1 -0
- package/dist/assetLibrary/staticCatalogSource.test.js +154 -0
- package/dist/assetLibrary/thumbnail.d.ts +14 -0
- package/dist/assetLibrary/thumbnail.d.ts.map +1 -0
- package/dist/assetLibrary/thumbnail.js +70 -0
- package/dist/assetLibrary/types.d.ts +54 -0
- package/dist/assetLibrary/types.d.ts.map +1 -0
- package/dist/assetLibrary/types.js +1 -0
- package/dist/assetLibrary/useModelThumbUrl.d.ts +10 -0
- package/dist/assetLibrary/useModelThumbUrl.d.ts.map +1 -0
- package/dist/assetLibrary/useModelThumbUrl.js +56 -0
- package/dist/boneAnchorWiring.test.d.ts +2 -0
- package/dist/boneAnchorWiring.test.d.ts.map +1 -0
- package/dist/boneAnchorWiring.test.js +173 -0
- package/dist/boneAnchors.d.ts +30 -0
- package/dist/boneAnchors.d.ts.map +1 -0
- package/dist/boneAnchors.js +111 -0
- package/dist/boneAnchors.test.d.ts +2 -0
- package/dist/boneAnchors.test.d.ts.map +1 -0
- package/dist/boneAnchors.test.js +98 -0
- package/dist/bootstrap.d.ts +37 -0
- package/dist/bootstrap.d.ts.map +1 -0
- package/dist/bootstrap.js +394 -0
- package/dist/bootstrap.test.d.ts +2 -0
- package/dist/bootstrap.test.d.ts.map +1 -0
- package/dist/bootstrap.test.js +647 -0
- package/dist/cameraRegistry.d.ts +65 -0
- package/dist/cameraRegistry.d.ts.map +1 -0
- package/dist/cameraRegistry.js +151 -0
- package/dist/cameraRegistry.test.d.ts +2 -0
- package/dist/cameraRegistry.test.d.ts.map +1 -0
- package/dist/cameraRegistry.test.js +68 -0
- package/dist/config.d.ts +92 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +1 -0
- package/dist/contextMenu.d.ts +16 -0
- package/dist/contextMenu.d.ts.map +1 -0
- package/dist/contextMenu.js +10 -0
- package/dist/dropPoint.d.ts +61 -0
- package/dist/dropPoint.d.ts.map +1 -0
- package/dist/dropPoint.js +97 -0
- package/dist/dropPoint.test.d.ts +2 -0
- package/dist/dropPoint.test.d.ts.map +1 -0
- package/dist/dropPoint.test.js +174 -0
- package/dist/editorOnly.d.ts +6 -0
- package/dist/editorOnly.d.ts.map +1 -0
- package/dist/editorOnly.js +32 -0
- package/dist/errors.d.ts +24 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +13 -0
- package/dist/firstScreenGate.d.ts +28 -0
- package/dist/firstScreenGate.d.ts.map +1 -0
- package/dist/firstScreenGate.js +67 -0
- package/dist/firstScreenGate.test.d.ts +2 -0
- package/dist/firstScreenGate.test.d.ts.map +1 -0
- package/dist/firstScreenGate.test.js +83 -0
- package/dist/gestureProps.d.ts +99 -0
- package/dist/gestureProps.d.ts.map +1 -0
- package/dist/gestureProps.js +118 -0
- package/dist/gestureProps.test.d.ts +2 -0
- package/dist/gestureProps.test.d.ts.map +1 -0
- package/dist/gestureProps.test.js +182 -0
- package/dist/gesturePropsEditor.d.ts +27 -0
- package/dist/gesturePropsEditor.d.ts.map +1 -0
- package/dist/gesturePropsEditor.js +121 -0
- package/dist/getDeep.d.ts +8 -0
- package/dist/getDeep.d.ts.map +1 -0
- package/dist/getDeep.js +15 -0
- package/dist/gizmoRegistry.test.d.ts +2 -0
- package/dist/gizmoRegistry.test.d.ts.map +1 -0
- package/dist/gizmoRegistry.test.js +40 -0
- package/dist/hostFlows.d.ts +55 -0
- package/dist/hostFlows.d.ts.map +1 -0
- package/dist/hostFlows.js +77 -0
- package/dist/hostFlows.test.d.ts +2 -0
- package/dist/hostFlows.test.d.ts.map +1 -0
- package/dist/hostFlows.test.js +191 -0
- package/dist/i18n.d.ts +26 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +271 -0
- package/dist/i18n.test.d.ts +2 -0
- package/dist/i18n.test.d.ts.map +1 -0
- package/dist/i18n.test.js +41 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/menuModel.d.ts +51 -0
- package/dist/menuModel.d.ts.map +1 -0
- package/dist/menuModel.js +111 -0
- package/dist/menuModel.test.d.ts +2 -0
- package/dist/menuModel.test.d.ts.map +1 -0
- package/dist/menuModel.test.js +197 -0
- package/dist/modalGrab.d.ts +29 -0
- package/dist/modalGrab.d.ts.map +1 -0
- package/dist/modalGrab.js +127 -0
- package/dist/outlineObjectMenu.d.ts +41 -0
- package/dist/outlineObjectMenu.d.ts.map +1 -0
- package/dist/outlineObjectMenu.js +58 -0
- package/dist/outlineObjectMenu.test.d.ts +2 -0
- package/dist/outlineObjectMenu.test.d.ts.map +1 -0
- package/dist/outlineObjectMenu.test.js +83 -0
- package/dist/pathBinding.d.ts +16 -0
- package/dist/pathBinding.d.ts.map +1 -0
- package/dist/pathBinding.js +19 -0
- package/dist/pathBinding.test.d.ts +2 -0
- package/dist/pathBinding.test.d.ts.map +1 -0
- package/dist/pathBinding.test.js +14 -0
- package/dist/pathModel.d.ts +123 -0
- package/dist/pathModel.d.ts.map +1 -0
- package/dist/pathModel.js +343 -0
- package/dist/pathModel.test.d.ts +2 -0
- package/dist/pathModel.test.d.ts.map +1 -0
- package/dist/pathModel.test.js +394 -0
- package/dist/pathPresets.d.ts +38 -0
- package/dist/pathPresets.d.ts.map +1 -0
- package/dist/pathPresets.js +180 -0
- package/dist/pathPresets.test.d.ts +2 -0
- package/dist/pathPresets.test.d.ts.map +1 -0
- package/dist/pathPresets.test.js +154 -0
- package/dist/pathRegistry.d.ts +46 -0
- package/dist/pathRegistry.d.ts.map +1 -0
- package/dist/pathRegistry.js +105 -0
- package/dist/pathRegistry.test.d.ts +2 -0
- package/dist/pathRegistry.test.d.ts.map +1 -0
- package/dist/pathRegistry.test.js +23 -0
- package/dist/pickerRegistry.d.ts +49 -0
- package/dist/pickerRegistry.d.ts.map +1 -0
- package/dist/pickerRegistry.js +17 -0
- package/dist/pickerRegistry.test.d.ts +2 -0
- package/dist/pickerRegistry.test.d.ts.map +1 -0
- package/dist/pickerRegistry.test.js +31 -0
- package/dist/pipLayout.d.ts +7 -0
- package/dist/pipLayout.d.ts.map +1 -0
- package/dist/pipLayout.js +58 -0
- package/dist/placementKey.test.d.ts +2 -0
- package/dist/placementKey.test.d.ts.map +1 -0
- package/dist/placementKey.test.js +32 -0
- package/dist/placementPoseProps.d.ts +29 -0
- package/dist/placementPoseProps.d.ts.map +1 -0
- package/dist/placementPoseProps.js +43 -0
- package/dist/placementPoseProps.test.d.ts +2 -0
- package/dist/placementPoseProps.test.d.ts.map +1 -0
- package/dist/placementPoseProps.test.js +35 -0
- package/dist/poseMode/PoseModeBar.d.ts +18 -0
- package/dist/poseMode/PoseModeBar.d.ts.map +1 -0
- package/dist/poseMode/PoseModeBar.js +127 -0
- package/dist/poseMode/PoseModeRig.d.ts +9 -0
- package/dist/poseMode/PoseModeRig.d.ts.map +1 -0
- package/dist/poseMode/PoseModeRig.js +300 -0
- package/dist/poseMode/PosePickerFrame.d.ts +42 -0
- package/dist/poseMode/PosePickerFrame.d.ts.map +1 -0
- package/dist/poseMode/PosePickerFrame.js +164 -0
- package/dist/poseMode/PosePropEditor.d.ts +30 -0
- package/dist/poseMode/PosePropEditor.d.ts.map +1 -0
- package/dist/poseMode/PosePropEditor.js +139 -0
- package/dist/poseMode/controlSpec.d.ts +26 -0
- package/dist/poseMode/controlSpec.d.ts.map +1 -0
- package/dist/poseMode/controlSpec.js +157 -0
- package/dist/poseMode/controlSpec.test.d.ts +2 -0
- package/dist/poseMode/controlSpec.test.d.ts.map +1 -0
- package/dist/poseMode/controlSpec.test.js +196 -0
- package/dist/poseMode/dragState.d.ts +16 -0
- package/dist/poseMode/dragState.d.ts.map +1 -0
- package/dist/poseMode/dragState.js +15 -0
- package/dist/poseMode/dragState.test.d.ts +2 -0
- package/dist/poseMode/dragState.test.d.ts.map +1 -0
- package/dist/poseMode/dragState.test.js +23 -0
- package/dist/poseMode/poseDisplayText.d.ts +18 -0
- package/dist/poseMode/poseDisplayText.d.ts.map +1 -0
- package/dist/poseMode/poseDisplayText.js +13 -0
- package/dist/poseMode/poseDisplayText.test.d.ts +2 -0
- package/dist/poseMode/poseDisplayText.test.d.ts.map +1 -0
- package/dist/poseMode/poseDisplayText.test.js +35 -0
- package/dist/poseMode/poseExitGuard.d.ts +8 -0
- package/dist/poseMode/poseExitGuard.d.ts.map +1 -0
- package/dist/poseMode/poseExitGuard.js +13 -0
- package/dist/poseMode/poseExitGuard.test.d.ts +2 -0
- package/dist/poseMode/poseExitGuard.test.d.ts.map +1 -0
- package/dist/poseMode/poseExitGuard.test.js +41 -0
- package/dist/poseMode/poseFrame.d.ts +11 -0
- package/dist/poseMode/poseFrame.d.ts.map +1 -0
- package/dist/poseMode/poseFrame.js +7 -0
- package/dist/poseMode/poseFrame.test.d.ts +2 -0
- package/dist/poseMode/poseFrame.test.d.ts.map +1 -0
- package/dist/poseMode/poseFrame.test.js +25 -0
- package/dist/poseMode/poseInterpolate.d.ts +4 -0
- package/dist/poseMode/poseInterpolate.d.ts.map +1 -0
- package/dist/poseMode/poseInterpolate.js +75 -0
- package/dist/poseMode/poseInterpolate.test.d.ts +2 -0
- package/dist/poseMode/poseInterpolate.test.d.ts.map +1 -0
- package/dist/poseMode/poseInterpolate.test.js +61 -0
- package/dist/poseMode/poseLibResolve.d.ts +9 -0
- package/dist/poseMode/poseLibResolve.d.ts.map +1 -0
- package/dist/poseMode/poseLibResolve.js +49 -0
- package/dist/poseMode/poseLibResolve.test.d.ts +2 -0
- package/dist/poseMode/poseLibResolve.test.d.ts.map +1 -0
- package/dist/poseMode/poseLibResolve.test.js +59 -0
- package/dist/poseMode/poseMigration.d.ts +5 -0
- package/dist/poseMode/poseMigration.d.ts.map +1 -0
- package/dist/poseMode/poseMigration.js +16 -0
- package/dist/poseMode/poseMigration.test.d.ts +2 -0
- package/dist/poseMode/poseMigration.test.d.ts.map +1 -0
- package/dist/poseMode/poseMigration.test.js +25 -0
- package/dist/poseMode/poseOptions.d.ts +45 -0
- package/dist/poseMode/poseOptions.d.ts.map +1 -0
- package/dist/poseMode/poseOptions.js +39 -0
- package/dist/poseMode/poseOptions.test.d.ts +2 -0
- package/dist/poseMode/poseOptions.test.d.ts.map +1 -0
- package/dist/poseMode/poseOptions.test.js +83 -0
- package/dist/poseMode/poseOverride.d.ts +13 -0
- package/dist/poseMode/poseOverride.d.ts.map +1 -0
- package/dist/poseMode/poseOverride.js +26 -0
- package/dist/poseMode/poseOverride.test.d.ts +2 -0
- package/dist/poseMode/poseOverride.test.d.ts.map +1 -0
- package/dist/poseMode/poseOverride.test.js +23 -0
- package/dist/poseMode/poseRetarget.d.ts +17 -0
- package/dist/poseMode/poseRetarget.d.ts.map +1 -0
- package/dist/poseMode/poseRetarget.js +53 -0
- package/dist/poseMode/poseRetarget.test.d.ts +2 -0
- package/dist/poseMode/poseRetarget.test.d.ts.map +1 -0
- package/dist/poseMode/poseRetarget.test.js +88 -0
- package/dist/poseMode/poseSession.d.ts +58 -0
- package/dist/poseMode/poseSession.d.ts.map +1 -0
- package/dist/poseMode/poseSession.js +183 -0
- package/dist/poseMode/poseSession.test.d.ts +2 -0
- package/dist/poseMode/poseSession.test.d.ts.map +1 -0
- package/dist/poseMode/poseSession.test.js +159 -0
- package/dist/poseMode/poseSessionHooks.test.d.ts +2 -0
- package/dist/poseMode/poseSessionHooks.test.d.ts.map +1 -0
- package/dist/poseMode/poseSessionHooks.test.js +49 -0
- package/dist/poseMode/poseTrack.d.ts +30 -0
- package/dist/poseMode/poseTrack.d.ts.map +1 -0
- package/dist/poseMode/poseTrack.js +155 -0
- package/dist/poseMode/poseTrack.test.d.ts +2 -0
- package/dist/poseMode/poseTrack.test.d.ts.map +1 -0
- package/dist/poseMode/poseTrack.test.js +84 -0
- package/dist/poseMode/poseValue.d.ts +22 -0
- package/dist/poseMode/poseValue.d.ts.map +1 -0
- package/dist/poseMode/poseValue.js +73 -0
- package/dist/poseMode/poseValue.test.d.ts +2 -0
- package/dist/poseMode/poseValue.test.d.ts.map +1 -0
- package/dist/poseMode/poseValue.test.js +62 -0
- package/dist/poseMode/savePose.d.ts +23 -0
- package/dist/poseMode/savePose.d.ts.map +1 -0
- package/dist/poseMode/savePose.js +29 -0
- package/dist/poseMode/selectionModes.d.ts +14 -0
- package/dist/poseMode/selectionModes.d.ts.map +1 -0
- package/dist/poseMode/selectionModes.js +39 -0
- package/dist/poseMode/selectionModes.test.d.ts +2 -0
- package/dist/poseMode/selectionModes.test.d.ts.map +1 -0
- package/dist/poseMode/selectionModes.test.js +91 -0
- package/dist/poseNameMessages.d.ts +13 -0
- package/dist/poseNameMessages.d.ts.map +1 -0
- package/dist/poseNameMessages.js +370 -0
- package/dist/poseNames.d.ts +14 -0
- package/dist/poseNames.d.ts.map +1 -0
- package/dist/poseNames.js +21 -0
- package/dist/poseNames.test.d.ts +2 -0
- package/dist/poseNames.test.d.ts.map +1 -0
- package/dist/poseNames.test.js +41 -0
- package/dist/poseStatusText.d.ts +2 -0
- package/dist/poseStatusText.d.ts.map +1 -0
- package/dist/poseStatusText.js +11 -0
- package/dist/poseStatusText.test.d.ts +2 -0
- package/dist/poseStatusText.test.d.ts.map +1 -0
- package/dist/poseStatusText.test.js +21 -0
- package/dist/presetThumbGeometry.d.ts +26 -0
- package/dist/presetThumbGeometry.d.ts.map +1 -0
- package/dist/presetThumbGeometry.js +103 -0
- package/dist/presetThumbGeometry.test.d.ts +2 -0
- package/dist/presetThumbGeometry.test.d.ts.map +1 -0
- package/dist/presetThumbGeometry.test.js +83 -0
- package/dist/selectionOutline.d.ts +42 -0
- package/dist/selectionOutline.d.ts.map +1 -0
- package/dist/selectionOutline.js +174 -0
- package/dist/selectionOutline.test.d.ts +2 -0
- package/dist/selectionOutline.test.d.ts.map +1 -0
- package/dist/selectionOutline.test.js +58 -0
- package/dist/smoke.test.d.ts +1 -0
- package/dist/smoke.test.d.ts.map +1 -0
- package/dist/smoke.test.js +17 -0
- package/dist/uiConfig.d.ts +16 -0
- package/dist/uiConfig.d.ts.map +1 -0
- package/dist/uiConfig.js +13 -0
- package/dist/uiConfig.test.d.ts +2 -0
- package/dist/uiConfig.test.d.ts.map +1 -0
- package/dist/uiConfig.test.js +98 -0
- package/dist/undoShortcuts.d.ts +28 -0
- package/dist/undoShortcuts.d.ts.map +1 -0
- package/dist/undoShortcuts.js +59 -0
- package/dist/undoShortcuts.test.d.ts +2 -0
- package/dist/undoShortcuts.test.d.ts.map +1 -0
- package/dist/undoShortcuts.test.js +37 -0
- package/dist/useCameraStudio.d.ts +3 -0
- package/dist/useCameraStudio.d.ts.map +1 -0
- package/dist/useCameraStudio.js +86 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +11 -0
- package/dist/videoExport/BlobCollectSink.d.ts +25 -0
- package/dist/videoExport/BlobCollectSink.d.ts.map +1 -0
- package/dist/videoExport/BlobCollectSink.js +56 -0
- package/dist/videoExport/BlobCollectSink.test.d.ts +2 -0
- package/dist/videoExport/BlobCollectSink.test.d.ts.map +1 -0
- package/dist/videoExport/BlobCollectSink.test.js +78 -0
- package/dist/videoExport/encoder.d.ts +34 -0
- package/dist/videoExport/encoder.d.ts.map +1 -0
- package/dist/videoExport/encoder.js +61 -0
- package/dist/videoExport/encoder.test.d.ts +2 -0
- package/dist/videoExport/encoder.test.d.ts.map +1 -0
- package/dist/videoExport/encoder.test.js +21 -0
- package/dist/videoExport/exporter.d.ts +24 -0
- package/dist/videoExport/exporter.d.ts.map +1 -0
- package/dist/videoExport/exporter.js +74 -0
- package/dist/videoExport/sinks.d.ts +55 -0
- package/dist/videoExport/sinks.d.ts.map +1 -0
- package/dist/videoExport/sinks.js +69 -0
- package/package.json +59 -3
- package/README.md +0 -3
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
export const seedAssetsManifest = {
|
|
2
|
+
models: [
|
|
3
|
+
{
|
|
4
|
+
key: 'y-bot',
|
|
5
|
+
file: 'Y Bot.glb',
|
|
6
|
+
contentHash: 'fc55d96ed9b27445',
|
|
7
|
+
name: 'Y Bot',
|
|
8
|
+
rig: 'rig-16a71e249f45355b',
|
|
9
|
+
boneCount: 117,
|
|
10
|
+
vertexCount: 165960,
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
poseThumbs: [
|
|
14
|
+
{ key: 'qbx-hands-01-base-base-l', file: 'qbx-hands-01-base-base-l.png' },
|
|
15
|
+
{ key: 'qbx-hands-01-base-base-r', file: 'qbx-hands-01-base-base-r.png' },
|
|
16
|
+
{
|
|
17
|
+
key: 'qbx-hands-01-base-point-relaxed-l',
|
|
18
|
+
file: 'qbx-hands-01-base-point-relaxed-l.png',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
key: 'qbx-hands-01-base-point-relaxed-r',
|
|
22
|
+
file: 'qbx-hands-01-base-point-relaxed-r.png',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
key: 'qbx-hands-01-base-point-straight-l',
|
|
26
|
+
file: 'qbx-hands-01-base-point-straight-l.png',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
key: 'qbx-hands-01-base-point-straight-r',
|
|
30
|
+
file: 'qbx-hands-01-base-point-straight-r.png',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
key: 'qbx-hands-01-base-relaxed-01-l',
|
|
34
|
+
file: 'qbx-hands-01-base-relaxed-01-l.png',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
key: 'qbx-hands-01-base-relaxed-01-r',
|
|
38
|
+
file: 'qbx-hands-01-base-relaxed-01-r.png',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
key: 'qbx-hands-01-base-relaxed-02-l',
|
|
42
|
+
file: 'qbx-hands-01-base-relaxed-02-l.png',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
key: 'qbx-hands-01-base-relaxed-02-r',
|
|
46
|
+
file: 'qbx-hands-01-base-relaxed-02-r.png',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
key: 'qbx-hands-01-base-relaxed-03-l',
|
|
50
|
+
file: 'qbx-hands-01-base-relaxed-03-l.png',
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
key: 'qbx-hands-01-base-relaxed-03-r',
|
|
54
|
+
file: 'qbx-hands-01-base-relaxed-03-r.png',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
key: 'qbx-hands-01-base-relaxed-04-l',
|
|
58
|
+
file: 'qbx-hands-01-base-relaxed-04-l.png',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
key: 'qbx-hands-01-base-relaxed-04-r',
|
|
62
|
+
file: 'qbx-hands-01-base-relaxed-04-r.png',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
key: 'qbx-hands-01-base-relaxed-05-l',
|
|
66
|
+
file: 'qbx-hands-01-base-relaxed-05-l.png',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
key: 'qbx-hands-01-base-relaxed-05-r',
|
|
70
|
+
file: 'qbx-hands-01-base-relaxed-05-r.png',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
key: 'qbx-hands-01-base-relaxed-06-l',
|
|
74
|
+
file: 'qbx-hands-01-base-relaxed-06-l.png',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: 'qbx-hands-01-base-relaxed-06-r',
|
|
78
|
+
file: 'qbx-hands-01-base-relaxed-06-r.png',
|
|
79
|
+
},
|
|
80
|
+
{ key: 'qbx-hands-02-other-bowl-l', file: 'qbx-hands-02-other-bowl-l.png' },
|
|
81
|
+
{ key: 'qbx-hands-02-other-bowl-r', file: 'qbx-hands-02-other-bowl-r.png' },
|
|
82
|
+
{ key: 'qbx-hands-02-other-card-l', file: 'qbx-hands-02-other-card-l.png' },
|
|
83
|
+
{ key: 'qbx-hands-02-other-card-r', file: 'qbx-hands-02-other-card-r.png' },
|
|
84
|
+
{ key: 'qbx-hands-02-other-claw-l', file: 'qbx-hands-02-other-claw-l.png' },
|
|
85
|
+
{ key: 'qbx-hands-02-other-claw-r', file: 'qbx-hands-02-other-claw-r.png' },
|
|
86
|
+
{ key: 'qbx-hands-02-other-fist-l', file: 'qbx-hands-02-other-fist-l.png' },
|
|
87
|
+
{ key: 'qbx-hands-02-other-fist-r', file: 'qbx-hands-02-other-fist-r.png' },
|
|
88
|
+
{ key: 'qbx-hands-02-other-grip-l', file: 'qbx-hands-02-other-grip-l.png' },
|
|
89
|
+
{ key: 'qbx-hands-02-other-grip-r', file: 'qbx-hands-02-other-grip-r.png' },
|
|
90
|
+
{ key: 'qbx-hands-02-other-ko-l', file: 'qbx-hands-02-other-ko-l.png' },
|
|
91
|
+
{ key: 'qbx-hands-02-other-ko-r', file: 'qbx-hands-02-other-ko-r.png' },
|
|
92
|
+
{
|
|
93
|
+
key: 'qbx-hands-02-other-nail-check-01-l',
|
|
94
|
+
file: 'qbx-hands-02-other-nail-check-01-l.png',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
key: 'qbx-hands-02-other-nail-check-01-r',
|
|
98
|
+
file: 'qbx-hands-02-other-nail-check-01-r.png',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
key: 'qbx-hands-02-other-nail-check-02-l',
|
|
102
|
+
file: 'qbx-hands-02-other-nail-check-02-l.png',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: 'qbx-hands-02-other-nail-check-02-r',
|
|
106
|
+
file: 'qbx-hands-02-other-nail-check-02-r.png',
|
|
107
|
+
},
|
|
108
|
+
{ key: 'qbx-hands-02-other-offer-l', file: 'qbx-hands-02-other-offer-l.png' },
|
|
109
|
+
{ key: 'qbx-hands-02-other-offer-r', file: 'qbx-hands-02-other-offer-r.png' },
|
|
110
|
+
{ key: 'qbx-hands-02-other-push-l', file: 'qbx-hands-02-other-push-l.png' },
|
|
111
|
+
{ key: 'qbx-hands-02-other-push-r', file: 'qbx-hands-02-other-push-r.png' },
|
|
112
|
+
{
|
|
113
|
+
key: 'qbx-hands-02-other-push-the-button-l',
|
|
114
|
+
file: 'qbx-hands-02-other-push-the-button-l.png',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
key: 'qbx-hands-02-other-push-the-button-r',
|
|
118
|
+
file: 'qbx-hands-02-other-push-the-button-r.png',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
key: 'qbx-hands-02-other-scratch-l',
|
|
122
|
+
file: 'qbx-hands-02-other-scratch-l.png',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
key: 'qbx-hands-02-other-scratch-r',
|
|
126
|
+
file: 'qbx-hands-02-other-scratch-r.png',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
key: 'qbx-hands-02-other-spread-l',
|
|
130
|
+
file: 'qbx-hands-02-other-spread-l.png',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
key: 'qbx-hands-02-other-spread-r',
|
|
134
|
+
file: 'qbx-hands-02-other-spread-r.png',
|
|
135
|
+
},
|
|
136
|
+
{ key: 'qbx-hands-02-other-write-l', file: 'qbx-hands-02-other-write-l.png' },
|
|
137
|
+
{ key: 'qbx-hands-02-other-write-r', file: 'qbx-hands-02-other-write-r.png' },
|
|
138
|
+
{
|
|
139
|
+
key: 'qbx-hands-03-signs-cobblepot-l',
|
|
140
|
+
file: 'qbx-hands-03-signs-cobblepot-l.png',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
key: 'qbx-hands-03-signs-cobblepot-r',
|
|
144
|
+
file: 'qbx-hands-03-signs-cobblepot-r.png',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
key: 'qbx-hands-03-signs-fingers-crossed-l',
|
|
148
|
+
file: 'qbx-hands-03-signs-fingers-crossed-l.png',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
key: 'qbx-hands-03-signs-fingers-crossed-r',
|
|
152
|
+
file: 'qbx-hands-03-signs-fingers-crossed-r.png',
|
|
153
|
+
},
|
|
154
|
+
{ key: 'qbx-hands-03-signs-five-l', file: 'qbx-hands-03-signs-five-l.png' },
|
|
155
|
+
{ key: 'qbx-hands-03-signs-five-r', file: 'qbx-hands-03-signs-five-r.png' },
|
|
156
|
+
{ key: 'qbx-hands-03-signs-four-l', file: 'qbx-hands-03-signs-four-l.png' },
|
|
157
|
+
{ key: 'qbx-hands-03-signs-four-r', file: 'qbx-hands-03-signs-four-r.png' },
|
|
158
|
+
{
|
|
159
|
+
key: 'qbx-hands-03-signs-four-ring-l',
|
|
160
|
+
file: 'qbx-hands-03-signs-four-ring-l.png',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
key: 'qbx-hands-03-signs-four-ring-r',
|
|
164
|
+
file: 'qbx-hands-03-signs-four-ring-r.png',
|
|
165
|
+
},
|
|
166
|
+
{ key: 'qbx-hands-03-signs-fu-l', file: 'qbx-hands-03-signs-fu-l.png' },
|
|
167
|
+
{ key: 'qbx-hands-03-signs-fu-r', file: 'qbx-hands-03-signs-fu-r.png' },
|
|
168
|
+
{ key: 'qbx-hands-03-signs-index-l', file: 'qbx-hands-03-signs-index-l.png' },
|
|
169
|
+
{ key: 'qbx-hands-03-signs-index-r', file: 'qbx-hands-03-signs-index-r.png' },
|
|
170
|
+
{
|
|
171
|
+
key: 'qbx-hands-03-signs-martian-reactor-switch-l',
|
|
172
|
+
file: 'qbx-hands-03-signs-martian-reactor-switch-l.png',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
key: 'qbx-hands-03-signs-martian-reactor-switch-r',
|
|
176
|
+
file: 'qbx-hands-03-signs-martian-reactor-switch-r.png',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
key: 'qbx-hands-03-signs-one-does-not-simply-l',
|
|
180
|
+
file: 'qbx-hands-03-signs-one-does-not-simply-l.png',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
key: 'qbx-hands-03-signs-one-does-not-simply-r',
|
|
184
|
+
file: 'qbx-hands-03-signs-one-does-not-simply-r.png',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
key: 'qbx-hands-03-signs-peace-flipped-r',
|
|
188
|
+
file: 'qbx-hands-03-signs-peace-flipped-r.png',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
key: 'qbx-hands-03-signs-peace-flipped',
|
|
192
|
+
file: 'qbx-hands-03-signs-peace-flipped.png',
|
|
193
|
+
},
|
|
194
|
+
{ key: 'qbx-hands-03-signs-peace-l', file: 'qbx-hands-03-signs-peace-l.png' },
|
|
195
|
+
{ key: 'qbx-hands-03-signs-peace-r', file: 'qbx-hands-03-signs-peace-r.png' },
|
|
196
|
+
{
|
|
197
|
+
key: 'qbx-hands-03-signs-perfect-l',
|
|
198
|
+
file: 'qbx-hands-03-signs-perfect-l.png',
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
key: 'qbx-hands-03-signs-perfect-r',
|
|
202
|
+
file: 'qbx-hands-03-signs-perfect-r.png',
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
key: 'qbx-hands-03-signs-pinky-swear-l',
|
|
206
|
+
file: 'qbx-hands-03-signs-pinky-swear-l.png',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
key: 'qbx-hands-03-signs-pinky-swear-r',
|
|
210
|
+
file: 'qbx-hands-03-signs-pinky-swear-r.png',
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
key: 'qbx-hands-03-signs-rock-out-l',
|
|
214
|
+
file: 'qbx-hands-03-signs-rock-out-l.png',
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
key: 'qbx-hands-03-signs-rock-out-r',
|
|
218
|
+
file: 'qbx-hands-03-signs-rock-out-r.png',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
key: 'qbx-hands-03-signs-scout-salute-l',
|
|
222
|
+
file: 'qbx-hands-03-signs-scout-salute-l.png',
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
key: 'qbx-hands-03-signs-scout-salute-r',
|
|
226
|
+
file: 'qbx-hands-03-signs-scout-salute-r.png',
|
|
227
|
+
},
|
|
228
|
+
{ key: 'qbx-hands-03-signs-spock-l', file: 'qbx-hands-03-signs-spock-l.png' },
|
|
229
|
+
{ key: 'qbx-hands-03-signs-spock-r', file: 'qbx-hands-03-signs-spock-r.png' },
|
|
230
|
+
{ key: 'qbx-hands-03-signs-stop-l', file: 'qbx-hands-03-signs-stop-l.png' },
|
|
231
|
+
{ key: 'qbx-hands-03-signs-stop-r', file: 'qbx-hands-03-signs-stop-r.png' },
|
|
232
|
+
{
|
|
233
|
+
key: 'qbx-hands-03-signs-surf-s-up-flipped-l',
|
|
234
|
+
file: 'qbx-hands-03-signs-surf-s-up-flipped-l.png',
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
key: 'qbx-hands-03-signs-surf-s-up-flipped-r',
|
|
238
|
+
file: 'qbx-hands-03-signs-surf-s-up-flipped-r.png',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
key: 'qbx-hands-03-signs-surf-s-up-l',
|
|
242
|
+
file: 'qbx-hands-03-signs-surf-s-up-l.png',
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
key: 'qbx-hands-03-signs-surf-s-up-r',
|
|
246
|
+
file: 'qbx-hands-03-signs-surf-s-up-r.png',
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
key: 'qbx-hands-03-signs-three-hicox-l',
|
|
250
|
+
file: 'qbx-hands-03-signs-three-hicox-l.png',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
key: 'qbx-hands-03-signs-three-hicox-r',
|
|
254
|
+
file: 'qbx-hands-03-signs-three-hicox-r.png',
|
|
255
|
+
},
|
|
256
|
+
{ key: 'qbx-hands-03-signs-three-l', file: 'qbx-hands-03-signs-three-l.png' },
|
|
257
|
+
{ key: 'qbx-hands-03-signs-three-r', file: 'qbx-hands-03-signs-three-r.png' },
|
|
258
|
+
{
|
|
259
|
+
key: 'qbx-hands-03-signs-three-ring-l',
|
|
260
|
+
file: 'qbx-hands-03-signs-three-ring-l.png',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
key: 'qbx-hands-03-signs-three-ring-r',
|
|
264
|
+
file: 'qbx-hands-03-signs-three-ring-r.png',
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
key: 'qbx-hands-03-signs-thumbs-up-l',
|
|
268
|
+
file: 'qbx-hands-03-signs-thumbs-up-l.png',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
key: 'qbx-hands-03-signs-thumbs-up-r',
|
|
272
|
+
file: 'qbx-hands-03-signs-thumbs-up-r.png',
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
key: 'qbx-hands-04-weapons-detonator-l',
|
|
276
|
+
file: 'qbx-hands-04-weapons-detonator-l.png',
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
key: 'qbx-hands-04-weapons-detonator-r',
|
|
280
|
+
file: 'qbx-hands-04-weapons-detonator-r.png',
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
key: 'qbx-hands-04-weapons-grip-sword-l',
|
|
284
|
+
file: 'qbx-hands-04-weapons-grip-sword-l.png',
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
key: 'qbx-hands-04-weapons-grip-sword-r',
|
|
288
|
+
file: 'qbx-hands-04-weapons-grip-sword-r.png',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
key: 'qbx-hands-04-weapons-gun-01-l',
|
|
292
|
+
file: 'qbx-hands-04-weapons-gun-01-l.png',
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
key: 'qbx-hands-04-weapons-gun-01-r',
|
|
296
|
+
file: 'qbx-hands-04-weapons-gun-01-r.png',
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
key: 'qbx-hands-04-weapons-gun-02-l',
|
|
300
|
+
file: 'qbx-hands-04-weapons-gun-02-l.png',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
key: 'qbx-hands-04-weapons-gun-02-r',
|
|
304
|
+
file: 'qbx-hands-04-weapons-gun-02-r.png',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
key: 'qbx-hands-04-weapons-gun-03-l-cock-the-hammer',
|
|
308
|
+
file: 'qbx-hands-04-weapons-gun-03-l-cock-the-hammer.png',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
key: 'qbx-hands-04-weapons-gun-03-r-cock-the-hammer',
|
|
312
|
+
file: 'qbx-hands-04-weapons-gun-03-r-cock-the-hammer.png',
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
key: 'qbx-hands-04-weapons-hadoken-l',
|
|
316
|
+
file: 'qbx-hands-04-weapons-hadoken-l.png',
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
key: 'qbx-hands-04-weapons-hadoken-r',
|
|
320
|
+
file: 'qbx-hands-04-weapons-hadoken-r.png',
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
key: 'qbx-hands-04-weapons-pistol-double-l',
|
|
324
|
+
file: 'qbx-hands-04-weapons-pistol-double-l.png',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
key: 'qbx-hands-04-weapons-pistol-double-r',
|
|
328
|
+
file: 'qbx-hands-04-weapons-pistol-double-r.png',
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
key: 'qbx-hands-04-weapons-pistol-l',
|
|
332
|
+
file: 'qbx-hands-04-weapons-pistol-l.png',
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
key: 'qbx-hands-04-weapons-pistol-r',
|
|
336
|
+
file: 'qbx-hands-04-weapons-pistol-r.png',
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
key: 'qbx-hands-04-weapons-throw-l',
|
|
340
|
+
file: 'qbx-hands-04-weapons-throw-l.png',
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
key: 'qbx-hands-04-weapons-throw-r',
|
|
344
|
+
file: 'qbx-hands-04-weapons-throw-r.png',
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { SeedAssetsManifest } from './seedAssetsManifest';
|
|
2
|
+
import type { Library } from './library';
|
|
3
|
+
import type { PoseEntry } from './types';
|
|
4
|
+
/** 内置姿势所属骨架族:清单里族代表模型(Y Bot)的 rig */
|
|
5
|
+
export declare function builtinPoseRig(manifest?: SeedAssetsManifest): string;
|
|
6
|
+
/**
|
|
7
|
+
* 内置姿势条目清单(不带缩略图):id 稳定(seed-pose-<key>),rig 缺省取
|
|
8
|
+
* 清单族代表模型的 rig。StaticCatalogSource 与 seedBuiltinPosesInto 共用;
|
|
9
|
+
* 缩略图由各自调用方按自己的存储语义挂(catalog 静态文件/运行时渲染,
|
|
10
|
+
* 或播种时拉取入 blob)。
|
|
11
|
+
*/
|
|
12
|
+
export declare function buildBuiltinPoseEntries(rig?: string): PoseEntry[];
|
|
13
|
+
type Lib = Pick<Library, 'listEntries' | 'listBlobIds' | 'putBlob' | 'putEntry'>;
|
|
14
|
+
/**
|
|
15
|
+
* 播种核心(测试夹具,可注入):返回播种条数,0=未找到族代表模型。
|
|
16
|
+
* 条目 id 稳定(seed-pose-<key>),putEntry upsert 语义,重复播种安全。
|
|
17
|
+
*
|
|
18
|
+
* opts.thumbs:QBX 手势预览图 URL 表(key → url)。条目尚无 thumbnailId
|
|
19
|
+
* 时拉取 PNG 存 blob 并挂到条目上;已有 thumbnailId 的跳过(内容哈希
|
|
20
|
+
* 去重,重复播种不会翻倍存储)。拉取/存 blob 失败只告警,姿势本体照播。
|
|
21
|
+
*/
|
|
22
|
+
export declare function seedBuiltinPosesInto(lib: Lib, opts?: {
|
|
23
|
+
retryMs?: number;
|
|
24
|
+
maxWaitMs?: number;
|
|
25
|
+
sleep?: (ms: number) => Promise<void>;
|
|
26
|
+
thumbs?: Record<string, string>;
|
|
27
|
+
}): Promise<number>;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=seedBuiltinPoses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seedBuiltinPoses.d.ts","sourceRoot":"","sources":["../../src/assetLibrary/seedBuiltinPoses.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAA;AAC5D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACtC,OAAO,KAAK,EAAa,SAAS,EAAC,MAAM,SAAS,CAAA;AAMlD,qCAAqC;AACrC,wBAAgB,cAAc,CAC5B,QAAQ,GAAE,kBAAuC,GAChD,MAAM,CAQR;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,GAAE,MAAyB,GAC7B,SAAS,EAAE,CAYb;AAED,KAAK,GAAG,GAAG,IAAI,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC,CAAA;AAEhF;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CACxC,GAAG,EAAE,GAAG,EACR,IAAI,GAAE;IACJ,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAC3B,GACL,OAAO,CAAC,MAAM,CAAC,CAoDjB"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// packages/camera-studio/src/assetLibrary/seedBuiltinPoses.ts
|
|
2
|
+
/**
|
|
3
|
+
* 内置姿势条目构建(2026-10-10 内置资产目录化后):三批来源的数据模块
|
|
4
|
+
* - seedPoses:12 个程序化基础姿势(blender_dump.py 按方向摆 metarig)
|
|
5
|
+
* - seedPosesDpl:58 个 Dynamic Pose Library 姿势(blender_dump_dpl.py
|
|
6
|
+
* 读 BlendAtlas 免费姿势包 .blend,含手指映射)
|
|
7
|
+
* - seedPosesQbx:110 个 QBX 手势(blender_dump_qbx.py 读 QBX 免费姿势包
|
|
8
|
+
* 的 03_Hands 目录,仅手指骨的叠加片段:基础/其他/手势/持握 × 左右手)
|
|
9
|
+
*
|
|
10
|
+
* 去播种后,这些条目不再写入用户库,而是由 StaticCatalogSource 以
|
|
11
|
+
* 只读目录形式提供;条目 id 保持 seed-pose-<key> 不变(旧场景按 id 引用,
|
|
12
|
+
* 硬约束)。姿势的 rig 绑清单里族代表模型(Y Bot)的 rig——该值由生成
|
|
13
|
+
* 脚本用运行时同一 rigIdOf(FBX 解析)算出,用户导入同款 Mixamo 模型
|
|
14
|
+
* 得到的 rig 与之相等,姿势族匹配不断。
|
|
15
|
+
*
|
|
16
|
+
* seedBuiltinPosesInto 保留为测试夹具:把内置姿势写进传入的库(含
|
|
17
|
+
* 预览图拉取入库逻辑),生产代码不再调用。
|
|
18
|
+
*/
|
|
19
|
+
import { seedPoses } from './seedPoses';
|
|
20
|
+
import { seedPosesDpl } from './seedPosesDpl';
|
|
21
|
+
import { seedPosesQbx } from './seedPosesQbx';
|
|
22
|
+
import { seedAssetsManifest } from './seedAssetsManifest';
|
|
23
|
+
const SEED_RIG_MODEL_NAME = 'Y Bot';
|
|
24
|
+
const MAX_WAIT_MS = 15000;
|
|
25
|
+
const RETRY_MS = 500;
|
|
26
|
+
/** 内置姿势所属骨架族:清单里族代表模型(Y Bot)的 rig */
|
|
27
|
+
export function builtinPoseRig(manifest = seedAssetsManifest) {
|
|
28
|
+
const rep = manifest.models.find((m) => m.name === SEED_RIG_MODEL_NAME);
|
|
29
|
+
if (!rep) {
|
|
30
|
+
throw new Error(`[assetLibrary] 资产清单缺族代表模型:${SEED_RIG_MODEL_NAME}`);
|
|
31
|
+
}
|
|
32
|
+
return rep.rig;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 内置姿势条目清单(不带缩略图):id 稳定(seed-pose-<key>),rig 缺省取
|
|
36
|
+
* 清单族代表模型的 rig。StaticCatalogSource 与 seedBuiltinPosesInto 共用;
|
|
37
|
+
* 缩略图由各自调用方按自己的存储语义挂(catalog 静态文件/运行时渲染,
|
|
38
|
+
* 或播种时拉取入 blob)。
|
|
39
|
+
*/
|
|
40
|
+
export function buildBuiltinPoseEntries(rig = builtinPoseRig()) {
|
|
41
|
+
const all = [...seedPoses, ...seedPosesDpl, ...seedPosesQbx];
|
|
42
|
+
return all.map((p) => ({
|
|
43
|
+
id: 'seed-pose-' + p.key,
|
|
44
|
+
kind: 'pose',
|
|
45
|
+
name: p.name,
|
|
46
|
+
rig,
|
|
47
|
+
bones: p.bones,
|
|
48
|
+
// 内置条目 createdAt 恒 0:目录内容静态,时间戳无意义;固定值保证
|
|
49
|
+
// 清单稳定(每次构建字节一致),排序语义上沉底为「最旧」
|
|
50
|
+
createdAt: 0,
|
|
51
|
+
}));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 播种核心(测试夹具,可注入):返回播种条数,0=未找到族代表模型。
|
|
55
|
+
* 条目 id 稳定(seed-pose-<key>),putEntry upsert 语义,重复播种安全。
|
|
56
|
+
*
|
|
57
|
+
* opts.thumbs:QBX 手势预览图 URL 表(key → url)。条目尚无 thumbnailId
|
|
58
|
+
* 时拉取 PNG 存 blob 并挂到条目上;已有 thumbnailId 的跳过(内容哈希
|
|
59
|
+
* 去重,重复播种不会翻倍存储)。拉取/存 blob 失败只告警,姿势本体照播。
|
|
60
|
+
*/
|
|
61
|
+
export async function seedBuiltinPosesInto(lib, opts = {}) {
|
|
62
|
+
const { retryMs = RETRY_MS, maxWaitMs = MAX_WAIT_MS, thumbs } = opts;
|
|
63
|
+
const sleep = opts.sleep ?? ((ms) => new Promise((r) => setTimeout(r, ms)));
|
|
64
|
+
const deadline = Date.now() + maxWaitMs;
|
|
65
|
+
let rig;
|
|
66
|
+
while (Date.now() <= deadline) {
|
|
67
|
+
const models = (await lib.listEntries('model'));
|
|
68
|
+
rig = models.find((m) => m.name === SEED_RIG_MODEL_NAME)?.rig;
|
|
69
|
+
if (rig)
|
|
70
|
+
break;
|
|
71
|
+
await sleep(retryMs);
|
|
72
|
+
}
|
|
73
|
+
if (!rig) {
|
|
74
|
+
console.warn(`[assetLibrary] 未找到 ${SEED_RIG_MODEL_NAME} 模型条目,内置姿势跳过播种`);
|
|
75
|
+
return 0;
|
|
76
|
+
}
|
|
77
|
+
// 已播条目的 thumbnailId 先查一轮:补挂只发生在缺失时
|
|
78
|
+
const existingThumbById = new Map();
|
|
79
|
+
let existingBlobIds;
|
|
80
|
+
if (thumbs) {
|
|
81
|
+
for (const e of (await lib.listEntries('pose'))) {
|
|
82
|
+
if (e.thumbnailId)
|
|
83
|
+
existingThumbById.set(e.id, e.thumbnailId);
|
|
84
|
+
}
|
|
85
|
+
// 引用了不存在 blob 的条目视为无图(曾被孤儿清扫误删等),触发重补
|
|
86
|
+
existingBlobIds = new Set(await lib.listBlobIds());
|
|
87
|
+
}
|
|
88
|
+
const entries = buildBuiltinPoseEntries(rig);
|
|
89
|
+
for (const entry of entries) {
|
|
90
|
+
const key = entry.id.slice('seed-pose-'.length);
|
|
91
|
+
let thumbnailId = existingThumbById.get(entry.id);
|
|
92
|
+
if (thumbnailId && existingBlobIds && !existingBlobIds.has(thumbnailId)) {
|
|
93
|
+
thumbnailId = undefined;
|
|
94
|
+
}
|
|
95
|
+
const thumbUrl = thumbs?.[key];
|
|
96
|
+
if (thumbUrl && !thumbnailId) {
|
|
97
|
+
try {
|
|
98
|
+
const res = await fetch(thumbUrl);
|
|
99
|
+
if (!res.ok)
|
|
100
|
+
throw new Error(`HTTP ${res.status}`);
|
|
101
|
+
thumbnailId = await lib.putBlob(await res.blob());
|
|
102
|
+
}
|
|
103
|
+
catch (err) {
|
|
104
|
+
console.warn(`[assetLibrary] 姿势预览图入库失败: ${key}`, err);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
await lib.putEntry({
|
|
108
|
+
...entry,
|
|
109
|
+
createdAt: Date.now(),
|
|
110
|
+
...(thumbnailId ? { thumbnailId } : {}),
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
return entries.length;
|
|
114
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seedBuiltinPoses.test.d.ts","sourceRoot":"","sources":["../../src/assetLibrary/seedBuiltinPoses.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// packages/camera-studio/src/assetLibrary/seedBuiltinPoses.test.ts
|
|
2
|
+
import { seedBuiltinPosesInto } from './seedBuiltinPoses';
|
|
3
|
+
import { seedPoses } from './seedPoses';
|
|
4
|
+
import { seedPosesDpl } from './seedPosesDpl';
|
|
5
|
+
import { seedPosesQbx } from './seedPosesQbx';
|
|
6
|
+
const TOTAL = seedPoses.length + seedPosesDpl.length + seedPosesQbx.length;
|
|
7
|
+
function fakeLib(models, existingPoses = [], existingBlobIds = []) {
|
|
8
|
+
const put = [];
|
|
9
|
+
const blobs = [];
|
|
10
|
+
let call = 0;
|
|
11
|
+
const lib = {
|
|
12
|
+
listEntries: async (kind) => {
|
|
13
|
+
if (kind === 'pose')
|
|
14
|
+
return existingPoses;
|
|
15
|
+
expect(kind).toBe('model');
|
|
16
|
+
return models[Math.min(call++, models.length - 1)];
|
|
17
|
+
},
|
|
18
|
+
putBlob: async (data) => {
|
|
19
|
+
const id = 'blob-' + blobs.length;
|
|
20
|
+
blobs.push(id);
|
|
21
|
+
return id;
|
|
22
|
+
},
|
|
23
|
+
listBlobIds: async () => [...existingBlobIds, ...blobs],
|
|
24
|
+
putEntry: async (e) => {
|
|
25
|
+
put.push(e);
|
|
26
|
+
},
|
|
27
|
+
};
|
|
28
|
+
return { lib, put, blobs };
|
|
29
|
+
}
|
|
30
|
+
// sleep 是空操作,真实耗时在事件循环调度上;maxWaitMs 给宽些,避免
|
|
31
|
+
// 全套件并行时 worker 卡顿超过窗口导致轮询测试偶发判 0(2026-10-05 遇到)
|
|
32
|
+
const noSleep = { sleep: async () => { }, retryMs: 1, maxWaitMs: 5000 };
|
|
33
|
+
/** 只给第一个 QBX 手势配图,缩小断言面 */
|
|
34
|
+
const oneThumb = () => ({ [seedPosesQbx[0].key]: '/thumbs/one.png' });
|
|
35
|
+
function stubFetch(ok = true) {
|
|
36
|
+
const calls = [];
|
|
37
|
+
const orig = globalThis.fetch;
|
|
38
|
+
globalThis.fetch = (async (url) => {
|
|
39
|
+
calls.push(String(url));
|
|
40
|
+
if (!ok)
|
|
41
|
+
return { ok: false, status: 404 };
|
|
42
|
+
return { ok: true, blob: async () => new Blob(['png']) };
|
|
43
|
+
});
|
|
44
|
+
return {
|
|
45
|
+
calls,
|
|
46
|
+
restore: () => {
|
|
47
|
+
globalThis.fetch = orig;
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
describe('seedBuiltinPosesInto', () => {
|
|
52
|
+
it('Y Bot 在库:按稳定 id 播种全部内置姿势(程序化+DPL+QBX 手势),rig 绑 Y Bot 骨架族', async () => {
|
|
53
|
+
const { lib, put } = fakeLib([[{ name: 'Y Bot', rig: 'rig-ybot' }]]);
|
|
54
|
+
const count = await seedBuiltinPosesInto(lib, noSleep);
|
|
55
|
+
expect(count).toBe(TOTAL);
|
|
56
|
+
expect(put).toHaveLength(TOTAL);
|
|
57
|
+
expect(put[0]).toMatchObject({
|
|
58
|
+
id: 'seed-pose-' + seedPoses[0].key,
|
|
59
|
+
kind: 'pose',
|
|
60
|
+
name: seedPoses[0].name,
|
|
61
|
+
rig: 'rig-ybot',
|
|
62
|
+
});
|
|
63
|
+
expect(Object.keys(put[0].kind === 'pose' ? put[0].bones : {})).toContain('mixamorigHips');
|
|
64
|
+
// QBX 批(末批):最后一个条目是 seedPosesQbx 末位,id/rig 正确且手指骨在覆盖内
|
|
65
|
+
const last = put[put.length - 1];
|
|
66
|
+
expect(last).toMatchObject({
|
|
67
|
+
id: 'seed-pose-' + seedPosesQbx[seedPosesQbx.length - 1].key,
|
|
68
|
+
kind: 'pose',
|
|
69
|
+
rig: 'rig-ybot',
|
|
70
|
+
});
|
|
71
|
+
expect(Object.keys(last.kind === 'pose' ? last.bones : {})).toContain('mixamorigRightHandThumb1');
|
|
72
|
+
// QBX 是纯手势片段:只含 30 根手指骨,不含躯干骨
|
|
73
|
+
expect(Object.keys(last.kind === 'pose' ? last.bones : {})).not.toContain('mixamorigHips');
|
|
74
|
+
// 重复播种(同 id upsert)不产生异常
|
|
75
|
+
const again = await seedBuiltinPosesInto(lib, noSleep);
|
|
76
|
+
expect(again).toBe(TOTAL);
|
|
77
|
+
});
|
|
78
|
+
it('Y Bot 迟迟未播种:轮询等到出现后播种', async () => {
|
|
79
|
+
const { lib, put } = fakeLib([[], [], [{ name: 'Y Bot', rig: 'rig-ybot' }]]);
|
|
80
|
+
const count = await seedBuiltinPosesInto(lib, noSleep);
|
|
81
|
+
expect(count).toBe(TOTAL);
|
|
82
|
+
expect(put.length).toBe(TOTAL);
|
|
83
|
+
});
|
|
84
|
+
it('Y Bot 始终不在:返回 0 不写库', async () => {
|
|
85
|
+
const { lib, put } = fakeLib([[{ name: 'X Bot', rig: 'rig-x' }]]);
|
|
86
|
+
const count = await seedBuiltinPosesInto(lib, noSleep);
|
|
87
|
+
expect(count).toBe(0);
|
|
88
|
+
expect(put).toHaveLength(0);
|
|
89
|
+
});
|
|
90
|
+
it('thumbs 传入且条目无图:拉取 PNG 存 blob 并挂 thumbnailId', async () => {
|
|
91
|
+
const { lib, put, blobs } = fakeLib([[{ name: 'Y Bot', rig: 'rig-ybot' }]]);
|
|
92
|
+
const fetchStub = stubFetch();
|
|
93
|
+
try {
|
|
94
|
+
const count = await seedBuiltinPosesInto(lib, {
|
|
95
|
+
...noSleep,
|
|
96
|
+
thumbs: oneThumb(),
|
|
97
|
+
});
|
|
98
|
+
expect(count).toBe(TOTAL);
|
|
99
|
+
expect(fetchStub.calls).toEqual(['/thumbs/one.png']);
|
|
100
|
+
expect(blobs).toEqual(['blob-0']);
|
|
101
|
+
const qbx0 = put.find((e) => e.id === 'seed-pose-' + seedPosesQbx[0].key);
|
|
102
|
+
expect(qbx0).toMatchObject({ thumbnailId: 'blob-0' });
|
|
103
|
+
// 无图的条目不带 thumbnailId 字段
|
|
104
|
+
const dpl0 = put.find((e) => e.id === 'seed-pose-' + seedPosesDpl[0].key);
|
|
105
|
+
expect(dpl0 && 'thumbnailId' in dpl0).toBe(false);
|
|
106
|
+
}
|
|
107
|
+
finally {
|
|
108
|
+
fetchStub.restore();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
it('条目已有 thumbnailId:不重复拉取,保留原图 id', async () => {
|
|
112
|
+
const existing = {
|
|
113
|
+
id: 'seed-pose-' + seedPosesQbx[0].key,
|
|
114
|
+
kind: 'pose',
|
|
115
|
+
name: seedPosesQbx[0].name,
|
|
116
|
+
rig: 'rig-ybot',
|
|
117
|
+
thumbnailId: 'blob-old',
|
|
118
|
+
bones: {},
|
|
119
|
+
createdAt: 1,
|
|
120
|
+
};
|
|
121
|
+
const { lib, put, blobs } = fakeLib([[{ name: 'Y Bot', rig: 'rig-ybot' }]], [existing], ['blob-old']);
|
|
122
|
+
const fetchStub = stubFetch();
|
|
123
|
+
try {
|
|
124
|
+
await seedBuiltinPosesInto(lib, { ...noSleep, thumbs: oneThumb() });
|
|
125
|
+
expect(fetchStub.calls).toHaveLength(0);
|
|
126
|
+
expect(blobs).toHaveLength(0);
|
|
127
|
+
const qbx0 = put.find((e) => e.id === existing.id);
|
|
128
|
+
expect(qbx0).toMatchObject({ thumbnailId: 'blob-old' });
|
|
129
|
+
}
|
|
130
|
+
finally {
|
|
131
|
+
fetchStub.restore();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
it('条目 thumbnailId 是死引用(blob 已被误删):重新拉取补挂', async () => {
|
|
135
|
+
const existing = {
|
|
136
|
+
id: 'seed-pose-' + seedPosesQbx[0].key,
|
|
137
|
+
kind: 'pose',
|
|
138
|
+
name: seedPosesQbx[0].name,
|
|
139
|
+
rig: 'rig-ybot',
|
|
140
|
+
thumbnailId: 'blob-gone',
|
|
141
|
+
bones: {},
|
|
142
|
+
createdAt: 1,
|
|
143
|
+
};
|
|
144
|
+
const { lib, put, blobs } = fakeLib([[{ name: 'Y Bot', rig: 'rig-ybot' }]], [existing], []);
|
|
145
|
+
const fetchStub = stubFetch();
|
|
146
|
+
try {
|
|
147
|
+
await seedBuiltinPosesInto(lib, { ...noSleep, thumbs: oneThumb() });
|
|
148
|
+
expect(fetchStub.calls).toEqual(['/thumbs/one.png']);
|
|
149
|
+
const qbx0 = put.find((e) => e.id === existing.id);
|
|
150
|
+
expect(qbx0).toMatchObject({ thumbnailId: 'blob-0' });
|
|
151
|
+
expect(blobs).toEqual(['blob-0']);
|
|
152
|
+
}
|
|
153
|
+
finally {
|
|
154
|
+
fetchStub.restore();
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
it('预览图拉取失败:只告警,姿势本体照播不带 thumbnailId', async () => {
|
|
158
|
+
const { lib, put, blobs } = fakeLib([[{ name: 'Y Bot', rig: 'rig-ybot' }]]);
|
|
159
|
+
const fetchStub = stubFetch(false);
|
|
160
|
+
const warn = jest.spyOn(console, 'warn').mockImplementation(() => { });
|
|
161
|
+
try {
|
|
162
|
+
const count = await seedBuiltinPosesInto(lib, {
|
|
163
|
+
...noSleep,
|
|
164
|
+
thumbs: oneThumb(),
|
|
165
|
+
});
|
|
166
|
+
expect(count).toBe(TOTAL);
|
|
167
|
+
expect(blobs).toHaveLength(0);
|
|
168
|
+
const qbx0 = put.find((e) => e.id === 'seed-pose-' + seedPosesQbx[0].key);
|
|
169
|
+
expect(qbx0 && 'thumbnailId' in qbx0).toBe(false);
|
|
170
|
+
}
|
|
171
|
+
finally {
|
|
172
|
+
fetchStub.restore();
|
|
173
|
+
warn.mockRestore();
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
});
|