@vibesdotdev/docs 0.0.0-stage → 1.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +74 -2
- package/dist/cli/cli.plugin.d.ts +14 -0
- package/dist/cli/cli.plugin.d.ts.map +1 -0
- package/dist/cli/cli.plugin.js +57 -0
- package/dist/cli/cli.plugin.js.map +1 -0
- package/dist/cli/commands/docs.list.command.descriptor.d.ts +33 -0
- package/dist/cli/commands/docs.list.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/docs.list.command.descriptor.js +34 -0
- package/dist/cli/commands/docs.list.command.descriptor.js.map +1 -0
- package/dist/cli/commands/docs.list.command.impl.d.ts +25 -0
- package/dist/cli/commands/docs.list.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/docs.list.command.impl.js +87 -0
- package/dist/cli/commands/docs.list.command.impl.js.map +1 -0
- package/dist/cli/commands/docs.show.command.descriptor.d.ts +44 -0
- package/dist/cli/commands/docs.show.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/docs.show.command.descriptor.js +48 -0
- package/dist/cli/commands/docs.show.command.descriptor.js.map +1 -0
- package/dist/cli/commands/docs.show.command.impl.d.ts +26 -0
- package/dist/cli/commands/docs.show.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/docs.show.command.impl.js +82 -0
- package/dist/cli/commands/docs.show.command.impl.js.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.js +58 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.d.ts +24 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.js +283 -0
- package/dist/cli/commands/generate/docs.generate.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.js +32 -0
- package/dist/cli/commands/man/man.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/man/man.cli-command.impl.d.ts +23 -0
- package/dist/cli/commands/man/man.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/man/man.cli-command.impl.js +22 -0
- package/dist/cli/commands/man/man.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.d.ts +4 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.js +18 -0
- package/dist/cli/commands/open/docs.open.cli-command.descriptor.js.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.d.ts +14 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.js +52 -0
- package/dist/cli/commands/open/docs.open.cli-command.impl.js.map +1 -0
- package/dist/cli/commands/search.command.descriptor.d.ts +36 -0
- package/dist/cli/commands/search.command.descriptor.d.ts.map +1 -0
- package/dist/cli/commands/search.command.descriptor.js +35 -0
- package/dist/cli/commands/search.command.descriptor.js.map +1 -0
- package/dist/cli/commands/search.command.impl.d.ts +25 -0
- package/dist/cli/commands/search.command.impl.d.ts.map +1 -0
- package/dist/cli/commands/search.command.impl.js +113 -0
- package/dist/cli/commands/search.command.impl.js.map +1 -0
- package/dist/cli/directives/card.d.ts +11 -0
- package/dist/cli/directives/card.d.ts.map +1 -0
- package/dist/cli/directives/card.js +18 -0
- package/dist/cli/directives/card.js.map +1 -0
- package/dist/cli/directives/descriptor.d.ts +11 -0
- package/dist/cli/directives/descriptor.d.ts.map +1 -0
- package/dist/cli/directives/descriptor.js +20 -0
- package/dist/cli/directives/descriptor.js.map +1 -0
- package/dist/cli/directives/endpoint.d.ts +8 -0
- package/dist/cli/directives/endpoint.d.ts.map +1 -0
- package/dist/cli/directives/endpoint.js +31 -0
- package/dist/cli/directives/endpoint.js.map +1 -0
- package/dist/cli/directives/index.d.ts +9 -0
- package/dist/cli/directives/index.d.ts.map +1 -0
- package/dist/cli/directives/index.js +37 -0
- package/dist/cli/directives/index.js.map +1 -0
- package/dist/cli/directives/install.d.ts +12 -0
- package/dist/cli/directives/install.d.ts.map +1 -0
- package/dist/cli/directives/install.js +27 -0
- package/dist/cli/directives/install.js.map +1 -0
- package/dist/cli/directives/shell.d.ts +10 -0
- package/dist/cli/directives/shell.d.ts.map +1 -0
- package/dist/cli/directives/shell.js +16 -0
- package/dist/cli/directives/shell.js.map +1 -0
- package/dist/cli/directives/usage.d.ts +9 -0
- package/dist/cli/directives/usage.d.ts.map +1 -0
- package/dist/cli/directives/usage.js +13 -0
- package/dist/cli/directives/usage.js.map +1 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.d.ts +22 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.d.ts.map +1 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.js +92 -0
- package/dist/cli/docs/docs.cli.docs.descriptor.js.map +1 -0
- package/dist/cli/docs.cli-group.descriptor.d.ts +4 -0
- package/dist/cli/docs.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/docs.cli-group.descriptor.js +11 -0
- package/dist/cli/docs.cli-group.descriptor.js.map +1 -0
- package/dist/client/citations.d.ts +11 -0
- package/dist/client/citations.d.ts.map +1 -0
- package/dist/client/citations.js +197 -0
- package/dist/client/citations.js.map +1 -0
- package/dist/client/docs-client.d.ts +51 -0
- package/dist/client/docs-client.d.ts.map +1 -0
- package/dist/client/docs-client.js +298 -0
- package/dist/client/docs-client.js.map +1 -0
- package/dist/client/index.d.ts +12 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +13 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +26 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/config/docs.svelte.config.descriptor.d.ts +50 -0
- package/dist/config/docs.svelte.config.descriptor.d.ts.map +1 -0
- package/dist/config/docs.svelte.config.descriptor.js +46 -0
- package/dist/config/docs.svelte.config.descriptor.js.map +1 -0
- package/dist/config/documents.source-refresh.config.descriptor.d.ts +41 -0
- package/dist/config/documents.source-refresh.config.descriptor.d.ts.map +1 -0
- package/dist/config/documents.source-refresh.config.descriptor.js +39 -0
- package/dist/config/documents.source-refresh.config.descriptor.js.map +1 -0
- package/dist/directives/index.d.ts +4 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/directives/index.js +3 -0
- package/dist/directives/index.js.map +1 -0
- package/dist/directives/registry.d.ts +31 -0
- package/dist/directives/registry.d.ts.map +1 -0
- package/dist/directives/registry.js +65 -0
- package/dist/directives/registry.js.map +1 -0
- package/dist/directives/types.d.ts +33 -0
- package/dist/directives/types.d.ts.map +1 -0
- package/dist/directives/types.js +2 -0
- package/dist/directives/types.js.map +1 -0
- package/dist/docs/agent-voice.docs.descriptor.d.ts +30 -0
- package/dist/docs/agent-voice.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/agent-voice.docs.descriptor.js +107 -0
- package/dist/docs/agent-voice.docs.descriptor.js.map +1 -0
- package/dist/docs/charts.usage.docs.descriptor.d.ts +27 -0
- package/dist/docs/charts.usage.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/charts.usage.docs.descriptor.js +90 -0
- package/dist/docs/charts.usage.docs.descriptor.js.map +1 -0
- package/dist/docs/command-palette.actions.docs.descriptor.d.ts +25 -0
- package/dist/docs/command-palette.actions.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/command-palette.actions.docs.descriptor.js +80 -0
- package/dist/docs/command-palette.actions.docs.descriptor.js.map +1 -0
- package/dist/docs/docs.directives.docs.descriptor.d.ts +22 -0
- package/dist/docs/docs.directives.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/docs.directives.docs.descriptor.js +104 -0
- package/dist/docs/docs.directives.docs.descriptor.js.map +1 -0
- package/dist/docs/docs.topics.docs.descriptor.d.ts +22 -0
- package/dist/docs/docs.topics.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/docs.topics.docs.descriptor.js +90 -0
- package/dist/docs/docs.topics.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.js +93 -0
- package/dist/docs/fleet-pairing-direct.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.js +88 -0
- package/dist/docs/fleet-pairing-mdns.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.d.ts +30 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.js +101 -0
- package/dist/docs/fleet-pairing-platform.docs.descriptor.js.map +1 -0
- package/dist/docs/fleet-pairing.docs.descriptor.d.ts +28 -0
- package/dist/docs/fleet-pairing.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/fleet-pairing.docs.descriptor.js +89 -0
- package/dist/docs/fleet-pairing.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started-cli.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started-cli.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started-cli.docs.descriptor.js +141 -0
- package/dist/docs/getting-started-cli.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.js +100 -0
- package/dist/docs/getting-started.concepts.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.docs.descriptor.js +63 -0
- package/dist/docs/getting-started.docs.descriptor.js.map +1 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.d.ts +4 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.js +95 -0
- package/dist/docs/getting-started.first-query.docs.descriptor.js.map +1 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.d.ts +22 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.js +114 -0
- package/dist/docs/guided-flows.flows.docs.descriptor.js.map +1 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.d.ts +19 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.js +140 -0
- package/dist/docs/runtime-rpc-relay.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.js +115 -0
- package/dist/docs/tutorials.ai-text-generation.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.js +172 -0
- package/dist/docs/tutorials.build-an-app.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.js +142 -0
- package/dist/docs/tutorials.crud-collection.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.docs.descriptor.js +52 -0
- package/dist/docs/tutorials.docs.descriptor.js.map +1 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.d.ts +4 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.js +121 -0
- package/dist/docs/tutorials.runtime-plugin.docs.descriptor.js.map +1 -0
- package/dist/docs.plugin.d.ts +12 -0
- package/dist/docs.plugin.d.ts.map +1 -0
- package/dist/docs.plugin.js +118 -0
- package/dist/docs.plugin.js.map +1 -0
- package/dist/documents/documents.cloud.plugin.d.ts +3 -0
- package/dist/documents/documents.cloud.plugin.d.ts.map +1 -0
- package/dist/documents/documents.cloud.plugin.js +26 -0
- package/dist/documents/documents.cloud.plugin.js.map +1 -0
- package/dist/documents/documents.consumer.plugin.d.ts +3 -0
- package/dist/documents/documents.consumer.plugin.d.ts.map +1 -0
- package/dist/documents/documents.consumer.plugin.js +26 -0
- package/dist/documents/documents.consumer.plugin.js.map +1 -0
- package/dist/documents/documents.plugin.d.ts +3 -0
- package/dist/documents/documents.plugin.d.ts.map +1 -0
- package/dist/documents/documents.plugin.js +33 -0
- package/dist/documents/documents.plugin.js.map +1 -0
- package/dist/documents/docx/client.d.ts +56 -0
- package/dist/documents/docx/client.d.ts.map +1 -0
- package/dist/documents/docx/client.js +90 -0
- package/dist/documents/docx/client.js.map +1 -0
- package/dist/documents/docx/extract.d.ts +12 -0
- package/dist/documents/docx/extract.d.ts.map +1 -0
- package/dist/documents/docx/extract.js +62 -0
- package/dist/documents/docx/extract.js.map +1 -0
- package/dist/documents/docx/generator.d.ts +49 -0
- package/dist/documents/docx/generator.d.ts.map +1 -0
- package/dist/documents/docx/generator.js +101 -0
- package/dist/documents/docx/generator.js.map +1 -0
- package/dist/documents/docx/index.d.ts +19 -0
- package/dist/documents/docx/index.d.ts.map +1 -0
- package/dist/documents/docx/index.js +16 -0
- package/dist/documents/docx/index.js.map +1 -0
- package/dist/documents/docx/kinds.d.ts +10 -0
- package/dist/documents/docx/kinds.d.ts.map +1 -0
- package/dist/documents/docx/kinds.js +11 -0
- package/dist/documents/docx/kinds.js.map +1 -0
- package/dist/documents/docx/plugin/docx.plugin.d.ts +9 -0
- package/dist/documents/docx/plugin/docx.plugin.d.ts.map +1 -0
- package/dist/documents/docx/plugin/docx.plugin.js +35 -0
- package/dist/documents/docx/plugin/docx.plugin.js.map +1 -0
- package/dist/documents/docx/schemas/generator.d.ts +10 -0
- package/dist/documents/docx/schemas/generator.d.ts.map +1 -0
- package/dist/documents/docx/schemas/generator.js +2 -0
- package/dist/documents/docx/schemas/generator.js.map +1 -0
- package/dist/documents/docx/schemas/index.d.ts +4 -0
- package/dist/documents/docx/schemas/index.d.ts.map +1 -0
- package/dist/documents/docx/schemas/index.js +2 -0
- package/dist/documents/docx/schemas/index.js.map +1 -0
- package/dist/documents/docx/schemas/runtime.d.ts +68 -0
- package/dist/documents/docx/schemas/runtime.d.ts.map +1 -0
- package/dist/documents/docx/schemas/runtime.js +30 -0
- package/dist/documents/docx/schemas/runtime.js.map +1 -0
- package/dist/documents/docx/schemas/template-registry.d.ts +21 -0
- package/dist/documents/docx/schemas/template-registry.d.ts.map +1 -0
- package/dist/documents/docx/schemas/template-registry.js +2 -0
- package/dist/documents/docx/schemas/template-registry.js.map +1 -0
- package/dist/documents/docx/templates/index.d.ts +3 -0
- package/dist/documents/docx/templates/index.d.ts.map +1 -0
- package/dist/documents/docx/templates/index.js +2 -0
- package/dist/documents/docx/templates/index.js.map +1 -0
- package/dist/documents/docx/templates/loader.d.ts +20 -0
- package/dist/documents/docx/templates/loader.d.ts.map +1 -0
- package/dist/documents/docx/templates/loader.js +36 -0
- package/dist/documents/docx/templates/loader.js.map +1 -0
- package/dist/documents/docx/templates/types.d.ts +2 -0
- package/dist/documents/docx/templates/types.d.ts.map +1 -0
- package/dist/documents/docx/templates/types.js +2 -0
- package/dist/documents/docx/templates/types.js.map +1 -0
- package/dist/documents/index.d.ts +4 -0
- package/dist/documents/index.d.ts.map +1 -0
- package/dist/documents/index.js +4 -0
- package/dist/documents/index.js.map +1 -0
- package/dist/documents/outline/parse-outline.d.ts +132 -0
- package/dist/documents/outline/parse-outline.d.ts.map +1 -0
- package/dist/documents/outline/parse-outline.js +246 -0
- package/dist/documents/outline/parse-outline.js.map +1 -0
- package/dist/documents/plugin.d.ts +3 -0
- package/dist/documents/plugin.d.ts.map +1 -0
- package/dist/documents/plugin.js +13 -0
- package/dist/documents/plugin.js.map +1 -0
- package/dist/documents/presentations/capabilities/index.d.ts +3 -0
- package/dist/documents/presentations/capabilities/index.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/index.js +3 -0
- package/dist/documents/presentations/capabilities/index.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.d.ts +333 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.js +101 -0
- package/dist/documents/presentations/capabilities/presentations.directory.impl.consumer.worker.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.d.ts +65 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.js +152 -0
- package/dist/documents/presentations/capabilities/presentations.directory.kind.js.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.d.ts +68 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.d.ts.map +1 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.js +100 -0
- package/dist/documents/presentations/capabilities/presentations.surface.kind.js.map +1 -0
- package/dist/documents/presentations/client/contracts.d.ts +20 -0
- package/dist/documents/presentations/client/contracts.d.ts.map +1 -0
- package/dist/documents/presentations/client/contracts.js +2 -0
- package/dist/documents/presentations/client/contracts.js.map +1 -0
- package/dist/documents/presentations/client/index.d.ts +5 -0
- package/dist/documents/presentations/client/index.d.ts.map +1 -0
- package/dist/documents/presentations/client/index.js +5 -0
- package/dist/documents/presentations/client/index.js.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.d.ts +4 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.js +13 -0
- package/dist/documents/presentations/client/presentations.runtime-client.descriptor.js.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.d.ts +711 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.d.ts.map +1 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.js +72 -0
- package/dist/documents/presentations/client/presentations.runtime-client.impl.js.map +1 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.d.ts +4 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.js +54 -0
- package/dist/documents/presentations/docs/presentations.docs.descriptor.js.map +1 -0
- package/dist/documents/presentations/index.d.ts +8 -0
- package/dist/documents/presentations/index.d.ts.map +1 -0
- package/dist/documents/presentations/index.js +8 -0
- package/dist/documents/presentations/index.js.map +1 -0
- package/dist/documents/presentations/presentations.consumer.plugin.d.ts +4 -0
- package/dist/documents/presentations/presentations.consumer.plugin.d.ts.map +1 -0
- package/dist/documents/presentations/presentations.consumer.plugin.js +16 -0
- package/dist/documents/presentations/presentations.consumer.plugin.js.map +1 -0
- package/dist/documents/presentations/presentations.plugin.d.ts +3 -0
- package/dist/documents/presentations/presentations.plugin.d.ts.map +1 -0
- package/dist/documents/presentations/presentations.plugin.js +48 -0
- package/dist/documents/presentations/presentations.plugin.js.map +1 -0
- package/dist/documents/presentations/review-read-authority.d.ts +117 -0
- package/dist/documents/presentations/review-read-authority.d.ts.map +1 -0
- package/dist/documents/presentations/review-read-authority.js +74 -0
- package/dist/documents/presentations/review-read-authority.js.map +1 -0
- package/dist/documents/presentations/schemas/index.d.ts +5 -0
- package/dist/documents/presentations/schemas/index.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/index.js +5 -0
- package/dist/documents/presentations/schemas/index.js.map +1 -0
- package/dist/documents/presentations/schemas/owner.d.ts +28 -0
- package/dist/documents/presentations/schemas/owner.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/owner.js +18 -0
- package/dist/documents/presentations/schemas/owner.js.map +1 -0
- package/dist/documents/presentations/schemas/request.d.ts +325 -0
- package/dist/documents/presentations/schemas/request.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/request.js +169 -0
- package/dist/documents/presentations/schemas/request.js.map +1 -0
- package/dist/documents/presentations/schemas/review.d.ts +154 -0
- package/dist/documents/presentations/schemas/review.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/review.js +83 -0
- package/dist/documents/presentations/schemas/review.js.map +1 -0
- package/dist/documents/presentations/schemas/surface.d.ts +315 -0
- package/dist/documents/presentations/schemas/surface.d.ts.map +1 -0
- package/dist/documents/presentations/schemas/surface.js +125 -0
- package/dist/documents/presentations/schemas/surface.js.map +1 -0
- package/dist/documents/presentations/state-machine.d.ts +36 -0
- package/dist/documents/presentations/state-machine.d.ts.map +1 -0
- package/dist/documents/presentations/state-machine.js +158 -0
- package/dist/documents/presentations/state-machine.js.map +1 -0
- package/dist/documents/presentations/storage/index.d.ts +3 -0
- package/dist/documents/presentations/storage/index.d.ts.map +1 -0
- package/dist/documents/presentations/storage/index.js +3 -0
- package/dist/documents/presentations/storage/index.js.map +1 -0
- package/dist/documents/presentations/storage/owner-app.d.ts +12 -0
- package/dist/documents/presentations/storage/owner-app.d.ts.map +1 -0
- package/dist/documents/presentations/storage/owner-app.js +43 -0
- package/dist/documents/presentations/storage/owner-app.js.map +1 -0
- package/dist/documents/presentations/storage/owner-transforms.d.ts +476 -0
- package/dist/documents/presentations/storage/owner-transforms.d.ts.map +1 -0
- package/dist/documents/presentations/storage/owner-transforms.js +77 -0
- package/dist/documents/presentations/storage/owner-transforms.js.map +1 -0
- package/dist/documents/presentations/storage/records.d.ts +227 -0
- package/dist/documents/presentations/storage/records.d.ts.map +1 -0
- package/dist/documents/presentations/storage/records.js +145 -0
- package/dist/documents/presentations/storage/records.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.d.ts +543 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.js +47 -0
- package/dist/documents/presentations/tools/presentations.tool.descriptor.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.d.ts +8 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.js +68 -0
- package/dist/documents/presentations/tools/presentations.tool.impl.consumer.js.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.d.ts +504 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.d.ts.map +1 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.js +76 -0
- package/dist/documents/presentations/tools/presentations.tool.schemas.js.map +1 -0
- package/dist/documents/render/grid.d.ts +96 -0
- package/dist/documents/render/grid.d.ts.map +1 -0
- package/dist/documents/render/grid.js +115 -0
- package/dist/documents/render/grid.js.map +1 -0
- package/dist/documents/render/index.d.ts +2 -0
- package/dist/documents/render/index.d.ts.map +1 -0
- package/dist/documents/render/index.js +2 -0
- package/dist/documents/render/index.js.map +1 -0
- package/dist/documents/render/render.impl.cloud.d.ts +25 -0
- package/dist/documents/render/render.impl.cloud.d.ts.map +1 -0
- package/dist/documents/render/render.impl.cloud.js +245 -0
- package/dist/documents/render/render.impl.cloud.js.map +1 -0
- package/dist/documents/render/render.impl.consumer.d.ts +35 -0
- package/dist/documents/render/render.impl.consumer.d.ts.map +1 -0
- package/dist/documents/render/render.impl.consumer.js +104 -0
- package/dist/documents/render/render.impl.consumer.js.map +1 -0
- package/dist/documents/render/render.interface.d.ts +147 -0
- package/dist/documents/render/render.interface.d.ts.map +1 -0
- package/dist/documents/render/render.interface.js +90 -0
- package/dist/documents/render/render.interface.js.map +1 -0
- package/dist/documents/schemas/ai-service-binding.schema.d.ts +11 -0
- package/dist/documents/schemas/ai-service-binding.schema.d.ts.map +1 -0
- package/dist/documents/schemas/ai-service-binding.schema.js +8 -0
- package/dist/documents/schemas/ai-service-binding.schema.js.map +1 -0
- package/dist/documents/schemas/document-read.schema.d.ts +107 -0
- package/dist/documents/schemas/document-read.schema.d.ts.map +1 -0
- package/dist/documents/schemas/document-read.schema.js +124 -0
- package/dist/documents/schemas/document-read.schema.js.map +1 -0
- package/dist/documents/schemas/document-view.schema.d.ts +74 -0
- package/dist/documents/schemas/document-view.schema.d.ts.map +1 -0
- package/dist/documents/schemas/document-view.schema.js +66 -0
- package/dist/documents/schemas/document-view.schema.js.map +1 -0
- package/dist/documents/schemas/index.d.ts +3 -0
- package/dist/documents/schemas/index.d.ts.map +1 -0
- package/dist/documents/schemas/index.js +3 -0
- package/dist/documents/schemas/index.js.map +1 -0
- package/dist/documents/schemas/page-cache.schema.d.ts +29 -0
- package/dist/documents/schemas/page-cache.schema.d.ts.map +1 -0
- package/dist/documents/schemas/page-cache.schema.js +50 -0
- package/dist/documents/schemas/page-cache.schema.js.map +1 -0
- package/dist/documents/storage/index.d.ts +3 -0
- package/dist/documents/storage/index.d.ts.map +1 -0
- package/dist/documents/storage/index.js +2 -0
- package/dist/documents/storage/index.js.map +1 -0
- package/dist/documents/storage/page-cache.descriptor.d.ts +17 -0
- package/dist/documents/storage/page-cache.descriptor.d.ts.map +1 -0
- package/dist/documents/storage/page-cache.descriptor.js +45 -0
- package/dist/documents/storage/page-cache.descriptor.js.map +1 -0
- package/dist/documents/tools/descriptors.d.ts +248 -0
- package/dist/documents/tools/descriptors.d.ts.map +1 -0
- package/dist/documents/tools/descriptors.js +78 -0
- package/dist/documents/tools/descriptors.js.map +1 -0
- package/dist/documents/tools/document-read-loop-guard.d.ts +61 -0
- package/dist/documents/tools/document-read-loop-guard.d.ts.map +1 -0
- package/dist/documents/tools/document-read-loop-guard.js +314 -0
- package/dist/documents/tools/document-read-loop-guard.js.map +1 -0
- package/dist/documents/tools/document-read.impl.d.ts +77 -0
- package/dist/documents/tools/document-read.impl.d.ts.map +1 -0
- package/dist/documents/tools/document-read.impl.js +1139 -0
- package/dist/documents/tools/document-read.impl.js.map +1 -0
- package/dist/documents/tools/document-view.impl.d.ts +45 -0
- package/dist/documents/tools/document-view.impl.d.ts.map +1 -0
- package/dist/documents/tools/document-view.impl.js +168 -0
- package/dist/documents/tools/document-view.impl.js.map +1 -0
- package/dist/documents/tools/index.d.ts +3 -0
- package/dist/documents/tools/index.d.ts.map +1 -0
- package/dist/documents/tools/index.js +6 -0
- package/dist/documents/tools/index.js.map +1 -0
- package/dist/documents/tools/source-refresh.d.ts +33 -0
- package/dist/documents/tools/source-refresh.d.ts.map +1 -0
- package/dist/documents/tools/source-refresh.js +127 -0
- package/dist/documents/tools/source-refresh.js.map +1 -0
- package/dist/documents/tools/unavailable.impl.d.ts +5 -0
- package/dist/documents/tools/unavailable.impl.d.ts.map +1 -0
- package/dist/documents/tools/unavailable.impl.js +12 -0
- package/dist/documents/tools/unavailable.impl.js.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.d.ts +113 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.d.ts.map +1 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.js +35 -0
- package/dist/prompts/descriptors/vibes-platform.prompt.descriptor.js.map +1 -0
- package/dist/render/ansi.d.ts +86 -0
- package/dist/render/ansi.d.ts.map +1 -0
- package/dist/render/ansi.js +125 -0
- package/dist/render/ansi.js.map +1 -0
- package/dist/render/frontmatter.d.ts +21 -0
- package/dist/render/frontmatter.d.ts.map +1 -0
- package/dist/render/frontmatter.js +57 -0
- package/dist/render/frontmatter.js.map +1 -0
- package/dist/render/index.d.ts +10 -0
- package/dist/render/index.d.ts.map +1 -0
- package/dist/render/index.js +6 -0
- package/dist/render/index.js.map +1 -0
- package/dist/render/parse.d.ts +29 -0
- package/dist/render/parse.d.ts.map +1 -0
- package/dist/render/parse.js +145 -0
- package/dist/render/parse.js.map +1 -0
- package/dist/render/sections.d.ts +24 -0
- package/dist/render/sections.d.ts.map +1 -0
- package/dist/render/sections.js +76 -0
- package/dist/render/sections.js.map +1 -0
- package/dist/render/terminal.d.ts +15 -0
- package/dist/render/terminal.d.ts.map +1 -0
- package/dist/render/terminal.js +293 -0
- package/dist/render/terminal.js.map +1 -0
- package/dist/runbooks/index.d.ts +4 -0
- package/dist/runbooks/index.d.ts.map +1 -0
- package/dist/runbooks/index.js +3 -0
- package/dist/runbooks/index.js.map +1 -0
- package/dist/runbooks/runbooks.plugin.d.ts +3 -0
- package/dist/runbooks/runbooks.plugin.d.ts.map +1 -0
- package/dist/runbooks/runbooks.plugin.js +3 -0
- package/dist/runbooks/runbooks.plugin.js.map +1 -0
- package/dist/schemas/citations.schema.d.ts +21 -0
- package/dist/schemas/citations.schema.d.ts.map +1 -0
- package/dist/schemas/citations.schema.js +17 -0
- package/dist/schemas/citations.schema.js.map +1 -0
- package/dist/schemas/index.d.ts +4 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +3 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/topic.schema.d.ts +179 -0
- package/dist/schemas/topic.schema.d.ts.map +1 -0
- package/dist/schemas/topic.schema.js +15 -0
- package/dist/schemas/topic.schema.js.map +1 -0
- package/dist/svelte/build/highlight.d.ts +33 -0
- package/dist/svelte/build/highlight.d.ts.map +1 -0
- package/dist/svelte/build/highlight.js +95 -0
- package/dist/svelte/build/topic-index.d.ts +96 -0
- package/dist/svelte/build/topic-index.d.ts.map +1 -0
- package/dist/svelte/build/topic-index.js +247 -0
- package/dist/svelte/context.d.ts +12 -0
- package/dist/svelte/context.d.ts.map +1 -0
- package/dist/svelte/context.js +16 -0
- package/dist/svelte/docs-origin.d.ts +14 -0
- package/dist/svelte/docs-origin.d.ts.map +1 -0
- package/dist/svelte/docs-origin.js +49 -0
- package/dist/svelte/docs-svelte.plugin.d.ts +121 -0
- package/dist/svelte/docs-svelte.plugin.d.ts.map +1 -0
- package/dist/svelte/docs-svelte.plugin.js +35 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte +261 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte.d.ts +16 -0
- package/dist/svelte/documents/presentations/components/PresentationMonitor.svelte.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/index.d.ts +3 -0
- package/dist/svelte/documents/presentations/index.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/index.js +2 -0
- package/dist/svelte/documents/presentations/monitor-state.d.ts +17 -0
- package/dist/svelte/documents/presentations/monitor-state.d.ts.map +1 -0
- package/dist/svelte/documents/presentations/monitor-state.js +38 -0
- package/dist/svelte/index.d.ts +20 -0
- package/dist/svelte/index.d.ts.map +1 -0
- package/dist/svelte/index.js +16 -0
- package/dist/svelte/loaders.d.ts +57 -0
- package/dist/svelte/loaders.d.ts.map +1 -0
- package/dist/svelte/loaders.js +74 -0
- package/dist/svelte/state.svelte.d.ts +366 -0
- package/dist/svelte/state.svelte.d.ts.map +1 -0
- package/dist/svelte/state.svelte.js +155 -0
- package/dist/svelte/styles.css +8 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte +41 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte.d.ts +5 -0
- package/dist/svelte/tool-widgets/DocsToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte +28 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/DocumentReadToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte +25 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/PresentationsToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte +29 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte.d.ts +8 -0
- package/dist/svelte/tool-widgets/RunbookToolCard.svelte.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.d.ts +7 -0
- package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/index.js +5 -0
- package/dist/svelte/tool-widgets/models.d.ts +47 -0
- package/dist/svelte/tool-widgets/models.d.ts.map +1 -0
- package/dist/svelte/tool-widgets/models.js +112 -0
- package/dist/svelte/ui/DocViewer.svelte +122 -0
- package/dist/svelte/ui/DocViewer.svelte.d.ts +17 -0
- package/dist/svelte/ui/DocViewer.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/DocsLoader.svelte +37 -0
- package/dist/svelte/ui/DocsLoader.svelte.d.ts +21 -0
- package/dist/svelte/ui/DocsLoader.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/DocsSearch.svelte +129 -0
- package/dist/svelte/ui/DocsSearch.svelte.d.ts +15 -0
- package/dist/svelte/ui/DocsSearch.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Card.svelte +61 -0
- package/dist/svelte/ui/directives/Card.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Card.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Descriptor.svelte +73 -0
- package/dist/svelte/ui/directives/Descriptor.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Descriptor.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte +45 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/DirectiveDispatch.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Endpoint.svelte +68 -0
- package/dist/svelte/ui/directives/Endpoint.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Endpoint.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Install.svelte +112 -0
- package/dist/svelte/ui/directives/Install.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Install.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Shell.svelte +32 -0
- package/dist/svelte/ui/directives/Shell.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Shell.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/directives/Usage.svelte +14 -0
- package/dist/svelte/ui/directives/Usage.svelte.d.ts +8 -0
- package/dist/svelte/ui/directives/Usage.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/help/HelpDialog.svelte +210 -0
- package/dist/svelte/ui/help/HelpDialog.svelte.d.ts +11 -0
- package/dist/svelte/ui/help/HelpDialog.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/help/HelpIcon.svelte +83 -0
- package/dist/svelte/ui/help/HelpIcon.svelte.d.ts +16 -0
- package/dist/svelte/ui/help/HelpIcon.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte +125 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte.d.ts +8 -0
- package/dist/svelte/ui/markdown/CodeBlock.svelte.d.ts.map +1 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte +319 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte.d.ts +9 -0
- package/dist/svelte/ui/markdown/MarkdownView.svelte.d.ts.map +1 -0
- package/dist/tools/docs.descriptor.d.ts +48 -0
- package/dist/tools/docs.descriptor.d.ts.map +1 -0
- package/dist/tools/docs.descriptor.js +23 -0
- package/dist/tools/docs.descriptor.js.map +1 -0
- package/dist/tools/docs.impl.d.ts +7 -0
- package/dist/tools/docs.impl.d.ts.map +1 -0
- package/dist/tools/docs.impl.js +67 -0
- package/dist/tools/docs.impl.js.map +1 -0
- package/dist/tools/schemas.d.ts +43 -0
- package/dist/tools/schemas.d.ts.map +1 -0
- package/dist/tools/schemas.js +30 -0
- package/dist/tools/schemas.js.map +1 -0
- package/dist/tui/docs-tui.plugin.d.ts +3 -0
- package/dist/tui/docs-tui.plugin.d.ts.map +1 -0
- package/dist/tui/docs-tui.plugin.js +18 -0
- package/dist/tui/docs-tui.plugin.js.map +1 -0
- package/dist/tui/index.d.ts +2 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +2 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.d.ts +38 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.d.ts.map +1 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.js +334 -0
- package/dist/tui/tui/docs-explorer.impl.consumer.js.map +1 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.d.ts +13 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.d.ts.map +1 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.js +29 -0
- package/dist/tui/tui/docs-explorer.tui.descriptor.js.map +1 -0
- package/package.json +450 -4
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
import { type PresentationRequestRecord, type PresentationReviewRecord, type PresentationSurfaceRecord } from './records.ts';
|
|
2
|
+
export interface PresentationSurfaceStorageRow {
|
|
3
|
+
id: string;
|
|
4
|
+
operation_id: string;
|
|
5
|
+
lease_id: string;
|
|
6
|
+
owner_type: PresentationSurfaceRecord['owner']['type'];
|
|
7
|
+
owner_id: string;
|
|
8
|
+
device_id: string;
|
|
9
|
+
instance_key: string;
|
|
10
|
+
label: string;
|
|
11
|
+
client: PresentationSurfaceRecord['client'];
|
|
12
|
+
form_factor: PresentationSurfaceRecord['formFactor'];
|
|
13
|
+
capabilities: PresentationSurfaceRecord['capabilities'];
|
|
14
|
+
state: PresentationSurfaceRecord['state'];
|
|
15
|
+
revision: number;
|
|
16
|
+
connected_at: string;
|
|
17
|
+
last_heartbeat_at: string;
|
|
18
|
+
expires_at: string;
|
|
19
|
+
}
|
|
20
|
+
export interface PresentationRequestStorageRow {
|
|
21
|
+
id: string;
|
|
22
|
+
operation_id: string;
|
|
23
|
+
requester: PresentationRequestRecord['requester'];
|
|
24
|
+
owner_type: PresentationRequestRecord['owner']['type'];
|
|
25
|
+
owner_id: string;
|
|
26
|
+
session_id: string;
|
|
27
|
+
preferred_surface_id: string | null;
|
|
28
|
+
selected_surface_id: string | null;
|
|
29
|
+
target: PresentationRequestRecord['target'];
|
|
30
|
+
message: string | null;
|
|
31
|
+
requested_capabilities: PresentationRequestRecord['requestedCapabilities'];
|
|
32
|
+
urgency: PresentationRequestRecord['urgency'];
|
|
33
|
+
status: PresentationRequestRecord['status'];
|
|
34
|
+
revision: number;
|
|
35
|
+
created_at: string;
|
|
36
|
+
updated_at: string;
|
|
37
|
+
expires_at: string;
|
|
38
|
+
responded_at: string | null;
|
|
39
|
+
presenting_at: string | null;
|
|
40
|
+
completed_at: string | null;
|
|
41
|
+
note: string | null;
|
|
42
|
+
}
|
|
43
|
+
export interface PresentationReviewStorageRow {
|
|
44
|
+
id: string;
|
|
45
|
+
operation_id: string;
|
|
46
|
+
request_id: string;
|
|
47
|
+
surface_id: string;
|
|
48
|
+
submitter: PresentationReviewRecord['submitter'];
|
|
49
|
+
access_grant_id: string | null;
|
|
50
|
+
target_revision: string | null;
|
|
51
|
+
audience: PresentationReviewRecord['audience'];
|
|
52
|
+
items: PresentationReviewRecord['items'];
|
|
53
|
+
created_at: string;
|
|
54
|
+
}
|
|
55
|
+
export declare const presentationSurfaceTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationSurfaceStorageRow, {
|
|
56
|
+
id: string;
|
|
57
|
+
owner: {
|
|
58
|
+
type: "user";
|
|
59
|
+
id: string;
|
|
60
|
+
} | {
|
|
61
|
+
type: "organization";
|
|
62
|
+
id: string;
|
|
63
|
+
};
|
|
64
|
+
label: string;
|
|
65
|
+
client: string;
|
|
66
|
+
formFactor: "browser" | "desktop" | "tablet" | "phone" | "display";
|
|
67
|
+
capabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
68
|
+
state: {
|
|
69
|
+
visibility: "unknown" | "background" | "foreground";
|
|
70
|
+
engagement: "unknown" | "active" | "idle";
|
|
71
|
+
availability: "available" | "busy" | "ask" | "do-not-disturb";
|
|
72
|
+
presentation: "idle" | "presenting";
|
|
73
|
+
};
|
|
74
|
+
revision: number;
|
|
75
|
+
connectedAt: string;
|
|
76
|
+
lastHeartbeatAt: string;
|
|
77
|
+
expiresAt: string;
|
|
78
|
+
operationId: string;
|
|
79
|
+
leaseId: string;
|
|
80
|
+
deviceId: string;
|
|
81
|
+
instanceKey: string;
|
|
82
|
+
}>;
|
|
83
|
+
export declare const presentationRequestTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationRequestStorageRow, {
|
|
84
|
+
id: string;
|
|
85
|
+
requester: {
|
|
86
|
+
id: string;
|
|
87
|
+
type: "agent";
|
|
88
|
+
roles?: string[] | undefined;
|
|
89
|
+
displayName?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
owner: {
|
|
92
|
+
type: "user";
|
|
93
|
+
id: string;
|
|
94
|
+
} | {
|
|
95
|
+
type: "organization";
|
|
96
|
+
id: string;
|
|
97
|
+
};
|
|
98
|
+
sessionId: string;
|
|
99
|
+
preferredSurfaceId: string | null;
|
|
100
|
+
selectedSurfaceId: string | null;
|
|
101
|
+
target: {
|
|
102
|
+
view: "session" | "artifact" | "image-review" | "code-review" | "plan-review";
|
|
103
|
+
link: {
|
|
104
|
+
kind: string;
|
|
105
|
+
id: string;
|
|
106
|
+
source: string;
|
|
107
|
+
role: string;
|
|
108
|
+
};
|
|
109
|
+
title?: string | undefined;
|
|
110
|
+
revision?: string | undefined;
|
|
111
|
+
anchor?: {
|
|
112
|
+
kind: "region";
|
|
113
|
+
rect: {
|
|
114
|
+
x: number;
|
|
115
|
+
y: number;
|
|
116
|
+
width: number;
|
|
117
|
+
height: number;
|
|
118
|
+
};
|
|
119
|
+
} | {
|
|
120
|
+
kind: "code";
|
|
121
|
+
path: string;
|
|
122
|
+
startLine: number;
|
|
123
|
+
endLine: number;
|
|
124
|
+
} | {
|
|
125
|
+
kind: "plan-node";
|
|
126
|
+
nodeId: string;
|
|
127
|
+
} | {
|
|
128
|
+
kind: "fragment";
|
|
129
|
+
id: string;
|
|
130
|
+
} | undefined;
|
|
131
|
+
};
|
|
132
|
+
message: string;
|
|
133
|
+
requestedCapabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
134
|
+
urgency: "high" | "normal";
|
|
135
|
+
status: "failed" | "pending" | "completed" | "accepted" | "presenting" | "declined" | "expired" | "withdrawn";
|
|
136
|
+
revision: number;
|
|
137
|
+
createdAt: string;
|
|
138
|
+
updatedAt: string;
|
|
139
|
+
expiresAt: string;
|
|
140
|
+
respondedAt: string | null;
|
|
141
|
+
presentingAt: string | null;
|
|
142
|
+
completedAt: string | null;
|
|
143
|
+
note: string | null;
|
|
144
|
+
operationId: string;
|
|
145
|
+
}>;
|
|
146
|
+
export declare const presentationReviewTransform: import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationReviewStorageRow, {
|
|
147
|
+
id: string;
|
|
148
|
+
requestId: string;
|
|
149
|
+
surfaceId: string;
|
|
150
|
+
submitter: {
|
|
151
|
+
type: "user" | "agent" | "service" | "operator";
|
|
152
|
+
id: string;
|
|
153
|
+
roles?: string[] | undefined;
|
|
154
|
+
};
|
|
155
|
+
accessGrantId: string | null;
|
|
156
|
+
targetRevision: string | null;
|
|
157
|
+
audience: "owner-only" | "request-participants";
|
|
158
|
+
items: ({
|
|
159
|
+
kind: "code-note";
|
|
160
|
+
path: string;
|
|
161
|
+
startLine: number;
|
|
162
|
+
endLine: number;
|
|
163
|
+
text: string;
|
|
164
|
+
} | {
|
|
165
|
+
kind: "comment";
|
|
166
|
+
text: string;
|
|
167
|
+
} | {
|
|
168
|
+
kind: "steering";
|
|
169
|
+
text: string;
|
|
170
|
+
} | {
|
|
171
|
+
kind: "region-note";
|
|
172
|
+
rect: {
|
|
173
|
+
x: number;
|
|
174
|
+
y: number;
|
|
175
|
+
width: number;
|
|
176
|
+
height: number;
|
|
177
|
+
};
|
|
178
|
+
text: string;
|
|
179
|
+
} | {
|
|
180
|
+
kind: "ink-stroke";
|
|
181
|
+
points: {
|
|
182
|
+
x: number;
|
|
183
|
+
y: number;
|
|
184
|
+
pressure?: number | undefined;
|
|
185
|
+
}[];
|
|
186
|
+
color: string;
|
|
187
|
+
width: number;
|
|
188
|
+
} | {
|
|
189
|
+
kind: "plan-note";
|
|
190
|
+
nodeId: string;
|
|
191
|
+
text: string;
|
|
192
|
+
})[];
|
|
193
|
+
createdAt: string;
|
|
194
|
+
operationId: string;
|
|
195
|
+
}>;
|
|
196
|
+
export declare const presentationOwnerStorageTransforms: readonly [import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationSurfaceStorageRow, {
|
|
197
|
+
id: string;
|
|
198
|
+
owner: {
|
|
199
|
+
type: "user";
|
|
200
|
+
id: string;
|
|
201
|
+
} | {
|
|
202
|
+
type: "organization";
|
|
203
|
+
id: string;
|
|
204
|
+
};
|
|
205
|
+
label: string;
|
|
206
|
+
client: string;
|
|
207
|
+
formFactor: "browser" | "desktop" | "tablet" | "phone" | "display";
|
|
208
|
+
capabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
209
|
+
state: {
|
|
210
|
+
visibility: "unknown" | "background" | "foreground";
|
|
211
|
+
engagement: "unknown" | "active" | "idle";
|
|
212
|
+
availability: "available" | "busy" | "ask" | "do-not-disturb";
|
|
213
|
+
presentation: "idle" | "presenting";
|
|
214
|
+
};
|
|
215
|
+
revision: number;
|
|
216
|
+
connectedAt: string;
|
|
217
|
+
lastHeartbeatAt: string;
|
|
218
|
+
expiresAt: string;
|
|
219
|
+
operationId: string;
|
|
220
|
+
leaseId: string;
|
|
221
|
+
deviceId: string;
|
|
222
|
+
instanceKey: string;
|
|
223
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationRequestStorageRow, {
|
|
224
|
+
id: string;
|
|
225
|
+
requester: {
|
|
226
|
+
id: string;
|
|
227
|
+
type: "agent";
|
|
228
|
+
roles?: string[] | undefined;
|
|
229
|
+
displayName?: string | undefined;
|
|
230
|
+
};
|
|
231
|
+
owner: {
|
|
232
|
+
type: "user";
|
|
233
|
+
id: string;
|
|
234
|
+
} | {
|
|
235
|
+
type: "organization";
|
|
236
|
+
id: string;
|
|
237
|
+
};
|
|
238
|
+
sessionId: string;
|
|
239
|
+
preferredSurfaceId: string | null;
|
|
240
|
+
selectedSurfaceId: string | null;
|
|
241
|
+
target: {
|
|
242
|
+
view: "session" | "artifact" | "image-review" | "code-review" | "plan-review";
|
|
243
|
+
link: {
|
|
244
|
+
kind: string;
|
|
245
|
+
id: string;
|
|
246
|
+
source: string;
|
|
247
|
+
role: string;
|
|
248
|
+
};
|
|
249
|
+
title?: string | undefined;
|
|
250
|
+
revision?: string | undefined;
|
|
251
|
+
anchor?: {
|
|
252
|
+
kind: "region";
|
|
253
|
+
rect: {
|
|
254
|
+
x: number;
|
|
255
|
+
y: number;
|
|
256
|
+
width: number;
|
|
257
|
+
height: number;
|
|
258
|
+
};
|
|
259
|
+
} | {
|
|
260
|
+
kind: "code";
|
|
261
|
+
path: string;
|
|
262
|
+
startLine: number;
|
|
263
|
+
endLine: number;
|
|
264
|
+
} | {
|
|
265
|
+
kind: "plan-node";
|
|
266
|
+
nodeId: string;
|
|
267
|
+
} | {
|
|
268
|
+
kind: "fragment";
|
|
269
|
+
id: string;
|
|
270
|
+
} | undefined;
|
|
271
|
+
};
|
|
272
|
+
message: string;
|
|
273
|
+
requestedCapabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
274
|
+
urgency: "high" | "normal";
|
|
275
|
+
status: "failed" | "pending" | "completed" | "accepted" | "presenting" | "declined" | "expired" | "withdrawn";
|
|
276
|
+
revision: number;
|
|
277
|
+
createdAt: string;
|
|
278
|
+
updatedAt: string;
|
|
279
|
+
expiresAt: string;
|
|
280
|
+
respondedAt: string | null;
|
|
281
|
+
presentingAt: string | null;
|
|
282
|
+
completedAt: string | null;
|
|
283
|
+
note: string | null;
|
|
284
|
+
operationId: string;
|
|
285
|
+
}>, import("@vibesdotdev/storage/transform").StorageTransformPair<PresentationReviewStorageRow, {
|
|
286
|
+
id: string;
|
|
287
|
+
requestId: string;
|
|
288
|
+
surfaceId: string;
|
|
289
|
+
submitter: {
|
|
290
|
+
type: "user" | "agent" | "service" | "operator";
|
|
291
|
+
id: string;
|
|
292
|
+
roles?: string[] | undefined;
|
|
293
|
+
};
|
|
294
|
+
accessGrantId: string | null;
|
|
295
|
+
targetRevision: string | null;
|
|
296
|
+
audience: "owner-only" | "request-participants";
|
|
297
|
+
items: ({
|
|
298
|
+
kind: "code-note";
|
|
299
|
+
path: string;
|
|
300
|
+
startLine: number;
|
|
301
|
+
endLine: number;
|
|
302
|
+
text: string;
|
|
303
|
+
} | {
|
|
304
|
+
kind: "comment";
|
|
305
|
+
text: string;
|
|
306
|
+
} | {
|
|
307
|
+
kind: "steering";
|
|
308
|
+
text: string;
|
|
309
|
+
} | {
|
|
310
|
+
kind: "region-note";
|
|
311
|
+
rect: {
|
|
312
|
+
x: number;
|
|
313
|
+
y: number;
|
|
314
|
+
width: number;
|
|
315
|
+
height: number;
|
|
316
|
+
};
|
|
317
|
+
text: string;
|
|
318
|
+
} | {
|
|
319
|
+
kind: "ink-stroke";
|
|
320
|
+
points: {
|
|
321
|
+
x: number;
|
|
322
|
+
y: number;
|
|
323
|
+
pressure?: number | undefined;
|
|
324
|
+
}[];
|
|
325
|
+
color: string;
|
|
326
|
+
width: number;
|
|
327
|
+
} | {
|
|
328
|
+
kind: "plan-note";
|
|
329
|
+
nodeId: string;
|
|
330
|
+
text: string;
|
|
331
|
+
})[];
|
|
332
|
+
createdAt: string;
|
|
333
|
+
operationId: string;
|
|
334
|
+
}>];
|
|
335
|
+
export declare const presentationSurfaceFromRow: (row: PresentationSurfaceStorageRow) => {
|
|
336
|
+
id: string;
|
|
337
|
+
owner: {
|
|
338
|
+
type: "user";
|
|
339
|
+
id: string;
|
|
340
|
+
} | {
|
|
341
|
+
type: "organization";
|
|
342
|
+
id: string;
|
|
343
|
+
};
|
|
344
|
+
label: string;
|
|
345
|
+
client: string;
|
|
346
|
+
formFactor: "browser" | "desktop" | "tablet" | "phone" | "display";
|
|
347
|
+
capabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
348
|
+
state: {
|
|
349
|
+
visibility: "unknown" | "background" | "foreground";
|
|
350
|
+
engagement: "unknown" | "active" | "idle";
|
|
351
|
+
availability: "available" | "busy" | "ask" | "do-not-disturb";
|
|
352
|
+
presentation: "idle" | "presenting";
|
|
353
|
+
};
|
|
354
|
+
revision: number;
|
|
355
|
+
connectedAt: string;
|
|
356
|
+
lastHeartbeatAt: string;
|
|
357
|
+
expiresAt: string;
|
|
358
|
+
operationId: string;
|
|
359
|
+
leaseId: string;
|
|
360
|
+
deviceId: string;
|
|
361
|
+
instanceKey: string;
|
|
362
|
+
};
|
|
363
|
+
export declare const presentationRequestFromRow: (row: PresentationRequestStorageRow) => {
|
|
364
|
+
id: string;
|
|
365
|
+
requester: {
|
|
366
|
+
id: string;
|
|
367
|
+
type: "agent";
|
|
368
|
+
roles?: string[] | undefined;
|
|
369
|
+
displayName?: string | undefined;
|
|
370
|
+
};
|
|
371
|
+
owner: {
|
|
372
|
+
type: "user";
|
|
373
|
+
id: string;
|
|
374
|
+
} | {
|
|
375
|
+
type: "organization";
|
|
376
|
+
id: string;
|
|
377
|
+
};
|
|
378
|
+
sessionId: string;
|
|
379
|
+
preferredSurfaceId: string | null;
|
|
380
|
+
selectedSurfaceId: string | null;
|
|
381
|
+
target: {
|
|
382
|
+
view: "session" | "artifact" | "image-review" | "code-review" | "plan-review";
|
|
383
|
+
link: {
|
|
384
|
+
kind: string;
|
|
385
|
+
id: string;
|
|
386
|
+
source: string;
|
|
387
|
+
role: string;
|
|
388
|
+
};
|
|
389
|
+
title?: string | undefined;
|
|
390
|
+
revision?: string | undefined;
|
|
391
|
+
anchor?: {
|
|
392
|
+
kind: "region";
|
|
393
|
+
rect: {
|
|
394
|
+
x: number;
|
|
395
|
+
y: number;
|
|
396
|
+
width: number;
|
|
397
|
+
height: number;
|
|
398
|
+
};
|
|
399
|
+
} | {
|
|
400
|
+
kind: "code";
|
|
401
|
+
path: string;
|
|
402
|
+
startLine: number;
|
|
403
|
+
endLine: number;
|
|
404
|
+
} | {
|
|
405
|
+
kind: "plan-node";
|
|
406
|
+
nodeId: string;
|
|
407
|
+
} | {
|
|
408
|
+
kind: "fragment";
|
|
409
|
+
id: string;
|
|
410
|
+
} | undefined;
|
|
411
|
+
};
|
|
412
|
+
message: string;
|
|
413
|
+
requestedCapabilities: ("present.session" | "present.artifact" | "present.image" | "present.code" | "present.plan" | "input.pointer" | "input.touch" | "input.ink" | "input.keyboard" | "input.voice" | "review.comment" | "review.annotation" | "review.steering")[];
|
|
414
|
+
urgency: "high" | "normal";
|
|
415
|
+
status: "failed" | "pending" | "completed" | "accepted" | "presenting" | "declined" | "expired" | "withdrawn";
|
|
416
|
+
revision: number;
|
|
417
|
+
createdAt: string;
|
|
418
|
+
updatedAt: string;
|
|
419
|
+
expiresAt: string;
|
|
420
|
+
respondedAt: string | null;
|
|
421
|
+
presentingAt: string | null;
|
|
422
|
+
completedAt: string | null;
|
|
423
|
+
note: string | null;
|
|
424
|
+
operationId: string;
|
|
425
|
+
};
|
|
426
|
+
export declare const presentationReviewFromRow: (row: PresentationReviewStorageRow) => {
|
|
427
|
+
id: string;
|
|
428
|
+
requestId: string;
|
|
429
|
+
surfaceId: string;
|
|
430
|
+
submitter: {
|
|
431
|
+
type: "user" | "agent" | "service" | "operator";
|
|
432
|
+
id: string;
|
|
433
|
+
roles?: string[] | undefined;
|
|
434
|
+
};
|
|
435
|
+
accessGrantId: string | null;
|
|
436
|
+
targetRevision: string | null;
|
|
437
|
+
audience: "owner-only" | "request-participants";
|
|
438
|
+
items: ({
|
|
439
|
+
kind: "code-note";
|
|
440
|
+
path: string;
|
|
441
|
+
startLine: number;
|
|
442
|
+
endLine: number;
|
|
443
|
+
text: string;
|
|
444
|
+
} | {
|
|
445
|
+
kind: "comment";
|
|
446
|
+
text: string;
|
|
447
|
+
} | {
|
|
448
|
+
kind: "steering";
|
|
449
|
+
text: string;
|
|
450
|
+
} | {
|
|
451
|
+
kind: "region-note";
|
|
452
|
+
rect: {
|
|
453
|
+
x: number;
|
|
454
|
+
y: number;
|
|
455
|
+
width: number;
|
|
456
|
+
height: number;
|
|
457
|
+
};
|
|
458
|
+
text: string;
|
|
459
|
+
} | {
|
|
460
|
+
kind: "ink-stroke";
|
|
461
|
+
points: {
|
|
462
|
+
x: number;
|
|
463
|
+
y: number;
|
|
464
|
+
pressure?: number | undefined;
|
|
465
|
+
}[];
|
|
466
|
+
color: string;
|
|
467
|
+
width: number;
|
|
468
|
+
} | {
|
|
469
|
+
kind: "plan-note";
|
|
470
|
+
nodeId: string;
|
|
471
|
+
text: string;
|
|
472
|
+
})[];
|
|
473
|
+
createdAt: string;
|
|
474
|
+
operationId: string;
|
|
475
|
+
};
|
|
476
|
+
//# sourceMappingURL=owner-transforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-transforms.d.ts","sourceRoot":"","sources":["../../../../src/documents/presentations/storage/owner-transforms.ts"],"names":[],"mappings":"AACA,OAAO,EAIN,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC5C,WAAW,EAAE,yBAAyB,CAAC,YAAY,CAAC,CAAC;IACrD,YAAY,EAAE,yBAAyB,CAAC,cAAc,CAAC,CAAC;IACxD,KAAK,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAC1C,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,6BAA6B;IAC7C,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IAClD,UAAU,EAAE,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,MAAM,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC5C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,sBAAsB,EAAE,yBAAyB,CAAC,uBAAuB,CAAC,CAAC;IAC3E,OAAO,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IAC9C,MAAM,EAAE,yBAAyB,CAAC,QAAQ,CAAC,CAAC;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AAED,MAAM,WAAW,4BAA4B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,CAAC;IACjD,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,wBAAwB,CAAC,UAAU,CAAC,CAAC;IAC/C,KAAK,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACzC,UAAU,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwBvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BvC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBtC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIrC,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2D,CAAC;AACnG,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA2D,CAAC;AACnG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0D,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { createStorageTransform } from '@vibesdotdev/storage/transform';
|
|
2
|
+
import { PresentationRequestRecordSchema, PresentationReviewRecordSchema, PresentationSurfaceRecordSchema } from "./records.js";
|
|
3
|
+
export const presentationSurfaceTransform = createStorageTransform({
|
|
4
|
+
id: 'presentations.surface-leases',
|
|
5
|
+
manifestId: 'presentations.surface-leases',
|
|
6
|
+
description: 'Presentation surface owner row to canonical record mapping',
|
|
7
|
+
fromRow: (row) => PresentationSurfaceRecordSchema.parse({
|
|
8
|
+
id: row.id,
|
|
9
|
+
operationId: row.operation_id,
|
|
10
|
+
leaseId: row.lease_id,
|
|
11
|
+
owner: { type: row.owner_type, id: row.owner_id },
|
|
12
|
+
deviceId: row.device_id,
|
|
13
|
+
instanceKey: row.instance_key,
|
|
14
|
+
label: row.label,
|
|
15
|
+
client: row.client,
|
|
16
|
+
formFactor: row.form_factor,
|
|
17
|
+
capabilities: row.capabilities,
|
|
18
|
+
state: row.state,
|
|
19
|
+
revision: row.revision,
|
|
20
|
+
connectedAt: row.connected_at,
|
|
21
|
+
lastHeartbeatAt: row.last_heartbeat_at,
|
|
22
|
+
expiresAt: row.expires_at
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
export const presentationRequestTransform = createStorageTransform({
|
|
26
|
+
id: 'presentations.requests',
|
|
27
|
+
manifestId: 'presentations.requests',
|
|
28
|
+
description: 'Presentation request owner row to canonical record mapping',
|
|
29
|
+
fromRow: (row) => PresentationRequestRecordSchema.parse({
|
|
30
|
+
id: row.id,
|
|
31
|
+
operationId: row.operation_id,
|
|
32
|
+
requester: row.requester,
|
|
33
|
+
owner: { type: row.owner_type, id: row.owner_id },
|
|
34
|
+
sessionId: row.session_id,
|
|
35
|
+
preferredSurfaceId: row.preferred_surface_id,
|
|
36
|
+
selectedSurfaceId: row.selected_surface_id,
|
|
37
|
+
target: row.target,
|
|
38
|
+
message: row.message,
|
|
39
|
+
requestedCapabilities: row.requested_capabilities,
|
|
40
|
+
urgency: row.urgency,
|
|
41
|
+
status: row.status,
|
|
42
|
+
revision: row.revision,
|
|
43
|
+
createdAt: row.created_at,
|
|
44
|
+
updatedAt: row.updated_at,
|
|
45
|
+
expiresAt: row.expires_at,
|
|
46
|
+
respondedAt: row.responded_at,
|
|
47
|
+
presentingAt: row.presenting_at,
|
|
48
|
+
completedAt: row.completed_at,
|
|
49
|
+
note: row.note
|
|
50
|
+
})
|
|
51
|
+
});
|
|
52
|
+
export const presentationReviewTransform = createStorageTransform({
|
|
53
|
+
id: 'presentations.reviews',
|
|
54
|
+
manifestId: 'presentations.reviews',
|
|
55
|
+
description: 'Presentation review owner row to canonical record mapping',
|
|
56
|
+
fromRow: (row) => PresentationReviewRecordSchema.parse({
|
|
57
|
+
id: row.id,
|
|
58
|
+
operationId: row.operation_id,
|
|
59
|
+
requestId: row.request_id,
|
|
60
|
+
surfaceId: row.surface_id,
|
|
61
|
+
submitter: row.submitter,
|
|
62
|
+
accessGrantId: row.access_grant_id,
|
|
63
|
+
targetRevision: row.target_revision,
|
|
64
|
+
audience: row.audience,
|
|
65
|
+
items: row.items,
|
|
66
|
+
createdAt: row.created_at
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
export const presentationOwnerStorageTransforms = [
|
|
70
|
+
presentationSurfaceTransform,
|
|
71
|
+
presentationRequestTransform,
|
|
72
|
+
presentationReviewTransform
|
|
73
|
+
];
|
|
74
|
+
export const presentationSurfaceFromRow = presentationSurfaceTransform.implementation.impl.fromRow;
|
|
75
|
+
export const presentationRequestFromRow = presentationRequestTransform.implementation.impl.fromRow;
|
|
76
|
+
export const presentationReviewFromRow = presentationReviewTransform.implementation.impl.fromRow;
|
|
77
|
+
//# sourceMappingURL=owner-transforms.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"owner-transforms.js","sourceRoot":"","sources":["../../../../src/documents/presentations/storage/owner-transforms.ts"],"names":[],"mappings":"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"}
|