@allyhub/sdk 0.1.0-alpha.8 → 0.2.0-next.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/NOTICE +85 -0
- package/client.d.ts +45 -1
- package/dist/anim.js +2 -75
- package/dist/define.d.ts +10 -4
- package/dist/define.js +2 -95
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +2 -457
- package/dist/fit.js +2 -60
- package/dist/free.d.ts +18 -0
- package/dist/free.js +2 -0
- package/dist/index.d.ts +28 -13
- package/dist/index.js +2 -11
- package/dist/input.d.ts +306 -0
- package/dist/input.js +2 -0
- package/dist/media.d.ts +3 -6
- package/dist/media.js +2 -27
- package/dist/messages.d.ts +3 -2
- package/dist/messages.js +2 -2
- package/dist/module.d.ts +24 -0
- package/dist/module.js +2 -0
- package/dist/noise.js +2 -233
- package/dist/parts.d.ts +97 -21
- package/dist/parts.js +2 -414
- package/dist/paths.d.ts +1 -1
- package/dist/paths.js +2 -720
- package/dist/phone.d.ts +26 -0
- package/dist/phone.js +2 -0
- package/dist/piece.d.ts +106 -35
- package/dist/piece.js +2 -38
- package/dist/props.d.ts +1 -1
- package/dist/props.js +2 -35
- package/dist/scenery.d.ts +2 -0
- package/dist/scenery.js +2 -0
- package/dist/text.js +2 -38
- package/dist/written.d.ts +12 -0
- package/dist/written.js +2 -0
- package/docs/README.md +18 -0
- package/docs/batches.md +148 -0
- package/docs/contract.md +51 -0
- package/docs/defaults.md +703 -0
- package/docs/docs.md +148 -0
- package/docs/footage.md +249 -0
- package/docs/layers.md +317 -0
- package/docs/modeling.md +143 -0
- package/docs/project.md +265 -0
- package/docs/scenery.md +308 -0
- package/docs/sheets.md +119 -0
- package/docs/slides.md +111 -0
- package/docs/sound.md +170 -0
- package/docs/speech.md +289 -0
- package/docs/video.md +265 -0
- package/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +52 -0
- package/node_modules/@allyhub-next/audio/dist/at-cut.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/decode.d.ts +33 -0
- package/node_modules/@allyhub-next/audio/dist/decode.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/envelope.d.ts +37 -0
- package/node_modules/@allyhub-next/audio/dist/envelope.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/index.d.ts +17 -0
- package/node_modules/@allyhub-next/audio/dist/index.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/levels.d.ts +97 -0
- package/node_modules/@allyhub-next/audio/dist/levels.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/master.d.ts +29 -0
- package/node_modules/@allyhub-next/audio/dist/master.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/music.d.ts +11 -0
- package/node_modules/@allyhub-next/audio/dist/music.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +39 -0
- package/node_modules/@allyhub-next/audio/dist/node/decode.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +25 -0
- package/node_modules/@allyhub-next/audio/dist/node/ebur128.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +31 -0
- package/node_modules/@allyhub-next/audio/dist/node/ffmpeg.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/index.d.ts +8 -0
- package/node_modules/@allyhub-next/audio/dist/node/index.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +18 -0
- package/node_modules/@allyhub-next/audio/dist/node/loudness.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/master.d.ts +42 -0
- package/node_modules/@allyhub-next/audio/dist/node/master.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +60 -0
- package/node_modules/@allyhub-next/audio/dist/node/measure.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +31 -0
- package/node_modules/@allyhub-next/audio/dist/node/mix.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/plan.d.ts +143 -0
- package/node_modules/@allyhub-next/audio/dist/plan.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recorded.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/recorded.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +47 -0
- package/node_modules/@allyhub-next/audio/dist/recording/bandwidth.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +89 -0
- package/node_modules/@allyhub-next/audio/dist/recording/chain.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +64 -0
- package/node_modules/@allyhub-next/audio/dist/recording/dynamics.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fft.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +42 -0
- package/node_modules/@allyhub-next/audio/dist/recording/filters.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +56 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fit.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +10 -0
- package/node_modules/@allyhub-next/audio/dist/recording/index.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +12 -0
- package/node_modules/@allyhub-next/audio/dist/recording/loudness.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +67 -0
- package/node_modules/@allyhub-next/audio/dist/recording/measure.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +32 -0
- package/node_modules/@allyhub-next/audio/dist/recording/mic.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +27 -0
- package/node_modules/@allyhub-next/audio/dist/recording/noise.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +64 -0
- package/node_modules/@allyhub-next/audio/dist/recording/presets.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +78 -0
- package/node_modules/@allyhub-next/audio/dist/recording/room.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +111 -0
- package/node_modules/@allyhub-next/audio/dist/recording/setup.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +3 -0
- package/node_modules/@allyhub-next/audio/dist/recording/vec.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/render.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/render.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/sfx.d.ts +10 -0
- package/node_modules/@allyhub-next/audio/dist/sfx.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/shape.d.ts +118 -0
- package/node_modules/@allyhub-next/audio/dist/shape.js +2 -0
- package/node_modules/@allyhub-next/audio/dist/voice.d.ts +45 -0
- package/node_modules/@allyhub-next/audio/dist/voice.js +2 -0
- package/node_modules/@allyhub-next/audio/package.json +17 -0
- package/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +94 -0
- package/node_modules/@allyhub-next/formats/dist/data/comments.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/config.d.ts +10 -0
- package/node_modules/@allyhub-next/formats/dist/data/config.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/edits.d.ts +28 -0
- package/node_modules/@allyhub-next/formats/dist/data/edits.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/elements.d.ts +6 -0
- package/node_modules/@allyhub-next/formats/dist/data/elements.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +38 -0
- package/node_modules/@allyhub-next/formats/dist/data/faces.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/file.d.ts +11 -0
- package/node_modules/@allyhub-next/formats/dist/data/file.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/gen.d.ts +31 -0
- package/node_modules/@allyhub-next/formats/dist/data/gen.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/messages.d.ts +34 -0
- package/node_modules/@allyhub-next/formats/dist/data/messages.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +676 -0
- package/node_modules/@allyhub-next/formats/dist/data/reference.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/script.d.ts +37 -0
- package/node_modules/@allyhub-next/formats/dist/data/script.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +214 -0
- package/node_modules/@allyhub-next/formats/dist/data/sheet.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/data/words.d.ts +25 -0
- package/node_modules/@allyhub-next/formats/dist/data/words.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/index.d.ts +16 -0
- package/node_modules/@allyhub-next/formats/dist/index.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/items.d.ts +94 -0
- package/node_modules/@allyhub-next/formats/dist/items.js +2 -0
- package/node_modules/@allyhub-next/formats/dist/layout.d.ts +50 -0
- package/node_modules/@allyhub-next/formats/dist/layout.js +5 -0
- package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +301 -0
- package/node_modules/@allyhub-next/formats/dist/schemas.js +2 -0
- package/node_modules/@allyhub-next/formats/package.json +14 -0
- package/node_modules/@allyhub-next/formats/schemas/comments.schema.json +152 -0
- package/node_modules/@allyhub-next/formats/schemas/config.schema.json +43 -0
- package/node_modules/@allyhub-next/formats/schemas/edits.schema.json +112 -0
- package/node_modules/@allyhub-next/formats/schemas/elements.schema.json +33 -0
- package/node_modules/@allyhub-next/formats/schemas/gen.schema.json +97 -0
- package/node_modules/@allyhub-next/formats/schemas/interpretation.schema.json +125 -0
- package/node_modules/@allyhub-next/formats/schemas/items.json +75 -0
- package/node_modules/@allyhub-next/formats/schemas/messages.schema.json +11 -0
- package/node_modules/@allyhub-next/formats/schemas/script.schema.json +162 -0
- package/node_modules/@allyhub-next/formats/schemas/sheet.schema.json +395 -0
- package/node_modules/@allyhub-next/formats/schemas/words.schema.json +63 -0
- package/node_modules/@allyhub-next/protocol/dist/app.d.ts +98 -0
- package/node_modules/@allyhub-next/protocol/dist/app.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/auth.d.ts +116 -0
- package/node_modules/@allyhub-next/protocol/dist/auth.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/cli.d.ts +59 -0
- package/node_modules/@allyhub-next/protocol/dist/cli.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +272 -0
- package/node_modules/@allyhub-next/protocol/dist/cloud.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/editor.d.ts +405 -0
- package/node_modules/@allyhub-next/protocol/dist/editor.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/files.d.ts +101 -0
- package/node_modules/@allyhub-next/protocol/dist/files.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/index.d.ts +12 -0
- package/node_modules/@allyhub-next/protocol/dist/index.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/jsonrpc.d.ts +83 -0
- package/node_modules/@allyhub-next/protocol/dist/jsonrpc.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/registry.d.ts +53 -0
- package/node_modules/@allyhub-next/protocol/dist/registry.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/runtimes.d.ts +93 -0
- package/node_modules/@allyhub-next/protocol/dist/runtimes.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/teams.d.ts +67 -0
- package/node_modules/@allyhub-next/protocol/dist/teams.js +2 -0
- package/node_modules/@allyhub-next/protocol/dist/tools.d.ts +345 -0
- package/node_modules/@allyhub-next/protocol/dist/tools.js +2 -0
- package/node_modules/@allyhub-next/protocol/package.json +13 -0
- package/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +10 -0
- package/node_modules/@allyhub-next/runtimes/dist/bundled.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/download.d.ts +15 -0
- package/node_modules/@allyhub-next/runtimes/dist/download.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/errors.d.ts +16 -0
- package/node_modules/@allyhub-next/runtimes/dist/errors.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/home.d.ts +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/home.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/index.d.ts +9 -0
- package/node_modules/@allyhub-next/runtimes/dist/index.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/lock.d.ts +6 -0
- package/node_modules/@allyhub-next/runtimes/dist/lock.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +3 -0
- package/node_modules/@allyhub-next/runtimes/dist/manifest.js +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +63 -0
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.js +3 -0
- package/node_modules/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
- package/node_modules/@allyhub-next/runtimes/dist/unpack.js +2 -0
- package/node_modules/@allyhub-next/runtimes/manifest.json +395 -0
- package/node_modules/@allyhub-next/runtimes/package.json +14 -0
- package/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +153 -0
- package/node_modules/@allyhub-next/scenery/NOTICE +42 -0
- package/node_modules/@allyhub-next/scenery/dist/aim.d.ts +55 -0
- package/node_modules/@allyhub-next/scenery/dist/aim.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/bake.d.ts +203 -0
- package/node_modules/@allyhub-next/scenery/dist/bake.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/camera.d.ts +150 -0
- package/node_modules/@allyhub-next/scenery/dist/camera.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/curve.d.ts +40 -0
- package/node_modules/@allyhub-next/scenery/dist/curve.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/define.d.ts +164 -0
- package/node_modules/@allyhub-next/scenery/dist/define.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/fit.d.ts +64 -0
- package/node_modules/@allyhub-next/scenery/dist/fit.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/glass.d.ts +34 -0
- package/node_modules/@allyhub-next/scenery/dist/glass.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/handheld.d.ts +184 -0
- package/node_modules/@allyhub-next/scenery/dist/handheld.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/hull.d.ts +23 -0
- package/node_modules/@allyhub-next/scenery/dist/hull.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/index.d.ts +22 -0
- package/node_modules/@allyhub-next/scenery/dist/index.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/lens.d.ts +48 -0
- package/node_modules/@allyhub-next/scenery/dist/lens.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/moire.d.ts +136 -0
- package/node_modules/@allyhub-next/scenery/dist/moire.js +93 -0
- package/node_modules/@allyhub-next/scenery/dist/motion.d.ts +48 -0
- package/node_modules/@allyhub-next/scenery/dist/motion.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/move.d.ts +260 -0
- package/node_modules/@allyhub-next/scenery/dist/move.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/noise.d.ts +41 -0
- package/node_modules/@allyhub-next/scenery/dist/noise.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/phone.d.ts +34 -0
- package/node_modules/@allyhub-next/scenery/dist/phone.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/report.d.ts +677 -0
- package/node_modules/@allyhub-next/scenery/dist/report.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/screen-focus.d.ts +55 -0
- package/node_modules/@allyhub-next/scenery/dist/screen-focus.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/screen.d.ts +71 -0
- package/node_modules/@allyhub-next/scenery/dist/screen.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/solve.d.ts +82 -0
- package/node_modules/@allyhub-next/scenery/dist/solve.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/timing.d.ts +26 -0
- package/node_modules/@allyhub-next/scenery/dist/timing.js +2 -0
- package/node_modules/@allyhub-next/scenery/dist/vec.d.ts +19 -0
- package/node_modules/@allyhub-next/scenery/dist/vec.js +2 -0
- package/node_modules/@allyhub-next/scenery/package.json +13 -0
- package/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +164 -0
- package/node_modules/@allyhub-next/video-core/dist/anchors.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +148 -0
- package/node_modules/@allyhub-next/video-core/dist/audio-types.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/backdrop.d.ts +87 -0
- package/node_modules/@allyhub-next/video-core/dist/backdrop.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/captions.d.ts +122 -0
- package/node_modules/@allyhub-next/video-core/dist/captions.js +11 -0
- package/node_modules/@allyhub-next/video-core/dist/console.d.ts +91 -0
- package/node_modules/@allyhub-next/video-core/dist/console.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +98 -0
- package/node_modules/@allyhub-next/video-core/dist/contrast.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +77 -0
- package/node_modules/@allyhub-next/video-core/dist/cut-report.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/edit.d.ts +77 -0
- package/node_modules/@allyhub-next/video-core/dist/edit.js +13 -0
- package/node_modules/@allyhub-next/video-core/dist/edits.d.ts +163 -0
- package/node_modules/@allyhub-next/video-core/dist/edits.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/export.d.ts +96 -0
- package/node_modules/@allyhub-next/video-core/dist/export.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/fact.d.ts +965 -0
- package/node_modules/@allyhub-next/video-core/dist/fact.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +168 -0
- package/node_modules/@allyhub-next/video-core/dist/footage-motion.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/formats.d.ts +240 -0
- package/node_modules/@allyhub-next/video-core/dist/formats.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/gen.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/gen.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/index.d.ts +40 -0
- package/node_modules/@allyhub-next/video-core/dist/index.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/look.d.ts +66 -0
- package/node_modules/@allyhub-next/video-core/dist/look.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/marks.d.ts +34 -0
- package/node_modules/@allyhub-next/video-core/dist/marks.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/matrix.d.ts +289 -0
- package/node_modules/@allyhub-next/video-core/dist/matrix.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/measure.d.ts +465 -0
- package/node_modules/@allyhub-next/video-core/dist/measure.js +5 -0
- package/node_modules/@allyhub-next/video-core/dist/media.d.ts +226 -0
- package/node_modules/@allyhub-next/video-core/dist/media.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/messages.d.ts +88 -0
- package/node_modules/@allyhub-next/video-core/dist/messages.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/motion.d.ts +56 -0
- package/node_modules/@allyhub-next/video-core/dist/motion.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/music.d.ts +110 -0
- package/node_modules/@allyhub-next/video-core/dist/music.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/piece.d.ts +1146 -0
- package/node_modules/@allyhub-next/video-core/dist/piece.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/placement.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/placement.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/problem.d.ts +262 -0
- package/node_modules/@allyhub-next/video-core/dist/problem.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/render-types.d.ts +49 -0
- package/node_modules/@allyhub-next/video-core/dist/render-types.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/schema.d.ts +352 -0
- package/node_modules/@allyhub-next/video-core/dist/schema.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +176 -0
- package/node_modules/@allyhub-next/video-core/dist/script-edit.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/script.d.ts +67 -0
- package/node_modules/@allyhub-next/video-core/dist/script.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/seams.d.ts +214 -0
- package/node_modules/@allyhub-next/video-core/dist/seams.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/slides.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +72 -0
- package/node_modules/@allyhub-next/video-core/dist/sound-under.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/speech.d.ts +83 -0
- package/node_modules/@allyhub-next/video-core/dist/speech.js +5 -0
- package/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +616 -0
- package/node_modules/@allyhub-next/video-core/dist/timeline.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/timing.d.ts +88 -0
- package/node_modules/@allyhub-next/video-core/dist/timing.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +288 -0
- package/node_modules/@allyhub-next/video-core/dist/transcript.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/transition.d.ts +289 -0
- package/node_modules/@allyhub-next/video-core/dist/transition.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/voice.d.ts +175 -0
- package/node_modules/@allyhub-next/video-core/dist/voice.js +2 -0
- package/node_modules/@allyhub-next/video-core/dist/words.d.ts +128 -0
- package/node_modules/@allyhub-next/video-core/dist/words.js +2 -0
- package/node_modules/@allyhub-next/video-core/package.json +14 -0
- package/package.json +52 -41
- package/README.md +0 -17
- package/dist/anim.d.ts.map +0 -1
- package/dist/anim.js.map +0 -1
- package/dist/define.d.ts.map +0 -1
- package/dist/define.js.map +0 -1
- package/dist/dom.d.ts.map +0 -1
- package/dist/dom.js.map +0 -1
- package/dist/fit.d.ts.map +0 -1
- package/dist/fit.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/media.d.ts.map +0 -1
- package/dist/media.js.map +0 -1
- package/dist/messages.d.ts.map +0 -1
- package/dist/messages.js.map +0 -1
- package/dist/noise.d.ts.map +0 -1
- package/dist/noise.js.map +0 -1
- package/dist/parts.d.ts.map +0 -1
- package/dist/parts.js.map +0 -1
- package/dist/paths.d.ts.map +0 -1
- package/dist/paths.js.map +0 -1
- package/dist/piece.d.ts.map +0 -1
- package/dist/piece.js.map +0 -1
- package/dist/props.d.ts.map +0 -1
- package/dist/props.js.map +0 -1
- package/dist/text.d.ts.map +0 -1
- package/dist/text.js.map +0 -1
- /package/{LICENSE → LICENSE.md} +0 -0
|
@@ -0,0 +1,676 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Words up to a full stop, a question or exclamation mark, or a pause. */
|
|
3
|
+
export declare const ReferenceSentenceSchema: z.ZodObject<{
|
|
4
|
+
index: z.ZodNumber;
|
|
5
|
+
start: z.ZodNumber;
|
|
6
|
+
end: z.ZodNumber;
|
|
7
|
+
words: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
8
|
+
text: z.ZodString;
|
|
9
|
+
punctuation: z.ZodBoolean;
|
|
10
|
+
pauseAfter: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
export type ReferenceSentence = z.infer<typeof ReferenceSentenceSchema>;
|
|
13
|
+
/** A gap between two words. */
|
|
14
|
+
export declare const ReferenceGapSchema: z.ZodObject<{
|
|
15
|
+
after: z.ZodNumber;
|
|
16
|
+
start: z.ZodNumber;
|
|
17
|
+
end: z.ZodNumber;
|
|
18
|
+
dur: z.ZodNumber;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type ReferenceGap = z.infer<typeof ReferenceGapSchema>;
|
|
21
|
+
/** A moment a section could start at, and what was measured there. */
|
|
22
|
+
export declare const ReferenceBoundarySchema: z.ZodObject<{
|
|
23
|
+
t: z.ZodNumber;
|
|
24
|
+
cut: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
t: z.ZodNumber;
|
|
26
|
+
score: z.ZodNumber;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
weak: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
t: z.ZodNumber;
|
|
30
|
+
score: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>>;
|
|
32
|
+
pause: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
start: z.ZodNumber;
|
|
34
|
+
end: z.ZodNumber;
|
|
35
|
+
dur: z.ZodNumber;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
sentence: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type ReferenceBoundary = z.infer<typeof ReferenceBoundarySchema>;
|
|
40
|
+
/** One line of text read on screen, as observed: the same text at about the same place in several sampled frames. */
|
|
41
|
+
export declare const ReferenceTextSchema: z.ZodObject<{
|
|
42
|
+
id: z.ZodNumber;
|
|
43
|
+
text: z.ZodString;
|
|
44
|
+
box: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
45
|
+
height: z.ZodNumber;
|
|
46
|
+
conf: z.ZodNumber;
|
|
47
|
+
words: z.ZodNumber;
|
|
48
|
+
upper: z.ZodNumber;
|
|
49
|
+
start: z.ZodNumber;
|
|
50
|
+
end: z.ZodNumber;
|
|
51
|
+
spans: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
52
|
+
seconds: z.ZodNumber;
|
|
53
|
+
seen: z.ZodNumber;
|
|
54
|
+
frames: z.ZodNumber;
|
|
55
|
+
spread: z.ZodNumber;
|
|
56
|
+
said: z.ZodNumber;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
export type ReferenceText = z.infer<typeof ReferenceTextSchema>;
|
|
59
|
+
/** The numbers of a stretch of a video. */
|
|
60
|
+
export declare const SectionNumbersSchema: z.ZodObject<{
|
|
61
|
+
start: z.ZodNumber;
|
|
62
|
+
end: z.ZodNumber;
|
|
63
|
+
dur: z.ZodNumber;
|
|
64
|
+
said: z.ZodString;
|
|
65
|
+
words: z.ZodNumber;
|
|
66
|
+
wordsPerMinute: z.ZodNumber;
|
|
67
|
+
cuts: z.ZodArray<z.ZodNumber>;
|
|
68
|
+
shots: z.ZodNumber;
|
|
69
|
+
cutsPerMinute: z.ZodNumber;
|
|
70
|
+
text: z.ZodArray<z.ZodNumber>;
|
|
71
|
+
textSeconds: z.ZodNumber;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
export type SectionNumbers = z.infer<typeof SectionNumbersSchema>;
|
|
74
|
+
/** A segment of the neutral split, named by its place: s1, s2… */
|
|
75
|
+
export declare const ReferenceSegmentSchema: z.ZodObject<{
|
|
76
|
+
start: z.ZodNumber;
|
|
77
|
+
end: z.ZodNumber;
|
|
78
|
+
dur: z.ZodNumber;
|
|
79
|
+
said: z.ZodString;
|
|
80
|
+
words: z.ZodNumber;
|
|
81
|
+
wordsPerMinute: z.ZodNumber;
|
|
82
|
+
cuts: z.ZodArray<z.ZodNumber>;
|
|
83
|
+
shots: z.ZodNumber;
|
|
84
|
+
cutsPerMinute: z.ZodNumber;
|
|
85
|
+
text: z.ZodArray<z.ZodNumber>;
|
|
86
|
+
textSeconds: z.ZodNumber;
|
|
87
|
+
index: z.ZodNumber;
|
|
88
|
+
name: z.ZodString;
|
|
89
|
+
sentences: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
export type ReferenceSegment = z.infer<typeof ReferenceSegmentSchema>;
|
|
92
|
+
export declare const ReferencePacingSchema: z.ZodObject<{
|
|
93
|
+
cutsPerMinute: z.ZodNumber;
|
|
94
|
+
meanShot: z.ZodNumber;
|
|
95
|
+
medianShot: z.ZodNumber;
|
|
96
|
+
wordsPerMinute: z.ZodNumber;
|
|
97
|
+
speakingRate: z.ZodNumber;
|
|
98
|
+
timeToFirstWord: z.ZodOptional<z.ZodNumber>;
|
|
99
|
+
timeToFirstCut: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
textShare: z.ZodNumber;
|
|
101
|
+
speechShare: z.ZodNumber;
|
|
102
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
103
|
+
bpm: z.ZodNumber;
|
|
104
|
+
confidence: z.ZodNumber;
|
|
105
|
+
candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
|
+
bpm: z.ZodNumber;
|
|
107
|
+
r: z.ZodNumber;
|
|
108
|
+
score: z.ZodNumber;
|
|
109
|
+
}, z.core.$strip>>>;
|
|
110
|
+
prior: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
}, z.core.$strip>>;
|
|
112
|
+
onsetsPerMinute: z.ZodNumber;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export type ReferencePacing = z.infer<typeof ReferencePacingSchema>;
|
|
115
|
+
/** The sound under and between the words, in dBFS: whether a bed of music runs under the voice is the agent's to conclude. */
|
|
116
|
+
export declare const ReferenceSoundSchema: z.ZodObject<{
|
|
117
|
+
gap: z.ZodNumber;
|
|
118
|
+
edge: z.ZodNumber;
|
|
119
|
+
voiced: z.ZodNumber;
|
|
120
|
+
whole: z.ZodObject<{
|
|
121
|
+
seconds: z.ZodNumber;
|
|
122
|
+
p10: z.ZodNumber;
|
|
123
|
+
median: z.ZodNumber;
|
|
124
|
+
p90: z.ZodNumber;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
words: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
seconds: z.ZodNumber;
|
|
128
|
+
p10: z.ZodNumber;
|
|
129
|
+
median: z.ZodNumber;
|
|
130
|
+
p90: z.ZodNumber;
|
|
131
|
+
}, z.core.$strip>>;
|
|
132
|
+
between: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
seconds: z.ZodNumber;
|
|
134
|
+
p10: z.ZodNumber;
|
|
135
|
+
median: z.ZodNumber;
|
|
136
|
+
p90: z.ZodNumber;
|
|
137
|
+
voicedShare: z.ZodNumber;
|
|
138
|
+
onsetsPerMinute: z.ZodNumber;
|
|
139
|
+
}, z.core.$strip>>;
|
|
140
|
+
floor: z.ZodNumber;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export type ReferenceSound = z.infer<typeof ReferenceSoundSchema>;
|
|
143
|
+
/** The picture as numbers (the media package's pictureStats), its parameters in `params`. */
|
|
144
|
+
export declare const ReferencePictureSchema: z.ZodObject<{
|
|
145
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
146
|
+
frames: z.ZodObject<{
|
|
147
|
+
tone: z.ZodNumber;
|
|
148
|
+
color: z.ZodNumber;
|
|
149
|
+
motion: z.ZodNumber;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
luma: z.ZodObject<{
|
|
152
|
+
p1: z.ZodNullable<z.ZodNumber>;
|
|
153
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
154
|
+
p99: z.ZodNullable<z.ZodNumber>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
blackShare: z.ZodNullable<z.ZodNumber>;
|
|
157
|
+
noise: z.ZodNullable<z.ZodNumber>;
|
|
158
|
+
sharpness: z.ZodNullable<z.ZodNumber>;
|
|
159
|
+
saturation: z.ZodNullable<z.ZodNumber>;
|
|
160
|
+
warmth: z.ZodNullable<z.ZodNumber>;
|
|
161
|
+
motion: z.ZodObject<{
|
|
162
|
+
speed: z.ZodObject<{
|
|
163
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
164
|
+
p90: z.ZodNullable<z.ZodNumber>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
shake: z.ZodObject<{
|
|
167
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
168
|
+
p90: z.ZodNullable<z.ZodNumber>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
stillShare: z.ZodNullable<z.ZodNumber>;
|
|
171
|
+
runs: z.ZodNumber;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
sharpnessBySpeed: z.ZodArray<z.ZodObject<{
|
|
174
|
+
from: z.ZodNumber;
|
|
175
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
176
|
+
frames: z.ZodNumber;
|
|
177
|
+
sharpness: z.ZodNullable<z.ZodNumber>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
noiseByLuma: z.ZodArray<z.ZodObject<{
|
|
180
|
+
from: z.ZodNumber;
|
|
181
|
+
to: z.ZodNumber;
|
|
182
|
+
blocks: z.ZodNumber;
|
|
183
|
+
noise: z.ZodNullable<z.ZodNumber>;
|
|
184
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
185
|
+
}, z.core.$strip>>;
|
|
186
|
+
shake: z.ZodArray<z.ZodObject<{
|
|
187
|
+
start: z.ZodNumber;
|
|
188
|
+
end: z.ZodNumber;
|
|
189
|
+
rms: z.ZodNumber;
|
|
190
|
+
peaks: z.ZodArray<z.ZodObject<{
|
|
191
|
+
hz: z.ZodNumber;
|
|
192
|
+
share: z.ZodNumber;
|
|
193
|
+
}, z.core.$strip>>;
|
|
194
|
+
flatness: z.ZodNumber;
|
|
195
|
+
}, z.core.$strip>>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
export type ReferencePicture = z.infer<typeof ReferencePictureSchema>;
|
|
198
|
+
/** The whole sound as a recording: loudness, spectrum, room, room tone, dynamics, and how high it reaches. */
|
|
199
|
+
export declare const ReferenceAudioSchema: z.ZodObject<{
|
|
200
|
+
loudness: z.ZodObject<{
|
|
201
|
+
integrated: z.ZodNullable<z.ZodNumber>;
|
|
202
|
+
range: z.ZodNullable<z.ZodNumber>;
|
|
203
|
+
truePeak: z.ZodNullable<z.ZodNumber>;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
recording: z.ZodObject<{
|
|
206
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
207
|
+
spectrum: z.ZodArray<z.ZodObject<{
|
|
208
|
+
hz: z.ZodNumber;
|
|
209
|
+
db: z.ZodNumber;
|
|
210
|
+
}, z.core.$strip>>;
|
|
211
|
+
dynamics: z.ZodObject<{
|
|
212
|
+
spread: z.ZodNumber;
|
|
213
|
+
crest: z.ZodNumber;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
}, z.core.$loose>;
|
|
216
|
+
bandwidth: z.ZodObject<{
|
|
217
|
+
frames: z.ZodNumber;
|
|
218
|
+
reach: z.ZodArray<z.ZodObject<{
|
|
219
|
+
drop: z.ZodNumber;
|
|
220
|
+
hz: z.ZodNullable<z.ZodNumber>;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
rolloff95: z.ZodNullable<z.ZodNumber>;
|
|
223
|
+
rolloff99: z.ZodNullable<z.ZodNumber>;
|
|
224
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
225
|
+
hz: z.ZodNumber;
|
|
226
|
+
db: z.ZodNumber;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
229
|
+
}, z.core.$strip>;
|
|
230
|
+
voice: z.ZodOptional<z.ZodObject<{
|
|
231
|
+
frames: z.ZodNumber;
|
|
232
|
+
reach: z.ZodArray<z.ZodObject<{
|
|
233
|
+
drop: z.ZodNumber;
|
|
234
|
+
hz: z.ZodNullable<z.ZodNumber>;
|
|
235
|
+
}, z.core.$strip>>;
|
|
236
|
+
rolloff95: z.ZodNullable<z.ZodNumber>;
|
|
237
|
+
rolloff99: z.ZodNullable<z.ZodNumber>;
|
|
238
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
239
|
+
hz: z.ZodNumber;
|
|
240
|
+
db: z.ZodNumber;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
}, z.core.$strip>>;
|
|
243
|
+
}, z.core.$strip>;
|
|
244
|
+
export type ReferenceAudio = z.infer<typeof ReferenceAudioSchema>;
|
|
245
|
+
/** A piece measured as a platform serves it (`allyhub reference served`): the conditions, and where it means to cut. */
|
|
246
|
+
export declare const ReferenceServedSchema: z.ZodObject<{
|
|
247
|
+
item: z.ZodString;
|
|
248
|
+
combo: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
249
|
+
format: z.ZodString;
|
|
250
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
251
|
+
export: z.ZodObject<{
|
|
252
|
+
type: z.ZodString;
|
|
253
|
+
crf: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
maxKbps: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
codec: z.ZodString;
|
|
258
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
259
|
+
kbps: z.ZodNumber;
|
|
260
|
+
width: z.ZodNumber;
|
|
261
|
+
height: z.ZodNumber;
|
|
262
|
+
fps: z.ZodNumber;
|
|
263
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
264
|
+
}, z.core.$strip>>;
|
|
265
|
+
audio: z.ZodUnion<readonly [z.ZodObject<{
|
|
266
|
+
codec: z.ZodString;
|
|
267
|
+
kbps: z.ZodNumber;
|
|
268
|
+
rate: z.ZodNumber;
|
|
269
|
+
channels: z.ZodNumber;
|
|
270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
271
|
+
missing: z.ZodString;
|
|
272
|
+
instead: z.ZodString;
|
|
273
|
+
}, z.core.$strip>]>;
|
|
274
|
+
joins: z.ZodArray<z.ZodObject<{
|
|
275
|
+
t: z.ZodNumber;
|
|
276
|
+
kind: z.ZodString;
|
|
277
|
+
part: z.ZodOptional<z.ZodString>;
|
|
278
|
+
score: z.ZodNumber;
|
|
279
|
+
margin: z.ZodNumber;
|
|
280
|
+
cut: z.ZodBoolean;
|
|
281
|
+
}, z.core.$strip>>;
|
|
282
|
+
unmeant: z.ZodArray<z.ZodObject<{
|
|
283
|
+
t: z.ZodNumber;
|
|
284
|
+
score: z.ZodNumber;
|
|
285
|
+
margin: z.ZodNumber;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
export type ReferenceServed = z.infer<typeof ReferenceServedSchema>;
|
|
289
|
+
export declare const ReferenceSchema: z.ZodObject<{
|
|
290
|
+
version: z.ZodLiteral<1>;
|
|
291
|
+
id: z.ZodString;
|
|
292
|
+
source: z.ZodObject<{
|
|
293
|
+
file: z.ZodString;
|
|
294
|
+
url: z.ZodOptional<z.ZodString>;
|
|
295
|
+
title: z.ZodOptional<z.ZodString>;
|
|
296
|
+
sha256: z.ZodString;
|
|
297
|
+
}, z.core.$strip>;
|
|
298
|
+
analysedAt: z.ZodString;
|
|
299
|
+
duration: z.ZodNumber;
|
|
300
|
+
width: z.ZodNumber;
|
|
301
|
+
height: z.ZodNumber;
|
|
302
|
+
fps: z.ZodNumber;
|
|
303
|
+
encoding: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
codec: z.ZodOptional<z.ZodString>;
|
|
305
|
+
bitrate: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
codec: z.ZodOptional<z.ZodString>;
|
|
308
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
309
|
+
bitrate: z.ZodOptional<z.ZodNumber>;
|
|
310
|
+
rate: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
channels: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
}, z.core.$strip>>;
|
|
314
|
+
words: z.ZodOptional<z.ZodString>;
|
|
315
|
+
wordCount: z.ZodNumber;
|
|
316
|
+
asr: z.ZodOptional<z.ZodString>;
|
|
317
|
+
wordsMissing: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
code: z.ZodOptional<z.ZodString>;
|
|
319
|
+
message: z.ZodString;
|
|
320
|
+
hint: z.ZodOptional<z.ZodString>;
|
|
321
|
+
instead: z.ZodString;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
shots: z.ZodObject<{
|
|
324
|
+
threshold: z.ZodNumber;
|
|
325
|
+
minShot: z.ZodNumber;
|
|
326
|
+
weakFloor: z.ZodNumber;
|
|
327
|
+
prominence: z.ZodNumber;
|
|
328
|
+
cuts: z.ZodArray<z.ZodObject<{
|
|
329
|
+
t: z.ZodNumber;
|
|
330
|
+
score: z.ZodNumber;
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
weak: z.ZodArray<z.ZodObject<{
|
|
333
|
+
t: z.ZodNumber;
|
|
334
|
+
score: z.ZodNumber;
|
|
335
|
+
}, z.core.$strip>>;
|
|
336
|
+
candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
337
|
+
t: z.ZodNumber;
|
|
338
|
+
score: z.ZodNumber;
|
|
339
|
+
source: z.ZodEnum<{
|
|
340
|
+
jump: "jump";
|
|
341
|
+
change: "change";
|
|
342
|
+
}>;
|
|
343
|
+
around: z.ZodNumber;
|
|
344
|
+
passes: z.ZodBoolean;
|
|
345
|
+
}, z.core.$strip>>>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
speech: z.ZodObject<{
|
|
348
|
+
pause: z.ZodNumber;
|
|
349
|
+
sentences: z.ZodArray<z.ZodObject<{
|
|
350
|
+
index: z.ZodNumber;
|
|
351
|
+
start: z.ZodNumber;
|
|
352
|
+
end: z.ZodNumber;
|
|
353
|
+
words: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
354
|
+
text: z.ZodString;
|
|
355
|
+
punctuation: z.ZodBoolean;
|
|
356
|
+
pauseAfter: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
pauses: z.ZodArray<z.ZodObject<{
|
|
359
|
+
after: z.ZodNumber;
|
|
360
|
+
start: z.ZodNumber;
|
|
361
|
+
end: z.ZodNumber;
|
|
362
|
+
dur: z.ZodNumber;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
gaps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
365
|
+
after: z.ZodNumber;
|
|
366
|
+
start: z.ZodNumber;
|
|
367
|
+
end: z.ZodNumber;
|
|
368
|
+
dur: z.ZodNumber;
|
|
369
|
+
}, z.core.$strip>>>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
boundaries: z.ZodObject<{
|
|
372
|
+
cutWithin: z.ZodNumber;
|
|
373
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
374
|
+
t: z.ZodNumber;
|
|
375
|
+
cut: z.ZodOptional<z.ZodObject<{
|
|
376
|
+
t: z.ZodNumber;
|
|
377
|
+
score: z.ZodNumber;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
weak: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
t: z.ZodNumber;
|
|
381
|
+
score: z.ZodNumber;
|
|
382
|
+
}, z.core.$strip>>;
|
|
383
|
+
pause: z.ZodOptional<z.ZodObject<{
|
|
384
|
+
start: z.ZodNumber;
|
|
385
|
+
end: z.ZodNumber;
|
|
386
|
+
dur: z.ZodNumber;
|
|
387
|
+
}, z.core.$strip>>;
|
|
388
|
+
sentence: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
}, z.core.$strip>>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
ocr: z.ZodObject<{
|
|
392
|
+
engine: z.ZodString;
|
|
393
|
+
confidence: z.ZodObject<{
|
|
394
|
+
word: z.ZodNumber;
|
|
395
|
+
short: z.ZodNumber;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
frames: z.ZodNumber;
|
|
398
|
+
samePlace: z.ZodNumber;
|
|
399
|
+
saidWithin: z.ZodNumber;
|
|
400
|
+
low: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
401
|
+
t: z.ZodNumber;
|
|
402
|
+
text: z.ZodString;
|
|
403
|
+
conf: z.ZodNumber;
|
|
404
|
+
box: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
405
|
+
}, z.core.$strip>>>;
|
|
406
|
+
}, z.core.$strip>;
|
|
407
|
+
text: z.ZodArray<z.ZodObject<{
|
|
408
|
+
id: z.ZodNumber;
|
|
409
|
+
text: z.ZodString;
|
|
410
|
+
box: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
411
|
+
height: z.ZodNumber;
|
|
412
|
+
conf: z.ZodNumber;
|
|
413
|
+
words: z.ZodNumber;
|
|
414
|
+
upper: z.ZodNumber;
|
|
415
|
+
start: z.ZodNumber;
|
|
416
|
+
end: z.ZodNumber;
|
|
417
|
+
spans: z.ZodArray<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
418
|
+
seconds: z.ZodNumber;
|
|
419
|
+
seen: z.ZodNumber;
|
|
420
|
+
frames: z.ZodNumber;
|
|
421
|
+
spread: z.ZodNumber;
|
|
422
|
+
said: z.ZodNumber;
|
|
423
|
+
}, z.core.$strip>>;
|
|
424
|
+
pacing: z.ZodObject<{
|
|
425
|
+
cutsPerMinute: z.ZodNumber;
|
|
426
|
+
meanShot: z.ZodNumber;
|
|
427
|
+
medianShot: z.ZodNumber;
|
|
428
|
+
wordsPerMinute: z.ZodNumber;
|
|
429
|
+
speakingRate: z.ZodNumber;
|
|
430
|
+
timeToFirstWord: z.ZodOptional<z.ZodNumber>;
|
|
431
|
+
timeToFirstCut: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
textShare: z.ZodNumber;
|
|
433
|
+
speechShare: z.ZodNumber;
|
|
434
|
+
tempo: z.ZodOptional<z.ZodObject<{
|
|
435
|
+
bpm: z.ZodNumber;
|
|
436
|
+
confidence: z.ZodNumber;
|
|
437
|
+
candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
438
|
+
bpm: z.ZodNumber;
|
|
439
|
+
r: z.ZodNumber;
|
|
440
|
+
score: z.ZodNumber;
|
|
441
|
+
}, z.core.$strip>>>;
|
|
442
|
+
prior: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
}, z.core.$strip>>;
|
|
444
|
+
onsetsPerMinute: z.ZodNumber;
|
|
445
|
+
}, z.core.$strip>;
|
|
446
|
+
sound: z.ZodOptional<z.ZodObject<{
|
|
447
|
+
gap: z.ZodNumber;
|
|
448
|
+
edge: z.ZodNumber;
|
|
449
|
+
voiced: z.ZodNumber;
|
|
450
|
+
whole: z.ZodObject<{
|
|
451
|
+
seconds: z.ZodNumber;
|
|
452
|
+
p10: z.ZodNumber;
|
|
453
|
+
median: z.ZodNumber;
|
|
454
|
+
p90: z.ZodNumber;
|
|
455
|
+
}, z.core.$strip>;
|
|
456
|
+
words: z.ZodOptional<z.ZodObject<{
|
|
457
|
+
seconds: z.ZodNumber;
|
|
458
|
+
p10: z.ZodNumber;
|
|
459
|
+
median: z.ZodNumber;
|
|
460
|
+
p90: z.ZodNumber;
|
|
461
|
+
}, z.core.$strip>>;
|
|
462
|
+
between: z.ZodOptional<z.ZodObject<{
|
|
463
|
+
seconds: z.ZodNumber;
|
|
464
|
+
p10: z.ZodNumber;
|
|
465
|
+
median: z.ZodNumber;
|
|
466
|
+
p90: z.ZodNumber;
|
|
467
|
+
voicedShare: z.ZodNumber;
|
|
468
|
+
onsetsPerMinute: z.ZodNumber;
|
|
469
|
+
}, z.core.$strip>>;
|
|
470
|
+
floor: z.ZodNumber;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
segments: z.ZodObject<{
|
|
473
|
+
rule: z.ZodString;
|
|
474
|
+
pause: z.ZodNumber;
|
|
475
|
+
cutWithin: z.ZodNumber;
|
|
476
|
+
minLength: z.ZodNumber;
|
|
477
|
+
list: z.ZodArray<z.ZodObject<{
|
|
478
|
+
start: z.ZodNumber;
|
|
479
|
+
end: z.ZodNumber;
|
|
480
|
+
dur: z.ZodNumber;
|
|
481
|
+
said: z.ZodString;
|
|
482
|
+
words: z.ZodNumber;
|
|
483
|
+
wordsPerMinute: z.ZodNumber;
|
|
484
|
+
cuts: z.ZodArray<z.ZodNumber>;
|
|
485
|
+
shots: z.ZodNumber;
|
|
486
|
+
cutsPerMinute: z.ZodNumber;
|
|
487
|
+
text: z.ZodArray<z.ZodNumber>;
|
|
488
|
+
textSeconds: z.ZodNumber;
|
|
489
|
+
index: z.ZodNumber;
|
|
490
|
+
name: z.ZodString;
|
|
491
|
+
sentences: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
|
|
492
|
+
}, z.core.$strip>>;
|
|
493
|
+
}, z.core.$strip>;
|
|
494
|
+
sheets: z.ZodArray<z.ZodString>;
|
|
495
|
+
picture: z.ZodObject<{
|
|
496
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
497
|
+
frames: z.ZodObject<{
|
|
498
|
+
tone: z.ZodNumber;
|
|
499
|
+
color: z.ZodNumber;
|
|
500
|
+
motion: z.ZodNumber;
|
|
501
|
+
}, z.core.$strip>;
|
|
502
|
+
luma: z.ZodObject<{
|
|
503
|
+
p1: z.ZodNullable<z.ZodNumber>;
|
|
504
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
505
|
+
p99: z.ZodNullable<z.ZodNumber>;
|
|
506
|
+
}, z.core.$strip>;
|
|
507
|
+
blackShare: z.ZodNullable<z.ZodNumber>;
|
|
508
|
+
noise: z.ZodNullable<z.ZodNumber>;
|
|
509
|
+
sharpness: z.ZodNullable<z.ZodNumber>;
|
|
510
|
+
saturation: z.ZodNullable<z.ZodNumber>;
|
|
511
|
+
warmth: z.ZodNullable<z.ZodNumber>;
|
|
512
|
+
motion: z.ZodObject<{
|
|
513
|
+
speed: z.ZodObject<{
|
|
514
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
515
|
+
p90: z.ZodNullable<z.ZodNumber>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
shake: z.ZodObject<{
|
|
518
|
+
p50: z.ZodNullable<z.ZodNumber>;
|
|
519
|
+
p90: z.ZodNullable<z.ZodNumber>;
|
|
520
|
+
}, z.core.$strip>;
|
|
521
|
+
stillShare: z.ZodNullable<z.ZodNumber>;
|
|
522
|
+
runs: z.ZodNumber;
|
|
523
|
+
}, z.core.$strip>;
|
|
524
|
+
sharpnessBySpeed: z.ZodArray<z.ZodObject<{
|
|
525
|
+
from: z.ZodNumber;
|
|
526
|
+
to: z.ZodNullable<z.ZodNumber>;
|
|
527
|
+
frames: z.ZodNumber;
|
|
528
|
+
sharpness: z.ZodNullable<z.ZodNumber>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
530
|
+
noiseByLuma: z.ZodArray<z.ZodObject<{
|
|
531
|
+
from: z.ZodNumber;
|
|
532
|
+
to: z.ZodNumber;
|
|
533
|
+
blocks: z.ZodNumber;
|
|
534
|
+
noise: z.ZodNullable<z.ZodNumber>;
|
|
535
|
+
median: z.ZodNullable<z.ZodNumber>;
|
|
536
|
+
}, z.core.$strip>>;
|
|
537
|
+
shake: z.ZodArray<z.ZodObject<{
|
|
538
|
+
start: z.ZodNumber;
|
|
539
|
+
end: z.ZodNumber;
|
|
540
|
+
rms: z.ZodNumber;
|
|
541
|
+
peaks: z.ZodArray<z.ZodObject<{
|
|
542
|
+
hz: z.ZodNumber;
|
|
543
|
+
share: z.ZodNumber;
|
|
544
|
+
}, z.core.$strip>>;
|
|
545
|
+
flatness: z.ZodNumber;
|
|
546
|
+
}, z.core.$strip>>;
|
|
547
|
+
}, z.core.$strip>;
|
|
548
|
+
audio: z.ZodOptional<z.ZodObject<{
|
|
549
|
+
loudness: z.ZodObject<{
|
|
550
|
+
integrated: z.ZodNullable<z.ZodNumber>;
|
|
551
|
+
range: z.ZodNullable<z.ZodNumber>;
|
|
552
|
+
truePeak: z.ZodNullable<z.ZodNumber>;
|
|
553
|
+
}, z.core.$strip>;
|
|
554
|
+
recording: z.ZodObject<{
|
|
555
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
556
|
+
spectrum: z.ZodArray<z.ZodObject<{
|
|
557
|
+
hz: z.ZodNumber;
|
|
558
|
+
db: z.ZodNumber;
|
|
559
|
+
}, z.core.$strip>>;
|
|
560
|
+
dynamics: z.ZodObject<{
|
|
561
|
+
spread: z.ZodNumber;
|
|
562
|
+
crest: z.ZodNumber;
|
|
563
|
+
}, z.core.$strip>;
|
|
564
|
+
}, z.core.$loose>;
|
|
565
|
+
bandwidth: z.ZodObject<{
|
|
566
|
+
frames: z.ZodNumber;
|
|
567
|
+
reach: z.ZodArray<z.ZodObject<{
|
|
568
|
+
drop: z.ZodNumber;
|
|
569
|
+
hz: z.ZodNullable<z.ZodNumber>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
571
|
+
rolloff95: z.ZodNullable<z.ZodNumber>;
|
|
572
|
+
rolloff99: z.ZodNullable<z.ZodNumber>;
|
|
573
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
574
|
+
hz: z.ZodNumber;
|
|
575
|
+
db: z.ZodNumber;
|
|
576
|
+
}, z.core.$strip>>;
|
|
577
|
+
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
voice: z.ZodOptional<z.ZodObject<{
|
|
580
|
+
frames: z.ZodNumber;
|
|
581
|
+
reach: z.ZodArray<z.ZodObject<{
|
|
582
|
+
drop: z.ZodNumber;
|
|
583
|
+
hz: z.ZodNullable<z.ZodNumber>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
rolloff95: z.ZodNullable<z.ZodNumber>;
|
|
586
|
+
rolloff99: z.ZodNullable<z.ZodNumber>;
|
|
587
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
588
|
+
hz: z.ZodNumber;
|
|
589
|
+
db: z.ZodNumber;
|
|
590
|
+
}, z.core.$strip>>;
|
|
591
|
+
}, z.core.$strip>>;
|
|
592
|
+
}, z.core.$strip>>;
|
|
593
|
+
served: z.ZodOptional<z.ZodObject<{
|
|
594
|
+
item: z.ZodString;
|
|
595
|
+
combo: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
596
|
+
format: z.ZodString;
|
|
597
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
598
|
+
export: z.ZodObject<{
|
|
599
|
+
type: z.ZodString;
|
|
600
|
+
crf: z.ZodOptional<z.ZodNumber>;
|
|
601
|
+
maxKbps: z.ZodOptional<z.ZodNumber>;
|
|
602
|
+
}, z.core.$strip>;
|
|
603
|
+
video: z.ZodOptional<z.ZodObject<{
|
|
604
|
+
codec: z.ZodString;
|
|
605
|
+
profile: z.ZodOptional<z.ZodString>;
|
|
606
|
+
kbps: z.ZodNumber;
|
|
607
|
+
width: z.ZodNumber;
|
|
608
|
+
height: z.ZodNumber;
|
|
609
|
+
fps: z.ZodNumber;
|
|
610
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
611
|
+
}, z.core.$strip>>;
|
|
612
|
+
audio: z.ZodUnion<readonly [z.ZodObject<{
|
|
613
|
+
codec: z.ZodString;
|
|
614
|
+
kbps: z.ZodNumber;
|
|
615
|
+
rate: z.ZodNumber;
|
|
616
|
+
channels: z.ZodNumber;
|
|
617
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
618
|
+
missing: z.ZodString;
|
|
619
|
+
instead: z.ZodString;
|
|
620
|
+
}, z.core.$strip>]>;
|
|
621
|
+
joins: z.ZodArray<z.ZodObject<{
|
|
622
|
+
t: z.ZodNumber;
|
|
623
|
+
kind: z.ZodString;
|
|
624
|
+
part: z.ZodOptional<z.ZodString>;
|
|
625
|
+
score: z.ZodNumber;
|
|
626
|
+
margin: z.ZodNumber;
|
|
627
|
+
cut: z.ZodBoolean;
|
|
628
|
+
}, z.core.$strip>>;
|
|
629
|
+
unmeant: z.ZodArray<z.ZodObject<{
|
|
630
|
+
t: z.ZodNumber;
|
|
631
|
+
score: z.ZodNumber;
|
|
632
|
+
margin: z.ZodNumber;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
}, z.core.$strip>>;
|
|
635
|
+
}, z.core.$strip>;
|
|
636
|
+
export type Reference = z.infer<typeof ReferenceSchema>;
|
|
637
|
+
export type WordsMissing = NonNullable<Reference["wordsMissing"]>;
|
|
638
|
+
/** The file a reference folder's measurements are in. */
|
|
639
|
+
export declare const REFERENCE_FILE = "reference.json";
|
|
640
|
+
/** The file the agent's interpretation is in, beside reference.json. */
|
|
641
|
+
export declare const INTERPRETATION_FILE = "interpretation.json";
|
|
642
|
+
export declare const InterpretedSectionSchema: z.ZodObject<{
|
|
643
|
+
start: z.ZodNumber;
|
|
644
|
+
end: z.ZodNumber;
|
|
645
|
+
name: z.ZodOptional<z.ZodString>;
|
|
646
|
+
role: z.ZodOptional<z.ZodString>;
|
|
647
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
648
|
+
onScreen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
649
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strict>;
|
|
651
|
+
export type InterpretedSection = z.infer<typeof InterpretedSectionSchema>;
|
|
652
|
+
export declare const InterpretationSchema: z.ZodObject<{
|
|
653
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
654
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
655
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
656
|
+
layout: z.ZodOptional<z.ZodString>;
|
|
657
|
+
hook: z.ZodOptional<z.ZodString>;
|
|
658
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
659
|
+
start: z.ZodNumber;
|
|
660
|
+
end: z.ZodNumber;
|
|
661
|
+
name: z.ZodOptional<z.ZodString>;
|
|
662
|
+
role: z.ZodOptional<z.ZodString>;
|
|
663
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
664
|
+
onScreen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
666
|
+
}, z.core.$strict>>;
|
|
667
|
+
captions: z.ZodOptional<z.ZodObject<{
|
|
668
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
669
|
+
style: z.ZodOptional<z.ZodString>;
|
|
670
|
+
}, z.core.$strict>>;
|
|
671
|
+
watermarks: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
672
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
673
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
674
|
+
}, z.core.$strict>;
|
|
675
|
+
export type Interpretation = z.infer<typeof InterpretationSchema>;
|
|
676
|
+
//# sourceMappingURL=reference.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! AllyHub. Copyright (c) 2026 AllyHub, Inc. All rights reserved. Use is subject to LICENSE.md. */
|
|
2
|
+
import{z as e}from"zod";import{SECONDS as n,SHA256 as m,dataFile as c}from"./file.js";const a=e.tuple([e.number(),e.number(),e.number(),e.number()]),r=e.object({t:n,score:e.number()}),t=e.number().nullable(),o=e.number().int().nonnegative();export const ReferenceSentenceSchema=e.object({index:o,start:n,end:n,words:e.tuple([e.number().int(),e.number().int()]),text:e.string(),punctuation:e.boolean(),pauseAfter:n.optional()}),ReferenceGapSchema=e.object({after:o,start:n,end:n,dur:n}),ReferenceBoundarySchema=e.object({t:n,cut:r.optional(),weak:r.optional(),pause:e.object({start:n,end:n,dur:n}).optional(),sentence:o.optional()}),ReferenceTextSchema=e.object({id:o,text:e.string(),box:a,height:e.number(),conf:e.number(),words:o,upper:e.number().min(0).max(1),start:n,end:n,spans:e.array(e.tuple([n,n])),seconds:n,seen:e.number().int().positive(),frames:e.number().min(0).max(1),spread:e.number().min(0).max(1),said:e.number().min(0).max(1)}),SectionNumbersSchema=e.object({start:n,end:n,dur:n,said:e.string(),words:o,wordsPerMinute:e.number().nonnegative(),cuts:e.array(n),shots:e.number().int().positive(),cutsPerMinute:e.number().nonnegative(),text:e.array(o),textSeconds:n}),ReferenceSegmentSchema=SectionNumbersSchema.extend({index:o,name:e.string(),sentences:e.tuple([e.number().int(),e.number().int()]).optional()}),ReferencePacingSchema=e.object({cutsPerMinute:e.number().nonnegative(),meanShot:n,medianShot:n,wordsPerMinute:e.number().nonnegative(),speakingRate:e.number().nonnegative(),timeToFirstWord:n.optional(),timeToFirstCut:n.optional(),textShare:e.number().min(0).max(1),speechShare:e.number().min(0).max(1),tempo:e.object({bpm:e.number().positive(),confidence:e.number().min(0),candidates:e.array(e.object({bpm:e.number(),r:e.number(),score:e.number()})).optional(),prior:e.number().optional()}).optional(),onsetsPerMinute:e.number().nonnegative()});const i=e.object({seconds:n,p10:e.number(),median:e.number(),p90:e.number()});export const ReferenceSoundSchema=e.object({gap:n,edge:n,voiced:e.number().min(0).max(100),whole:i,words:i.optional(),between:i.extend({voicedShare:e.number().min(0).max(1),onsetsPerMinute:e.number().nonnegative()}).optional(),floor:e.number()}),ReferencePictureSchema=e.object({params:e.record(e.string(),e.unknown()),frames:e.object({tone:o,color:o,motion:o}),luma:e.object({p1:t,p50:t,p99:t}),blackShare:t,noise:t,sharpness:t,saturation:t,warmth:t,motion:e.object({speed:e.object({p50:t,p90:t}),shake:e.object({p50:t,p90:t}),stillShare:t,runs:o}),sharpnessBySpeed:e.array(e.object({from:e.number(),to:t,frames:o,sharpness:t})),noiseByLuma:e.array(e.object({from:e.number(),to:e.number(),blocks:o,noise:t,median:t})),shake:e.array(e.object({start:n,end:n,rms:e.number(),peaks:e.array(e.object({hz:e.number(),share:e.number()})),flatness:e.number()}))});const s=e.object({frames:o,reach:e.array(e.object({drop:e.number(),hz:t})),rolloff95:t,rolloff99:t,steps:e.array(e.object({hz:e.number(),db:e.number()}))});export const ReferenceAudioSchema=e.object({loudness:e.object({integrated:t,range:t,truePeak:t}),recording:e.object({params:e.record(e.string(),e.unknown()),spectrum:e.array(e.object({hz:e.number(),db:e.number()})),dynamics:e.object({spread:e.number(),crest:e.number()})}).loose(),bandwidth:s.extend({params:e.record(e.string(),e.unknown())}),voice:s.optional()}),ReferenceServedSchema=e.object({item:e.string(),combo:e.record(e.string(),e.string()),format:e.string(),platform:e.string().optional(),export:e.object({type:e.string(),crf:e.number().optional(),maxKbps:e.number().optional()}),video:e.object({codec:e.string(),profile:e.string().optional(),kbps:e.number(),width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),preset:e.string().optional()}).optional(),audio:e.union([e.object({codec:e.string(),kbps:e.number(),rate:e.number(),channels:e.number()}),e.object({missing:e.string(),instead:e.string()})]),joins:e.array(e.object({t:n,kind:e.string(),part:e.string().optional(),score:e.number(),margin:e.number(),cut:e.boolean()})),unmeant:e.array(e.object({t:n,score:e.number(),margin:e.number()}))}),ReferenceSchema=e.object({version:e.literal(1),id:e.string(),source:e.object({file:e.string(),url:e.string().optional(),title:e.string().optional(),sha256:m}),analysedAt:e.string(),duration:n,width:e.number().int().positive(),height:e.number().int().positive(),fps:e.number().positive(),encoding:e.object({codec:e.string().optional(),bitrate:e.number().positive().optional(),audio:e.object({codec:e.string().optional(),profile:e.string().optional(),bitrate:e.number().positive().optional(),rate:e.number().positive().optional(),channels:e.number().int().positive().optional()}).optional()}).optional(),words:e.string().optional(),wordCount:o,asr:e.string().optional(),wordsMissing:e.object({code:e.string().optional(),message:e.string(),hint:e.string().optional(),instead:e.string()}).optional(),shots:e.object({threshold:e.number().min(0).max(1),minShot:e.number().nonnegative(),weakFloor:e.number().min(0).max(1),prominence:e.number().nonnegative(),cuts:e.array(r),weak:e.array(r),candidates:e.array(e.object({t:n,score:e.number(),source:e.enum(["jump","change"]),around:e.number(),passes:e.boolean()})).optional()}),speech:e.object({pause:n,sentences:e.array(ReferenceSentenceSchema),pauses:e.array(ReferenceGapSchema),gaps:e.array(ReferenceGapSchema).optional()}),boundaries:e.object({cutWithin:n,candidates:e.array(ReferenceBoundarySchema)}),ocr:e.object({engine:e.string(),confidence:e.object({word:e.number().min(0).max(100),short:e.number().min(0).max(100)}),frames:o,samePlace:e.number(),saidWithin:n,low:e.array(e.object({t:n,text:e.string(),conf:e.number(),box:a})).optional()}),text:e.array(ReferenceTextSchema),pacing:ReferencePacingSchema,sound:ReferenceSoundSchema.optional(),segments:e.object({rule:e.string(),pause:n,cutWithin:n,minLength:n,list:e.array(ReferenceSegmentSchema).min(1)}),sheets:e.array(e.string()),picture:ReferencePictureSchema,audio:ReferenceAudioSchema.optional(),served:ReferenceServedSchema.optional()}),REFERENCE_FILE="reference.json",INTERPRETATION_FILE="interpretation.json",InterpretedSectionSchema=e.strictObject({start:n,end:n,name:e.string().min(1).optional(),role:e.string().min(1).optional(),picture:e.string().optional(),onScreen:e.array(e.string()).optional(),notes:e.string().optional()}),InterpretationSchema=c({version:e.literal(1).default(1),summary:e.string().optional(),layout:e.string().optional(),hook:e.string().optional(),sections:e.array(InterpretedSectionSchema).min(1),captions:e.strictObject({lines:e.array(o).optional(),style:e.string().optional()}).optional(),watermarks:e.array(o).optional(),notes:e.string().optional(),labels:e.record(e.string(),e.union([e.string(),e.number(),e.boolean(),e.array(e.string())])).optional()});
|