@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,301 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const DATA_FILES: {
|
|
3
|
+
readonly words: {
|
|
4
|
+
readonly schema: z.ZodObject<{
|
|
5
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
6
|
+
version: z.ZodLiteral<1>;
|
|
7
|
+
language: z.ZodOptional<z.ZodString>;
|
|
8
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
model: z.ZodOptional<z.ZodString>;
|
|
10
|
+
words: z.ZodArray<z.ZodObject<{
|
|
11
|
+
text: z.ZodString;
|
|
12
|
+
start: z.ZodNumber;
|
|
13
|
+
end: z.ZodNumber;
|
|
14
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strict>>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
readonly files: readonly ["**/*.words.json"];
|
|
18
|
+
readonly about: "The words said in an audio or video file, with their times.";
|
|
19
|
+
};
|
|
20
|
+
readonly edits: {
|
|
21
|
+
readonly schema: z.ZodObject<{
|
|
22
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
23
|
+
version: z.ZodLiteral<1>;
|
|
24
|
+
take: z.ZodOptional<z.ZodString>;
|
|
25
|
+
remove: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26
|
+
from: z.ZodInt;
|
|
27
|
+
to: z.ZodInt;
|
|
28
|
+
text: z.ZodOptional<z.ZodString>;
|
|
29
|
+
}, z.core.$strict>>>;
|
|
30
|
+
sounds: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
|
+
from: z.ZodNumber;
|
|
32
|
+
to: z.ZodNumber;
|
|
33
|
+
}, z.core.$strict>>>;
|
|
34
|
+
inWord: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
from: z.ZodNumber;
|
|
36
|
+
to: z.ZodNumber;
|
|
37
|
+
}, z.core.$strict>>>;
|
|
38
|
+
maxPause: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
pad: z.ZodOptional<z.ZodObject<{
|
|
40
|
+
before: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
after: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
}, z.core.$strict>>;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
readonly files: readonly ["**/edits/*.json"];
|
|
45
|
+
readonly about: "A recording's cut list.";
|
|
46
|
+
};
|
|
47
|
+
readonly elements: {
|
|
48
|
+
readonly schema: z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>>;
|
|
49
|
+
readonly files: readonly ["**/*.elements.json"];
|
|
50
|
+
readonly about: "A page screenshot's named elements, each its box in the picture's pixels.";
|
|
51
|
+
};
|
|
52
|
+
readonly gen: {
|
|
53
|
+
readonly schema: z.ZodObject<{
|
|
54
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
55
|
+
version: z.ZodLiteral<1>;
|
|
56
|
+
ai: z.ZodBoolean;
|
|
57
|
+
tool: z.ZodOptional<z.ZodString>;
|
|
58
|
+
model: z.ZodOptional<z.ZodString>;
|
|
59
|
+
input: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
60
|
+
inputHash: z.ZodOptional<z.ZodString>;
|
|
61
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
|
+
credits: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
at: z.ZodISODateTime;
|
|
64
|
+
sha256: z.ZodString;
|
|
65
|
+
bytes: z.ZodInt;
|
|
66
|
+
source: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
library: z.ZodString;
|
|
68
|
+
page: z.ZodURL;
|
|
69
|
+
authors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
70
|
+
license: z.ZodString;
|
|
71
|
+
}, z.core.$strict>>;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
readonly files: readonly ["**/*.gen.json"];
|
|
74
|
+
readonly about: "How a media file was made, and where it came from.";
|
|
75
|
+
};
|
|
76
|
+
readonly comments: {
|
|
77
|
+
readonly schema: z.ZodObject<{
|
|
78
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
79
|
+
version: z.ZodLiteral<1>;
|
|
80
|
+
threads: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
81
|
+
id: z.ZodString;
|
|
82
|
+
target: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
83
|
+
type: z.ZodLiteral<"quote">;
|
|
84
|
+
exact: z.ZodString;
|
|
85
|
+
prefix: z.ZodOptional<z.ZodString>;
|
|
86
|
+
suffix: z.ZodOptional<z.ZodString>;
|
|
87
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
88
|
+
type: z.ZodLiteral<"cells">;
|
|
89
|
+
range: z.ZodString;
|
|
90
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
91
|
+
type: z.ZodLiteral<"item">;
|
|
92
|
+
}, z.core.$strict>], "type">;
|
|
93
|
+
resolved: z.ZodDefault<z.ZodBoolean>;
|
|
94
|
+
comments: z.ZodArray<z.ZodObject<{
|
|
95
|
+
id: z.ZodString;
|
|
96
|
+
author: z.ZodObject<{
|
|
97
|
+
kind: z.ZodEnum<{
|
|
98
|
+
person: "person";
|
|
99
|
+
agent: "agent";
|
|
100
|
+
}>;
|
|
101
|
+
name: z.ZodString;
|
|
102
|
+
}, z.core.$strict>;
|
|
103
|
+
text: z.ZodString;
|
|
104
|
+
at: z.ZodISODateTime;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
}, z.core.$strict>>>;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
readonly files: readonly ["**/comments.json"];
|
|
109
|
+
readonly about: "What was said about an item, in threads.";
|
|
110
|
+
};
|
|
111
|
+
readonly script: {
|
|
112
|
+
readonly schema: z.ZodObject<{
|
|
113
|
+
title: z.ZodOptional<z.ZodString>;
|
|
114
|
+
text: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./data/script.js").ScriptText, unknown, z.core.$ZodTypeInternals<import("./data/script.js").ScriptText, unknown>>>>;
|
|
115
|
+
parts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
say: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
118
|
+
declarations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
119
|
+
selectors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
120
|
+
match: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
121
|
+
}, z.core.$strict>]>>;
|
|
122
|
+
screen: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./data/script.js").ScriptText, unknown, z.core.$ZodTypeInternals<import("./data/script.js").ScriptText, unknown>>>>;
|
|
123
|
+
}, z.core.$strict>>>;
|
|
124
|
+
}, z.core.$strict>;
|
|
125
|
+
readonly files: readonly ["**/script.*.yaml"];
|
|
126
|
+
readonly about: "An item's words in one language.";
|
|
127
|
+
};
|
|
128
|
+
readonly messages: {
|
|
129
|
+
readonly schema: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, string | {
|
|
130
|
+
display: string;
|
|
131
|
+
speak: string;
|
|
132
|
+
} | [{
|
|
133
|
+
declarations: string[];
|
|
134
|
+
selectors: string[];
|
|
135
|
+
match: Record<string, string>;
|
|
136
|
+
}]>, Record<string, unknown>>>;
|
|
137
|
+
readonly files: readonly ["assets/text/*.json"];
|
|
138
|
+
readonly about: "Words several items share, in one language.";
|
|
139
|
+
};
|
|
140
|
+
readonly sheet: {
|
|
141
|
+
readonly schema: z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
142
|
+
title: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
143
|
+
key: z.ZodOptional<z.ZodString>;
|
|
144
|
+
primary: z.ZodOptional<z.ZodString>;
|
|
145
|
+
columns: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
146
|
+
number: "number";
|
|
147
|
+
date: "date";
|
|
148
|
+
file: "file";
|
|
149
|
+
text: "text";
|
|
150
|
+
url: "url";
|
|
151
|
+
email: "email";
|
|
152
|
+
select: "select";
|
|
153
|
+
"multi-select": "multi-select";
|
|
154
|
+
checkbox: "checkbox";
|
|
155
|
+
phone: "phone";
|
|
156
|
+
}>, z.ZodUnion<readonly [z.ZodObject<{
|
|
157
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
158
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
160
|
+
text: "text";
|
|
161
|
+
url: "url";
|
|
162
|
+
email: "email";
|
|
163
|
+
checkbox: "checkbox";
|
|
164
|
+
phone: "phone";
|
|
165
|
+
}>>>;
|
|
166
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
167
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
168
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
169
|
+
type: z.ZodLiteral<"number">;
|
|
170
|
+
format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
171
|
+
plain: "plain";
|
|
172
|
+
percent: "percent";
|
|
173
|
+
currency: "currency";
|
|
174
|
+
}>, z.ZodObject<{
|
|
175
|
+
style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
176
|
+
plain: "plain";
|
|
177
|
+
percent: "percent";
|
|
178
|
+
currency: "currency";
|
|
179
|
+
}>>>;
|
|
180
|
+
decimals: z.ZodOptional<z.ZodInt>;
|
|
181
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
182
|
+
thousands: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
}, z.core.$strict>]>>;
|
|
184
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
185
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
type: z.ZodLiteral<"date">;
|
|
188
|
+
format: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
189
|
+
short: "short";
|
|
190
|
+
iso: "iso";
|
|
191
|
+
long: "long";
|
|
192
|
+
}>, z.ZodObject<{
|
|
193
|
+
style: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
194
|
+
short: "short";
|
|
195
|
+
iso: "iso";
|
|
196
|
+
long: "long";
|
|
197
|
+
}>>>;
|
|
198
|
+
time: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
}, z.core.$strict>]>>;
|
|
200
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
201
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
202
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
type: z.ZodLiteral<"select">;
|
|
204
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
205
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
206
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
207
|
+
gray: "gray";
|
|
208
|
+
brown: "brown";
|
|
209
|
+
red: "red";
|
|
210
|
+
orange: "orange";
|
|
211
|
+
yellow: "yellow";
|
|
212
|
+
green: "green";
|
|
213
|
+
blue: "blue";
|
|
214
|
+
purple: "purple";
|
|
215
|
+
pink: "pink";
|
|
216
|
+
}>>;
|
|
217
|
+
}, z.core.$strict>]>>>;
|
|
218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
219
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
type: z.ZodLiteral<"multi-select">;
|
|
222
|
+
options: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
|
|
223
|
+
name: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
224
|
+
color: z.ZodOptional<z.ZodEnum<{
|
|
225
|
+
gray: "gray";
|
|
226
|
+
brown: "brown";
|
|
227
|
+
red: "red";
|
|
228
|
+
orange: "orange";
|
|
229
|
+
yellow: "yellow";
|
|
230
|
+
green: "green";
|
|
231
|
+
blue: "blue";
|
|
232
|
+
purple: "purple";
|
|
233
|
+
pink: "pink";
|
|
234
|
+
}>>;
|
|
235
|
+
}, z.core.$strict>]>>>;
|
|
236
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
237
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
238
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
239
|
+
wrap: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
type: z.ZodLiteral<"file">;
|
|
241
|
+
separator: z.ZodOptional<z.ZodString>;
|
|
242
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
243
|
+
}, z.core.$strict>]>]>>]>>;
|
|
244
|
+
}, z.core.$strict>]>;
|
|
245
|
+
readonly files: readonly ["**/sheet.yaml"];
|
|
246
|
+
readonly about: "What a sheet's columns are.";
|
|
247
|
+
};
|
|
248
|
+
readonly interpretation: {
|
|
249
|
+
readonly schema: z.ZodObject<{
|
|
250
|
+
$schema: z.ZodOptional<z.ZodString>;
|
|
251
|
+
version: z.ZodDefault<z.ZodLiteral<1>>;
|
|
252
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
253
|
+
layout: z.ZodOptional<z.ZodString>;
|
|
254
|
+
hook: z.ZodOptional<z.ZodString>;
|
|
255
|
+
sections: z.ZodArray<z.ZodObject<{
|
|
256
|
+
start: z.ZodNumber;
|
|
257
|
+
end: z.ZodNumber;
|
|
258
|
+
name: z.ZodOptional<z.ZodString>;
|
|
259
|
+
role: z.ZodOptional<z.ZodString>;
|
|
260
|
+
picture: z.ZodOptional<z.ZodString>;
|
|
261
|
+
onScreen: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
262
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
263
|
+
}, z.core.$strict>>;
|
|
264
|
+
captions: z.ZodOptional<z.ZodObject<{
|
|
265
|
+
lines: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
266
|
+
style: z.ZodOptional<z.ZodString>;
|
|
267
|
+
}, z.core.$strict>>;
|
|
268
|
+
watermarks: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
269
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
270
|
+
labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString>]>>>;
|
|
271
|
+
}, z.core.$strict>;
|
|
272
|
+
readonly files: readonly ["**/reference/*/interpretation.json"];
|
|
273
|
+
readonly about: "What the agent concludes of a reference video: its sections, captions, watermarks and labels.";
|
|
274
|
+
};
|
|
275
|
+
readonly config: {
|
|
276
|
+
readonly schema: z.ZodObject<{
|
|
277
|
+
fonts: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
278
|
+
text: z.ZodOptional<z.ZodString>;
|
|
279
|
+
locales: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
280
|
+
look: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
281
|
+
defaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
readonly files: readonly [];
|
|
284
|
+
readonly about: "allyhub.config.ts's settings.";
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
export type DataFileName = keyof typeof DATA_FILES;
|
|
288
|
+
/** A data file's JSON Schema, as written for editors (input: what may be written). */
|
|
289
|
+
export declare function jsonSchemaOf(name: DataFileName): Record<string, unknown>;
|
|
290
|
+
/** A data file read, or what is wrong with it, each problem at its path. */
|
|
291
|
+
export declare function readDataFile<N extends DataFileName>(name: N, value: unknown): {
|
|
292
|
+
ok: true;
|
|
293
|
+
value: z.output<(typeof DATA_FILES)[N]["schema"]>;
|
|
294
|
+
} | {
|
|
295
|
+
ok: false;
|
|
296
|
+
problems: {
|
|
297
|
+
path: string;
|
|
298
|
+
message: string;
|
|
299
|
+
}[];
|
|
300
|
+
};
|
|
301
|
+
//# sourceMappingURL=schemas.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 o}from"zod";import{CommentsFileSchema as i}from"./data/comments.js";import{ConfigSchema as m}from"./data/config.js";import{EditsFileSchema as r}from"./data/edits.js";import{ElementsFileSchema as n}from"./data/elements.js";import{GenFileSchema as c}from"./data/gen.js";import{MessagesFileSchema as h}from"./data/messages.js";import{InterpretationSchema as l}from"./data/reference.js";import{ScriptFileSchema as f}from"./data/script.js";import{SheetSpecSchema as p}from"./data/sheet.js";import{WordsFileSchema as u}from"./data/words.js";export const DATA_FILES={words:{schema:u,files:["**/*.words.json"],about:"The words said in an audio or video file, with their times."},edits:{schema:r,files:["**/edits/*.json"],about:"A recording's cut list."},elements:{schema:n,files:["**/*.elements.json"],about:"A page screenshot's named elements, each its box in the picture's pixels."},gen:{schema:c,files:["**/*.gen.json"],about:"How a media file was made, and where it came from."},comments:{schema:i,files:["**/comments.json"],about:"What was said about an item, in threads."},script:{schema:f,files:["**/script.*.yaml"],about:"An item's words in one language."},messages:{schema:h,files:["assets/text/*.json"],about:"Words several items share, in one language."},sheet:{schema:p,files:["**/sheet.yaml"],about:"What a sheet's columns are."},interpretation:{schema:l,files:["**/reference/*/interpretation.json"],about:"What the agent concludes of a reference video: its sections, captions, watermarks and labels."},config:{schema:m,files:[],about:"allyhub.config.ts's settings."}};export function jsonSchemaOf(e){const{schema:t,about:s}=DATA_FILES[e];return{$schema:"https://json-schema.org/draft/2020-12/schema",$id:`https://allyhub.com/schemas/${e}.schema.json`,title:e,description:s,...o.toJSONSchema(t,{io:"input",unrepresentable:"any"})}}export function readDataFile(e,t){const s=DATA_FILES[e].schema.safeParse(t);return s.success?{ok:!0,value:s.data}:{ok:!1,problems:s.error.issues.map(a=>({path:a.path.map(String).join("."),message:a.message}))}}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@allyhub-next/formats",
|
|
3
|
+
"version": "0.2.0-next.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"default": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"./schemas/*": "./schemas/*"
|
|
11
|
+
},
|
|
12
|
+
"private": true,
|
|
13
|
+
"license": "SEE LICENSE IN LICENSE.md"
|
|
14
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://allyhub.com/schemas/comments.schema.json",
|
|
4
|
+
"title": "comments",
|
|
5
|
+
"description": "What was said about an item, in threads.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"version": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"const": 1
|
|
14
|
+
},
|
|
15
|
+
"threads": {
|
|
16
|
+
"default": [],
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"id": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"minLength": 1
|
|
24
|
+
},
|
|
25
|
+
"target": {
|
|
26
|
+
"oneOf": [
|
|
27
|
+
{
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"type": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"const": "quote"
|
|
33
|
+
},
|
|
34
|
+
"exact": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"minLength": 1
|
|
37
|
+
},
|
|
38
|
+
"prefix": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"suffix": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"type",
|
|
47
|
+
"exact"
|
|
48
|
+
],
|
|
49
|
+
"additionalProperties": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"type": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"const": "cells"
|
|
57
|
+
},
|
|
58
|
+
"range": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"pattern": "^[A-Z]+[1-9]\\d*(?::[A-Z]+[1-9]\\d*)?$"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"required": [
|
|
64
|
+
"type",
|
|
65
|
+
"range"
|
|
66
|
+
],
|
|
67
|
+
"additionalProperties": false
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"type": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"const": "item"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"type"
|
|
79
|
+
],
|
|
80
|
+
"additionalProperties": false
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"resolved": {
|
|
85
|
+
"default": false,
|
|
86
|
+
"type": "boolean"
|
|
87
|
+
},
|
|
88
|
+
"comments": {
|
|
89
|
+
"minItems": 1,
|
|
90
|
+
"type": "array",
|
|
91
|
+
"items": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"id": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"minLength": 1
|
|
97
|
+
},
|
|
98
|
+
"author": {
|
|
99
|
+
"type": "object",
|
|
100
|
+
"properties": {
|
|
101
|
+
"kind": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"enum": [
|
|
104
|
+
"person",
|
|
105
|
+
"agent"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"name": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"minLength": 1
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"kind",
|
|
115
|
+
"name"
|
|
116
|
+
],
|
|
117
|
+
"additionalProperties": false
|
|
118
|
+
},
|
|
119
|
+
"text": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"minLength": 1
|
|
122
|
+
},
|
|
123
|
+
"at": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"format": "date-time",
|
|
126
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"required": [
|
|
130
|
+
"id",
|
|
131
|
+
"author",
|
|
132
|
+
"text",
|
|
133
|
+
"at"
|
|
134
|
+
],
|
|
135
|
+
"additionalProperties": false
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"required": [
|
|
140
|
+
"id",
|
|
141
|
+
"target",
|
|
142
|
+
"comments"
|
|
143
|
+
],
|
|
144
|
+
"additionalProperties": false
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"required": [
|
|
149
|
+
"version"
|
|
150
|
+
],
|
|
151
|
+
"additionalProperties": false
|
|
152
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://allyhub.com/schemas/config.schema.json",
|
|
4
|
+
"title": "config",
|
|
5
|
+
"description": "allyhub.config.ts's settings.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"fonts": {
|
|
9
|
+
"default": [],
|
|
10
|
+
"type": "array",
|
|
11
|
+
"items": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"minLength": 1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"text": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"locales": {
|
|
20
|
+
"minItems": 1,
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"minLength": 2
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"look": {
|
|
28
|
+
"type": "object",
|
|
29
|
+
"propertyNames": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"additionalProperties": {}
|
|
33
|
+
},
|
|
34
|
+
"defaults": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"propertyNames": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"additionalProperties": {}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://allyhub.com/schemas/edits.schema.json",
|
|
4
|
+
"title": "edits",
|
|
5
|
+
"description": "A recording's cut list.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"$schema": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"version": {
|
|
12
|
+
"type": "number",
|
|
13
|
+
"const": 1
|
|
14
|
+
},
|
|
15
|
+
"take": {
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"remove": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"from": {
|
|
24
|
+
"type": "integer",
|
|
25
|
+
"minimum": 0,
|
|
26
|
+
"maximum": 9007199254740991
|
|
27
|
+
},
|
|
28
|
+
"to": {
|
|
29
|
+
"type": "integer",
|
|
30
|
+
"minimum": 0,
|
|
31
|
+
"maximum": 9007199254740991
|
|
32
|
+
},
|
|
33
|
+
"text": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"from",
|
|
39
|
+
"to"
|
|
40
|
+
],
|
|
41
|
+
"additionalProperties": false
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"sounds": {
|
|
45
|
+
"type": "array",
|
|
46
|
+
"items": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"properties": {
|
|
49
|
+
"from": {
|
|
50
|
+
"type": "number",
|
|
51
|
+
"minimum": 0
|
|
52
|
+
},
|
|
53
|
+
"to": {
|
|
54
|
+
"type": "number",
|
|
55
|
+
"minimum": 0
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"from",
|
|
60
|
+
"to"
|
|
61
|
+
],
|
|
62
|
+
"additionalProperties": false
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"inWord": {
|
|
66
|
+
"type": "array",
|
|
67
|
+
"items": {
|
|
68
|
+
"type": "object",
|
|
69
|
+
"properties": {
|
|
70
|
+
"from": {
|
|
71
|
+
"type": "number",
|
|
72
|
+
"minimum": 0
|
|
73
|
+
},
|
|
74
|
+
"to": {
|
|
75
|
+
"type": "number",
|
|
76
|
+
"minimum": 0
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"from",
|
|
81
|
+
"to"
|
|
82
|
+
],
|
|
83
|
+
"additionalProperties": false
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"maxPause": {
|
|
87
|
+
"type": "number",
|
|
88
|
+
"minimum": 0.05,
|
|
89
|
+
"maximum": 10
|
|
90
|
+
},
|
|
91
|
+
"pad": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"before": {
|
|
95
|
+
"type": "number",
|
|
96
|
+
"minimum": 0,
|
|
97
|
+
"maximum": 2
|
|
98
|
+
},
|
|
99
|
+
"after": {
|
|
100
|
+
"type": "number",
|
|
101
|
+
"minimum": 0,
|
|
102
|
+
"maximum": 2
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"additionalProperties": false
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"required": [
|
|
109
|
+
"version"
|
|
110
|
+
],
|
|
111
|
+
"additionalProperties": false
|
|
112
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://allyhub.com/schemas/elements.schema.json",
|
|
4
|
+
"title": "elements",
|
|
5
|
+
"description": "A page screenshot's named elements, each its box in the picture's pixels.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"propertyNames": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"minLength": 1
|
|
10
|
+
},
|
|
11
|
+
"additionalProperties": {
|
|
12
|
+
"type": "array",
|
|
13
|
+
"prefixItems": [
|
|
14
|
+
{
|
|
15
|
+
"type": "number"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "number"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "number",
|
|
22
|
+
"minimum": 0
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "number",
|
|
26
|
+
"minimum": 0
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"items": false,
|
|
30
|
+
"minItems": 4,
|
|
31
|
+
"maxItems": 4
|
|
32
|
+
}
|
|
33
|
+
}
|