allyhub 0.5.0 → 0.7.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/dist/audio-text.js +1 -1
- package/dist/commands/add.js +2 -2
- package/dist/commands/cloud-tools.js +5 -5
- package/dist/commands/dev.js +1 -1
- package/dist/commands/frames/piece.js +1 -1
- package/dist/commands/frames/sheet.js +1 -1
- package/dist/commands/frames.js +8 -8
- package/dist/commands/index.js +1 -1
- package/dist/commands/inspect/common.js +1 -1
- package/dist/commands/inspect/layout.js +1 -1
- package/dist/commands/render.js +1 -1
- package/dist/commands/sheet.js +7 -7
- package/dist/commands/site.js +3 -2
- package/dist/commands/skills.js +3 -3
- package/dist/commands/slides.js +2 -2
- package/dist/node_modules/@allyhub-next/audio/dist/node/index.js +1 -1
- package/dist/node_modules/@allyhub-next/audio/dist/node/master.js +1 -1
- package/dist/node_modules/@allyhub-next/audio/package.json +1 -1
- package/dist/node_modules/@allyhub-next/browser/dist/html.js +1 -1
- package/dist/node_modules/@allyhub-next/browser/package.json +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/content.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/build/dist/content.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/index.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/meta-worker.js +3 -3
- package/dist/node_modules/@allyhub-next/build/dist/move-refs.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/move-refs.js +1 -1
- package/dist/node_modules/@allyhub-next/build/dist/plugin.d.ts +12 -3
- package/dist/node_modules/@allyhub-next/build/dist/plugin.js +7 -6
- package/dist/node_modules/@allyhub-next/build/dist/prepare.d.ts +9 -5
- package/dist/node_modules/@allyhub-next/build/dist/prepare.js +2 -2
- package/dist/node_modules/@allyhub-next/build/dist/vite.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/build/dist/vite.js +2 -2
- package/dist/node_modules/@allyhub-next/build/package.json +1 -1
- package/dist/node_modules/@allyhub-next/chart/dist/chart-xml.js +2 -2
- package/dist/node_modules/@allyhub-next/chart/dist/chart.d.ts +14 -5
- package/dist/node_modules/@allyhub-next/chart/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub-next/chart/package.json +1 -1
- package/dist/node_modules/@allyhub-next/check/dist/check.js +3 -3
- package/dist/node_modules/@allyhub-next/check/package.json +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/blobs.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/call.js +4 -2
- package/dist/node_modules/@allyhub-next/cloud/dist/client.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/errors.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/hashes.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub-next/cloud/dist/voice.js +1 -1
- package/dist/node_modules/@allyhub-next/cloud/package.json +1 -1
- package/dist/node_modules/@allyhub-next/components/package.json +1 -1
- package/dist/node_modules/@allyhub-next/components/r/caption-subtitle.json +1 -1
- package/dist/node_modules/@allyhub-next/components/src/caption-subtitle.ts +54 -16
- package/dist/node_modules/@allyhub-next/dev-server/dist/background.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/exports.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/fonts.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/live.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/project.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/reach.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/record.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/dist/server.js +2 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub-next/dev-server/dist/tree.js +2 -0
- package/dist/node_modules/@allyhub-next/dev-server/package.json +1 -1
- package/dist/node_modules/@allyhub-next/doc/package.json +1 -1
- package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.js +1 -1
- package/dist/node_modules/@allyhub-next/export/dist/export.js +5 -5
- package/dist/node_modules/@allyhub-next/export/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/export/package.json +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.d.ts +205 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/deck-code.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.d.ts +4 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/script.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +248 -18
- package/dist/node_modules/@allyhub-next/formats/dist/data/sheet.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.d.ts +1114 -91
- package/dist/node_modules/@allyhub-next/formats/dist/data/slides.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.d.ts +20 -0
- package/dist/node_modules/@allyhub-next/formats/dist/data/website.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/formats/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/items.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/media-type.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/formats/dist/media-type.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.d.ts +625 -30
- package/dist/node_modules/@allyhub-next/formats/dist/schemas.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/strict.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/formats/dist/strict.js +1 -1
- package/dist/node_modules/@allyhub-next/formats/dist/zip.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/formats/dist/zip.js +2 -0
- package/dist/node_modules/@allyhub-next/formats/package.json +2 -1
- package/dist/node_modules/@allyhub-next/measure/package.json +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/index.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/media/dist/sheet.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/media/dist/sheet.js +7 -7
- package/dist/node_modules/@allyhub-next/media/package.json +1 -1
- package/dist/node_modules/@allyhub-next/model/package.json +1 -1
- package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/brightness.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/color.d.ts +33 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/color.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/enums.d.ts +13 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ext.d.ts +79 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ext.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.d.ts +132 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/enums.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/presets.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.d.ts +4708 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/generated/spec.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.d.ts +57 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/geometry/index.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/index.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/mce.d.ts +12 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/mce.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/node.d.ts +111 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/node.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ns.d.ts +45 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/ns.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/opc.d.ts +48 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/opc.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/report.d.ts +45 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/report.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/xml.d.ts +28 -0
- package/dist/node_modules/@allyhub-next/ooxml/dist/xml.js +2 -0
- package/dist/node_modules/@allyhub-next/ooxml/package.json +26 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-keys.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-measure.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/deck-pool.js +2 -0
- package/dist/node_modules/@allyhub-next/project/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/project/dist/session.js +1 -1
- package/dist/node_modules/@allyhub-next/project/dist/stills.js +2 -0
- package/dist/node_modules/@allyhub-next/project/package.json +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/account.d.ts +338 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/account.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.d.ts +12 -13
- package/dist/node_modules/@allyhub-next/protocol/dist/auth.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/blobs.d.ts +35 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/blobs.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +101 -32
- package/dist/node_modules/@allyhub-next/protocol/dist/cloud.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.d.ts +89 -5
- package/dist/node_modules/@allyhub-next/protocol/dist/editor.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/files.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/protocol/dist/index.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/notes.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/open.d.ts +13 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/open.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.d.ts +73 -59
- package/dist/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.d.ts +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/routes.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.d.ts +115 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/shares.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.d.ts +293 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/sites.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.d.ts +377 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/snapshots.js +2 -0
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.d.ts +27 -9
- package/dist/node_modules/@allyhub-next/protocol/dist/teams.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.d.ts +53 -14
- package/dist/node_modules/@allyhub-next/protocol/dist/tools.js +1 -1
- package/dist/node_modules/@allyhub-next/protocol/package.json +2 -1
- package/dist/node_modules/@allyhub-next/registry/package.json +1 -1
- package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.js +3 -2
- package/dist/node_modules/@allyhub-next/render/dist/doc/index.js +1 -1
- package/dist/node_modules/@allyhub-next/render/dist/doc/pdf.js +34 -0
- package/dist/node_modules/@allyhub-next/render/dist/doc/print.js +4 -4
- package/dist/node_modules/@allyhub-next/render/dist/exports.js +2 -2
- package/dist/node_modules/@allyhub-next/render/dist/pdf.js +2 -0
- package/dist/node_modules/@allyhub-next/render/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtime/dist/fonts.js +1 -1
- package/dist/node_modules/@allyhub-next/runtime/dist/music.js +1 -1
- package/dist/node_modules/@allyhub-next/runtime/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtimes/package.json +1 -1
- package/dist/node_modules/@allyhub-next/runtimes/schemas/runtimes.schema.json +25 -5
- package/dist/node_modules/@allyhub-next/scaffold/dist/index.js +4 -4
- package/dist/node_modules/@allyhub-next/scaffold/package.json +1 -1
- package/dist/node_modules/@allyhub-next/scenery/package.json +1 -1
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +10 -0
- package/dist/node_modules/@allyhub-next/scenery-host/dist/bundle.js +3 -3
- package/dist/node_modules/@allyhub-next/scenery-host/package.json +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/capabilities.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.d.ts +83 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/page.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.d.ts +40 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/api/workbook.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.d.ts +9 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/analyse.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.d.ts +5 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/coerce.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.d.ts +60 -13
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/engine.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/aggregate.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/convert.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/criteria.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/database.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/date.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.d.ts +27 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/define.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.d.ts +16 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/delimiters.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.d.ts +18 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/dynamic.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/finance.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/info.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/kernels.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/logical.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/lookup.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/maths.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/modern.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/functions/text.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.d.ts +38 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/graph.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.d.ts +19 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/indexes.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.d.ts +49 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/remote.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.d.ts +82 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/server.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.d.ts +6 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/calc/types.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/chart.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/check.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.d.ts +15 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/diff.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/export.d.ts +29 -8
- package/dist/node_modules/@allyhub-next/sheet/dist/export.js +3 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/file.js +2 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/format.d.ts +8 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/format.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/html.d.ts +52 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/html.js +43 -11
- package/dist/node_modules/@allyhub-next/sheet/dist/index.d.ts +7 -3
- package/dist/node_modules/@allyhub-next/sheet/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/inspect.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.d.ts +98 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/paginate.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/structure.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.d.ts +32 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-style.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.d.ts +3 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/table-styles.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/values.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.d.ts +10 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/workbook.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.d.ts +12 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/charts.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.d.ts +14 -4
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/formula.js +2 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.d.ts +11 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/functions.js +36 -16
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.d.ts +6 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/import.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.d.ts +44 -2
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/read.js +2 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.d.ts +23 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/sax.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.d.ts +2 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/styles.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/write.js +1 -1
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.d.ts +40 -0
- package/dist/node_modules/@allyhub-next/sheet/dist/xlsx/zip.js +2 -0
- package/dist/node_modules/@allyhub-next/sheet/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/animation.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.d.ts +121 -44
- package/dist/node_modules/@allyhub-next/slides-core/dist/api.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/capabilities.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.d.ts +50 -13
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-api.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/chart-file.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/check.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.d.ts +33 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/code.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/components.d.ts +31 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/components.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.d.ts +188 -5
- package/dist/node_modules/@allyhub-next/slides-core/dist/enums.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.d.ts +43 -21
- package/dist/node_modules/@allyhub-next/slides-core/dist/file.js +3 -3
- package/dist/node_modules/@allyhub-next/slides-core/dist/identity.d.ts +17 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/identity.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.d.ts +5 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/lang.d.ts +6 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/lang.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/measure.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.d.ts +58 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/merge.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/model.d.ts +38 -4
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.d.ts +27 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/office.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.d.ts +26 -5
- package/dist/node_modules/@allyhub-next/slides-core/dist/resolve.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.d.ts +18 -16
- package/dist/node_modules/@allyhub-next/slides-core/dist/script.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-core/dist/stage.d.ts +51 -53
- package/dist/node_modules/@allyhub-next/slides-core/dist/strict.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.d.ts +27 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/units.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-core/dist/values.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/slides-core/dist/values.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-core/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/code.js +4 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/index.js +3 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/names.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import/script.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/chart.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/common.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/index.js +4 -0
- package/dist/{site.js → node_modules/@allyhub-next/slides-pptx/dist/read/model.js} +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/shapes.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/table.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/text.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read/timing.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-pptx/package.json +1 -1
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/component.js +2 -0
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.js +2 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.js +5 -5
- package/dist/node_modules/@allyhub-next/slides-runtime/package.json +5 -1
- package/dist/node_modules/@allyhub-next/stage/dist/graphics.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/dist/page.js +22 -12
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.js +5 -5
- package/dist/node_modules/@allyhub-next/stage/dist/server.js +1 -1
- package/dist/node_modules/@allyhub-next/stage/package.json +1 -1
- package/dist/node_modules/@allyhub-next/stage-page/dist/host.js +1 -20
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/probe.html +8 -0
- package/dist/{astro.js → node_modules/@allyhub-next/stage-page/dist/runtime/probe.js} +1 -1
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/runtime.js +79 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.html +21 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/stage.js +3 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.html +9 -0
- package/dist/node_modules/@allyhub-next/stage-page/dist/runtime/viewer.js +3 -0
- package/dist/node_modules/@allyhub-next/stage-page/package.json +2 -3
- package/dist/node_modules/@allyhub-next/video-core/dist/captions.js +6 -6
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.d.ts +47 -8
- package/dist/node_modules/@allyhub-next/video-core/dist/fact.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/index.d.ts +1 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/index.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/marks.d.ts +14 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/marks.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/music.d.ts +2 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/piece.d.ts +11 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.d.ts +4 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/problem.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.d.ts +2 -2
- package/dist/node_modules/@allyhub-next/video-core/dist/schema.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/script.d.ts +2 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/script.js +1 -1
- package/dist/node_modules/@allyhub-next/video-core/dist/source.d.ts +7 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/source.js +2 -0
- package/dist/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +10 -33
- package/dist/node_modules/@allyhub-next/video-core/package.json +1 -1
- package/dist/node_modules/@allyhub-next/website/LICENSE +241 -0
- package/dist/node_modules/@allyhub-next/website/dist/index.js +2 -0
- package/dist/node_modules/@allyhub-next/website/dist/publish.js +3 -0
- package/dist/node_modules/@allyhub-next/website/dist/rules.js +2 -0
- package/dist/node_modules/@allyhub-next/website/dist/website.js +4 -0
- package/dist/node_modules/@allyhub-next/website/package.json +13 -0
- package/dist/text/facts-text.js +4 -4
- package/dist/works.js +1 -1
- package/editor-web/assets/calc-worker-Bz9r26p1.js +158 -0
- package/editor-web/assets/dist-0emakyZE.js +36 -0
- package/editor-web/assets/dist-B3UoDUa5.js +37 -0
- package/editor-web/assets/dist-B6KzR3pN.js +10 -0
- package/editor-web/assets/dist-Bc5iA5k1.js +1 -0
- package/editor-web/assets/dist-CTQIm8Im.js +10 -0
- package/editor-web/assets/dist-CiHNHwyq.js +2 -0
- package/editor-web/assets/dist-DNZ8PQ-E.js +224 -0
- package/editor-web/assets/index-CFt3ovRY.js +69 -0
- package/editor-web/assets/index-ujKjdu_s.css +2 -0
- package/editor-web/assets/minus-BhoPZC5P.js +1 -0
- package/editor-web/assets/react-C_-rEEBU.js +101 -0
- package/editor-web/assets/tabs-Den4gHrU.js +105 -0
- package/editor-web/assets/text-align-start-CsW4nqqL.js +1 -0
- package/editor-web/index.html +5 -5
- package/package.json +8 -14
- package/dist/astro.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +0 -52
- package/dist/node_modules/@allyhub-next/audio/dist/decode.d.ts +0 -33
- package/dist/node_modules/@allyhub-next/audio/dist/envelope.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/audio/dist/index.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/audio/dist/levels.d.ts +0 -97
- package/dist/node_modules/@allyhub-next/audio/dist/master.d.ts +0 -29
- package/dist/node_modules/@allyhub-next/audio/dist/music.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/node/index.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/audio/dist/node/master.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +0 -60
- package/dist/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +0 -31
- package/dist/node_modules/@allyhub-next/audio/dist/plan.d.ts +0 -143
- package/dist/node_modules/@allyhub-next/audio/dist/recorded.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +0 -89
- package/dist/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +0 -64
- package/dist/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +0 -56
- package/dist/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +0 -64
- package/dist/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/audio/dist/render.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/audio/dist/sfx.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/audio/dist/shape.d.ts +0 -118
- package/dist/node_modules/@allyhub-next/audio/dist/voice.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/browser/dist/browser.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/browser/dist/capture.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/browser/dist/cdp.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/browser/dist/flags.d.ts +0 -13
- package/dist/node_modules/@allyhub-next/browser/dist/frames.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/browser/dist/html.d.ts +0 -19
- package/dist/node_modules/@allyhub-next/browser/dist/index.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/browser/dist/launch.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/browser/dist/page.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/browser/dist/server.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/check/dist/cache.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/check/dist/check.d.ts +0 -142
- package/dist/node_modules/@allyhub-next/check/dist/generated.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/check/dist/index.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/check/dist/plans.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/check/dist/result.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/check/dist/scenery.d.ts +0 -23
- package/dist/node_modules/@allyhub-next/dev-server/dist/background.d.ts +0 -50
- package/dist/node_modules/@allyhub-next/dev-server/dist/card.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/dev-server/dist/exports.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/dev-server/dist/index.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/dev-server/dist/live.d.ts +0 -77
- package/dist/node_modules/@allyhub-next/dev-server/dist/mime.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/mime.js +0 -2
- package/dist/node_modules/@allyhub-next/dev-server/dist/paths.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/dev-server/dist/project.d.ts +0 -153
- package/dist/node_modules/@allyhub-next/dev-server/dist/reveal.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/dev-server/dist/server.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/dev-server/dist/sound.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/dev-server/dist/stage.d.ts +0 -82
- package/dist/node_modules/@allyhub-next/dev-server/dist/stage.js +0 -121
- package/dist/node_modules/@allyhub-next/dev-server/dist/tools.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/dev-server/dist/validate.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/dev-server/dist/watcher.d.ts +0 -47
- package/dist/node_modules/@allyhub-next/dev-server/dist/writer.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/export/dist/batch.d.ts +0 -70
- package/dist/node_modules/@allyhub-next/export/dist/deck-fonts.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/export/dist/deck-pptx.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/export/dist/export.d.ts +0 -123
- package/dist/node_modules/@allyhub-next/export/dist/index.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/export/dist/names.d.ts +0 -36
- package/dist/node_modules/@allyhub-next/measure/dist/compare.d.ts +0 -195
- package/dist/node_modules/@allyhub-next/measure/dist/contrast.d.ts +0 -14
- package/dist/node_modules/@allyhub-next/measure/dist/cut-sheet.d.ts +0 -90
- package/dist/node_modules/@allyhub-next/measure/dist/cuts.d.ts +0 -108
- package/dist/node_modules/@allyhub-next/measure/dist/facts.d.ts +0 -60
- package/dist/node_modules/@allyhub-next/measure/dist/fidelity.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/measure/dist/flat.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/measure/dist/index.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/measure/dist/loop.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/measure/dist/overlay.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/measure/dist/recording-report.d.ts +0 -66
- package/dist/node_modules/@allyhub-next/measure/dist/reference/compare.d.ts +0 -118
- package/dist/node_modules/@allyhub-next/measure/dist/reference/folder.d.ts +0 -75
- package/dist/node_modules/@allyhub-next/measure/dist/reference/interpret.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/measure/dist/reference/piece.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sections.d.ts +0 -53
- package/dist/node_modules/@allyhub-next/measure/dist/reference/sets.d.ts +0 -84
- package/dist/node_modules/@allyhub-next/measure/dist/reference/text.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/measure/dist/reference/video.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/measure/dist/seams.d.ts +0 -46
- package/dist/node_modules/@allyhub-next/measure/dist/sound-measures.d.ts +0 -74
- package/dist/node_modules/@allyhub-next/measure/dist/sound-report.d.ts +0 -156
- package/dist/node_modules/@allyhub-next/measure/dist/still.d.ts +0 -58
- package/dist/node_modules/@allyhub-next/measure/dist/version-voice.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/project/dist/console.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/project/dist/digest.d.ts +0 -9
- package/dist/node_modules/@allyhub-next/project/dist/index.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/project/dist/ledger.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/project/dist/media-index.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/project/dist/page.d.ts +0 -119
- package/dist/node_modules/@allyhub-next/project/dist/says.d.ts +0 -15
- package/dist/node_modules/@allyhub-next/project/dist/scenery.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/project/dist/session.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/project/dist/stretch.d.ts +0 -38
- package/dist/node_modules/@allyhub-next/project/dist/version.d.ts +0 -114
- package/dist/node_modules/@allyhub-next/render/dist/cap.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/render/dist/capture.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/render/dist/clip.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/composite.d.ts +0 -106
- package/dist/node_modules/@allyhub-next/render/dist/delivery.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/render/dist/doc/fonts.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/doc/index.d.ts +0 -3
- package/dist/node_modules/@allyhub-next/render/dist/doc/print.d.ts +0 -51
- package/dist/node_modules/@allyhub-next/render/dist/encode.d.ts +0 -111
- package/dist/node_modules/@allyhub-next/render/dist/errors.d.ts +0 -15
- package/dist/node_modules/@allyhub-next/render/dist/exports.d.ts +0 -76
- package/dist/node_modules/@allyhub-next/render/dist/ffmpeg.d.ts +0 -75
- package/dist/node_modules/@allyhub-next/render/dist/footage.d.ts +0 -169
- package/dist/node_modules/@allyhub-next/render/dist/image.d.ts +0 -16
- package/dist/node_modules/@allyhub-next/render/dist/index.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/render/dist/junction.d.ts +0 -70
- package/dist/node_modules/@allyhub-next/render/dist/look.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/render/dist/page.d.ts +0 -186
- package/dist/node_modules/@allyhub-next/render/dist/parts.d.ts +0 -140
- package/dist/node_modules/@allyhub-next/render/dist/png.d.ts +0 -37
- package/dist/node_modules/@allyhub-next/render/dist/pool.d.ts +0 -54
- package/dist/node_modules/@allyhub-next/render/dist/post-probe.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/post.d.ts +0 -27
- package/dist/node_modules/@allyhub-next/render/dist/render.d.ts +0 -151
- package/dist/node_modules/@allyhub-next/render/dist/segments.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/render/dist/sound.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/render/dist/stills.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/render/dist/tools.d.ts +0 -25
- package/dist/node_modules/@allyhub-next/render/dist/webp.d.ts +0 -17
- package/dist/node_modules/@allyhub-next/runtime/dist/bridge.d.ts +0 -211
- package/dist/node_modules/@allyhub-next/runtime/dist/captions.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/runtime/dist/clock.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/runtime/dist/compose.d.ts +0 -149
- package/dist/node_modules/@allyhub-next/runtime/dist/console.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/runtime/dist/contrast.d.ts +0 -13
- package/dist/node_modules/@allyhub-next/runtime/dist/embed.d.ts +0 -50
- package/dist/node_modules/@allyhub-next/runtime/dist/env.d.ts +0 -101
- package/dist/node_modules/@allyhub-next/runtime/dist/errors.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/runtime/dist/facade.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/runtime/dist/fonts.d.ts +0 -110
- package/dist/node_modules/@allyhub-next/runtime/dist/footage.d.ts +0 -52
- package/dist/node_modules/@allyhub-next/runtime/dist/frame.d.ts +0 -61
- package/dist/node_modules/@allyhub-next/runtime/dist/guards.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/runtime/dist/index.d.ts +0 -14
- package/dist/node_modules/@allyhub-next/runtime/dist/inspect.d.ts +0 -112
- package/dist/node_modules/@allyhub-next/runtime/dist/locate.d.ts +0 -11
- package/dist/node_modules/@allyhub-next/runtime/dist/measure.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/runtime/dist/mix-plan.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/runtime/dist/music.d.ts +0 -29
- package/dist/node_modules/@allyhub-next/runtime/dist/output.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/runtime/dist/pictures.d.ts +0 -39
- package/dist/node_modules/@allyhub-next/runtime/dist/piece.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/runtime/dist/player/clips.d.ts +0 -41
- package/dist/node_modules/@allyhub-next/runtime/dist/player/cutout.d.ts +0 -57
- package/dist/node_modules/@allyhub-next/runtime/dist/player/player.d.ts +0 -78
- package/dist/node_modules/@allyhub-next/runtime/dist/reads.d.ts +0 -132
- package/dist/node_modules/@allyhub-next/runtime/dist/sound.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/runtime/dist/speech.d.ts +0 -107
- package/dist/node_modules/@allyhub-next/runtime/dist/stage-kit.d.ts +0 -12
- package/dist/node_modules/@allyhub-next/runtime/dist/stage.d.ts +0 -34
- package/dist/node_modules/@allyhub-next/runtime/dist/styles.d.ts +0 -35
- package/dist/node_modules/@allyhub-next/runtime/dist/takes.d.ts +0 -72
- package/dist/node_modules/@allyhub-next/runtime/dist/titles.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/runtime/dist/transitions.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/site/dist/assets.d.ts +0 -59
- package/dist/node_modules/@allyhub-next/site/dist/assets.js +0 -2
- package/dist/node_modules/@allyhub-next/site/dist/astro.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/site/dist/astro.js +0 -3
- package/dist/node_modules/@allyhub-next/site/dist/lockfile.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/site/dist/lockfile.js +0 -3
- package/dist/node_modules/@allyhub-next/site/dist/media.d.ts +0 -24
- package/dist/node_modules/@allyhub-next/site/dist/media.js +0 -4
- package/dist/node_modules/@allyhub-next/site/package.json +0 -25
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/charts.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/fonts.d.ts +0 -45
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.d.ts +0 -18
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/import.js +0 -3
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/index.d.ts +0 -5
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.d.ts +0 -55
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/read.js +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/shapes.d.ts +0 -67
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/text.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/theme.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/timing.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/write.d.ts +0 -32
- package/dist/node_modules/@allyhub-next/slides-pptx/dist/xml.d.ts +0 -26
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/draw.d.ts +0 -40
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/edit.js +0 -2
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/index.d.ts +0 -4
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/ink.d.ts +0 -10
- package/dist/node_modules/@allyhub-next/slides-runtime/dist/load.d.ts +0 -6
- package/dist/node_modules/@allyhub-next/stage/dist/bakes.d.ts +0 -42
- package/dist/node_modules/@allyhub-next/stage/dist/graphics.d.ts +0 -7
- package/dist/node_modules/@allyhub-next/stage/dist/identity.d.ts +0 -2
- package/dist/node_modules/@allyhub-next/stage/dist/index.d.ts +0 -9
- package/dist/node_modules/@allyhub-next/stage/dist/page.d.ts +0 -87
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-page.d.ts +0 -69
- package/dist/node_modules/@allyhub-next/stage/dist/scenery-solve.d.ts +0 -49
- package/dist/node_modules/@allyhub-next/stage/dist/scenery.d.ts +0 -8
- package/dist/node_modules/@allyhub-next/stage/dist/server.d.ts +0 -21
- package/dist/node_modules/@allyhub-next/stage-page/dist/host.d.ts +0 -22
- package/dist/node_modules/@allyhub-next/stage-page/dist/page.js +0 -79
- package/dist/site.d.ts +0 -2
- package/editor-web/assets/dist-Cg2PdedY.js +0 -6
- package/editor-web/assets/dist-CuW84oPe.js +0 -233
- package/editor-web/assets/dist-CxAS_vp7.js +0 -2
- package/editor-web/assets/dist-DCVaj9i1.js +0 -4
- package/editor-web/assets/dist-DGVUuVPB.js +0 -33
- package/editor-web/assets/dist-Yi3sy7Ea.js +0 -1
- package/editor-web/assets/index-B7S9RZhL.css +0 -2
- package/editor-web/assets/index-pwRfZ2Jv.js +0 -69
- package/editor-web/assets/minus-BizJdinJ.js +0 -1
- package/editor-web/assets/react-D54s6gwK.js +0 -101
- package/editor-web/assets/textarea-CvxipnGW.js +0 -105
- package/editor-web/assets/trash-2-Bq1Dt8XG.js +0 -1
- package/editor-web/assets/undo-2-Djhvu4xt.js +0 -1
- /package/dist/node_modules/@allyhub-next/{site → ooxml}/LICENSE +0 -0
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** The manifest's format; a reader that does not know it serves nothing. */
|
|
3
|
+
export declare const SITE_MANIFEST_FORMAT = 1;
|
|
4
|
+
/** What one deployment may hold, each checked by the server. */
|
|
5
|
+
export declare const SITE_LIMITS: {
|
|
6
|
+
readonly files: 20000;
|
|
7
|
+
readonly bytes: number;
|
|
8
|
+
/** Rules of a site's `_redirects`. */
|
|
9
|
+
readonly redirects: 2000;
|
|
10
|
+
/** Rules of a site's `_headers`. */
|
|
11
|
+
readonly headers: 100;
|
|
12
|
+
};
|
|
13
|
+
/** How long an address is. */
|
|
14
|
+
export declare const SLUG_LENGTH: {
|
|
15
|
+
readonly min: 3;
|
|
16
|
+
readonly max: 40;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Addresses no site may have: the platform's own, and names mail, browsers
|
|
20
|
+
* and other clients ask for by themselves.
|
|
21
|
+
*/
|
|
22
|
+
export declare const RESERVED_SLUGS: ReadonlySet<string>;
|
|
23
|
+
/** Why a slug cannot be one; undefined when it can. */
|
|
24
|
+
export declare function slugProblem(slug: string): string | undefined;
|
|
25
|
+
export declare const SiteSlugSchema: z.ZodString;
|
|
26
|
+
/** The statuses a `_redirects` rule answers with: a redirect, a rewrite, or a page shown as missing or gone. */
|
|
27
|
+
export declare const REDIRECT_STATUSES: readonly [200, 301, 302, 303, 307, 308, 404, 410];
|
|
28
|
+
export declare const RedirectRuleSchema: z.ZodObject<{
|
|
29
|
+
from: z.ZodString;
|
|
30
|
+
to: z.ZodString;
|
|
31
|
+
status: z.ZodUnion<z.ZodLiteral<200 | 301 | 302 | 303 | 307 | 308 | 404 | 410>[]>;
|
|
32
|
+
force: z.ZodBoolean;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
export type RedirectRule = z.infer<typeof RedirectRuleSchema>;
|
|
35
|
+
/** Headers a site cannot set: a site's bytes and transport are the platform's, and it sets no cookies on a shared domain. */
|
|
36
|
+
export declare const PLATFORM_HEADERS: ReadonlySet<string>;
|
|
37
|
+
export declare const HeaderRuleSchema: z.ZodObject<{
|
|
38
|
+
for: z.ZodString;
|
|
39
|
+
set: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export type HeaderRule = z.infer<typeof HeaderRuleSchema>;
|
|
42
|
+
/**
|
|
43
|
+
* What a site is: its files by path from its root, each a blob and the
|
|
44
|
+
* type it is served as, and its `_redirects` and `_headers`, read. Nothing
|
|
45
|
+
* in it names a project or a person.
|
|
46
|
+
*/
|
|
47
|
+
export declare const SiteManifestSchema: z.ZodObject<{
|
|
48
|
+
format: z.ZodLiteral<1>;
|
|
49
|
+
files: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
50
|
+
sha256: z.ZodString;
|
|
51
|
+
size: z.ZodInt;
|
|
52
|
+
type: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
redirects: z.ZodArray<z.ZodObject<{
|
|
55
|
+
from: z.ZodString;
|
|
56
|
+
to: z.ZodString;
|
|
57
|
+
status: z.ZodUnion<z.ZodLiteral<200 | 301 | 302 | 303 | 307 | 308 | 404 | 410>[]>;
|
|
58
|
+
force: z.ZodBoolean;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
61
|
+
for: z.ZodString;
|
|
62
|
+
set: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
}, z.core.$strict>;
|
|
65
|
+
export type SiteManifest = z.infer<typeof SiteManifestSchema>;
|
|
66
|
+
/** How a deployment was made: its files uploaded, or from a project's git. */
|
|
67
|
+
export declare const SITE_SOURCE_KINDS: readonly ["upload", "git"];
|
|
68
|
+
/** Where a deployment came from. `commit` once a project is in git; `digest`, the website's folder when it was built. */
|
|
69
|
+
export declare const SiteSourceSchema: z.ZodObject<{
|
|
70
|
+
kind: z.ZodEnum<{
|
|
71
|
+
upload: "upload";
|
|
72
|
+
git: "git";
|
|
73
|
+
}>;
|
|
74
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
75
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
export type SiteSource = z.infer<typeof SiteSourceSchema>;
|
|
78
|
+
export declare const DeploymentSchema: z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
siteId: z.ZodString;
|
|
81
|
+
source: z.ZodObject<{
|
|
82
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
83
|
+
upload: "upload";
|
|
84
|
+
git: "git";
|
|
85
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
86
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
87
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
note: z.ZodNullable<z.ZodString>;
|
|
90
|
+
files: z.ZodNumber;
|
|
91
|
+
bytes: z.ZodNumber;
|
|
92
|
+
createdBy: z.ZodString;
|
|
93
|
+
createdAt: z.ZodISODateTime;
|
|
94
|
+
live: z.ZodBoolean;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
export type Deployment = z.infer<typeof DeploymentSchema>;
|
|
97
|
+
export declare const SiteSchema: z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
slug: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
url: z.ZodURL;
|
|
102
|
+
liveDeployment: z.ZodNullable<z.ZodString>;
|
|
103
|
+
approved: z.ZodBoolean;
|
|
104
|
+
autoPublish: z.ZodBoolean;
|
|
105
|
+
indexing: z.ZodBoolean;
|
|
106
|
+
createdAt: z.ZodISODateTime;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
export type Site = z.infer<typeof SiteSchema>;
|
|
109
|
+
/** `GET`: the organization's sites. `POST { slug, name }`: a site made. */
|
|
110
|
+
export declare const SITES_PATH = "/api/sites";
|
|
111
|
+
export declare const SiteCreateSchema: z.ZodObject<{
|
|
112
|
+
slug: z.ZodString;
|
|
113
|
+
name: z.ZodString;
|
|
114
|
+
}, z.core.$strict>;
|
|
115
|
+
export type SiteCreate = z.infer<typeof SiteCreateSchema>;
|
|
116
|
+
export declare const SitesResponseSchema: z.ZodObject<{
|
|
117
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
slug: z.ZodString;
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
url: z.ZodURL;
|
|
122
|
+
liveDeployment: z.ZodNullable<z.ZodString>;
|
|
123
|
+
approved: z.ZodBoolean;
|
|
124
|
+
autoPublish: z.ZodBoolean;
|
|
125
|
+
indexing: z.ZodBoolean;
|
|
126
|
+
createdAt: z.ZodISODateTime;
|
|
127
|
+
}, z.core.$strip>>;
|
|
128
|
+
domain: z.ZodString;
|
|
129
|
+
hosting: z.ZodBoolean;
|
|
130
|
+
}, z.core.$strip>;
|
|
131
|
+
/**
|
|
132
|
+
* `GET`: a site and its versions, newest first. `DELETE ?person=1`: the site
|
|
133
|
+
* offline for good; its address is never given to anyone else. A site its
|
|
134
|
+
* organization removed answers 410, so a folder that still names it can make
|
|
135
|
+
* another; one that was never the organization's answers 404.
|
|
136
|
+
*/
|
|
137
|
+
export declare const sitePath: (id: string) => string;
|
|
138
|
+
export declare const SiteDetailSchema: z.ZodObject<{
|
|
139
|
+
site: z.ZodObject<{
|
|
140
|
+
id: z.ZodString;
|
|
141
|
+
slug: z.ZodString;
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
url: z.ZodURL;
|
|
144
|
+
liveDeployment: z.ZodNullable<z.ZodString>;
|
|
145
|
+
approved: z.ZodBoolean;
|
|
146
|
+
autoPublish: z.ZodBoolean;
|
|
147
|
+
indexing: z.ZodBoolean;
|
|
148
|
+
createdAt: z.ZodISODateTime;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
deployments: z.ZodArray<z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
siteId: z.ZodString;
|
|
153
|
+
source: z.ZodObject<{
|
|
154
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
155
|
+
upload: "upload";
|
|
156
|
+
git: "git";
|
|
157
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
158
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
159
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
note: z.ZodNullable<z.ZodString>;
|
|
162
|
+
files: z.ZodNumber;
|
|
163
|
+
bytes: z.ZodNumber;
|
|
164
|
+
createdBy: z.ZodString;
|
|
165
|
+
createdAt: z.ZodISODateTime;
|
|
166
|
+
live: z.ZodBoolean;
|
|
167
|
+
}, z.core.$strip>>;
|
|
168
|
+
}, z.core.$strip>;
|
|
169
|
+
export type SiteDetail = z.infer<typeof SiteDetailSchema>;
|
|
170
|
+
/** `POST { blobs }` (`BlobsRequestSchema`): which of these the site's organization lacks, each with where to put it. */
|
|
171
|
+
export declare const siteBlobsPath: (site: string) => string;
|
|
172
|
+
/**
|
|
173
|
+
* `POST { manifest, source, note }`: a version made from its manifest, a
|
|
174
|
+
* blob put already. Refused as a conflict, with the blobs storage does not
|
|
175
|
+
* hold, and nothing is recorded: a version is whole or it is not there.
|
|
176
|
+
*/
|
|
177
|
+
export declare const siteDeploymentsPath: (site: string) => string;
|
|
178
|
+
export declare const DeploymentCreateSchema: z.ZodObject<{
|
|
179
|
+
manifest: z.ZodString;
|
|
180
|
+
source: z.ZodObject<{
|
|
181
|
+
kind: z.ZodEnum<{
|
|
182
|
+
upload: "upload";
|
|
183
|
+
git: "git";
|
|
184
|
+
}>;
|
|
185
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
186
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
187
|
+
}, z.core.$strict>;
|
|
188
|
+
note: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}, z.core.$strict>;
|
|
190
|
+
export type DeploymentCreate = z.infer<typeof DeploymentCreateSchema>;
|
|
191
|
+
export declare const DeploymentMadeSchema: z.ZodObject<{
|
|
192
|
+
site: z.ZodObject<{
|
|
193
|
+
id: z.ZodString;
|
|
194
|
+
slug: z.ZodString;
|
|
195
|
+
name: z.ZodString;
|
|
196
|
+
url: z.ZodURL;
|
|
197
|
+
liveDeployment: z.ZodNullable<z.ZodString>;
|
|
198
|
+
approved: z.ZodBoolean;
|
|
199
|
+
autoPublish: z.ZodBoolean;
|
|
200
|
+
indexing: z.ZodBoolean;
|
|
201
|
+
createdAt: z.ZodISODateTime;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
deployment: z.ZodObject<{
|
|
204
|
+
id: z.ZodString;
|
|
205
|
+
siteId: z.ZodString;
|
|
206
|
+
source: z.ZodObject<{
|
|
207
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
208
|
+
upload: "upload";
|
|
209
|
+
git: "git";
|
|
210
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
211
|
+
commit: z.ZodOptional<z.ZodString>;
|
|
212
|
+
digest: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
note: z.ZodNullable<z.ZodString>;
|
|
215
|
+
files: z.ZodNumber;
|
|
216
|
+
bytes: z.ZodNumber;
|
|
217
|
+
createdBy: z.ZodString;
|
|
218
|
+
createdAt: z.ZodISODateTime;
|
|
219
|
+
live: z.ZodBoolean;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
}, z.core.$strip>;
|
|
222
|
+
export type DeploymentMade = z.infer<typeof DeploymentMadeSchema>;
|
|
223
|
+
/**
|
|
224
|
+
* `PUT { deployment }`: the site serves this version, a publish and a
|
|
225
|
+
* rollback alike. `DELETE ?person=1`: it serves nothing, and keeps its
|
|
226
|
+
* address.
|
|
227
|
+
*
|
|
228
|
+
* Going public is a person's to say, and who asks is one of three:
|
|
229
|
+
*
|
|
230
|
+
* - the browser: a session on the account site's own origin, on the page
|
|
231
|
+
* `confirm` names. The first time a site goes public takes this. An agent
|
|
232
|
+
* has no session of its own, so this stops it from taking a site public by
|
|
233
|
+
* the CLI or the API. It is not proof against everything on the computer:
|
|
234
|
+
* the sign-in there can ask for a link that signs a browser in, which is
|
|
235
|
+
* how Studio opens that page, and something that drives a browser could
|
|
236
|
+
* press the button.
|
|
237
|
+
* - the person: `?person=1`, sent by Studio's window and never by the CLI.
|
|
238
|
+
* It moves a site already approved, and is all that changes a site's
|
|
239
|
+
* settings. An agent shares a computer's sign-in, so this keeps an agent
|
|
240
|
+
* that uses the CLI out, not one that forges a request.
|
|
241
|
+
* - the agent: anything else. It moves a site whose person let it
|
|
242
|
+
* (`autoPublish`), and does nothing else.
|
|
243
|
+
*/
|
|
244
|
+
export declare const siteLivePath: (site: string) => string;
|
|
245
|
+
export declare const SiteLiveSchema: z.ZodObject<{
|
|
246
|
+
deployment: z.ZodString;
|
|
247
|
+
}, z.core.$strict>;
|
|
248
|
+
export type SiteLive = z.infer<typeof SiteLiveSchema>;
|
|
249
|
+
export declare const SiteLiveAnswerSchema: z.ZodObject<{
|
|
250
|
+
site: z.ZodObject<{
|
|
251
|
+
id: z.ZodString;
|
|
252
|
+
slug: z.ZodString;
|
|
253
|
+
name: z.ZodString;
|
|
254
|
+
url: z.ZodURL;
|
|
255
|
+
liveDeployment: z.ZodNullable<z.ZodString>;
|
|
256
|
+
approved: z.ZodBoolean;
|
|
257
|
+
autoPublish: z.ZodBoolean;
|
|
258
|
+
indexing: z.ZodBoolean;
|
|
259
|
+
createdAt: z.ZodISODateTime;
|
|
260
|
+
}, z.core.$strip>;
|
|
261
|
+
live: z.ZodBoolean;
|
|
262
|
+
confirm: z.ZodOptional<z.ZodURL>;
|
|
263
|
+
}, z.core.$strip>;
|
|
264
|
+
export type SiteLiveAnswer = z.infer<typeof SiteLiveAnswerSchema>;
|
|
265
|
+
/** The query that says a person asked, from Studio's window. */
|
|
266
|
+
export declare const SITE_PERSON_QUERY = "person=1";
|
|
267
|
+
/** The account site's page where a person says yes to a site going public. */
|
|
268
|
+
export declare const SITE_CONFIRM_PAGE = "/publish";
|
|
269
|
+
/** That page, for a version of a site. */
|
|
270
|
+
export declare const siteConfirmPath: (o: {
|
|
271
|
+
site: string;
|
|
272
|
+
version: string;
|
|
273
|
+
organization: string;
|
|
274
|
+
}) => string;
|
|
275
|
+
/** `PUT ?person=1`: what the person changes of a site. */
|
|
276
|
+
export declare const siteSettingsPath: (site: string) => string;
|
|
277
|
+
export declare const SiteSettingsSchema: z.ZodObject<{
|
|
278
|
+
autoPublish: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
indexing: z.ZodOptional<z.ZodBoolean>;
|
|
280
|
+
}, z.core.$strict>;
|
|
281
|
+
export type SiteSettings = z.infer<typeof SiteSettingsSchema>;
|
|
282
|
+
/** What the edge reads for a hostname. */
|
|
283
|
+
export declare const SitePointerSchema: z.ZodObject<{
|
|
284
|
+
site: z.ZodString;
|
|
285
|
+
organization: z.ZodString;
|
|
286
|
+
deployment: z.ZodString;
|
|
287
|
+
manifest: z.ZodString;
|
|
288
|
+
indexing: z.ZodBoolean;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
export type SitePointer = z.infer<typeof SitePointerSchema>;
|
|
291
|
+
/** Where the edge's store keeps a hostname's pointer. */
|
|
292
|
+
export declare const sitePointerKey: (hostname: string) => string;
|
|
293
|
+
//# sourceMappingURL=sites.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{Sha256Schema as o,TreeFileSchema as i,TreePathSchema as a}from"./blobs.js";import{openEnum as c}from"./open.js";export const SITE_MANIFEST_FORMAT=1,SITE_LIMITS={files:2e4,bytes:5*1024*1024*1024,redirects:2e3,headers:100},SLUG_LENGTH={min:3,max:40},RESERVED_SLUGS=new Set(["abuse","account","accounts","admin","administrator","allyhub","api","app","assets","auth","autoconfig","autodiscover","billing","blog","cdn","dashboard","dev","dns","docs","download","downloads","ftp","help","hostmaster","imap","login","mail","mta-sts","ns1","ns2","ops","pop","postmaster","preview","root","security","signin","smtp","staging","static","status","studio","support","test","webmaster","wpad","www"]);export function slugProblem(t){if(t.length<SLUG_LENGTH.min||t.length>SLUG_LENGTH.max)return`An address is ${String(SLUG_LENGTH.min)} to ${String(SLUG_LENGTH.max)} characters.`;if(!/^[a-z0-9-]+$/u.test(t))return"An address is lowercase letters, digits and hyphens.";if(t.startsWith("-")||t.endsWith("-"))return"An address neither starts nor ends with a hyphen.";if(t.includes("--"))return"An address does not have two hyphens in a row.";if(RESERVED_SLUGS.has(t))return"That address is reserved."}export const SiteSlugSchema=e.string().superRefine((t,r)=>{const n=slugProblem(t);n!==void 0&&r.addIssue({code:"custom",message:n})}),REDIRECT_STATUSES=[200,301,302,303,307,308,404,410];const s=e.string().min(1).max(1024).regex(/^\/[^\s]*$/u,"A rule's path starts with /.");export const RedirectRuleSchema=e.strictObject({from:s,to:e.string().min(1).max(2048).regex(/^(\/[^\s]*|https?:\/\/[^\s]+)$/u,"A rule goes to a path or an http(s) address."),status:e.union(REDIRECT_STATUSES.map(t=>e.literal(t))),force:e.boolean()}),PLATFORM_HEADERS=new Set(["accept-ranges","connection","content-encoding","content-length","content-range","date","keep-alive","set-cookie","strict-transport-security","trailer","transfer-encoding","upgrade","x-content-type-options"]);const p=e.string().regex(/^[A-Za-z0-9-]+$/u).max(128).refine(t=>!PLATFORM_HEADERS.has(t.toLowerCase()),"That header is the platform's.");export const HeaderRuleSchema=e.strictObject({for:s,set:e.record(p,e.string().max(2048))}),SiteManifestSchema=e.strictObject({format:e.literal(SITE_MANIFEST_FORMAT),files:e.record(a,i),redirects:e.array(RedirectRuleSchema).max(SITE_LIMITS.redirects),headers:e.array(HeaderRuleSchema).max(SITE_LIMITS.headers)}),SITE_SOURCE_KINDS=["upload","git"],SiteSourceSchema=e.strictObject({kind:e.enum(SITE_SOURCE_KINDS),commit:e.string().min(1).max(64).optional(),digest:o.optional()}),DeploymentSchema=e.object({id:e.string(),siteId:e.string(),source:e.object({...SiteSourceSchema.shape,kind:c(SITE_SOURCE_KINDS)}),note:e.string().nullable(),files:e.number(),bytes:e.number(),createdBy:e.string(),createdAt:e.iso.datetime(),live:e.boolean()}),SiteSchema=e.object({id:e.string(),slug:e.string(),name:e.string(),url:e.url(),liveDeployment:e.string().nullable(),approved:e.boolean(),autoPublish:e.boolean(),indexing:e.boolean(),createdAt:e.iso.datetime()}),SITES_PATH="/api/sites",SiteCreateSchema=e.strictObject({slug:SiteSlugSchema,name:e.string().min(1).max(255)}),SitesResponseSchema=e.object({sites:e.array(SiteSchema),domain:e.string(),hosting:e.boolean()}),sitePath=t=>`${SITES_PATH}/${encodeURIComponent(t)}`,SiteDetailSchema=e.object({site:SiteSchema,deployments:e.array(DeploymentSchema)}),siteBlobsPath=t=>`${sitePath(t)}/blobs`,siteDeploymentsPath=t=>`${sitePath(t)}/deployments`,DeploymentCreateSchema=e.strictObject({manifest:o,source:SiteSourceSchema,note:e.string().max(500).optional()}),DeploymentMadeSchema=e.object({site:SiteSchema,deployment:DeploymentSchema}),siteLivePath=t=>`${sitePath(t)}/live`,SiteLiveSchema=e.strictObject({deployment:e.string().min(1)}),SiteLiveAnswerSchema=e.object({site:SiteSchema,live:e.boolean(),confirm:e.url().optional()}),SITE_PERSON_QUERY="person=1",SITE_CONFIRM_PAGE="/publish",siteConfirmPath=t=>`${SITE_CONFIRM_PAGE}?site=${encodeURIComponent(t.site)}&version=${encodeURIComponent(t.version)}&org=${encodeURIComponent(t.organization)}`,siteSettingsPath=t=>`${sitePath(t)}/settings`,SiteSettingsSchema=e.strictObject({autoPublish:e.boolean().optional(),indexing:e.boolean().optional()}),SitePointerSchema=e.object({site:e.string(),organization:e.string(),deployment:e.string(),manifest:o,indexing:e.boolean()}),sitePointerKey=t=>`host:${t}`;
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type Place } from "./editor.js";
|
|
3
|
+
/** The manifest's format; a reader that does not know it asks for the machine. */
|
|
4
|
+
export declare const SNAPSHOT_FORMAT = 1;
|
|
5
|
+
export declare const ConversationEntrySchema: z.ZodObject<{
|
|
6
|
+
sessionId: z.ZodString;
|
|
7
|
+
agent: z.ZodString;
|
|
8
|
+
title: z.ZodOptional<z.ZodString>;
|
|
9
|
+
createdAt: z.ZodISODateTime;
|
|
10
|
+
updatedAt: z.ZodISODateTime;
|
|
11
|
+
transcript: z.ZodString;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type ConversationEntry = z.infer<typeof ConversationEntrySchema>;
|
|
14
|
+
/**
|
|
15
|
+
* A conversation as the window replays it: the messages Studio's Host
|
|
16
|
+
* relayed to its clients (ACP's `session/update` and Studio's own
|
|
17
|
+
* notifications), in order.
|
|
18
|
+
*/
|
|
19
|
+
export declare const TranscriptSchema: z.ZodObject<{
|
|
20
|
+
sessionId: z.ZodString;
|
|
21
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
22
|
+
method: z.ZodString;
|
|
23
|
+
params: z.ZodUnknown;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type Transcript = z.infer<typeof TranscriptSchema>;
|
|
27
|
+
/**
|
|
28
|
+
* What a snapshot is of: a project, or the Host's own home (its settings,
|
|
29
|
+
* schedules, skills, plugins and the agents' stores of their
|
|
30
|
+
* conversations; files only, no tree), one per person's Studio.
|
|
31
|
+
*/
|
|
32
|
+
export declare const SNAPSHOT_KINDS: readonly ["project", "home"];
|
|
33
|
+
export type SnapshotKind = (typeof SNAPSHOT_KINDS)[number];
|
|
34
|
+
/**
|
|
35
|
+
* What showing one item read only reaches (a share's view of it): the
|
|
36
|
+
* tree's paths its editor and its stage load, the project's files its
|
|
37
|
+
* editor reads, and the tree's files its view serves in place of the
|
|
38
|
+
* project's at the same path (the item list and the check's results,
|
|
39
|
+
* reduced to it). A path the manifest does not have is not served.
|
|
40
|
+
*/
|
|
41
|
+
export declare const ItemReachSchema: z.ZodObject<{
|
|
42
|
+
tree: z.ZodArray<z.ZodString>;
|
|
43
|
+
files: z.ZodArray<z.ZodString>;
|
|
44
|
+
own: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
45
|
+
sha256: z.ZodString;
|
|
46
|
+
size: z.ZodInt;
|
|
47
|
+
type: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
export type ItemReach = z.infer<typeof ItemReachSchema>;
|
|
51
|
+
/** What each item a share can show reaches, worked out as the snapshot is recorded. */
|
|
52
|
+
export declare const SnapshotReachSchema: z.ZodObject<{
|
|
53
|
+
shared: z.ZodArray<z.ZodString>;
|
|
54
|
+
items: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
55
|
+
tree: z.ZodArray<z.ZodString>;
|
|
56
|
+
files: z.ZodArray<z.ZodString>;
|
|
57
|
+
own: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
58
|
+
sha256: z.ZodString;
|
|
59
|
+
size: z.ZodInt;
|
|
60
|
+
type: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
export type SnapshotReach = z.infer<typeof SnapshotReachSchema>;
|
|
65
|
+
export declare const SnapshotManifestSchema: z.ZodObject<{
|
|
66
|
+
format: z.ZodLiteral<1>;
|
|
67
|
+
kind: z.ZodEnum<{
|
|
68
|
+
home: "home";
|
|
69
|
+
project: "project";
|
|
70
|
+
}>;
|
|
71
|
+
project: z.ZodObject<{
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
host: z.ZodObject<{
|
|
75
|
+
version: z.ZodString;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
madeAt: z.ZodISODateTime;
|
|
78
|
+
files: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
79
|
+
sha256: z.ZodString;
|
|
80
|
+
size: z.ZodInt;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
tree: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
83
|
+
sha256: z.ZodString;
|
|
84
|
+
size: z.ZodInt;
|
|
85
|
+
type: z.ZodString;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
88
|
+
sessionId: z.ZodString;
|
|
89
|
+
agent: z.ZodString;
|
|
90
|
+
title: z.ZodOptional<z.ZodString>;
|
|
91
|
+
createdAt: z.ZodISODateTime;
|
|
92
|
+
updatedAt: z.ZodISODateTime;
|
|
93
|
+
transcript: z.ZodString;
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
reach: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
shared: z.ZodArray<z.ZodString>;
|
|
97
|
+
items: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
98
|
+
tree: z.ZodArray<z.ZodString>;
|
|
99
|
+
files: z.ZodArray<z.ZodString>;
|
|
100
|
+
own: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
101
|
+
sha256: z.ZodString;
|
|
102
|
+
size: z.ZodInt;
|
|
103
|
+
type: z.ZodString;
|
|
104
|
+
}, z.core.$strip>>;
|
|
105
|
+
}, z.core.$strip>>;
|
|
106
|
+
}, z.core.$strip>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
export type SnapshotManifest = z.infer<typeof SnapshotManifestSchema>;
|
|
109
|
+
/**
|
|
110
|
+
* A manifest as a share's view of one item shows it: its files and tree
|
|
111
|
+
* only what the item reaches (its own files in place of the project's),
|
|
112
|
+
* no conversations; undefined when the snapshot did not record the
|
|
113
|
+
* item's reach. A view serves nothing its manifest does not name, so
|
|
114
|
+
* this is the whole of a view's scope.
|
|
115
|
+
*/
|
|
116
|
+
export declare function scopedManifest(m: SnapshotManifest, item: string): SnapshotManifest | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* What a project's backup leaves out, as folders anywhere in it: what is
|
|
119
|
+
* made again from the rest (dependencies, caches, exports).
|
|
120
|
+
*/
|
|
121
|
+
export declare const SNAPSHOT_SKIPPED: readonly ["node_modules", ".allyhub/cache", ".allyhub/out"];
|
|
122
|
+
/**
|
|
123
|
+
* The tree a read view serves, by its top folders. Every address inside
|
|
124
|
+
* it is relative, so it is the same tree a live dev server serves under
|
|
125
|
+
* its stage's base.
|
|
126
|
+
*/
|
|
127
|
+
export declare const SNAPSHOT_TREE: {
|
|
128
|
+
/** The editors' page (editor-web's build). */
|
|
129
|
+
readonly editor: "editor/";
|
|
130
|
+
/** The stage's runtime, its pages and its fonts. */
|
|
131
|
+
readonly runtime: "runtime/";
|
|
132
|
+
/** The pieces' bundles. */
|
|
133
|
+
readonly build: "build/";
|
|
134
|
+
/** The project's media the builds found, by their project path. */
|
|
135
|
+
readonly media: "media/";
|
|
136
|
+
/** Derived media: a person's matte, by the media's project path. */
|
|
137
|
+
readonly matte: "matte/";
|
|
138
|
+
/** The sceneries' bundles, bakes and decoders. */
|
|
139
|
+
readonly scenery: "scenery/";
|
|
140
|
+
readonly bakes: "bakes/";
|
|
141
|
+
/** A deck's component pictures, by what they show (`stillPath`), and a snapshot's lists of them (`stillsIndexPath`). */
|
|
142
|
+
readonly stills: "stills/";
|
|
143
|
+
/** The answers the editors ask for, recorded (snapshotAnswerPath). */
|
|
144
|
+
readonly answers: "answers/";
|
|
145
|
+
/** Each item's gallery preview, by its folder (snapshotPreviewPath). */
|
|
146
|
+
readonly previews: "previews/";
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Where a project tool's recorded answer is in the tree: by the tool's
|
|
150
|
+
* name and its params, so the reader finds the answer to the call it makes.
|
|
151
|
+
*/
|
|
152
|
+
export declare const snapshotAnswerPath: (tool: string, params: unknown) => string;
|
|
153
|
+
/** A deck's component picture in the tree, by its key (`slides/component-stills`'): a transparent WebP that never changes. */
|
|
154
|
+
export declare const stillPath: (key: string) => string;
|
|
155
|
+
/**
|
|
156
|
+
* Where a deck version's component pictures are listed in a snapshot's
|
|
157
|
+
* tree: every component its slides show as they are edited, drawn when
|
|
158
|
+
* the snapshot was made, so a read view answers `slides/component-stills`
|
|
159
|
+
* for any of them.
|
|
160
|
+
*/
|
|
161
|
+
export declare const stillsIndexPath: (item: string, version: string) => string;
|
|
162
|
+
/** A deck version's component pictures: each picture's key (`stillPath`), by its component (`stillsIndexKey`). */
|
|
163
|
+
export declare const StillsIndexSchema: z.ZodObject<{
|
|
164
|
+
stills: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
export type StillsIndex = z.infer<typeof StillsIndexSchema>;
|
|
167
|
+
/** A component as `slides/component-stills` takes it (its name, props, size and moment), as one string: its keys sorted. */
|
|
168
|
+
export declare const stillsIndexKey: (component: unknown) => string;
|
|
169
|
+
/** An item's gallery preview in the tree: its `Preview` (a picture, words or rows), as JSON. */
|
|
170
|
+
export declare const snapshotPreviewPath: (itemDir: string) => string;
|
|
171
|
+
/**
|
|
172
|
+
* The tree's fixed pages: each reads what to show from its own address.
|
|
173
|
+
* - the stage: `?piece=<id>&combo=<key>` and where it starts (`t`,
|
|
174
|
+
* `part`, `offset`, `dur`), `play=1`, `chrome=0`, `mode=code|component`;
|
|
175
|
+
* it loads the piece's source (`pieceSourcePath`); without `piece` it is
|
|
176
|
+
* the bare stage a host drives (`window.allyhub`);
|
|
177
|
+
* - a scenery's viewer: `?file=<the scenery's or model's file>` and
|
|
178
|
+
* `camera=<JSON>`; it loads its source (`scenerySourcePath`);
|
|
179
|
+
* - the probe, which says by postMessage that a sandboxed frame loads.
|
|
180
|
+
*/
|
|
181
|
+
export declare const TREE_PAGES: {
|
|
182
|
+
readonly stage: "runtime/stage.html";
|
|
183
|
+
readonly viewer: "runtime/viewer.html";
|
|
184
|
+
readonly probe: "runtime/probe.html";
|
|
185
|
+
};
|
|
186
|
+
/** Where a piece's `BuildSource` is in the tree: its addresses are relative to the tree's root. */
|
|
187
|
+
export declare const pieceSourcePath: (piece: string) => string;
|
|
188
|
+
/**
|
|
189
|
+
* What a scenery's viewer loads: its bundle, three.js's decoders and
|
|
190
|
+
* manifold's wasm, each a path from the tree's root, and the bakes on
|
|
191
|
+
* disk by name (`<digest>.<renderer>`, served at `bakes/<name>.bin`).
|
|
192
|
+
*/
|
|
193
|
+
export interface ScenerySource {
|
|
194
|
+
module: string;
|
|
195
|
+
decoders: string;
|
|
196
|
+
manifoldWasm: string;
|
|
197
|
+
bakes: string[];
|
|
198
|
+
}
|
|
199
|
+
/** Where a scenery's (or a 3D model's) `ScenerySource` is in the tree. */
|
|
200
|
+
export declare const scenerySourcePath: (file: string) => string;
|
|
201
|
+
/**
|
|
202
|
+
* A path of the tree as an address relative to its root: each segment
|
|
203
|
+
* percent-encoded, so a server that decodes the address once finds the
|
|
204
|
+
* path (an answer's or a source's name holds encoded characters itself).
|
|
205
|
+
*/
|
|
206
|
+
export declare const treeHref: (path: string) => string;
|
|
207
|
+
/**
|
|
208
|
+
* Where a live server makes a sound as the export decodes it (a take
|
|
209
|
+
* denoised or sped, a stem filtered), on demand. Not recorded: a
|
|
210
|
+
* snapshot's stage plays the recording instead.
|
|
211
|
+
*/
|
|
212
|
+
export declare const SOUND_FOLDER = "sound/";
|
|
213
|
+
/**
|
|
214
|
+
* The stage's and the viewer's CSP, wherever the tree is served (`tree`:
|
|
215
|
+
* its root's absolute address, ending in "/"): the runtime, the builds and
|
|
216
|
+
* the media, nothing else; framed only by `ancestors` (origins). A 3D
|
|
217
|
+
* scenery needs three things more, all its own: three.js's decoders run in
|
|
218
|
+
* workers made from blob: addresses, with WebAssembly; a glTF's embedded
|
|
219
|
+
* pictures, which its loader fetches from blob: addresses; and
|
|
220
|
+
* 'unsafe-eval', because the Basis transcoder's bindings make functions
|
|
221
|
+
* from strings as it starts. The stage runs the project's own code
|
|
222
|
+
* already, so evaluating strings gives it nothing it lacks; what the
|
|
223
|
+
* policy keeps is where the page can reach, which none of these widens
|
|
224
|
+
* beyond the tree.
|
|
225
|
+
*/
|
|
226
|
+
export declare function stageCsp(tree: string, ancestors: readonly string[]): string;
|
|
227
|
+
/**
|
|
228
|
+
* The editors' page of a read view showing one item, read only, as the
|
|
229
|
+
* window frames it: `<origin>/editor/?item=<dir>&embed=studio&snapshot=1`
|
|
230
|
+
* and the window's theme. For a share's viewer (`viewer`, `&viewer=1`):
|
|
231
|
+
* the item alone, nothing offered that changes it or needs the machine
|
|
232
|
+
* (HostContext's `viewer`). Opened at a place (`place`): where the person
|
|
233
|
+
* was in the item (`t=`, `slide=`).
|
|
234
|
+
*/
|
|
235
|
+
export declare function snapshotEditorUrl(origin: string, item: string, o?: {
|
|
236
|
+
theme?: "light" | "dark";
|
|
237
|
+
viewer?: boolean;
|
|
238
|
+
place?: Place | undefined;
|
|
239
|
+
}): string;
|
|
240
|
+
export declare const EXECUTOR_KINDS: readonly ["cloud", "computer"];
|
|
241
|
+
export type ExecutorKind = (typeof EXECUTOR_KINDS)[number];
|
|
242
|
+
/** The header a computer's Host sends with its sign-in: the id it made for itself. */
|
|
243
|
+
export declare const COMPUTER_HEADER = "x-allyhub-computer";
|
|
244
|
+
/** A computer's id: what it made once, kept with its Host. */
|
|
245
|
+
export declare const ComputerIdSchema: z.ZodString;
|
|
246
|
+
/** The error code a snapshot or a move answers with when another executor works on the project (409). */
|
|
247
|
+
export declare const WORKED_ELSEWHERE = "worked_elsewhere";
|
|
248
|
+
/** Which executor works on a project, and whether it is the one asking. */
|
|
249
|
+
export declare const ExecutorSchema: z.ZodObject<{
|
|
250
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
251
|
+
cloud: "cloud";
|
|
252
|
+
computer: "computer";
|
|
253
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
254
|
+
here: z.ZodBoolean;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
export type Executor = z.infer<typeof ExecutorSchema>;
|
|
257
|
+
/**
|
|
258
|
+
* `POST { blobs }`: which of these the organization lacks; answers a
|
|
259
|
+
* signed PUT for each (its sha256 signed in), none for what it holds.
|
|
260
|
+
*/
|
|
261
|
+
export declare const SNAPSHOT_BLOBS_PATH = "/api/snapshots/blobs";
|
|
262
|
+
/**
|
|
263
|
+
* `POST { project, manifest }`: a snapshot recorded, its manifest a blob
|
|
264
|
+
* put already, by the project's executor. `project.id` absent: a project
|
|
265
|
+
* the server has not seen, made now, worked on by the executor that
|
|
266
|
+
* recorded it. Answers 409 with the blobs storage does not hold, or 409
|
|
267
|
+
* WORKED_ELSEWHERE when another executor works on the project.
|
|
268
|
+
*/
|
|
269
|
+
export declare const SNAPSHOTS_PATH = "/api/snapshots";
|
|
270
|
+
export declare const SnapshotCreateSchema: z.ZodObject<{
|
|
271
|
+
project: z.ZodObject<{
|
|
272
|
+
id: z.ZodOptional<z.ZodString>;
|
|
273
|
+
kind: z.ZodEnum<{
|
|
274
|
+
home: "home";
|
|
275
|
+
project: "project";
|
|
276
|
+
}>;
|
|
277
|
+
name: z.ZodString;
|
|
278
|
+
}, z.core.$strict>;
|
|
279
|
+
manifest: z.ZodString;
|
|
280
|
+
}, z.core.$strict>;
|
|
281
|
+
export type SnapshotCreate = z.infer<typeof SnapshotCreateSchema>;
|
|
282
|
+
export declare const SnapshotCreatedSchema: z.ZodObject<{
|
|
283
|
+
id: z.ZodString;
|
|
284
|
+
projectId: z.ZodString;
|
|
285
|
+
}, z.core.$strip>;
|
|
286
|
+
export type SnapshotCreated = z.infer<typeof SnapshotCreatedSchema>;
|
|
287
|
+
export declare const SnapshotMissingSchema: z.ZodObject<{
|
|
288
|
+
missing: z.ZodArray<z.ZodString>;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
/** `GET`: the person's projects in the organization and their Studio's home, each with its latest snapshot. */
|
|
291
|
+
export declare const PROJECTS_PATH = "/api/projects";
|
|
292
|
+
export declare const SnapshotInfoSchema: z.ZodObject<{
|
|
293
|
+
id: z.ZodString;
|
|
294
|
+
madeAt: z.ZodISODateTime;
|
|
295
|
+
hostVersion: z.ZodString;
|
|
296
|
+
}, z.core.$strip>;
|
|
297
|
+
export type SnapshotInfo = z.infer<typeof SnapshotInfoSchema>;
|
|
298
|
+
export declare const ProjectInfoSchema: z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
kind: z.ZodEnum<{
|
|
301
|
+
home: "home";
|
|
302
|
+
project: "project";
|
|
303
|
+
}>;
|
|
304
|
+
name: z.ZodString;
|
|
305
|
+
latest: z.ZodNullable<z.ZodObject<{
|
|
306
|
+
id: z.ZodString;
|
|
307
|
+
madeAt: z.ZodISODateTime;
|
|
308
|
+
hostVersion: z.ZodString;
|
|
309
|
+
}, z.core.$strip>>;
|
|
310
|
+
executor: z.ZodObject<{
|
|
311
|
+
kind: z.ZodUnion<readonly [z.ZodEnum<{
|
|
312
|
+
cloud: "cloud";
|
|
313
|
+
computer: "computer";
|
|
314
|
+
}>, z.core.$ZodBranded<z.ZodString, "Unknown", "out">]>;
|
|
315
|
+
here: z.ZodBoolean;
|
|
316
|
+
}, z.core.$strip>;
|
|
317
|
+
}, z.core.$strip>;
|
|
318
|
+
export type ProjectInfo = z.infer<typeof ProjectInfoSchema>;
|
|
319
|
+
export declare const ProjectsResponseSchema: z.ZodObject<{
|
|
320
|
+
projects: z.ZodPipe<z.ZodArray<z.ZodUnknown>, z.ZodTransform<{
|
|
321
|
+
id: string;
|
|
322
|
+
kind: "home" | "project";
|
|
323
|
+
name: string;
|
|
324
|
+
latest: {
|
|
325
|
+
id: string;
|
|
326
|
+
madeAt: string;
|
|
327
|
+
hostVersion: string;
|
|
328
|
+
} | null;
|
|
329
|
+
executor: {
|
|
330
|
+
kind: (string & z.core.$brand<"Unknown">) | "cloud" | "computer";
|
|
331
|
+
here: boolean;
|
|
332
|
+
};
|
|
333
|
+
}[], unknown[]>>;
|
|
334
|
+
}, z.core.$strip>;
|
|
335
|
+
/** `DELETE`: a project forgotten with its snapshots. */
|
|
336
|
+
export declare const projectPath: (id: string) => string;
|
|
337
|
+
/**
|
|
338
|
+
* `PUT { kind }`: the project moved to another executor, answered as its
|
|
339
|
+
* `ProjectInfo`: to the person's cloud Studio from anywhere they are
|
|
340
|
+
* signed in, to a computer only by that computer (COMPUTER_HEADER). The
|
|
341
|
+
* executor it leaves is refused from then on (WORKED_ELSEWHERE). A home
|
|
342
|
+
* stays where it is.
|
|
343
|
+
*/
|
|
344
|
+
export declare const projectExecutorPath: (id: string) => string;
|
|
345
|
+
export declare const ExecutorMoveSchema: z.ZodObject<{
|
|
346
|
+
kind: z.ZodEnum<{
|
|
347
|
+
cloud: "cloud";
|
|
348
|
+
computer: "computer";
|
|
349
|
+
}>;
|
|
350
|
+
}, z.core.$strict>;
|
|
351
|
+
export type ExecutorMove = z.infer<typeof ExecutorMoveSchema>;
|
|
352
|
+
/**
|
|
353
|
+
* `POST`: a read view of a snapshot, answered `{ origin, expiresAt }`: a
|
|
354
|
+
* host of its own on the Studio domain, serving the manifest at
|
|
355
|
+
* `manifest.json`, the tree at its paths, the project's files under
|
|
356
|
+
* `files/` and the transcripts under `conversations/<sessionId>.json`,
|
|
357
|
+
* until it expires. Its name is the capability.
|
|
358
|
+
*/
|
|
359
|
+
export declare const snapshotViewPath: (id: string) => string;
|
|
360
|
+
export declare const SnapshotViewSchema: z.ZodObject<{
|
|
361
|
+
origin: z.ZodURL;
|
|
362
|
+
expiresAt: z.ZodISODateTime;
|
|
363
|
+
}, z.core.$strip>;
|
|
364
|
+
export type SnapshotView = z.infer<typeof SnapshotViewSchema>;
|
|
365
|
+
/** A read view's paths besides the tree's. */
|
|
366
|
+
export declare const SNAPSHOT_VIEW: {
|
|
367
|
+
readonly manifest: "manifest.json";
|
|
368
|
+
readonly files: "files/";
|
|
369
|
+
readonly conversations: "conversations/";
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* The JSON-RPC error a read-only host answers for what needs the machine
|
|
373
|
+
* (a change, an export, a check run, the agent): the window offers to wake
|
|
374
|
+
* it.
|
|
375
|
+
*/
|
|
376
|
+
export declare const NEEDS_MACHINE = -32010;
|
|
377
|
+
//# sourceMappingURL=snapshots.d.ts.map
|