@kayjs/kay 0.0.0-stage → 1.104.1
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 +21 -0
- package/LICENSES/Apache-2.0.txt +55 -0
- package/LICENSES/MPL-2.0.txt +373 -0
- package/LICENSES/emscripten.txt +102 -0
- package/LICENSES/libaom-PATENTS.txt +108 -0
- package/LICENSES/libaom.txt +27 -0
- package/LICENSES/libavif-1.4.2.txt +387 -0
- package/LICENSES/libavif.txt +353 -0
- package/LICENSES/libwebp-PATENTS.txt +23 -0
- package/LICENSES/libwebp.txt +30 -0
- package/LICENSES/musl-emscripten-6.0.12.txt +193 -0
- package/LICENSES/musl.txt +193 -0
- package/NOTICE +11 -0
- package/README.md +107 -2
- package/dist/eslint.js +17787 -0
- package/editors/tree-sitter-kay/queries/highlights.scm +63 -0
- package/editors/tree-sitter-kay/queries/indents.scm +17 -0
- package/editors/tree-sitter-kay/queries/injections.scm +21 -0
- package/editors/vscode/syntaxes/kay.tmLanguage.json +624 -0
- package/editors/zed/Cargo.toml +13 -0
- package/editors/zed/extension.toml +16 -0
- package/editors/zed/languages/kay/config.toml +13 -0
- package/editors/zed/languages/kay/highlights.scm +63 -0
- package/editors/zed/languages/kay/indents.scm +17 -0
- package/editors/zed/languages/kay/injections.scm +21 -0
- package/editors/zed/src/lib.rs +50 -0
- package/llms/a11y-audit.md +21 -0
- package/llms/a11y-lints.md +51 -0
- package/llms/action-protection.md +122 -0
- package/llms/actions-from-islands.md +166 -0
- package/llms/actions-refused-fields.md +27 -0
- package/llms/actions.md +254 -0
- package/llms/analytics.md +157 -0
- package/llms/api-from-islands.md +168 -0
- package/llms/api-routes.md +222 -0
- package/llms/browser-only.md +69 -0
- package/llms/build-and-start.md +77 -0
- package/llms/cdn-caching.md +24 -0
- package/llms/check-and-tools.md +149 -0
- package/llms/checks.md +133 -0
- package/llms/code-lints.md +37 -0
- package/llms/compiler-api.md +25 -0
- package/llms/component-libraries.md +123 -0
- package/llms/component-library-conventions.md +60 -0
- package/llms/components.md +252 -0
- package/llms/content-cms.md +101 -0
- package/llms/content-edit.md +49 -0
- package/llms/content-markdown-to-caching.md +96 -0
- package/llms/content-preview.md +79 -0
- package/llms/content.md +276 -0
- package/llms/deprecated-lints.md +21 -0
- package/llms/dev-server.md +74 -0
- package/llms/dev-tool.md +72 -0
- package/llms/eco-design.md +107 -0
- package/llms/editor-and-agent-commands.md +83 -0
- package/llms/effects.md +98 -0
- package/llms/environment.md +82 -0
- package/llms/errors-runtime.md +57 -0
- package/llms/errors.md +121 -0
- package/llms/events.md +42 -0
- package/llms/files.md +189 -0
- package/llms/guards.md +60 -0
- package/llms/head.md +211 -0
- package/llms/hooks.md +159 -0
- package/llms/images-runtime-and-remote.md +85 -0
- package/llms/images.md +206 -0
- package/llms/imported-files.md +41 -0
- package/llms/island-and-form-lints.md +27 -0
- package/llms/island-sources.md +71 -0
- package/llms/islands-state-to-ids.md +100 -0
- package/llms/islands.md +281 -0
- package/llms/lints.md +98 -0
- package/llms/live-values.md +123 -0
- package/llms/local-collections.md +98 -0
- package/llms/locales-texts.md +28 -0
- package/llms/locales.md +269 -0
- package/llms/mcp.md +56 -0
- package/llms/navigation-from-code.md +113 -0
- package/llms/navigation.md +132 -0
- package/llms/notifications.md +114 -0
- package/llms/performance-lints.md +17 -0
- package/llms/prerendering.md +160 -0
- package/llms/privacy.md +166 -0
- package/llms/production.md +210 -0
- package/llms/project-new-and-add.md +67 -0
- package/llms/project.md +165 -0
- package/llms/proxy-and-security.md +177 -0
- package/llms/queues.md +113 -0
- package/llms/rate-limits.md +108 -0
- package/llms/recipes.md +355 -0
- package/llms/rendering.md +291 -0
- package/llms/request-values.md +82 -0
- package/llms/rooms.md +130 -0
- package/llms/routing-endpoints-and-base.md +122 -0
- package/llms/routing-special-pages.md +59 -0
- package/llms/routing.md +280 -0
- package/llms/schemas.md +52 -0
- package/llms/security-and-i18n-lints.md +19 -0
- package/llms/seo-lints.md +44 -0
- package/llms/server-islands.md +79 -0
- package/llms/server.md +244 -0
- package/llms/site.md +402 -0
- package/llms/sitemap-search-fonts.md +275 -0
- package/llms/stores.md +45 -0
- package/llms/styles-and-assets.md +209 -0
- package/llms/templates-elements-slots-snippets.md +149 -0
- package/llms/templates.md +294 -0
- package/llms/testing-browser.md +95 -0
- package/llms/testing-requests-jobs-sockets.md +87 -0
- package/llms/testing-setup.md +54 -0
- package/llms/testing.md +279 -0
- package/llms/tracing.md +56 -0
- package/llms/upgrading-archive.md +164 -0
- package/llms/upgrading.md +169 -0
- package/llms/whats-new-archive.md +52 -0
- package/llms/whats-new.md +55 -0
- package/llms/workers.md +22 -0
- package/llms.txt +123 -0
- package/package.json +322 -4
- package/src/a11y/audit.ts +217 -0
- package/src/a11y/report.ts +198 -0
- package/src/a11y/rgaa-criteria.ts +182 -0
- package/src/a11y/standards.ts +90 -0
- package/src/a11y/targets.ts +78 -0
- package/src/add.ts +752 -0
- package/src/build/action-calls.ts +174 -0
- package/src/build/assets.ts +73 -0
- package/src/build/budget.ts +127 -0
- package/src/build/bun.ts +19 -0
- package/src/build/cache-ids.ts +66 -0
- package/src/build/cache.ts +110 -0
- package/src/build/captured-loads.ts +40 -0
- package/src/build/class-rules.ts +240 -0
- package/src/build/class-sources.ts +437 -0
- package/src/build/class-table.ts +331 -0
- package/src/build/client.ts +859 -0
- package/src/build/collection-components.ts +140 -0
- package/src/build/compile.ts +264 -0
- package/src/build/compressed.ts +96 -0
- package/src/build/direct-imports.ts +139 -0
- package/src/build/dynamic-classes.ts +394 -0
- package/src/build/favicons.ts +149 -0
- package/src/build/files.ts +464 -0
- package/src/build/fingerprint.ts +54 -0
- package/src/build/footprint-models.ts +90 -0
- package/src/build/footprint.ts +683 -0
- package/src/build/glob.ts +237 -0
- package/src/build/globbed.ts +3 -0
- package/src/build/header-files.ts +69 -0
- package/src/build/icons.ts +127 -0
- package/src/build/increments.ts +291 -0
- package/src/build/insert-ids.ts +48 -0
- package/src/build/kept-maps.ts +64 -0
- package/src/build/kept.ts +149 -0
- package/src/build/layer-order.ts +89 -0
- package/src/build/libraries.ts +604 -0
- package/src/build/licenses.ts +246 -0
- package/src/build/links.ts +119 -0
- package/src/build/live-ids.ts +72 -0
- package/src/build/manifests.ts +91 -0
- package/src/build/named-refresh.ts +75 -0
- package/src/build/navigation-locale.ts +18 -0
- package/src/build/page-dirs.ts +58 -0
- package/src/build/pipeline.ts +534 -0
- package/src/build/plugin.ts +359 -0
- package/src/build/probe.ts +158 -0
- package/src/build/prune.ts +160 -0
- package/src/build/recipe-classes.ts +193 -0
- package/src/build/references.ts +85 -0
- package/src/build/report.ts +457 -0
- package/src/build/route-sizes.ts +387 -0
- package/src/build/runtime-chunk.ts +425 -0
- package/src/build/runtime-config.ts +174 -0
- package/src/build/search.ts +350 -0
- package/src/build/server-only.ts +531 -0
- package/src/build/server-record.ts +200 -0
- package/src/build/signals.ts +129 -0
- package/src/build/source-files.ts +31 -0
- package/src/build/source-parses.ts +136 -0
- package/src/build/sourcemap.ts +335 -0
- package/src/build/static.ts +340 -0
- package/src/build/style-uses.ts +579 -0
- package/src/build/styles.ts +314 -0
- package/src/build/supports.ts +201 -0
- package/src/build/theme-vars.ts +72 -0
- package/src/build/transform.ts +293 -0
- package/src/build/ui-info.ts +343 -0
- package/src/build/ui.ts +462 -0
- package/src/build/variants.ts +521 -0
- package/src/build/verify.ts +391 -0
- package/src/build/warn-classes.ts +18 -0
- package/src/build/worker-bundle.ts +70 -0
- package/src/bun.ts +38 -0
- package/src/check/api-modules.ts +48 -0
- package/src/check/api-scope.ts +112 -0
- package/src/check/ast.ts +52 -0
- package/src/check/bindings.ts +72 -0
- package/src/check/boot.ts +214 -0
- package/src/check/browser-global-reads.ts +123 -0
- package/src/check/builtin-imports.ts +215 -0
- package/src/check/class-words.ts +260 -0
- package/src/check/config-keys.ts +63 -0
- package/src/check/diagnose.ts +259 -0
- package/src/check/dockerfile.ts +59 -0
- package/src/check/endpoint-exports.ts +41 -0
- package/src/check/env-types.ts +268 -0
- package/src/check/export-homes.ts +69 -0
- package/src/check/fixes.ts +38 -0
- package/src/check/generated.ts +141 -0
- package/src/check/guards.ts +109 -0
- package/src/check/index.ts +242 -0
- package/src/check/island-modules.ts +142 -0
- package/src/check/island-only.ts +104 -0
- package/src/check/large-images.ts +355 -0
- package/src/check/layout-facts.ts +43 -0
- package/src/check/loaded.ts +88 -0
- package/src/check/local-state.ts +132 -0
- package/src/check/loop-index-fix.ts +46 -0
- package/src/check/mcp-routes.ts +86 -0
- package/src/check/messages.ts +327 -0
- package/src/check/missing-imports.ts +99 -0
- package/src/check/open-settings.ts +33 -0
- package/src/check/output-schema.ts +154 -0
- package/src/check/page-heads.ts +241 -0
- package/src/check/page-structure.ts +27 -0
- package/src/check/persisted-storage.ts +87 -0
- package/src/check/project.ts +303 -0
- package/src/check/public-env-outside-src.ts +43 -0
- package/src/check/queries.ts +99 -0
- package/src/check/removed-ui-tokens.ts +343 -0
- package/src/check/renamed-call-options.ts +83 -0
- package/src/check/renamed-exports.ts +247 -0
- package/src/check/renamed-packages.ts +81 -0
- package/src/check/schema-type.ts +9 -0
- package/src/check/seo.ts +240 -0
- package/src/check/server-only-reads.ts +79 -0
- package/src/check/shadow-types.ts +613 -0
- package/src/check/shadow.ts +381 -0
- package/src/check/site-seo.ts +339 -0
- package/src/check/socket-routes.ts +75 -0
- package/src/check/status-pages.ts +30 -0
- package/src/check/template-hints.ts +477 -0
- package/src/check/tool-labels.ts +120 -0
- package/src/check/tool-outputs.ts +201 -0
- package/src/check/tsgo.ts +297 -0
- package/src/check/typing-stamp.ts +146 -0
- package/src/check/ui-tokens.ts +174 -0
- package/src/check/ui-types.ts +87 -0
- package/src/check/ui.ts +105 -0
- package/src/check/unmounted-jobs.ts +63 -0
- package/src/cli.ts +135 -0
- package/src/commands/a11y.ts +87 -0
- package/src/commands/add-peers.ts +20 -0
- package/src/commands/add.ts +51 -0
- package/src/commands/build.ts +234 -0
- package/src/commands/check.ts +417 -0
- package/src/commands/command.ts +535 -0
- package/src/commands/completion.ts +57 -0
- package/src/commands/dev.ts +131 -0
- package/src/commands/docs.ts +161 -0
- package/src/commands/doctor.ts +404 -0
- package/src/commands/editor.ts +56 -0
- package/src/commands/env-compare.ts +458 -0
- package/src/commands/env-declare.ts +256 -0
- package/src/commands/env.ts +192 -0
- package/src/commands/explain-island.ts +107 -0
- package/src/commands/explain.ts +94 -0
- package/src/commands/extensions.ts +87 -0
- package/src/commands/fix-path.ts +10 -0
- package/src/commands/fmt.ts +152 -0
- package/src/commands/generate.ts +60 -0
- package/src/commands/i18n.ts +153 -0
- package/src/commands/import-module.ts +19 -0
- package/src/commands/lint-cache.ts +61 -0
- package/src/commands/lint.ts +76 -0
- package/src/commands/lsp.ts +17 -0
- package/src/commands/mcp.ts +35 -0
- package/src/commands/migrate.ts +131 -0
- package/src/commands/new.ts +172 -0
- package/src/commands/not-found.ts +180 -0
- package/src/commands/project-checks.ts +52 -0
- package/src/commands/registry.ts +86 -0
- package/src/commands/render.ts +146 -0
- package/src/commands/routes.ts +295 -0
- package/src/commands/screenshot.ts +113 -0
- package/src/commands/start.ts +124 -0
- package/src/commands/test.ts +181 -0
- package/src/commands/types.ts +41 -0
- package/src/commands/upgrade.ts +838 -0
- package/src/compiler/a11y-markup.ts +352 -0
- package/src/compiler/a11y.ts +757 -0
- package/src/compiler/allow-comments.ts +68 -0
- package/src/compiler/aria.ts +298 -0
- package/src/compiler/ast.ts +960 -0
- package/src/compiler/browser.ts +468 -0
- package/src/compiler/class-name.ts +120 -0
- package/src/compiler/codegen.ts +1181 -0
- package/src/compiler/deprecated-lints.ts +97 -0
- package/src/compiler/deprecated-script-fence.ts +26 -0
- package/src/compiler/deprecated-ui-props.ts +67 -0
- package/src/compiler/diagnostics.ts +46 -0
- package/src/compiler/dom.ts +782 -0
- package/src/compiler/each-node.ts +20 -0
- package/src/compiler/else-problem.ts +28 -0
- package/src/compiler/errors.ts +605 -0
- package/src/compiler/estree-shapes.ts +44 -0
- package/src/compiler/estree.ts +126 -0
- package/src/compiler/event-modifiers.ts +96 -0
- package/src/compiler/expression.ts +102 -0
- package/src/compiler/fence-checks.ts +818 -0
- package/src/compiler/fence-nodes.ts +25 -0
- package/src/compiler/fence-redirects.ts +395 -0
- package/src/compiler/field-described.ts +45 -0
- package/src/compiler/fnv-hash.ts +9 -0
- package/src/compiler/format.ts +419 -0
- package/src/compiler/frame.ts +89 -0
- package/src/compiler/globals.ts +57 -0
- package/src/compiler/host.browser.ts +25 -0
- package/src/compiler/host.ts +33 -0
- package/src/compiler/html.ts +1024 -0
- package/src/compiler/i18n-lints.ts +29 -0
- package/src/compiler/if-alias.ts +124 -0
- package/src/compiler/import-edits.ts +47 -0
- package/src/compiler/index.ts +584 -0
- package/src/compiler/inspect.ts +32 -0
- package/src/compiler/island-arguments.ts +117 -0
- package/src/compiler/island-cause.ts +57 -0
- package/src/compiler/island-marker.ts +34 -0
- package/src/compiler/items.ts +245 -0
- package/src/compiler/jsx-class.ts +84 -0
- package/src/compiler/jsx-entities.ts +25 -0
- package/src/compiler/jsx.ts +985 -0
- package/src/compiler/kay-exports.ts +109 -0
- package/src/compiler/lints.ts +1080 -0
- package/src/compiler/load-facts.ts +51 -0
- package/src/compiler/load-plan.ts +227 -0
- package/src/compiler/loop-lints.ts +26 -0
- package/src/compiler/mapping.ts +403 -0
- package/src/compiler/markdown-block.ts +693 -0
- package/src/compiler/markup.ts +860 -0
- package/src/compiler/minor.ts +13 -0
- package/src/compiler/module-signals.ts +100 -0
- package/src/compiler/names.ts +39 -0
- package/src/compiler/native-typescript.ts +29 -0
- package/src/compiler/nesting.ts +111 -0
- package/src/compiler/object-literal.ts +136 -0
- package/src/compiler/own-markup.ts +75 -0
- package/src/compiler/page-settings.ts +12 -0
- package/src/compiler/parser.ts +1476 -0
- package/src/compiler/pattern-names.ts +31 -0
- package/src/compiler/plan.ts +288 -0
- package/src/compiler/public.ts +4 -0
- package/src/compiler/rewrite-reads.ts +459 -0
- package/src/compiler/rewrite-scan.ts +77 -0
- package/src/compiler/rewrite-tags.ts +95 -0
- package/src/compiler/rewrite-types.ts +78 -0
- package/src/compiler/rewrite.ts +865 -0
- package/src/compiler/route-lints.ts +49 -0
- package/src/compiler/scanner.ts +175 -0
- package/src/compiler/scope.ts +713 -0
- package/src/compiler/scoped-style.ts +480 -0
- package/src/compiler/script-fence.ts +257 -0
- package/src/compiler/script-props.ts +196 -0
- package/src/compiler/script-recipe.ts +152 -0
- package/src/compiler/script-server.ts +443 -0
- package/src/compiler/script-shared.ts +189 -0
- package/src/compiler/script-split.ts +227 -0
- package/src/compiler/script.ts +130 -0
- package/src/compiler/serial-awaits.ts +123 -0
- package/src/compiler/status-pages.ts +11 -0
- package/src/compiler/style-lints.ts +188 -0
- package/src/compiler/template-reads.ts +235 -0
- package/src/compiler/template-scopes.ts +125 -0
- package/src/compiler/twin.ts +6 -0
- package/src/compiler/unowned-effects.ts +136 -0
- package/src/compiler/validate-fixes.ts +74 -0
- package/src/compiler/validate.ts +839 -0
- package/src/compiler/walk.ts +70 -0
- package/src/config-extensions.ts +175 -0
- package/src/config-loader.ts +332 -0
- package/src/config-rules.ts +138 -0
- package/src/config-shape.ts +204 -0
- package/src/config.ts +627 -0
- package/src/content/claims.ts +67 -0
- package/src/content/drafts.ts +43 -0
- package/src/content/edit-entries.ts +927 -0
- package/src/content/edit-fields.ts +247 -0
- package/src/content/edit-registry.ts +47 -0
- package/src/content/edit-shared.ts +188 -0
- package/src/content/edit.ts +5 -0
- package/src/content/entry-head.ts +58 -0
- package/src/content/entry-route.ts +11 -0
- package/src/content/excerpt.ts +99 -0
- package/src/content/feed.ts +241 -0
- package/src/content/heading-id.ts +48 -0
- package/src/content/held-back.ts +15 -0
- package/src/content/humanize.ts +9 -0
- package/src/content/images.ts +203 -0
- package/src/content/index.ts +761 -0
- package/src/content/key.ts +9 -0
- package/src/content/load.ts +781 -0
- package/src/content/markdown-extensions.ts +284 -0
- package/src/content/markdown.ts +940 -0
- package/src/content/migrate.ts +195 -0
- package/src/content/modified.ts +75 -0
- package/src/content/paginate.ts +119 -0
- package/src/content/problems.ts +44 -0
- package/src/content/references.ts +72 -0
- package/src/content/rewrite.ts +97 -0
- package/src/content/server.ts +469 -0
- package/src/content/source-draft.ts +38 -0
- package/src/content/turns.ts +28 -0
- package/src/content/validate.ts +342 -0
- package/src/dev/address.ts +78 -0
- package/src/dev/base-proxy.ts +104 -0
- package/src/dev/builder.ts +104 -0
- package/src/dev/client.ts +158 -0
- package/src/dev/config-record.ts +65 -0
- package/src/dev/fingerprint.ts +327 -0
- package/src/dev/index.ts +480 -0
- package/src/dev/inspector.ts +248 -0
- package/src/dev/loopback.ts +25 -0
- package/src/dev/pages.ts +6 -0
- package/src/dev/preload.ts +425 -0
- package/src/dev/refuse.ts +29 -0
- package/src/dev/reload.ts +282 -0
- package/src/dev/render-server.ts +131 -0
- package/src/dev/render-socket.ts +53 -0
- package/src/dev/screenshot-diff.ts +76 -0
- package/src/dev/screenshot-limits.ts +17 -0
- package/src/dev/screenshot.ts +410 -0
- package/src/dev/session/client.ts +173 -0
- package/src/dev/session/keys.ts +51 -0
- package/src/dev/session/ports.ts +30 -0
- package/src/dev/session/queue.ts +133 -0
- package/src/dev/session/report.ts +172 -0
- package/src/dev/session/servers.ts +295 -0
- package/src/dev/session/types.ts +309 -0
- package/src/dev/sources.ts +265 -0
- package/src/dev/tailwind.ts +93 -0
- package/src/dev/types-process.ts +172 -0
- package/src/dev/types.ts +187 -0
- package/src/docs-props.ts +168 -0
- package/src/docs-search.ts +372 -0
- package/src/editors.ts +238 -0
- package/src/entities.ts +41 -0
- package/src/eslint/index.ts +455 -0
- package/src/features.ts +22 -0
- package/src/format/index.ts +75 -0
- package/src/format/tailwind.ts +190 -0
- package/src/generate-resource.ts +442 -0
- package/src/generate.ts +365 -0
- package/src/imports.ts +157 -0
- package/src/input-types.ts +2 -0
- package/src/keyword-attributes.ts +12 -0
- package/src/lsp/bridge.ts +80 -0
- package/src/lsp/code-actions.ts +71 -0
- package/src/lsp/completions.ts +270 -0
- package/src/lsp/component-props.ts +109 -0
- package/src/lsp/diagnostics.ts +217 -0
- package/src/lsp/document-links.ts +56 -0
- package/src/lsp/host.ts +112 -0
- package/src/lsp/island-lens.ts +41 -0
- package/src/lsp/mapping.ts +163 -0
- package/src/lsp/navigation.ts +207 -0
- package/src/lsp/outline.ts +233 -0
- package/src/lsp/positions.ts +13 -0
- package/src/lsp/project-checks.ts +119 -0
- package/src/lsp/protocol.ts +167 -0
- package/src/lsp/range-format.ts +62 -0
- package/src/lsp/rename.ts +115 -0
- package/src/lsp/renames.ts +126 -0
- package/src/lsp/route-links.ts +92 -0
- package/src/lsp/rpc.ts +185 -0
- package/src/lsp/semantic-tokens.ts +481 -0
- package/src/lsp/server.ts +557 -0
- package/src/lsp/template-completion.ts +361 -0
- package/src/lsp/ui-completion.ts +206 -0
- package/src/mcp/guards.ts +66 -0
- package/src/mcp/install.ts +7 -0
- package/src/mcp/protocol.ts +289 -0
- package/src/mcp/tools.ts +819 -0
- package/src/migrate/astro.ts +367 -0
- package/src/migrate/content.ts +242 -0
- package/src/migrate/html.ts +96 -0
- package/src/migrate/markup.ts +734 -0
- package/src/migrate/project.ts +365 -0
- package/src/native-plugins.ts +2 -0
- package/src/nearest.ts +23 -0
- package/src/new.ts +333 -0
- package/src/package-names.ts +25 -0
- package/src/peers.ts +82 -0
- package/src/project.ts +214 -0
- package/src/runtime/action-call.ts +504 -0
- package/src/runtime/action-encode.ts +57 -0
- package/src/runtime/action-error.ts +36 -0
- package/src/runtime/action-form.ts +332 -0
- package/src/runtime/action-marks.ts +10 -0
- package/src/runtime/action-navigate.ts +54 -0
- package/src/runtime/action-owner.ts +93 -0
- package/src/runtime/action-post.ts +146 -0
- package/src/runtime/action-protection.ts +49 -0
- package/src/runtime/action-revive.ts +21 -0
- package/src/runtime/action-reviver.ts +1 -0
- package/src/runtime/action-shared.ts +437 -0
- package/src/runtime/action-stream.ts +177 -0
- package/src/runtime/action.ts +102 -0
- package/src/runtime/analytics.client.ts +2 -0
- package/src/runtime/announce.ts +34 -0
- package/src/runtime/api-error-class.ts +15 -0
- package/src/runtime/api-error.ts +74 -0
- package/src/runtime/api-url.ts +82 -0
- package/src/runtime/arrival.ts +23 -0
- package/src/runtime/await.server.ts +203 -0
- package/src/runtime/await.ts +13 -0
- package/src/runtime/base.ts +144 -0
- package/src/runtime/build.ts +21 -0
- package/src/runtime/byte-count.ts +14 -0
- package/src/runtime/byte-size.ts +17 -0
- package/src/runtime/cache-live-id.ts +2 -0
- package/src/runtime/cache.server.ts +183 -0
- package/src/runtime/cache.ts +940 -0
- package/src/runtime/call-body.ts +29 -0
- package/src/runtime/call-result.ts +137 -0
- package/src/runtime/checks.ts +390 -0
- package/src/runtime/claimed.ts +20 -0
- package/src/runtime/class-table.ts +60 -0
- package/src/runtime/client.ts +439 -0
- package/src/runtime/connection.ts +174 -0
- package/src/runtime/consent.ts +87 -0
- package/src/runtime/core.ts +505 -0
- package/src/runtime/counters.ts +33 -0
- package/src/runtime/described.ts +76 -0
- package/src/runtime/dev-a11y.ts +142 -0
- package/src/runtime/dev-boot.ts +57 -0
- package/src/runtime/dev-inspector.ts +341 -0
- package/src/runtime/dev-patch.ts +167 -0
- package/src/runtime/dev-refresh.ts +14 -0
- package/src/runtime/dev-styles.ts +158 -0
- package/src/runtime/dev-tab-data.ts +197 -0
- package/src/runtime/dev-tab-env.ts +135 -0
- package/src/runtime/dev-tab-head.ts +282 -0
- package/src/runtime/dev-tab-i18n.ts +72 -0
- package/src/runtime/dev-tab-images.ts +319 -0
- package/src/runtime/dev-tab-jobs.ts +188 -0
- package/src/runtime/dev-tab-network.ts +230 -0
- package/src/runtime/dev-tab-not-found.ts +101 -0
- package/src/runtime/dev-tab-performance.ts +411 -0
- package/src/runtime/dev-tab-reading.ts +600 -0
- package/src/runtime/dev-tab-routes.ts +111 -0
- package/src/runtime/dev-tab-styles.ts +175 -0
- package/src/runtime/dev-tool-constants.ts +22 -0
- package/src/runtime/dev-tool-icons.ts +86 -0
- package/src/runtime/dev-tool-keys.ts +53 -0
- package/src/runtime/dev-tool-kit.ts +77 -0
- package/src/runtime/dev-tool-layout.ts +200 -0
- package/src/runtime/dev-tool-markdown.ts +144 -0
- package/src/runtime/dev-tool-outline.ts +44 -0
- package/src/runtime/dev-tool-parts.ts +332 -0
- package/src/runtime/dev-tool-problems.ts +310 -0
- package/src/runtime/dev-tool-request.ts +226 -0
- package/src/runtime/dev-tool-shell.ts +81 -0
- package/src/runtime/dev-tool-style.ts +242 -0
- package/src/runtime/dev-tool-swaps.ts +21 -0
- package/src/runtime/dev-tool-tab-order.ts +475 -0
- package/src/runtime/dev-tool-tabs.ts +205 -0
- package/src/runtime/dev-tool-vitals.ts +109 -0
- package/src/runtime/dev-tool-window.ts +213 -0
- package/src/runtime/dev-tool.public.ts +5 -0
- package/src/runtime/dev-tool.ts +332 -0
- package/src/runtime/dom-await.ts +102 -0
- package/src/runtime/dom-image.ts +15 -0
- package/src/runtime/dom-loop.ts +335 -0
- package/src/runtime/dom-spread.ts +106 -0
- package/src/runtime/dom-try.ts +58 -0
- package/src/runtime/dom.ts +1028 -0
- package/src/runtime/draft-issues.ts +23 -0
- package/src/runtime/duration-words.ts +21 -0
- package/src/runtime/duration.ts +60 -0
- package/src/runtime/edit.ts +108 -0
- package/src/runtime/element-size.ts +67 -0
- package/src/runtime/email.ts +65 -0
- package/src/runtime/ended-entry.ts +10 -0
- package/src/runtime/env.ts +41 -0
- package/src/runtime/escape.ts +47 -0
- package/src/runtime/fetch-island.ts +211 -0
- package/src/runtime/fields.ts +553 -0
- package/src/runtime/fills.ts +52 -0
- package/src/runtime/focus.ts +54 -0
- package/src/runtime/follow-log.ts +154 -0
- package/src/runtime/form-controls.ts +4 -0
- package/src/runtime/form-hold.ts +87 -0
- package/src/runtime/form-protect.ts +103 -0
- package/src/runtime/form-submits.ts +212 -0
- package/src/runtime/form.ts +178 -0
- package/src/runtime/forms.ts +335 -0
- package/src/runtime/french.ts +39 -0
- package/src/runtime/head.ts +502 -0
- package/src/runtime/html.ts +659 -0
- package/src/runtime/hydrate-when.ts +103 -0
- package/src/runtime/i18n-links.ts +44 -0
- package/src/runtime/i18n.client.ts +220 -0
- package/src/runtime/i18n.server.ts +138 -0
- package/src/runtime/i18n.ts +601 -0
- package/src/runtime/icons.ts +99 -0
- package/src/runtime/image.public.ts +3 -0
- package/src/runtime/image.ts +599 -0
- package/src/runtime/in-view.ts +91 -0
- package/src/runtime/index.ts +84 -0
- package/src/runtime/install-prompt.ts +97 -0
- package/src/runtime/internal.ts +195 -0
- package/src/runtime/invalid.ts +49 -0
- package/src/runtime/island-request.ts +48 -0
- package/src/runtime/island.client.ts +9 -0
- package/src/runtime/island.server.ts +390 -0
- package/src/runtime/jsx-runtime.ts +2 -0
- package/src/runtime/jsx.ts +257 -0
- package/src/runtime/keepalive.ts +21 -0
- package/src/runtime/lasting.ts +40 -0
- package/src/runtime/leave.ts +71 -0
- package/src/runtime/listen-with.ts +8 -0
- package/src/runtime/listener-set.ts +22 -0
- package/src/runtime/live-cache.ts +462 -0
- package/src/runtime/live-props.ts +48 -0
- package/src/runtime/live-resource.server.ts +92 -0
- package/src/runtime/live-value.client.ts +383 -0
- package/src/runtime/live-value.server.ts +696 -0
- package/src/runtime/live-value.shared.ts +104 -0
- package/src/runtime/live-value.ts +43 -0
- package/src/runtime/live.ts +1115 -0
- package/src/runtime/load-scope.ts +78 -0
- package/src/runtime/local-status.ts +8 -0
- package/src/runtime/local.ts +938 -0
- package/src/runtime/locale-state.ts +55 -0
- package/src/runtime/localized.ts +18 -0
- package/src/runtime/log.ts +52 -0
- package/src/runtime/markdown-render.client.ts +163 -0
- package/src/runtime/markdown-task.ts +16 -0
- package/src/runtime/markdown.client.ts +94 -0
- package/src/runtime/markdown.server.ts +25 -0
- package/src/runtime/markdown.ts +24 -0
- package/src/runtime/markers.ts +25 -0
- package/src/runtime/media-query.ts +30 -0
- package/src/runtime/mount.ts +71 -0
- package/src/runtime/move.ts +18 -0
- package/src/runtime/navigate-api.ts +117 -0
- package/src/runtime/navigate.ts +351 -0
- package/src/runtime/navigation-entry.ts +2 -0
- package/src/runtime/navigation-state.ts +124 -0
- package/src/runtime/navigation.ts +236 -0
- package/src/runtime/online.ts +27 -0
- package/src/runtime/optimistic.ts +107 -0
- package/src/runtime/outside.ts +68 -0
- package/src/runtime/page-data.ts +60 -0
- package/src/runtime/page-errors.ts +31 -0
- package/src/runtime/page-swap.ts +522 -0
- package/src/runtime/page-title.ts +69 -0
- package/src/runtime/params.ts +24 -0
- package/src/runtime/pending.ts +44 -0
- package/src/runtime/persist.ts +290 -0
- package/src/runtime/persisted.ts +146 -0
- package/src/runtime/placeholder.ts +41 -0
- package/src/runtime/poll-backoff.ts +85 -0
- package/src/runtime/prefetch.ts +149 -0
- package/src/runtime/presence.ts +93 -0
- package/src/runtime/preview.ts +65 -0
- package/src/runtime/push.ts +294 -0
- package/src/runtime/query-param.ts +292 -0
- package/src/runtime/queue-jobs.ts +50 -0
- package/src/runtime/random-id.ts +5 -0
- package/src/runtime/reactive-collections.ts +214 -0
- package/src/runtime/reactive.ts +840 -0
- package/src/runtime/recipe.ts +79 -0
- package/src/runtime/refetch-island.ts +25 -0
- package/src/runtime/refuse.ts +56 -0
- package/src/runtime/rendered.ts +17 -0
- package/src/runtime/report-error.ts +25 -0
- package/src/runtime/retry-later.ts +72 -0
- package/src/runtime/reveal.ts +47 -0
- package/src/runtime/root.ts +6 -0
- package/src/runtime/route.ts +83 -0
- package/src/runtime/safe-code.ts +25 -0
- package/src/runtime/safe-html.ts +51 -0
- package/src/runtime/sanitize.ts +375 -0
- package/src/runtime/save-data.ts +4 -0
- package/src/runtime/schema-bounds.ts +50 -0
- package/src/runtime/schema.client.ts +26 -0
- package/src/runtime/schema.ts +71 -0
- package/src/runtime/search-arrival.ts +107 -0
- package/src/runtime/search-results.ts +47 -0
- package/src/runtime/search.ts +325 -0
- package/src/runtime/send.ts +114 -0
- package/src/runtime/seo.ts +70 -0
- package/src/runtime/server-islands.ts +5 -0
- package/src/runtime/shortcut.ts +179 -0
- package/src/runtime/site.ts +37 -0
- package/src/runtime/size-text.ts +25 -0
- package/src/runtime/snapshots.ts +116 -0
- package/src/runtime/sqlite.server.ts +52 -0
- package/src/runtime/sse.ts +88 -0
- package/src/runtime/stale.ts +181 -0
- package/src/runtime/static-slots.ts +78 -0
- package/src/runtime/store-base.ts +11 -0
- package/src/runtime/store.ts +309 -0
- package/src/runtime/swap-fetch.ts +214 -0
- package/src/runtime/swap-flight.ts +84 -0
- package/src/runtime/swap-focus.ts +188 -0
- package/src/runtime/swap-head.ts +288 -0
- package/src/runtime/swap-held.ts +41 -0
- package/src/runtime/swap-kept.ts +289 -0
- package/src/runtime/swap-loading.ts +44 -0
- package/src/runtime/swap-morph.ts +198 -0
- package/src/runtime/swap-refusal.ts +40 -0
- package/src/runtime/swap-streamed.ts +161 -0
- package/src/runtime/swap-transition.ts +117 -0
- package/src/runtime/swap.ts +33 -0
- package/src/runtime/template-context.ts +79 -0
- package/src/runtime/transition.ts +227 -0
- package/src/runtime/ui.ts +32 -0
- package/src/runtime/uid.server.ts +69 -0
- package/src/runtime/uid.ts +56 -0
- package/src/runtime/upload.ts +49 -0
- package/src/runtime/url-attributes.ts +2 -0
- package/src/runtime/url-report.ts +24 -0
- package/src/runtime/url.ts +37 -0
- package/src/runtime/validate.ts +310 -0
- package/src/runtime/values.ts +293 -0
- package/src/runtime/visibility.ts +35 -0
- package/src/runtime/warn-once.ts +22 -0
- package/src/runtime/wire.ts +204 -0
- package/src/runtime/with-query.ts +64 -0
- package/src/runtime/words.client.ts +138 -0
- package/src/runtime/words.server.ts +53 -0
- package/src/runtime/work-worker.ts +4 -0
- package/src/runtime/work.client.ts +112 -0
- package/src/runtime/work.ts +85 -0
- package/src/server/accept-language.ts +37 -0
- package/src/server/action-clash.ts +7 -0
- package/src/server/action-hooks.ts +69 -0
- package/src/server/action-input.ts +58 -0
- package/src/server/action-iterable.ts +75 -0
- package/src/server/actions.ts +874 -0
- package/src/server/address.ts +172 -0
- package/src/server/analytics-script.ts +302 -0
- package/src/server/analytics-server.ts +563 -0
- package/src/server/analytics-words.ts +13 -0
- package/src/server/analytics.ts +423 -0
- package/src/server/api-modules.ts +235 -0
- package/src/server/api-params.ts +83 -0
- package/src/server/api.ts +922 -0
- package/src/server/app-database.ts +32 -0
- package/src/server/app-hooks.ts +147 -0
- package/src/server/app-identity.ts +70 -0
- package/src/server/app-stages.ts +798 -0
- package/src/server/app-store.ts +79 -0
- package/src/server/app.ts +218 -0
- package/src/server/auth-mails.ts +162 -0
- package/src/server/auto-listen.ts +177 -0
- package/src/server/avif-worker.ts +138 -0
- package/src/server/avif.ts +124 -0
- package/src/server/base.ts +136 -0
- package/src/server/basic-auth.ts +109 -0
- package/src/server/body.ts +179 -0
- package/src/server/build-files.ts +117 -0
- package/src/server/builtins.ts +8 -0
- package/src/server/bundle.ts +81 -0
- package/src/server/card-draw.ts +220 -0
- package/src/server/card-template.ts +256 -0
- package/src/server/card.ts +666 -0
- package/src/server/ceiling.ts +10 -0
- package/src/server/clean-context.ts +6 -0
- package/src/server/client.ts +607 -0
- package/src/server/codec/avif-enc-build.ts +2 -0
- package/src/server/codec/avif-enc.d.ts +15 -0
- package/src/server/codec/avif-enc.js +2 -0
- package/src/server/codec/avif-enc.wasm +0 -0
- package/src/server/compress-policy.ts +40 -0
- package/src/server/compress.ts +1010 -0
- package/src/server/config-error.ts +54 -0
- package/src/server/config-limits.ts +166 -0
- package/src/server/consent-cookie.ts +10 -0
- package/src/server/context-layout/_layout.kay +7 -0
- package/src/server/context-reads.ts +33 -0
- package/src/server/context-record.ts +58 -0
- package/src/server/context-values.ts +181 -0
- package/src/server/cookie-names.ts +10 -0
- package/src/server/cookies.ts +159 -0
- package/src/server/cors.ts +235 -0
- package/src/server/crop.ts +153 -0
- package/src/server/cross-site.ts +155 -0
- package/src/server/csp.ts +40 -0
- package/src/server/dev-data.ts +558 -0
- package/src/server/dev-errors.ts +270 -0
- package/src/server/dev-footprint.ts +19 -0
- package/src/server/dev-head.ts +95 -0
- package/src/server/dev-jobs.ts +59 -0
- package/src/server/dev-not-found.ts +96 -0
- package/src/server/dev-notes.ts +12 -0
- package/src/server/dev-offered.ts +13 -0
- package/src/server/dev-secret.ts +65 -0
- package/src/server/dev-sizes.ts +114 -0
- package/src/server/dev-sqlite-worker.ts +96 -0
- package/src/server/dev-ui.ts +299 -0
- package/src/server/dev.ts +875 -0
- package/src/server/dictionary.ts +190 -0
- package/src/server/drain.ts +40 -0
- package/src/server/editor.ts +79 -0
- package/src/server/endpoint-claims.ts +29 -0
- package/src/server/endpoint-verbs.ts +43 -0
- package/src/server/endpoints.ts +417 -0
- package/src/server/entry-drafts.ts +151 -0
- package/src/server/entry-head.ts +50 -0
- package/src/server/entry-urls.ts +150 -0
- package/src/server/env-state.ts +146 -0
- package/src/server/env.ts +375 -0
- package/src/server/error-maps.ts +137 -0
- package/src/server/errors.ts +109 -0
- package/src/server/event-stream.ts +213 -0
- package/src/server/face.ts +788 -0
- package/src/server/favicon.png +0 -0
- package/src/server/favicon.svg +1 -0
- package/src/server/favicon.ts +342 -0
- package/src/server/fetch-public.ts +118 -0
- package/src/server/field-errors.ts +136 -0
- package/src/server/file-limit.ts +62 -0
- package/src/server/file-type.ts +46 -0
- package/src/server/flash.ts +140 -0
- package/src/server/font-metrics.ts +294 -0
- package/src/server/fonts.ts +344 -0
- package/src/server/forms.ts +89 -0
- package/src/server/guard-requirement.ts +16 -0
- package/src/server/guard-runs.ts +30 -0
- package/src/server/guards.ts +66 -0
- package/src/server/handler-timing.ts +12 -0
- package/src/server/history.ts +3 -0
- package/src/server/hooks.ts +170 -0
- package/src/server/host-allowlist.ts +63 -0
- package/src/server/hydration.ts +7 -0
- package/src/server/i18n.ts +534 -0
- package/src/server/image-color.ts +79 -0
- package/src/server/image-format.ts +181 -0
- package/src/server/image-limits.ts +88 -0
- package/src/server/image-metadata-bmff.ts +243 -0
- package/src/server/image-metadata.ts +316 -0
- package/src/server/image.ts +833 -0
- package/src/server/index.ts +149 -0
- package/src/server/internal.ts +8 -0
- package/src/server/job-admin.ts +197 -0
- package/src/server/job-status.ts +8 -0
- package/src/server/job-steps.ts +2 -0
- package/src/server/jobs-page.ts +137 -0
- package/src/server/jobs.ts +403 -0
- package/src/server/kept-exports.ts +174 -0
- package/src/server/kept-pages.ts +117 -0
- package/src/server/kept-source.ts +609 -0
- package/src/server/kv.ts +201 -0
- package/src/server/lazy-guard.ts +71 -0
- package/src/server/library.ts +142 -0
- package/src/server/lifecycle.ts +378 -0
- package/src/server/limit.ts +33 -0
- package/src/server/link-schemes.ts +23 -0
- package/src/server/links.ts +238 -0
- package/src/server/literal-writes.ts +756 -0
- package/src/server/live.ts +628 -0
- package/src/server/load-budget.ts +69 -0
- package/src/server/loader.ts +180 -0
- package/src/server/loading-page.ts +41 -0
- package/src/server/local-files.ts +26 -0
- package/src/server/log.ts +282 -0
- package/src/server/maintenance.ts +141 -0
- package/src/server/mcp-key.ts +165 -0
- package/src/server/mcp.ts +731 -0
- package/src/server/memory-jobs.ts +168 -0
- package/src/server/memory-mark.ts +12 -0
- package/src/server/message-drafts.ts +284 -0
- package/src/server/metrics.ts +199 -0
- package/src/server/missing-hits.ts +41 -0
- package/src/server/module-state.ts +327 -0
- package/src/server/new-tab.ts +28 -0
- package/src/server/not-found-config.ts +160 -0
- package/src/server/not-found.ts +828 -0
- package/src/server/notifications.ts +358 -0
- package/src/server/offline.ts +558 -0
- package/src/server/openapi.ts +522 -0
- package/src/server/option-keys.ts +15 -0
- package/src/server/overlay.ts +196 -0
- package/src/server/own-headers.ts +221 -0
- package/src/server/page-error.ts +57 -0
- package/src/server/page-flags.ts +15 -0
- package/src/server/page-headers.ts +93 -0
- package/src/server/page-hook.ts +201 -0
- package/src/server/page-limits.ts +142 -0
- package/src/server/page-reads.ts +63 -0
- package/src/server/page-routes.ts +377 -0
- package/src/server/page-settings.ts +66 -0
- package/src/server/params.ts +197 -0
- package/src/server/parent.ts +8 -0
- package/src/server/personal-data.ts +47 -0
- package/src/server/pg-cache.ts +181 -0
- package/src/server/pg-data.ts +254 -0
- package/src/server/pg-jobs.ts +511 -0
- package/src/server/pg-limit.ts +51 -0
- package/src/server/pg-live.ts +287 -0
- package/src/server/pg-not-found.ts +440 -0
- package/src/server/pg-notify.ts +216 -0
- package/src/server/pg-orm.ts +26 -0
- package/src/server/pg-poll.ts +341 -0
- package/src/server/pg-redirects.ts +210 -0
- package/src/server/pg-rooms.ts +550 -0
- package/src/server/pg-sql.ts +16 -0
- package/src/server/pg-stores.ts +356 -0
- package/src/server/plugin.ts +30 -0
- package/src/server/plumbing.ts +90 -0
- package/src/server/png.ts +108 -0
- package/src/server/prebuilt-loader.ts +110 -0
- package/src/server/prerender.ts +750 -0
- package/src/server/prerendered.ts +162 -0
- package/src/server/presence.ts +251 -0
- package/src/server/preview.ts +703 -0
- package/src/server/private-dir.ts +87 -0
- package/src/server/protection.ts +1121 -0
- package/src/server/proxy-key.ts +101 -0
- package/src/server/public-suffix.ts +59 -0
- package/src/server/public-suffixes.ts +502 -0
- package/src/server/public.ts +299 -0
- package/src/server/publishing.ts +176 -0
- package/src/server/pure-page.ts +398 -0
- package/src/server/push-crypto.ts +154 -0
- package/src/server/push-keys-command.ts +25 -0
- package/src/server/push-server.ts +124 -0
- package/src/server/push-settings.ts +67 -0
- package/src/server/push-store.ts +182 -0
- package/src/server/push.ts +464 -0
- package/src/server/query.ts +265 -0
- package/src/server/queue-live.ts +291 -0
- package/src/server/queue-scheduler.ts +421 -0
- package/src/server/queue-telling.ts +53 -0
- package/src/server/queue.ts +955 -0
- package/src/server/raster.ts +176 -0
- package/src/server/rate-limit.ts +65 -0
- package/src/server/rate-refusal.ts +36 -0
- package/src/server/reach-walk.ts +65 -0
- package/src/server/reach.ts +124 -0
- package/src/server/redirect-spelling.ts +57 -0
- package/src/server/redirects.ts +182 -0
- package/src/server/reload.ts +88 -0
- package/src/server/remote.ts +358 -0
- package/src/server/render-document.ts +521 -0
- package/src/server/render.ts +1022 -0
- package/src/server/report.ts +103 -0
- package/src/server/request-read.ts +38 -0
- package/src/server/request-record.ts +105 -0
- package/src/server/request-scope.ts +58 -0
- package/src/server/request-timeout.ts +209 -0
- package/src/server/request-url.ts +47 -0
- package/src/server/request-user.ts +25 -0
- package/src/server/resources.ts +132 -0
- package/src/server/response-mismatch.ts +21 -0
- package/src/server/revalidate.ts +100 -0
- package/src/server/rewrite.ts +143 -0
- package/src/server/rooms.ts +646 -0
- package/src/server/route-table.ts +155 -0
- package/src/server/routes.ts +901 -0
- package/src/server/runtime-redirect-api.ts +227 -0
- package/src/server/runtime-redirects.ts +438 -0
- package/src/server/safe-path.ts +26 -0
- package/src/server/save-data.ts +150 -0
- package/src/server/schema-answer.ts +42 -0
- package/src/server/schema-check.ts +102 -0
- package/src/server/scope.ts +128 -0
- package/src/server/seal.ts +73 -0
- package/src/server/security.ts +289 -0
- package/src/server/seo.ts +234 -0
- package/src/server/served-paths.ts +135 -0
- package/src/server/server-islands.ts +175 -0
- package/src/server/server-record.ts +80 -0
- package/src/server/serving.ts +35 -0
- package/src/server/session.ts +782 -0
- package/src/server/setup.ts +252 -0
- package/src/server/sha256.ts +15 -0
- package/src/server/signals.ts +87 -0
- package/src/server/signed.ts +62 -0
- package/src/server/site-facts.ts +19 -0
- package/src/server/site-paths.ts +3 -0
- package/src/server/sitemap.ts +413 -0
- package/src/server/snake-case.ts +6 -0
- package/src/server/source.ts +169 -0
- package/src/server/speculation.ts +57 -0
- package/src/server/sqlite-data.ts +19 -0
- package/src/server/sqlite-live.ts +200 -0
- package/src/server/stale-pages.ts +105 -0
- package/src/server/stamp.ts +222 -0
- package/src/server/storage.ts +614 -0
- package/src/server/stream.ts +307 -0
- package/src/server/string.ts +79 -0
- package/src/server/svg-icon.ts +76 -0
- package/src/server/swap.ts +4 -0
- package/src/server/tool-outputs.ts +71 -0
- package/src/server/tool-settings.ts +12 -0
- package/src/server/trace-context.ts +89 -0
- package/src/server/trace.ts +198 -0
- package/src/server/translations.ts +30 -0
- package/src/server/typography.ts +248 -0
- package/src/server/uncaught.ts +60 -0
- package/src/server/unsafe-urls.ts +29 -0
- package/src/server/violations.ts +159 -0
- package/src/server/visit.ts +54 -0
- package/src/server/vitals-routes/_guard.ts +12 -0
- package/src/server/vitals-routes/index.kay +45 -0
- package/src/server/vitals-routes/vitals.css +30 -0
- package/src/server/vitals-screen.ts +24 -0
- package/src/server/vitals-script.ts +102 -0
- package/src/server/vitals-server.ts +134 -0
- package/src/server/vitals-store.ts +233 -0
- package/src/server/vitals.ts +80 -0
- package/src/server/wasm.d.ts +6 -0
- package/src/server/web-socket.ts +13 -0
- package/src/server/wildcards.ts +87 -0
- package/src/server/words.ts +145 -0
- package/src/server/work-scope.ts +65 -0
- package/src/server/work.ts +90 -0
- package/src/server/workers.ts +293 -0
- package/src/server/workflow.ts +520 -0
- package/src/server/writes.ts +161 -0
- package/src/server/ws-limits.ts +201 -0
- package/src/svg-attributes.ts +240 -0
- package/src/template-auth.ts +79 -0
- package/src/template-ci.ts +156 -0
- package/src/template-config.ts +36 -0
- package/src/template-docker.ts +260 -0
- package/src/template-pins.ts +14 -0
- package/src/template-shared.ts +53 -0
- package/src/template-starter.ts +110 -0
- package/src/template-styles.ts +154 -0
- package/src/template-ws.ts +57 -0
- package/src/templates.ts +76 -0
- package/src/test/browser.ts +1281 -0
- package/src/test/clock.ts +121 -0
- package/src/test/content.ts +345 -0
- package/src/test/cookies.ts +94 -0
- package/src/test/database.ts +57 -0
- package/src/test/dom.ts +90 -0
- package/src/test/env.ts +58 -0
- package/src/test/index.ts +568 -0
- package/src/test/interact.ts +134 -0
- package/src/test/isolation.ts +19 -0
- package/src/test/lazy-plugins.ts +269 -0
- package/src/test/mount.ts +246 -0
- package/src/test/natives.ts +44 -0
- package/src/test/network.ts +678 -0
- package/src/test/outputs.ts +54 -0
- package/src/test/override-env.ts +40 -0
- package/src/test/page-types.ts +150 -0
- package/src/test/page.ts +338 -0
- package/src/test/preload.ts +27 -0
- package/src/test/reset.ts +13 -0
- package/src/test/root.ts +13 -0
- package/src/test/scratch.ts +12 -0
- package/src/test/service.ts +174 -0
- package/src/test/shared-modules.ts +328 -0
- package/src/test/site-actions.ts +142 -0
- package/src/test/site-api.ts +19 -0
- package/src/test/site-mcp.ts +36 -0
- package/src/test/site-scope.ts +35 -0
- package/src/test/site-socket.ts +125 -0
- package/src/test/site-types.ts +155 -0
- package/src/test/sites.ts +29 -0
- package/src/test/timeout.ts +45 -0
- package/src/test/wait.ts +34 -0
- package/src/test/writable.ts +20 -0
- package/src/tsconfig.app.json +21 -0
- package/src/tsgo.ts +18 -0
- package/types/a11y/audit.d.ts +32 -0
- package/types/a11y/audit.d.ts.map +1 -0
- package/types/a11y/report.d.ts +20 -0
- package/types/a11y/report.d.ts.map +1 -0
- package/types/a11y/rgaa-criteria.d.ts +5 -0
- package/types/a11y/rgaa-criteria.d.ts.map +1 -0
- package/types/a11y/standards.d.ts +17 -0
- package/types/a11y/standards.d.ts.map +1 -0
- package/types/a11y/targets.d.ts +20 -0
- package/types/a11y/targets.d.ts.map +1 -0
- package/types/add.d.ts +56 -0
- package/types/add.d.ts.map +1 -0
- package/types/build/action-calls.d.ts +2 -0
- package/types/build/action-calls.d.ts.map +1 -0
- package/types/build/assets.d.ts +17 -0
- package/types/build/assets.d.ts.map +1 -0
- package/types/build/budget.d.ts +17 -0
- package/types/build/budget.d.ts.map +1 -0
- package/types/build/bun.d.ts +9 -0
- package/types/build/bun.d.ts.map +1 -0
- package/types/build/cache-ids.d.ts +2 -0
- package/types/build/cache-ids.d.ts.map +1 -0
- package/types/build/cache.d.ts +15 -0
- package/types/build/cache.d.ts.map +1 -0
- package/types/build/captured-loads.d.ts +19 -0
- package/types/build/captured-loads.d.ts.map +1 -0
- package/types/build/class-rules.d.ts +14 -0
- package/types/build/class-rules.d.ts.map +1 -0
- package/types/build/class-sources.d.ts +29 -0
- package/types/build/class-sources.d.ts.map +1 -0
- package/types/build/class-table.d.ts +8 -0
- package/types/build/class-table.d.ts.map +1 -0
- package/types/build/client.d.ts +82 -0
- package/types/build/client.d.ts.map +1 -0
- package/types/build/collection-components.d.ts +5 -0
- package/types/build/collection-components.d.ts.map +1 -0
- package/types/build/compile.d.ts +22 -0
- package/types/build/compile.d.ts.map +1 -0
- package/types/build/compressed.d.ts +7 -0
- package/types/build/compressed.d.ts.map +1 -0
- package/types/build/direct-imports.d.ts +2 -0
- package/types/build/direct-imports.d.ts.map +1 -0
- package/types/build/dynamic-classes.d.ts +12 -0
- package/types/build/dynamic-classes.d.ts.map +1 -0
- package/types/build/favicons.d.ts +4 -0
- package/types/build/favicons.d.ts.map +1 -0
- package/types/build/files.d.ts +56 -0
- package/types/build/files.d.ts.map +1 -0
- package/types/build/fingerprint.d.ts +3 -0
- package/types/build/fingerprint.d.ts.map +1 -0
- package/types/build/footprint-models.d.ts +24 -0
- package/types/build/footprint-models.d.ts.map +1 -0
- package/types/build/footprint.d.ts +44 -0
- package/types/build/footprint.d.ts.map +1 -0
- package/types/build/glob.d.ts +10 -0
- package/types/build/glob.d.ts.map +1 -0
- package/types/build/globbed.d.ts +2 -0
- package/types/build/globbed.d.ts.map +1 -0
- package/types/build/header-files.d.ts +4 -0
- package/types/build/header-files.d.ts.map +1 -0
- package/types/build/icons.d.ts +9 -0
- package/types/build/icons.d.ts.map +1 -0
- package/types/build/increments.d.ts +50 -0
- package/types/build/increments.d.ts.map +1 -0
- package/types/build/insert-ids.d.ts +10 -0
- package/types/build/insert-ids.d.ts.map +1 -0
- package/types/build/kept-maps.d.ts +3 -0
- package/types/build/kept-maps.d.ts.map +1 -0
- package/types/build/kept.d.ts +5 -0
- package/types/build/kept.d.ts.map +1 -0
- package/types/build/layer-order.d.ts +2 -0
- package/types/build/layer-order.d.ts.map +1 -0
- package/types/build/libraries.d.ts +53 -0
- package/types/build/libraries.d.ts.map +1 -0
- package/types/build/licenses.d.ts +16 -0
- package/types/build/licenses.d.ts.map +1 -0
- package/types/build/links.d.ts +3 -0
- package/types/build/links.d.ts.map +1 -0
- package/types/build/live-ids.d.ts +3 -0
- package/types/build/live-ids.d.ts.map +1 -0
- package/types/build/manifests.d.ts +26 -0
- package/types/build/manifests.d.ts.map +1 -0
- package/types/build/named-refresh.d.ts +3 -0
- package/types/build/named-refresh.d.ts.map +1 -0
- package/types/build/navigation-locale.d.ts +3 -0
- package/types/build/navigation-locale.d.ts.map +1 -0
- package/types/build/page-dirs.d.ts +8 -0
- package/types/build/page-dirs.d.ts.map +1 -0
- package/types/build/pipeline.d.ts +60 -0
- package/types/build/pipeline.d.ts.map +1 -0
- package/types/build/plugin.d.ts +30 -0
- package/types/build/plugin.d.ts.map +1 -0
- package/types/build/probe.d.ts +6 -0
- package/types/build/probe.d.ts.map +1 -0
- package/types/build/prune.d.ts +5 -0
- package/types/build/prune.d.ts.map +1 -0
- package/types/build/recipe-classes.d.ts +11 -0
- package/types/build/recipe-classes.d.ts.map +1 -0
- package/types/build/references.d.ts +7 -0
- package/types/build/references.d.ts.map +1 -0
- package/types/build/report.d.ts +95 -0
- package/types/build/report.d.ts.map +1 -0
- package/types/build/route-sizes.d.ts +7 -0
- package/types/build/route-sizes.d.ts.map +1 -0
- package/types/build/runtime-chunk.d.ts +25 -0
- package/types/build/runtime-chunk.d.ts.map +1 -0
- package/types/build/runtime-config.d.ts +3 -0
- package/types/build/runtime-config.d.ts.map +1 -0
- package/types/build/search.d.ts +7 -0
- package/types/build/search.d.ts.map +1 -0
- package/types/build/server-only.d.ts +40 -0
- package/types/build/server-only.d.ts.map +1 -0
- package/types/build/server-record.d.ts +4 -0
- package/types/build/server-record.d.ts.map +1 -0
- package/types/build/signals.d.ts +5 -0
- package/types/build/signals.d.ts.map +1 -0
- package/types/build/source-files.d.ts +15 -0
- package/types/build/source-files.d.ts.map +1 -0
- package/types/build/source-parses.d.ts +22 -0
- package/types/build/source-parses.d.ts.map +1 -0
- package/types/build/sourcemap.d.ts +29 -0
- package/types/build/sourcemap.d.ts.map +1 -0
- package/types/build/static.d.ts +11 -0
- package/types/build/static.d.ts.map +1 -0
- package/types/build/style-uses.d.ts +19 -0
- package/types/build/style-uses.d.ts.map +1 -0
- package/types/build/styles.d.ts +12 -0
- package/types/build/styles.d.ts.map +1 -0
- package/types/build/supports.d.ts +16 -0
- package/types/build/supports.d.ts.map +1 -0
- package/types/build/theme-vars.d.ts +2 -0
- package/types/build/theme-vars.d.ts.map +1 -0
- package/types/build/transform.d.ts +47 -0
- package/types/build/transform.d.ts.map +1 -0
- package/types/build/ui-info.d.ts +27 -0
- package/types/build/ui-info.d.ts.map +1 -0
- package/types/build/ui.d.ts +51 -0
- package/types/build/ui.d.ts.map +1 -0
- package/types/build/variants.d.ts +21 -0
- package/types/build/variants.d.ts.map +1 -0
- package/types/build/verify.d.ts +14 -0
- package/types/build/verify.d.ts.map +1 -0
- package/types/build/warn-classes.d.ts +4 -0
- package/types/build/warn-classes.d.ts.map +1 -0
- package/types/build/worker-bundle.d.ts +16 -0
- package/types/build/worker-bundle.d.ts.map +1 -0
- package/types/bun.d.ts +9 -0
- package/types/bun.d.ts.map +1 -0
- package/types/check/api-modules.d.ts +11 -0
- package/types/check/api-modules.d.ts.map +1 -0
- package/types/check/api-scope.d.ts +13 -0
- package/types/check/api-scope.d.ts.map +1 -0
- package/types/check/ast.d.ts +10 -0
- package/types/check/ast.d.ts.map +1 -0
- package/types/check/bindings.d.ts +4 -0
- package/types/check/bindings.d.ts.map +1 -0
- package/types/check/boot.d.ts +6 -0
- package/types/check/boot.d.ts.map +1 -0
- package/types/check/browser-global-reads.d.ts +8 -0
- package/types/check/browser-global-reads.d.ts.map +1 -0
- package/types/check/builtin-imports.d.ts +5 -0
- package/types/check/builtin-imports.d.ts.map +1 -0
- package/types/check/class-words.d.ts +7 -0
- package/types/check/class-words.d.ts.map +1 -0
- package/types/check/config-keys.d.ts +7 -0
- package/types/check/config-keys.d.ts.map +1 -0
- package/types/check/diagnose.d.ts +36 -0
- package/types/check/diagnose.d.ts.map +1 -0
- package/types/check/dockerfile.d.ts +4 -0
- package/types/check/dockerfile.d.ts.map +1 -0
- package/types/check/endpoint-exports.d.ts +4 -0
- package/types/check/endpoint-exports.d.ts.map +1 -0
- package/types/check/env-types.d.ts +8 -0
- package/types/check/env-types.d.ts.map +1 -0
- package/types/check/export-homes.d.ts +6 -0
- package/types/check/export-homes.d.ts.map +1 -0
- package/types/check/fixes.d.ts +3 -0
- package/types/check/fixes.d.ts.map +1 -0
- package/types/check/generated.d.ts +25 -0
- package/types/check/generated.d.ts.map +1 -0
- package/types/check/guards.d.ts +5 -0
- package/types/check/guards.d.ts.map +1 -0
- package/types/check/index.d.ts +34 -0
- package/types/check/index.d.ts.map +1 -0
- package/types/check/island-modules.d.ts +21 -0
- package/types/check/island-modules.d.ts.map +1 -0
- package/types/check/island-only.d.ts +11 -0
- package/types/check/island-only.d.ts.map +1 -0
- package/types/check/large-images.d.ts +5 -0
- package/types/check/large-images.d.ts.map +1 -0
- package/types/check/layout-facts.d.ts +8 -0
- package/types/check/layout-facts.d.ts.map +1 -0
- package/types/check/loaded.d.ts +8 -0
- package/types/check/loaded.d.ts.map +1 -0
- package/types/check/local-state.d.ts +3 -0
- package/types/check/local-state.d.ts.map +1 -0
- package/types/check/loop-index-fix.d.ts +4 -0
- package/types/check/loop-index-fix.d.ts.map +1 -0
- package/types/check/mcp-routes.d.ts +4 -0
- package/types/check/mcp-routes.d.ts.map +1 -0
- package/types/check/messages.d.ts +7 -0
- package/types/check/messages.d.ts.map +1 -0
- package/types/check/missing-imports.d.ts +5 -0
- package/types/check/missing-imports.d.ts.map +1 -0
- package/types/check/open-settings.d.ts +4 -0
- package/types/check/open-settings.d.ts.map +1 -0
- package/types/check/output-schema.d.ts +5 -0
- package/types/check/output-schema.d.ts.map +1 -0
- package/types/check/page-heads.d.ts +5 -0
- package/types/check/page-heads.d.ts.map +1 -0
- package/types/check/page-structure.d.ts +8 -0
- package/types/check/page-structure.d.ts.map +1 -0
- package/types/check/persisted-storage.d.ts +3 -0
- package/types/check/persisted-storage.d.ts.map +1 -0
- package/types/check/project.d.ts +37 -0
- package/types/check/project.d.ts.map +1 -0
- package/types/check/public-env-outside-src.d.ts +3 -0
- package/types/check/public-env-outside-src.d.ts.map +1 -0
- package/types/check/queries.d.ts +4 -0
- package/types/check/queries.d.ts.map +1 -0
- package/types/check/removed-ui-tokens.d.ts +3 -0
- package/types/check/removed-ui-tokens.d.ts.map +1 -0
- package/types/check/renamed-call-options.d.ts +14 -0
- package/types/check/renamed-call-options.d.ts.map +1 -0
- package/types/check/renamed-exports.d.ts +32 -0
- package/types/check/renamed-exports.d.ts.map +1 -0
- package/types/check/renamed-packages.d.ts +5 -0
- package/types/check/renamed-packages.d.ts.map +1 -0
- package/types/check/schema-type.d.ts +3 -0
- package/types/check/schema-type.d.ts.map +1 -0
- package/types/check/seo.d.ts +55 -0
- package/types/check/seo.d.ts.map +1 -0
- package/types/check/server-only-reads.d.ts +5 -0
- package/types/check/server-only-reads.d.ts.map +1 -0
- package/types/check/shadow-types.d.ts +48 -0
- package/types/check/shadow-types.d.ts.map +1 -0
- package/types/check/shadow.d.ts +62 -0
- package/types/check/shadow.d.ts.map +1 -0
- package/types/check/site-seo.d.ts +21 -0
- package/types/check/site-seo.d.ts.map +1 -0
- package/types/check/socket-routes.d.ts +4 -0
- package/types/check/socket-routes.d.ts.map +1 -0
- package/types/check/status-pages.d.ts +4 -0
- package/types/check/status-pages.d.ts.map +1 -0
- package/types/check/template-hints.d.ts +9 -0
- package/types/check/template-hints.d.ts.map +1 -0
- package/types/check/tool-labels.d.ts +3 -0
- package/types/check/tool-labels.d.ts.map +1 -0
- package/types/check/tool-outputs.d.ts +6 -0
- package/types/check/tool-outputs.d.ts.map +1 -0
- package/types/check/tsgo.d.ts +18 -0
- package/types/check/tsgo.d.ts.map +1 -0
- package/types/check/typing-stamp.d.ts +2 -0
- package/types/check/typing-stamp.d.ts.map +1 -0
- package/types/check/ui-tokens.d.ts +16 -0
- package/types/check/ui-tokens.d.ts.map +1 -0
- package/types/check/ui-types.d.ts +3 -0
- package/types/check/ui-types.d.ts.map +1 -0
- package/types/check/ui.d.ts +7 -0
- package/types/check/ui.d.ts.map +1 -0
- package/types/check/unmounted-jobs.d.ts +3 -0
- package/types/check/unmounted-jobs.d.ts.map +1 -0
- package/types/cli.d.ts +3 -0
- package/types/cli.d.ts.map +1 -0
- package/types/commands/a11y.d.ts +3 -0
- package/types/commands/a11y.d.ts.map +1 -0
- package/types/commands/add-peers.d.ts +2 -0
- package/types/commands/add-peers.d.ts.map +1 -0
- package/types/commands/add.d.ts +3 -0
- package/types/commands/add.d.ts.map +1 -0
- package/types/commands/build.d.ts +3 -0
- package/types/commands/build.d.ts.map +1 -0
- package/types/commands/check.d.ts +3 -0
- package/types/commands/check.d.ts.map +1 -0
- package/types/commands/command.d.ts +87 -0
- package/types/commands/command.d.ts.map +1 -0
- package/types/commands/completion.d.ts +5 -0
- package/types/commands/completion.d.ts.map +1 -0
- package/types/commands/dev.d.ts +3 -0
- package/types/commands/dev.d.ts.map +1 -0
- package/types/commands/docs.d.ts +3 -0
- package/types/commands/docs.d.ts.map +1 -0
- package/types/commands/doctor.d.ts +12 -0
- package/types/commands/doctor.d.ts.map +1 -0
- package/types/commands/editor.d.ts +3 -0
- package/types/commands/editor.d.ts.map +1 -0
- package/types/commands/env-compare.d.ts +25 -0
- package/types/commands/env-compare.d.ts.map +1 -0
- package/types/commands/env-declare.d.ts +5 -0
- package/types/commands/env-declare.d.ts.map +1 -0
- package/types/commands/env.d.ts +14 -0
- package/types/commands/env.d.ts.map +1 -0
- package/types/commands/explain-island.d.ts +3 -0
- package/types/commands/explain-island.d.ts.map +1 -0
- package/types/commands/explain.d.ts +3 -0
- package/types/commands/explain.d.ts.map +1 -0
- package/types/commands/extensions.d.ts +17 -0
- package/types/commands/extensions.d.ts.map +1 -0
- package/types/commands/fix-path.d.ts +2 -0
- package/types/commands/fix-path.d.ts.map +1 -0
- package/types/commands/fmt.d.ts +3 -0
- package/types/commands/fmt.d.ts.map +1 -0
- package/types/commands/generate.d.ts +3 -0
- package/types/commands/generate.d.ts.map +1 -0
- package/types/commands/i18n.d.ts +4 -0
- package/types/commands/i18n.d.ts.map +1 -0
- package/types/commands/import-module.d.ts +4 -0
- package/types/commands/import-module.d.ts.map +1 -0
- package/types/commands/lint-cache.d.ts +2 -0
- package/types/commands/lint-cache.d.ts.map +1 -0
- package/types/commands/lint.d.ts +3 -0
- package/types/commands/lint.d.ts.map +1 -0
- package/types/commands/lsp.d.ts +3 -0
- package/types/commands/lsp.d.ts.map +1 -0
- package/types/commands/mcp.d.ts +3 -0
- package/types/commands/mcp.d.ts.map +1 -0
- package/types/commands/migrate.d.ts +3 -0
- package/types/commands/migrate.d.ts.map +1 -0
- package/types/commands/new.d.ts +3 -0
- package/types/commands/new.d.ts.map +1 -0
- package/types/commands/not-found.d.ts +3 -0
- package/types/commands/not-found.d.ts.map +1 -0
- package/types/commands/project-checks.d.ts +4 -0
- package/types/commands/project-checks.d.ts.map +1 -0
- package/types/commands/registry.d.ts +13 -0
- package/types/commands/registry.d.ts.map +1 -0
- package/types/commands/render.d.ts +3 -0
- package/types/commands/render.d.ts.map +1 -0
- package/types/commands/routes.d.ts +18 -0
- package/types/commands/routes.d.ts.map +1 -0
- package/types/commands/screenshot.d.ts +3 -0
- package/types/commands/screenshot.d.ts.map +1 -0
- package/types/commands/start.d.ts +3 -0
- package/types/commands/start.d.ts.map +1 -0
- package/types/commands/test.d.ts +3 -0
- package/types/commands/test.d.ts.map +1 -0
- package/types/commands/types.d.ts +3 -0
- package/types/commands/types.d.ts.map +1 -0
- package/types/commands/upgrade.d.ts +43 -0
- package/types/commands/upgrade.d.ts.map +1 -0
- package/types/compiler/a11y-markup.d.ts +81 -0
- package/types/compiler/a11y-markup.d.ts.map +1 -0
- package/types/compiler/a11y.d.ts +4 -0
- package/types/compiler/a11y.d.ts.map +1 -0
- package/types/compiler/allow-comments.d.ts +20 -0
- package/types/compiler/allow-comments.d.ts.map +1 -0
- package/types/compiler/aria.d.ts +9 -0
- package/types/compiler/aria.d.ts.map +1 -0
- package/types/compiler/ast.d.ts +287 -0
- package/types/compiler/ast.d.ts.map +1 -0
- package/types/compiler/browser.d.ts +23 -0
- package/types/compiler/browser.d.ts.map +1 -0
- package/types/compiler/class-name.d.ts +10 -0
- package/types/compiler/class-name.d.ts.map +1 -0
- package/types/compiler/codegen.d.ts +62 -0
- package/types/compiler/codegen.d.ts.map +1 -0
- package/types/compiler/deprecated-lints.d.ts +67 -0
- package/types/compiler/deprecated-lints.d.ts.map +1 -0
- package/types/compiler/deprecated-script-fence.d.ts +3 -0
- package/types/compiler/deprecated-script-fence.d.ts.map +1 -0
- package/types/compiler/deprecated-ui-props.d.ts +14 -0
- package/types/compiler/deprecated-ui-props.d.ts.map +1 -0
- package/types/compiler/diagnostics.d.ts +16 -0
- package/types/compiler/diagnostics.d.ts.map +1 -0
- package/types/compiler/dom.d.ts +42 -0
- package/types/compiler/dom.d.ts.map +1 -0
- package/types/compiler/each-node.d.ts +3 -0
- package/types/compiler/each-node.d.ts.map +1 -0
- package/types/compiler/else-problem.d.ts +5 -0
- package/types/compiler/else-problem.d.ts.map +1 -0
- package/types/compiler/errors.d.ts +813 -0
- package/types/compiler/errors.d.ts.map +1 -0
- package/types/compiler/estree-shapes.d.ts +17 -0
- package/types/compiler/estree-shapes.d.ts.map +1 -0
- package/types/compiler/estree.d.ts +36 -0
- package/types/compiler/estree.d.ts.map +1 -0
- package/types/compiler/event-modifiers.d.ts +12 -0
- package/types/compiler/event-modifiers.d.ts.map +1 -0
- package/types/compiler/expression.d.ts +8 -0
- package/types/compiler/expression.d.ts.map +1 -0
- package/types/compiler/fence-checks.d.ts +13 -0
- package/types/compiler/fence-checks.d.ts.map +1 -0
- package/types/compiler/fence-nodes.d.ts +6 -0
- package/types/compiler/fence-nodes.d.ts.map +1 -0
- package/types/compiler/fence-redirects.d.ts +4 -0
- package/types/compiler/fence-redirects.d.ts.map +1 -0
- package/types/compiler/field-described.d.ts +6 -0
- package/types/compiler/field-described.d.ts.map +1 -0
- package/types/compiler/fnv-hash.d.ts +2 -0
- package/types/compiler/fnv-hash.d.ts.map +1 -0
- package/types/compiler/format.d.ts +11 -0
- package/types/compiler/format.d.ts.map +1 -0
- package/types/compiler/frame.d.ts +17 -0
- package/types/compiler/frame.d.ts.map +1 -0
- package/types/compiler/globals.d.ts +4 -0
- package/types/compiler/globals.d.ts.map +1 -0
- package/types/compiler/host.browser.d.ts +8 -0
- package/types/compiler/host.browser.d.ts.map +1 -0
- package/types/compiler/host.d.ts +13 -0
- package/types/compiler/host.d.ts.map +1 -0
- package/types/compiler/html.d.ts +49 -0
- package/types/compiler/html.d.ts.map +1 -0
- package/types/compiler/i18n-lints.d.ts +27 -0
- package/types/compiler/i18n-lints.d.ts.map +1 -0
- package/types/compiler/if-alias.d.ts +7 -0
- package/types/compiler/if-alias.d.ts.map +1 -0
- package/types/compiler/import-edits.d.ts +5 -0
- package/types/compiler/import-edits.d.ts.map +1 -0
- package/types/compiler/index.d.ts +62 -0
- package/types/compiler/index.d.ts.map +1 -0
- package/types/compiler/inspect.d.ts +3 -0
- package/types/compiler/inspect.d.ts.map +1 -0
- package/types/compiler/island-arguments.d.ts +13 -0
- package/types/compiler/island-arguments.d.ts.map +1 -0
- package/types/compiler/island-cause.d.ts +14 -0
- package/types/compiler/island-cause.d.ts.map +1 -0
- package/types/compiler/island-marker.d.ts +4 -0
- package/types/compiler/island-marker.d.ts.map +1 -0
- package/types/compiler/items.d.ts +72 -0
- package/types/compiler/items.d.ts.map +1 -0
- package/types/compiler/jsx-class.d.ts +7 -0
- package/types/compiler/jsx-class.d.ts.map +1 -0
- package/types/compiler/jsx-entities.d.ts +2 -0
- package/types/compiler/jsx-entities.d.ts.map +1 -0
- package/types/compiler/jsx.d.ts +49 -0
- package/types/compiler/jsx.d.ts.map +1 -0
- package/types/compiler/kay-exports.d.ts +5 -0
- package/types/compiler/kay-exports.d.ts.map +1 -0
- package/types/compiler/lints.d.ts +894 -0
- package/types/compiler/lints.d.ts.map +1 -0
- package/types/compiler/load-facts.d.ts +11 -0
- package/types/compiler/load-facts.d.ts.map +1 -0
- package/types/compiler/load-plan.d.ts +11 -0
- package/types/compiler/load-plan.d.ts.map +1 -0
- package/types/compiler/loop-lints.d.ts +13 -0
- package/types/compiler/loop-lints.d.ts.map +1 -0
- package/types/compiler/mapping.d.ts +74 -0
- package/types/compiler/mapping.d.ts.map +1 -0
- package/types/compiler/markdown-block.d.ts +42 -0
- package/types/compiler/markdown-block.d.ts.map +1 -0
- package/types/compiler/markup.d.ts +136 -0
- package/types/compiler/markup.d.ts.map +1 -0
- package/types/compiler/minor.d.ts +3 -0
- package/types/compiler/minor.d.ts.map +1 -0
- package/types/compiler/module-signals.d.ts +7 -0
- package/types/compiler/module-signals.d.ts.map +1 -0
- package/types/compiler/names.d.ts +22 -0
- package/types/compiler/names.d.ts.map +1 -0
- package/types/compiler/native-typescript.d.ts +5 -0
- package/types/compiler/native-typescript.d.ts.map +1 -0
- package/types/compiler/nesting.d.ts +3 -0
- package/types/compiler/nesting.d.ts.map +1 -0
- package/types/compiler/object-literal.d.ts +13 -0
- package/types/compiler/object-literal.d.ts.map +1 -0
- package/types/compiler/own-markup.d.ts +4 -0
- package/types/compiler/own-markup.d.ts.map +1 -0
- package/types/compiler/page-settings.d.ts +8 -0
- package/types/compiler/page-settings.d.ts.map +1 -0
- package/types/compiler/parser.d.ts +3 -0
- package/types/compiler/parser.d.ts.map +1 -0
- package/types/compiler/pattern-names.d.ts +4 -0
- package/types/compiler/pattern-names.d.ts.map +1 -0
- package/types/compiler/plan.d.ts +114 -0
- package/types/compiler/plan.d.ts.map +1 -0
- package/types/compiler/public.d.ts +4 -0
- package/types/compiler/public.d.ts.map +1 -0
- package/types/compiler/rewrite-reads.d.ts +61 -0
- package/types/compiler/rewrite-reads.d.ts.map +1 -0
- package/types/compiler/rewrite-scan.d.ts +11 -0
- package/types/compiler/rewrite-scan.d.ts.map +1 -0
- package/types/compiler/rewrite-tags.d.ts +4 -0
- package/types/compiler/rewrite-tags.d.ts.map +1 -0
- package/types/compiler/rewrite-types.d.ts +54 -0
- package/types/compiler/rewrite-types.d.ts.map +1 -0
- package/types/compiler/rewrite.d.ts +3 -0
- package/types/compiler/rewrite.d.ts.map +1 -0
- package/types/compiler/route-lints.d.ts +58 -0
- package/types/compiler/route-lints.d.ts.map +1 -0
- package/types/compiler/scanner.d.ts +12 -0
- package/types/compiler/scanner.d.ts.map +1 -0
- package/types/compiler/scope.d.ts +56 -0
- package/types/compiler/scope.d.ts.map +1 -0
- package/types/compiler/scoped-style.d.ts +28 -0
- package/types/compiler/scoped-style.d.ts.map +1 -0
- package/types/compiler/script-fence.d.ts +5 -0
- package/types/compiler/script-fence.d.ts.map +1 -0
- package/types/compiler/script-props.d.ts +7 -0
- package/types/compiler/script-props.d.ts.map +1 -0
- package/types/compiler/script-recipe.d.ts +15 -0
- package/types/compiler/script-recipe.d.ts.map +1 -0
- package/types/compiler/script-server.d.ts +53 -0
- package/types/compiler/script-server.d.ts.map +1 -0
- package/types/compiler/script-shared.d.ts +70 -0
- package/types/compiler/script-shared.d.ts.map +1 -0
- package/types/compiler/script-split.d.ts +21 -0
- package/types/compiler/script-split.d.ts.map +1 -0
- package/types/compiler/script.d.ts +12 -0
- package/types/compiler/script.d.ts.map +1 -0
- package/types/compiler/serial-awaits.d.ts +13 -0
- package/types/compiler/serial-awaits.d.ts.map +1 -0
- package/types/compiler/status-pages.d.ts +5 -0
- package/types/compiler/status-pages.d.ts.map +1 -0
- package/types/compiler/style-lints.d.ts +3 -0
- package/types/compiler/style-lints.d.ts.map +1 -0
- package/types/compiler/template-reads.d.ts +9 -0
- package/types/compiler/template-reads.d.ts.map +1 -0
- package/types/compiler/template-scopes.d.ts +11 -0
- package/types/compiler/template-scopes.d.ts.map +1 -0
- package/types/compiler/twin.d.ts +3 -0
- package/types/compiler/twin.d.ts.map +1 -0
- package/types/compiler/unowned-effects.d.ts +3 -0
- package/types/compiler/unowned-effects.d.ts.map +1 -0
- package/types/compiler/validate-fixes.d.ts +16 -0
- package/types/compiler/validate-fixes.d.ts.map +1 -0
- package/types/compiler/validate.d.ts +14 -0
- package/types/compiler/validate.d.ts.map +1 -0
- package/types/compiler/walk.d.ts +15 -0
- package/types/compiler/walk.d.ts.map +1 -0
- package/types/config-extensions.d.ts +20 -0
- package/types/config-extensions.d.ts.map +1 -0
- package/types/config-loader.d.ts +10 -0
- package/types/config-loader.d.ts.map +1 -0
- package/types/config-rules.d.ts +27 -0
- package/types/config-rules.d.ts.map +1 -0
- package/types/config-shape.d.ts +8 -0
- package/types/config-shape.d.ts.map +1 -0
- package/types/config.d.ts +402 -0
- package/types/config.d.ts.map +1 -0
- package/types/content/claims.d.ts +26 -0
- package/types/content/claims.d.ts.map +1 -0
- package/types/content/drafts.d.ts +10 -0
- package/types/content/drafts.d.ts.map +1 -0
- package/types/content/edit-entries.d.ts +73 -0
- package/types/content/edit-entries.d.ts.map +1 -0
- package/types/content/edit-fields.d.ts +55 -0
- package/types/content/edit-fields.d.ts.map +1 -0
- package/types/content/edit-registry.d.ts +9 -0
- package/types/content/edit-registry.d.ts.map +1 -0
- package/types/content/edit-shared.d.ts +129 -0
- package/types/content/edit-shared.d.ts.map +1 -0
- package/types/content/edit.d.ts +6 -0
- package/types/content/edit.d.ts.map +1 -0
- package/types/content/entry-head.d.ts +15 -0
- package/types/content/entry-head.d.ts.map +1 -0
- package/types/content/entry-route.d.ts +2 -0
- package/types/content/entry-route.d.ts.map +1 -0
- package/types/content/excerpt.d.ts +7 -0
- package/types/content/excerpt.d.ts.map +1 -0
- package/types/content/feed.d.ts +55 -0
- package/types/content/feed.d.ts.map +1 -0
- package/types/content/heading-id.d.ts +10 -0
- package/types/content/heading-id.d.ts.map +1 -0
- package/types/content/held-back.d.ts +7 -0
- package/types/content/held-back.d.ts.map +1 -0
- package/types/content/humanize.d.ts +2 -0
- package/types/content/humanize.d.ts.map +1 -0
- package/types/content/images.d.ts +23 -0
- package/types/content/images.d.ts.map +1 -0
- package/types/content/index.d.ts +166 -0
- package/types/content/index.d.ts.map +1 -0
- package/types/content/key.d.ts +5 -0
- package/types/content/key.d.ts.map +1 -0
- package/types/content/load.d.ts +93 -0
- package/types/content/load.d.ts.map +1 -0
- package/types/content/markdown-extensions.d.ts +5 -0
- package/types/content/markdown-extensions.d.ts.map +1 -0
- package/types/content/markdown.d.ts +92 -0
- package/types/content/markdown.d.ts.map +1 -0
- package/types/content/migrate.d.ts +25 -0
- package/types/content/migrate.d.ts.map +1 -0
- package/types/content/modified.d.ts +8 -0
- package/types/content/modified.d.ts.map +1 -0
- package/types/content/paginate.d.ts +24 -0
- package/types/content/paginate.d.ts.map +1 -0
- package/types/content/problems.d.ts +2 -0
- package/types/content/problems.d.ts.map +1 -0
- package/types/content/references.d.ts +16 -0
- package/types/content/references.d.ts.map +1 -0
- package/types/content/rewrite.d.ts +14 -0
- package/types/content/rewrite.d.ts.map +1 -0
- package/types/content/server.d.ts +30 -0
- package/types/content/server.d.ts.map +1 -0
- package/types/content/source-draft.d.ts +10 -0
- package/types/content/source-draft.d.ts.map +1 -0
- package/types/content/turns.d.ts +8 -0
- package/types/content/turns.d.ts.map +1 -0
- package/types/content/validate.d.ts +32 -0
- package/types/content/validate.d.ts.map +1 -0
- package/types/dev/address.d.ts +5 -0
- package/types/dev/address.d.ts.map +1 -0
- package/types/dev/base-proxy.d.ts +5 -0
- package/types/dev/base-proxy.d.ts.map +1 -0
- package/types/dev/builder.d.ts +16 -0
- package/types/dev/builder.d.ts.map +1 -0
- package/types/dev/client.d.ts +10 -0
- package/types/dev/client.d.ts.map +1 -0
- package/types/dev/config-record.d.ts +3 -0
- package/types/dev/config-record.d.ts.map +1 -0
- package/types/dev/fingerprint.d.ts +29 -0
- package/types/dev/fingerprint.d.ts.map +1 -0
- package/types/dev/index.d.ts +32 -0
- package/types/dev/index.d.ts.map +1 -0
- package/types/dev/inspector.d.ts +9 -0
- package/types/dev/inspector.d.ts.map +1 -0
- package/types/dev/loopback.d.ts +3 -0
- package/types/dev/loopback.d.ts.map +1 -0
- package/types/dev/pages.d.ts +2 -0
- package/types/dev/pages.d.ts.map +1 -0
- package/types/dev/preload.d.ts +3 -0
- package/types/dev/preload.d.ts.map +1 -0
- package/types/dev/refuse.d.ts +20 -0
- package/types/dev/refuse.d.ts.map +1 -0
- package/types/dev/reload.d.ts +20 -0
- package/types/dev/reload.d.ts.map +1 -0
- package/types/dev/render-server.d.ts +18 -0
- package/types/dev/render-server.d.ts.map +1 -0
- package/types/dev/render-socket.d.ts +2 -0
- package/types/dev/render-socket.d.ts.map +1 -0
- package/types/dev/screenshot-diff.d.ts +13 -0
- package/types/dev/screenshot-diff.d.ts.map +1 -0
- package/types/dev/screenshot-limits.d.ts +8 -0
- package/types/dev/screenshot-limits.d.ts.map +1 -0
- package/types/dev/screenshot.d.ts +62 -0
- package/types/dev/screenshot.d.ts.map +1 -0
- package/types/dev/session/client.d.ts +37 -0
- package/types/dev/session/client.d.ts.map +1 -0
- package/types/dev/session/keys.d.ts +8 -0
- package/types/dev/session/keys.d.ts.map +1 -0
- package/types/dev/session/ports.d.ts +18 -0
- package/types/dev/session/ports.d.ts.map +1 -0
- package/types/dev/session/queue.d.ts +30 -0
- package/types/dev/session/queue.d.ts.map +1 -0
- package/types/dev/session/report.d.ts +30 -0
- package/types/dev/session/report.d.ts.map +1 -0
- package/types/dev/session/servers.d.ts +73 -0
- package/types/dev/session/servers.d.ts.map +1 -0
- package/types/dev/session/types.d.ts +51 -0
- package/types/dev/session/types.d.ts.map +1 -0
- package/types/dev/sources.d.ts +14 -0
- package/types/dev/sources.d.ts.map +1 -0
- package/types/dev/tailwind.d.ts +5 -0
- package/types/dev/tailwind.d.ts.map +1 -0
- package/types/dev/types-process.d.ts +27 -0
- package/types/dev/types-process.d.ts.map +1 -0
- package/types/dev/types.d.ts +2 -0
- package/types/dev/types.d.ts.map +1 -0
- package/types/docs-props.d.ts +10 -0
- package/types/docs-props.d.ts.map +1 -0
- package/types/docs-search.d.ts +40 -0
- package/types/docs-search.d.ts.map +1 -0
- package/types/editors.d.ts +30 -0
- package/types/editors.d.ts.map +1 -0
- package/types/entities.d.ts +2 -0
- package/types/entities.d.ts.map +1 -0
- package/types/eslint/index.d.ts +51 -0
- package/types/eslint/index.d.ts.map +1 -0
- package/types/features.d.ts +10 -0
- package/types/features.d.ts.map +1 -0
- package/types/format/index.d.ts +16 -0
- package/types/format/index.d.ts.map +1 -0
- package/types/format/tailwind.d.ts +15 -0
- package/types/format/tailwind.d.ts.map +1 -0
- package/types/generate-resource.d.ts +27 -0
- package/types/generate-resource.d.ts.map +1 -0
- package/types/generate.d.ts +17 -0
- package/types/generate.d.ts.map +1 -0
- package/types/imports.d.ts +2 -0
- package/types/imports.d.ts.map +1 -0
- package/types/input-types.d.ts +2 -0
- package/types/input-types.d.ts.map +1 -0
- package/types/keyword-attributes.d.ts +6 -0
- package/types/keyword-attributes.d.ts.map +1 -0
- package/types/lsp/bridge.d.ts +14 -0
- package/types/lsp/bridge.d.ts.map +1 -0
- package/types/lsp/code-actions.d.ts +7 -0
- package/types/lsp/code-actions.d.ts.map +1 -0
- package/types/lsp/completions.d.ts +20 -0
- package/types/lsp/completions.d.ts.map +1 -0
- package/types/lsp/component-props.d.ts +10 -0
- package/types/lsp/component-props.d.ts.map +1 -0
- package/types/lsp/diagnostics.d.ts +25 -0
- package/types/lsp/diagnostics.d.ts.map +1 -0
- package/types/lsp/document-links.d.ts +7 -0
- package/types/lsp/document-links.d.ts.map +1 -0
- package/types/lsp/host.d.ts +72 -0
- package/types/lsp/host.d.ts.map +1 -0
- package/types/lsp/island-lens.d.ts +14 -0
- package/types/lsp/island-lens.d.ts.map +1 -0
- package/types/lsp/mapping.d.ts +25 -0
- package/types/lsp/mapping.d.ts.map +1 -0
- package/types/lsp/navigation.d.ts +29 -0
- package/types/lsp/navigation.d.ts.map +1 -0
- package/types/lsp/outline.d.ts +4 -0
- package/types/lsp/outline.d.ts.map +1 -0
- package/types/lsp/positions.d.ts +4 -0
- package/types/lsp/positions.d.ts.map +1 -0
- package/types/lsp/project-checks.d.ts +20 -0
- package/types/lsp/project-checks.d.ts.map +1 -0
- package/types/lsp/protocol.d.ts +172 -0
- package/types/lsp/protocol.d.ts.map +1 -0
- package/types/lsp/range-format.d.ts +7 -0
- package/types/lsp/range-format.d.ts.map +1 -0
- package/types/lsp/rename.d.ts +13 -0
- package/types/lsp/rename.d.ts.map +1 -0
- package/types/lsp/renames.d.ts +9 -0
- package/types/lsp/renames.d.ts.map +1 -0
- package/types/lsp/route-links.d.ts +9 -0
- package/types/lsp/route-links.d.ts.map +1 -0
- package/types/lsp/rpc.d.ts +40 -0
- package/types/lsp/rpc.d.ts.map +1 -0
- package/types/lsp/semantic-tokens.d.ts +6 -0
- package/types/lsp/semantic-tokens.d.ts.map +1 -0
- package/types/lsp/server.d.ts +58 -0
- package/types/lsp/server.d.ts.map +1 -0
- package/types/lsp/template-completion.d.ts +54 -0
- package/types/lsp/template-completion.d.ts.map +1 -0
- package/types/lsp/ui-completion.d.ts +19 -0
- package/types/lsp/ui-completion.d.ts.map +1 -0
- package/types/mcp/guards.d.ts +6 -0
- package/types/mcp/guards.d.ts.map +1 -0
- package/types/mcp/install.d.ts +2 -0
- package/types/mcp/install.d.ts.map +1 -0
- package/types/mcp/protocol.d.ts +88 -0
- package/types/mcp/protocol.d.ts.map +1 -0
- package/types/mcp/tools.d.ts +9 -0
- package/types/mcp/tools.d.ts.map +1 -0
- package/types/migrate/astro.d.ts +27 -0
- package/types/migrate/astro.d.ts.map +1 -0
- package/types/migrate/content.d.ts +3 -0
- package/types/migrate/content.d.ts.map +1 -0
- package/types/migrate/html.d.ts +7 -0
- package/types/migrate/html.d.ts.map +1 -0
- package/types/migrate/markup.d.ts +25 -0
- package/types/migrate/markup.d.ts.map +1 -0
- package/types/migrate/project.d.ts +17 -0
- package/types/migrate/project.d.ts.map +1 -0
- package/types/native-plugins.d.ts +2 -0
- package/types/native-plugins.d.ts.map +1 -0
- package/types/nearest.d.ts +2 -0
- package/types/nearest.d.ts.map +1 -0
- package/types/new.d.ts +34 -0
- package/types/new.d.ts.map +1 -0
- package/types/package-names.d.ts +6 -0
- package/types/package-names.d.ts.map +1 -0
- package/types/peers.d.ts +14 -0
- package/types/peers.d.ts.map +1 -0
- package/types/project.d.ts +63 -0
- package/types/project.d.ts.map +1 -0
- package/types/runtime/action-call.d.ts +11 -0
- package/types/runtime/action-call.d.ts.map +1 -0
- package/types/runtime/action-encode.d.ts +10 -0
- package/types/runtime/action-encode.d.ts.map +1 -0
- package/types/runtime/action-error.d.ts +16 -0
- package/types/runtime/action-error.d.ts.map +1 -0
- package/types/runtime/action-form.d.ts +29 -0
- package/types/runtime/action-form.d.ts.map +1 -0
- package/types/runtime/action-marks.d.ts +5 -0
- package/types/runtime/action-marks.d.ts.map +1 -0
- package/types/runtime/action-navigate.d.ts +6 -0
- package/types/runtime/action-navigate.d.ts.map +1 -0
- package/types/runtime/action-owner.d.ts +15 -0
- package/types/runtime/action-owner.d.ts.map +1 -0
- package/types/runtime/action-post.d.ts +8 -0
- package/types/runtime/action-post.d.ts.map +1 -0
- package/types/runtime/action-protection.d.ts +15 -0
- package/types/runtime/action-protection.d.ts.map +1 -0
- package/types/runtime/action-revive.d.ts +3 -0
- package/types/runtime/action-revive.d.ts.map +1 -0
- package/types/runtime/action-reviver.d.ts +2 -0
- package/types/runtime/action-reviver.d.ts.map +1 -0
- package/types/runtime/action-shared.d.ts +288 -0
- package/types/runtime/action-shared.d.ts.map +1 -0
- package/types/runtime/action-stream.d.ts +8 -0
- package/types/runtime/action-stream.d.ts.map +1 -0
- package/types/runtime/action.d.ts +29 -0
- package/types/runtime/action.d.ts.map +1 -0
- package/types/runtime/analytics.client.d.ts +3 -0
- package/types/runtime/analytics.client.d.ts.map +1 -0
- package/types/runtime/announce.d.ts +2 -0
- package/types/runtime/announce.d.ts.map +1 -0
- package/types/runtime/api-error-class.d.ts +9 -0
- package/types/runtime/api-error-class.d.ts.map +1 -0
- package/types/runtime/api-error.d.ts +17 -0
- package/types/runtime/api-error.d.ts.map +1 -0
- package/types/runtime/api-url.d.ts +24 -0
- package/types/runtime/api-url.d.ts.map +1 -0
- package/types/runtime/arrival.d.ts +5 -0
- package/types/runtime/arrival.d.ts.map +1 -0
- package/types/runtime/await.d.ts +4 -0
- package/types/runtime/await.d.ts.map +1 -0
- package/types/runtime/await.server.d.ts +26 -0
- package/types/runtime/await.server.d.ts.map +1 -0
- package/types/runtime/base.d.ts +12 -0
- package/types/runtime/base.d.ts.map +1 -0
- package/types/runtime/build.d.ts +2 -0
- package/types/runtime/build.d.ts.map +1 -0
- package/types/runtime/byte-count.d.ts +3 -0
- package/types/runtime/byte-count.d.ts.map +1 -0
- package/types/runtime/byte-size.d.ts +4 -0
- package/types/runtime/byte-size.d.ts.map +1 -0
- package/types/runtime/cache-live-id.d.ts +2 -0
- package/types/runtime/cache-live-id.d.ts.map +1 -0
- package/types/runtime/cache.d.ts +87 -0
- package/types/runtime/cache.d.ts.map +1 -0
- package/types/runtime/cache.server.d.ts +10 -0
- package/types/runtime/cache.server.d.ts.map +1 -0
- package/types/runtime/call-body.d.ts +6 -0
- package/types/runtime/call-body.d.ts.map +1 -0
- package/types/runtime/call-result.d.ts +41 -0
- package/types/runtime/call-result.d.ts.map +1 -0
- package/types/runtime/checks.d.ts +287 -0
- package/types/runtime/checks.d.ts.map +1 -0
- package/types/runtime/claimed.d.ts +3 -0
- package/types/runtime/claimed.d.ts.map +1 -0
- package/types/runtime/class-table.d.ts +7 -0
- package/types/runtime/class-table.d.ts.map +1 -0
- package/types/runtime/client.d.ts +15 -0
- package/types/runtime/client.d.ts.map +1 -0
- package/types/runtime/connection.d.ts +40 -0
- package/types/runtime/connection.d.ts.map +1 -0
- package/types/runtime/consent.d.ts +5 -0
- package/types/runtime/consent.d.ts.map +1 -0
- package/types/runtime/core.d.ts +172 -0
- package/types/runtime/core.d.ts.map +1 -0
- package/types/runtime/counters.d.ts +26 -0
- package/types/runtime/counters.d.ts.map +1 -0
- package/types/runtime/described.d.ts +9 -0
- package/types/runtime/described.d.ts.map +1 -0
- package/types/runtime/dev-a11y.d.ts +16 -0
- package/types/runtime/dev-a11y.d.ts.map +1 -0
- package/types/runtime/dev-boot.d.ts +14 -0
- package/types/runtime/dev-boot.d.ts.map +1 -0
- package/types/runtime/dev-inspector.d.ts +9 -0
- package/types/runtime/dev-inspector.d.ts.map +1 -0
- package/types/runtime/dev-patch.d.ts +2 -0
- package/types/runtime/dev-patch.d.ts.map +1 -0
- package/types/runtime/dev-refresh.d.ts +2 -0
- package/types/runtime/dev-refresh.d.ts.map +1 -0
- package/types/runtime/dev-styles.d.ts +3 -0
- package/types/runtime/dev-styles.d.ts.map +1 -0
- package/types/runtime/dev-tab-data.d.ts +3 -0
- package/types/runtime/dev-tab-data.d.ts.map +1 -0
- package/types/runtime/dev-tab-env.d.ts +3 -0
- package/types/runtime/dev-tab-env.d.ts.map +1 -0
- package/types/runtime/dev-tab-head.d.ts +3 -0
- package/types/runtime/dev-tab-head.d.ts.map +1 -0
- package/types/runtime/dev-tab-i18n.d.ts +3 -0
- package/types/runtime/dev-tab-i18n.d.ts.map +1 -0
- package/types/runtime/dev-tab-images.d.ts +3 -0
- package/types/runtime/dev-tab-images.d.ts.map +1 -0
- package/types/runtime/dev-tab-jobs.d.ts +3 -0
- package/types/runtime/dev-tab-jobs.d.ts.map +1 -0
- package/types/runtime/dev-tab-network.d.ts +3 -0
- package/types/runtime/dev-tab-network.d.ts.map +1 -0
- package/types/runtime/dev-tab-not-found.d.ts +3 -0
- package/types/runtime/dev-tab-not-found.d.ts.map +1 -0
- package/types/runtime/dev-tab-performance.d.ts +3 -0
- package/types/runtime/dev-tab-performance.d.ts.map +1 -0
- package/types/runtime/dev-tab-reading.d.ts +23 -0
- package/types/runtime/dev-tab-reading.d.ts.map +1 -0
- package/types/runtime/dev-tab-routes.d.ts +3 -0
- package/types/runtime/dev-tab-routes.d.ts.map +1 -0
- package/types/runtime/dev-tab-styles.d.ts +3 -0
- package/types/runtime/dev-tab-styles.d.ts.map +1 -0
- package/types/runtime/dev-tool-constants.d.ts +19 -0
- package/types/runtime/dev-tool-constants.d.ts.map +1 -0
- package/types/runtime/dev-tool-icons.d.ts +48 -0
- package/types/runtime/dev-tool-icons.d.ts.map +1 -0
- package/types/runtime/dev-tool-keys.d.ts +16 -0
- package/types/runtime/dev-tool-keys.d.ts.map +1 -0
- package/types/runtime/dev-tool-kit.d.ts +8 -0
- package/types/runtime/dev-tool-kit.d.ts.map +1 -0
- package/types/runtime/dev-tool-layout.d.ts +49 -0
- package/types/runtime/dev-tool-layout.d.ts.map +1 -0
- package/types/runtime/dev-tool-markdown.d.ts +2 -0
- package/types/runtime/dev-tool-markdown.d.ts.map +1 -0
- package/types/runtime/dev-tool-outline.d.ts +3 -0
- package/types/runtime/dev-tool-outline.d.ts.map +1 -0
- package/types/runtime/dev-tool-parts.d.ts +38 -0
- package/types/runtime/dev-tool-parts.d.ts.map +1 -0
- package/types/runtime/dev-tool-problems.d.ts +14 -0
- package/types/runtime/dev-tool-problems.d.ts.map +1 -0
- package/types/runtime/dev-tool-request.d.ts +5 -0
- package/types/runtime/dev-tool-request.d.ts.map +1 -0
- package/types/runtime/dev-tool-shell.d.ts +25 -0
- package/types/runtime/dev-tool-shell.d.ts.map +1 -0
- package/types/runtime/dev-tool-style.d.ts +2 -0
- package/types/runtime/dev-tool-style.d.ts.map +1 -0
- package/types/runtime/dev-tool-swaps.d.ts +10 -0
- package/types/runtime/dev-tool-swaps.d.ts.map +1 -0
- package/types/runtime/dev-tool-tab-order.d.ts +17 -0
- package/types/runtime/dev-tool-tab-order.d.ts.map +1 -0
- package/types/runtime/dev-tool-tabs.d.ts +24 -0
- package/types/runtime/dev-tool-tabs.d.ts.map +1 -0
- package/types/runtime/dev-tool-vitals.d.ts +13 -0
- package/types/runtime/dev-tool-vitals.d.ts.map +1 -0
- package/types/runtime/dev-tool-window.d.ts +18 -0
- package/types/runtime/dev-tool-window.d.ts.map +1 -0
- package/types/runtime/dev-tool.d.ts +75 -0
- package/types/runtime/dev-tool.d.ts.map +1 -0
- package/types/runtime/dev-tool.public.d.ts +4 -0
- package/types/runtime/dev-tool.public.d.ts.map +1 -0
- package/types/runtime/dom-await.d.ts +2 -0
- package/types/runtime/dom-await.d.ts.map +1 -0
- package/types/runtime/dom-image.d.ts +2 -0
- package/types/runtime/dom-image.d.ts.map +1 -0
- package/types/runtime/dom-loop.d.ts +3 -0
- package/types/runtime/dom-loop.d.ts.map +1 -0
- package/types/runtime/dom-spread.d.ts +3 -0
- package/types/runtime/dom-spread.d.ts.map +1 -0
- package/types/runtime/dom-try.d.ts +2 -0
- package/types/runtime/dom-try.d.ts.map +1 -0
- package/types/runtime/dom.d.ts +87 -0
- package/types/runtime/dom.d.ts.map +1 -0
- package/types/runtime/draft-issues.d.ts +19 -0
- package/types/runtime/draft-issues.d.ts.map +1 -0
- package/types/runtime/duration-words.d.ts +3 -0
- package/types/runtime/duration-words.d.ts.map +1 -0
- package/types/runtime/duration.d.ts +16 -0
- package/types/runtime/duration.d.ts.map +1 -0
- package/types/runtime/edit.d.ts +25 -0
- package/types/runtime/edit.d.ts.map +1 -0
- package/types/runtime/element-size.d.ts +7 -0
- package/types/runtime/element-size.d.ts.map +1 -0
- package/types/runtime/email.d.ts +3 -0
- package/types/runtime/email.d.ts.map +1 -0
- package/types/runtime/ended-entry.d.ts +3 -0
- package/types/runtime/ended-entry.d.ts.map +1 -0
- package/types/runtime/env.d.ts +26 -0
- package/types/runtime/env.d.ts.map +1 -0
- package/types/runtime/escape.d.ts +6 -0
- package/types/runtime/escape.d.ts.map +1 -0
- package/types/runtime/fetch-island.d.ts +6 -0
- package/types/runtime/fetch-island.d.ts.map +1 -0
- package/types/runtime/fields.d.ts +58 -0
- package/types/runtime/fields.d.ts.map +1 -0
- package/types/runtime/fills.d.ts +12 -0
- package/types/runtime/fills.d.ts.map +1 -0
- package/types/runtime/focus.d.ts +2 -0
- package/types/runtime/focus.d.ts.map +1 -0
- package/types/runtime/follow-log.d.ts +11 -0
- package/types/runtime/follow-log.d.ts.map +1 -0
- package/types/runtime/form-controls.d.ts +2 -0
- package/types/runtime/form-controls.d.ts.map +1 -0
- package/types/runtime/form-hold.d.ts +7 -0
- package/types/runtime/form-hold.d.ts.map +1 -0
- package/types/runtime/form-protect.d.ts +2 -0
- package/types/runtime/form-protect.d.ts.map +1 -0
- package/types/runtime/form-submits.d.ts +9 -0
- package/types/runtime/form-submits.d.ts.map +1 -0
- package/types/runtime/form.d.ts +19 -0
- package/types/runtime/form.d.ts.map +1 -0
- package/types/runtime/forms.d.ts +4 -0
- package/types/runtime/forms.d.ts.map +1 -0
- package/types/runtime/french.d.ts +6 -0
- package/types/runtime/french.d.ts.map +1 -0
- package/types/runtime/head.d.ts +40 -0
- package/types/runtime/head.d.ts.map +1 -0
- package/types/runtime/html.d.ts +70 -0
- package/types/runtime/html.d.ts.map +1 -0
- package/types/runtime/hydrate-when.d.ts +5 -0
- package/types/runtime/hydrate-when.d.ts.map +1 -0
- package/types/runtime/i18n-links.d.ts +9 -0
- package/types/runtime/i18n-links.d.ts.map +1 -0
- package/types/runtime/i18n.client.d.ts +21 -0
- package/types/runtime/i18n.client.d.ts.map +1 -0
- package/types/runtime/i18n.d.ts +112 -0
- package/types/runtime/i18n.d.ts.map +1 -0
- package/types/runtime/i18n.server.d.ts +20 -0
- package/types/runtime/i18n.server.d.ts.map +1 -0
- package/types/runtime/icons.d.ts +30 -0
- package/types/runtime/icons.d.ts.map +1 -0
- package/types/runtime/image.d.ts +103 -0
- package/types/runtime/image.d.ts.map +1 -0
- package/types/runtime/image.public.d.ts +3 -0
- package/types/runtime/image.public.d.ts.map +1 -0
- package/types/runtime/in-view.d.ts +12 -0
- package/types/runtime/in-view.d.ts.map +1 -0
- package/types/runtime/index.d.ts +84 -0
- package/types/runtime/index.d.ts.map +1 -0
- package/types/runtime/install-prompt.d.ts +17 -0
- package/types/runtime/install-prompt.d.ts.map +1 -0
- package/types/runtime/internal.d.ts +19 -0
- package/types/runtime/internal.d.ts.map +1 -0
- package/types/runtime/invalid.d.ts +3 -0
- package/types/runtime/invalid.d.ts.map +1 -0
- package/types/runtime/island-request.d.ts +3 -0
- package/types/runtime/island-request.d.ts.map +1 -0
- package/types/runtime/island.client.d.ts +4 -0
- package/types/runtime/island.client.d.ts.map +1 -0
- package/types/runtime/island.server.d.ts +32 -0
- package/types/runtime/island.server.d.ts.map +1 -0
- package/types/runtime/jsx-runtime.d.ts +2 -0
- package/types/runtime/jsx-runtime.d.ts.map +1 -0
- package/types/runtime/jsx.d.ts +286 -0
- package/types/runtime/jsx.d.ts.map +1 -0
- package/types/runtime/keepalive.d.ts +4 -0
- package/types/runtime/keepalive.d.ts.map +1 -0
- package/types/runtime/lasting.d.ts +2 -0
- package/types/runtime/lasting.d.ts.map +1 -0
- package/types/runtime/leave.d.ts +6 -0
- package/types/runtime/leave.d.ts.map +1 -0
- package/types/runtime/listen-with.d.ts +2 -0
- package/types/runtime/listen-with.d.ts.map +1 -0
- package/types/runtime/listener-set.d.ts +5 -0
- package/types/runtime/listener-set.d.ts.map +1 -0
- package/types/runtime/live-cache.d.ts +4 -0
- package/types/runtime/live-cache.d.ts.map +1 -0
- package/types/runtime/live-props.d.ts +2 -0
- package/types/runtime/live-props.d.ts.map +1 -0
- package/types/runtime/live-resource.server.d.ts +13 -0
- package/types/runtime/live-resource.server.d.ts.map +1 -0
- package/types/runtime/live-value.client.d.ts +8 -0
- package/types/runtime/live-value.client.d.ts.map +1 -0
- package/types/runtime/live-value.d.ts +13 -0
- package/types/runtime/live-value.d.ts.map +1 -0
- package/types/runtime/live-value.server.d.ts +30 -0
- package/types/runtime/live-value.server.d.ts.map +1 -0
- package/types/runtime/live-value.shared.d.ts +61 -0
- package/types/runtime/live-value.shared.d.ts.map +1 -0
- package/types/runtime/live.d.ts +292 -0
- package/types/runtime/live.d.ts.map +1 -0
- package/types/runtime/load-scope.d.ts +9 -0
- package/types/runtime/load-scope.d.ts.map +1 -0
- package/types/runtime/local-status.d.ts +4 -0
- package/types/runtime/local-status.d.ts.map +1 -0
- package/types/runtime/local.d.ts +75 -0
- package/types/runtime/local.d.ts.map +1 -0
- package/types/runtime/locale-state.d.ts +18 -0
- package/types/runtime/locale-state.d.ts.map +1 -0
- package/types/runtime/localized.d.ts +4 -0
- package/types/runtime/localized.d.ts.map +1 -0
- package/types/runtime/log.d.ts +8 -0
- package/types/runtime/log.d.ts.map +1 -0
- package/types/runtime/markdown-render.client.d.ts +3 -0
- package/types/runtime/markdown-render.client.d.ts.map +1 -0
- package/types/runtime/markdown-task.d.ts +2 -0
- package/types/runtime/markdown-task.d.ts.map +1 -0
- package/types/runtime/markdown.client.d.ts +6 -0
- package/types/runtime/markdown.client.d.ts.map +1 -0
- package/types/runtime/markdown.d.ts +8 -0
- package/types/runtime/markdown.d.ts.map +1 -0
- package/types/runtime/markdown.server.d.ts +6 -0
- package/types/runtime/markdown.server.d.ts.map +1 -0
- package/types/runtime/markers.d.ts +14 -0
- package/types/runtime/markers.d.ts.map +1 -0
- package/types/runtime/media-query.d.ts +3 -0
- package/types/runtime/media-query.d.ts.map +1 -0
- package/types/runtime/mount.d.ts +9 -0
- package/types/runtime/mount.d.ts.map +1 -0
- package/types/runtime/move.d.ts +3 -0
- package/types/runtime/move.d.ts.map +1 -0
- package/types/runtime/navigate-api.d.ts +18 -0
- package/types/runtime/navigate-api.d.ts.map +1 -0
- package/types/runtime/navigate.d.ts +10 -0
- package/types/runtime/navigate.d.ts.map +1 -0
- package/types/runtime/navigation-entry.d.ts +2 -0
- package/types/runtime/navigation-entry.d.ts.map +1 -0
- package/types/runtime/navigation-state.d.ts +19 -0
- package/types/runtime/navigation-state.d.ts.map +1 -0
- package/types/runtime/navigation.d.ts +86 -0
- package/types/runtime/navigation.d.ts.map +1 -0
- package/types/runtime/online.d.ts +2 -0
- package/types/runtime/online.d.ts.map +1 -0
- package/types/runtime/optimistic.d.ts +7 -0
- package/types/runtime/optimistic.d.ts.map +1 -0
- package/types/runtime/outside.d.ts +8 -0
- package/types/runtime/outside.d.ts.map +1 -0
- package/types/runtime/page-data.d.ts +3 -0
- package/types/runtime/page-data.d.ts.map +1 -0
- package/types/runtime/page-errors.d.ts +2 -0
- package/types/runtime/page-errors.d.ts.map +1 -0
- package/types/runtime/page-swap.d.ts +8 -0
- package/types/runtime/page-swap.d.ts.map +1 -0
- package/types/runtime/page-title.d.ts +2 -0
- package/types/runtime/page-title.d.ts.map +1 -0
- package/types/runtime/params.d.ts +4 -0
- package/types/runtime/params.d.ts.map +1 -0
- package/types/runtime/pending.d.ts +5 -0
- package/types/runtime/pending.d.ts.map +1 -0
- package/types/runtime/persist.d.ts +25 -0
- package/types/runtime/persist.d.ts.map +1 -0
- package/types/runtime/persisted.d.ts +71 -0
- package/types/runtime/persisted.d.ts.map +1 -0
- package/types/runtime/placeholder.d.ts +5 -0
- package/types/runtime/placeholder.d.ts.map +1 -0
- package/types/runtime/poll-backoff.d.ts +16 -0
- package/types/runtime/poll-backoff.d.ts.map +1 -0
- package/types/runtime/prefetch.d.ts +3 -0
- package/types/runtime/prefetch.d.ts.map +1 -0
- package/types/runtime/presence.d.ts +13 -0
- package/types/runtime/presence.d.ts.map +1 -0
- package/types/runtime/preview.d.ts +26 -0
- package/types/runtime/preview.d.ts.map +1 -0
- package/types/runtime/push.d.ts +19 -0
- package/types/runtime/push.d.ts.map +1 -0
- package/types/runtime/query-param.d.ts +14 -0
- package/types/runtime/query-param.d.ts.map +1 -0
- package/types/runtime/queue-jobs.d.ts +16 -0
- package/types/runtime/queue-jobs.d.ts.map +1 -0
- package/types/runtime/random-id.d.ts +2 -0
- package/types/runtime/random-id.d.ts.map +1 -0
- package/types/runtime/reactive-collections.d.ts +3 -0
- package/types/runtime/reactive-collections.d.ts.map +1 -0
- package/types/runtime/reactive.d.ts +112 -0
- package/types/runtime/reactive.d.ts.map +1 -0
- package/types/runtime/recipe.d.ts +34 -0
- package/types/runtime/recipe.d.ts.map +1 -0
- package/types/runtime/refetch-island.d.ts +2 -0
- package/types/runtime/refetch-island.d.ts.map +1 -0
- package/types/runtime/refuse.d.ts +18 -0
- package/types/runtime/refuse.d.ts.map +1 -0
- package/types/runtime/rendered.d.ts +9 -0
- package/types/runtime/rendered.d.ts.map +1 -0
- package/types/runtime/report-error.d.ts +2 -0
- package/types/runtime/report-error.d.ts.map +1 -0
- package/types/runtime/retry-later.d.ts +2 -0
- package/types/runtime/retry-later.d.ts.map +1 -0
- package/types/runtime/reveal.d.ts +2 -0
- package/types/runtime/reveal.d.ts.map +1 -0
- package/types/runtime/root.d.ts +3 -0
- package/types/runtime/root.d.ts.map +1 -0
- package/types/runtime/route.d.ts +19 -0
- package/types/runtime/route.d.ts.map +1 -0
- package/types/runtime/safe-code.d.ts +2 -0
- package/types/runtime/safe-code.d.ts.map +1 -0
- package/types/runtime/safe-html.d.ts +7 -0
- package/types/runtime/safe-html.d.ts.map +1 -0
- package/types/runtime/sanitize.d.ts +15 -0
- package/types/runtime/sanitize.d.ts.map +1 -0
- package/types/runtime/save-data.d.ts +2 -0
- package/types/runtime/save-data.d.ts.map +1 -0
- package/types/runtime/schema-bounds.d.ts +4 -0
- package/types/runtime/schema-bounds.d.ts.map +1 -0
- package/types/runtime/schema.client.d.ts +3 -0
- package/types/runtime/schema.client.d.ts.map +1 -0
- package/types/runtime/schema.d.ts +32 -0
- package/types/runtime/schema.d.ts.map +1 -0
- package/types/runtime/search-arrival.d.ts +2 -0
- package/types/runtime/search-arrival.d.ts.map +1 -0
- package/types/runtime/search-results.d.ts +4 -0
- package/types/runtime/search-results.d.ts.map +1 -0
- package/types/runtime/search.d.ts +48 -0
- package/types/runtime/search.d.ts.map +1 -0
- package/types/runtime/send.d.ts +3 -0
- package/types/runtime/send.d.ts.map +1 -0
- package/types/runtime/seo.d.ts +15 -0
- package/types/runtime/seo.d.ts.map +1 -0
- package/types/runtime/server-islands.d.ts +3 -0
- package/types/runtime/server-islands.d.ts.map +1 -0
- package/types/runtime/shortcut.d.ts +9 -0
- package/types/runtime/shortcut.d.ts.map +1 -0
- package/types/runtime/site.d.ts +14 -0
- package/types/runtime/site.d.ts.map +1 -0
- package/types/runtime/size-text.d.ts +2 -0
- package/types/runtime/size-text.d.ts.map +1 -0
- package/types/runtime/snapshots.d.ts +13 -0
- package/types/runtime/snapshots.d.ts.map +1 -0
- package/types/runtime/sqlite.server.d.ts +4 -0
- package/types/runtime/sqlite.server.d.ts.map +1 -0
- package/types/runtime/sse.d.ts +3 -0
- package/types/runtime/sse.d.ts.map +1 -0
- package/types/runtime/stale.d.ts +4 -0
- package/types/runtime/stale.d.ts.map +1 -0
- package/types/runtime/static-slots.d.ts +4 -0
- package/types/runtime/static-slots.d.ts.map +1 -0
- package/types/runtime/store-base.d.ts +6 -0
- package/types/runtime/store-base.d.ts.map +1 -0
- package/types/runtime/store.d.ts +12 -0
- package/types/runtime/store.d.ts.map +1 -0
- package/types/runtime/swap-fetch.d.ts +10 -0
- package/types/runtime/swap-fetch.d.ts.map +1 -0
- package/types/runtime/swap-flight.d.ts +36 -0
- package/types/runtime/swap-flight.d.ts.map +1 -0
- package/types/runtime/swap-focus.d.ts +6 -0
- package/types/runtime/swap-focus.d.ts.map +1 -0
- package/types/runtime/swap-head.d.ts +8 -0
- package/types/runtime/swap-head.d.ts.map +1 -0
- package/types/runtime/swap-held.d.ts +2 -0
- package/types/runtime/swap-held.d.ts.map +1 -0
- package/types/runtime/swap-kept.d.ts +8 -0
- package/types/runtime/swap-kept.d.ts.map +1 -0
- package/types/runtime/swap-loading.d.ts +6 -0
- package/types/runtime/swap-loading.d.ts.map +1 -0
- package/types/runtime/swap-morph.d.ts +8 -0
- package/types/runtime/swap-morph.d.ts.map +1 -0
- package/types/runtime/swap-refusal.d.ts +2 -0
- package/types/runtime/swap-refusal.d.ts.map +1 -0
- package/types/runtime/swap-streamed.d.ts +14 -0
- package/types/runtime/swap-streamed.d.ts.map +1 -0
- package/types/runtime/swap-transition.d.ts +4 -0
- package/types/runtime/swap-transition.d.ts.map +1 -0
- package/types/runtime/swap.d.ts +16 -0
- package/types/runtime/swap.d.ts.map +1 -0
- package/types/runtime/template-context.d.ts +28 -0
- package/types/runtime/template-context.d.ts.map +1 -0
- package/types/runtime/transition.d.ts +11 -0
- package/types/runtime/transition.d.ts.map +1 -0
- package/types/runtime/ui.d.ts +22 -0
- package/types/runtime/ui.d.ts.map +1 -0
- package/types/runtime/uid.d.ts +10 -0
- package/types/runtime/uid.d.ts.map +1 -0
- package/types/runtime/uid.server.d.ts +6 -0
- package/types/runtime/uid.server.d.ts.map +1 -0
- package/types/runtime/upload.d.ts +2 -0
- package/types/runtime/upload.d.ts.map +1 -0
- package/types/runtime/url-attributes.d.ts +2 -0
- package/types/runtime/url-attributes.d.ts.map +1 -0
- package/types/runtime/url-report.d.ts +5 -0
- package/types/runtime/url-report.d.ts.map +1 -0
- package/types/runtime/url.d.ts +5 -0
- package/types/runtime/url.d.ts.map +1 -0
- package/types/runtime/validate.d.ts +26 -0
- package/types/runtime/validate.d.ts.map +1 -0
- package/types/runtime/values.d.ts +18 -0
- package/types/runtime/values.d.ts.map +1 -0
- package/types/runtime/visibility.d.ts +3 -0
- package/types/runtime/visibility.d.ts.map +1 -0
- package/types/runtime/warn-once.d.ts +4 -0
- package/types/runtime/warn-once.d.ts.map +1 -0
- package/types/runtime/wire.d.ts +15 -0
- package/types/runtime/wire.d.ts.map +1 -0
- package/types/runtime/with-query.d.ts +5 -0
- package/types/runtime/with-query.d.ts.map +1 -0
- package/types/runtime/words.client.d.ts +8 -0
- package/types/runtime/words.client.d.ts.map +1 -0
- package/types/runtime/words.server.d.ts +7 -0
- package/types/runtime/words.server.d.ts.map +1 -0
- package/types/runtime/work-worker.d.ts +2 -0
- package/types/runtime/work-worker.d.ts.map +1 -0
- package/types/runtime/work.client.d.ts +4 -0
- package/types/runtime/work.client.d.ts.map +1 -0
- package/types/runtime/work.d.ts +4 -0
- package/types/runtime/work.d.ts.map +1 -0
- package/types/server/accept-language.d.ts +5 -0
- package/types/server/accept-language.d.ts.map +1 -0
- package/types/server/action-clash.d.ts +2 -0
- package/types/server/action-clash.d.ts.map +1 -0
- package/types/server/action-hooks.d.ts +19 -0
- package/types/server/action-hooks.d.ts.map +1 -0
- package/types/server/action-input.d.ts +3 -0
- package/types/server/action-input.d.ts.map +1 -0
- package/types/server/action-iterable.d.ts +7 -0
- package/types/server/action-iterable.d.ts.map +1 -0
- package/types/server/actions.d.ts +56 -0
- package/types/server/actions.d.ts.map +1 -0
- package/types/server/address.d.ts +20 -0
- package/types/server/address.d.ts.map +1 -0
- package/types/server/analytics-script.d.ts +5 -0
- package/types/server/analytics-script.d.ts.map +1 -0
- package/types/server/analytics-server.d.ts +12 -0
- package/types/server/analytics-server.d.ts.map +1 -0
- package/types/server/analytics-words.d.ts +8 -0
- package/types/server/analytics-words.d.ts.map +1 -0
- package/types/server/analytics.d.ts +109 -0
- package/types/server/analytics.d.ts.map +1 -0
- package/types/server/api-modules.d.ts +51 -0
- package/types/server/api-modules.d.ts.map +1 -0
- package/types/server/api-params.d.ts +16 -0
- package/types/server/api-params.d.ts.map +1 -0
- package/types/server/api.d.ts +50 -0
- package/types/server/api.d.ts.map +1 -0
- package/types/server/app-database.d.ts +13 -0
- package/types/server/app-database.d.ts.map +1 -0
- package/types/server/app-hooks.d.ts +26 -0
- package/types/server/app-hooks.d.ts.map +1 -0
- package/types/server/app-identity.d.ts +13 -0
- package/types/server/app-identity.d.ts.map +1 -0
- package/types/server/app-stages.d.ts +210 -0
- package/types/server/app-stages.d.ts.map +1 -0
- package/types/server/app-store.d.ts +33 -0
- package/types/server/app-store.d.ts.map +1 -0
- package/types/server/app.d.ts +122 -0
- package/types/server/app.d.ts.map +1 -0
- package/types/server/auth-mails.d.ts +357 -0
- package/types/server/auth-mails.d.ts.map +1 -0
- package/types/server/auto-listen.d.ts +6 -0
- package/types/server/auto-listen.d.ts.map +1 -0
- package/types/server/avif-worker.d.ts +19 -0
- package/types/server/avif-worker.d.ts.map +1 -0
- package/types/server/avif.d.ts +12 -0
- package/types/server/avif.d.ts.map +1 -0
- package/types/server/base.d.ts +9 -0
- package/types/server/base.d.ts.map +1 -0
- package/types/server/basic-auth.d.ts +13 -0
- package/types/server/basic-auth.d.ts.map +1 -0
- package/types/server/body.d.ts +23 -0
- package/types/server/body.d.ts.map +1 -0
- package/types/server/build-files.d.ts +8 -0
- package/types/server/build-files.d.ts.map +1 -0
- package/types/server/builtins.d.ts +5 -0
- package/types/server/builtins.d.ts.map +1 -0
- package/types/server/bundle.d.ts +26 -0
- package/types/server/bundle.d.ts.map +1 -0
- package/types/server/card-draw.d.ts +20 -0
- package/types/server/card-draw.d.ts.map +1 -0
- package/types/server/card-template.d.ts +8 -0
- package/types/server/card-template.d.ts.map +1 -0
- package/types/server/card.d.ts +73 -0
- package/types/server/card.d.ts.map +1 -0
- package/types/server/ceiling.d.ts +2 -0
- package/types/server/ceiling.d.ts.map +1 -0
- package/types/server/clean-context.d.ts +2 -0
- package/types/server/clean-context.d.ts.map +1 -0
- package/types/server/client.d.ts +91 -0
- package/types/server/client.d.ts.map +1 -0
- package/types/server/codec/avif-enc-build.d.ts +2 -0
- package/types/server/codec/avif-enc-build.d.ts.map +1 -0
- package/types/server/compress-policy.d.ts +2 -0
- package/types/server/compress-policy.d.ts.map +1 -0
- package/types/server/compress.d.ts +44 -0
- package/types/server/compress.d.ts.map +1 -0
- package/types/server/config-error.d.ts +10 -0
- package/types/server/config-error.d.ts.map +1 -0
- package/types/server/config-limits.d.ts +37 -0
- package/types/server/config-limits.d.ts.map +1 -0
- package/types/server/consent-cookie.d.ts +2 -0
- package/types/server/consent-cookie.d.ts.map +1 -0
- package/types/server/context-reads.d.ts +2 -0
- package/types/server/context-reads.d.ts.map +1 -0
- package/types/server/context-record.d.ts +10 -0
- package/types/server/context-record.d.ts.map +1 -0
- package/types/server/context-values.d.ts +15 -0
- package/types/server/context-values.d.ts.map +1 -0
- package/types/server/cookie-names.d.ts +3 -0
- package/types/server/cookie-names.d.ts.map +1 -0
- package/types/server/cookies.d.ts +36 -0
- package/types/server/cookies.d.ts.map +1 -0
- package/types/server/cors.d.ts +35 -0
- package/types/server/cors.d.ts.map +1 -0
- package/types/server/crop.d.ts +16 -0
- package/types/server/crop.d.ts.map +1 -0
- package/types/server/cross-site.d.ts +9 -0
- package/types/server/cross-site.d.ts.map +1 -0
- package/types/server/csp.d.ts +13 -0
- package/types/server/csp.d.ts.map +1 -0
- package/types/server/dev-data.d.ts +44 -0
- package/types/server/dev-data.d.ts.map +1 -0
- package/types/server/dev-errors.d.ts +34 -0
- package/types/server/dev-errors.d.ts.map +1 -0
- package/types/server/dev-footprint.d.ts +2 -0
- package/types/server/dev-footprint.d.ts.map +1 -0
- package/types/server/dev-head.d.ts +13 -0
- package/types/server/dev-head.d.ts.map +1 -0
- package/types/server/dev-jobs.d.ts +4 -0
- package/types/server/dev-jobs.d.ts.map +1 -0
- package/types/server/dev-not-found.d.ts +9 -0
- package/types/server/dev-not-found.d.ts.map +1 -0
- package/types/server/dev-notes.d.ts +3 -0
- package/types/server/dev-notes.d.ts.map +1 -0
- package/types/server/dev-offered.d.ts +6 -0
- package/types/server/dev-offered.d.ts.map +1 -0
- package/types/server/dev-secret.d.ts +2 -0
- package/types/server/dev-secret.d.ts.map +1 -0
- package/types/server/dev-sizes.d.ts +18 -0
- package/types/server/dev-sizes.d.ts.map +1 -0
- package/types/server/dev-sqlite-worker.d.ts +22 -0
- package/types/server/dev-sqlite-worker.d.ts.map +1 -0
- package/types/server/dev-ui.d.ts +3 -0
- package/types/server/dev-ui.d.ts.map +1 -0
- package/types/server/dev.d.ts +158 -0
- package/types/server/dev.d.ts.map +1 -0
- package/types/server/dictionary.d.ts +28 -0
- package/types/server/dictionary.d.ts.map +1 -0
- package/types/server/drain.d.ts +5 -0
- package/types/server/drain.d.ts.map +1 -0
- package/types/server/editor.d.ts +2 -0
- package/types/server/editor.d.ts.map +1 -0
- package/types/server/endpoint-claims.d.ts +4 -0
- package/types/server/endpoint-claims.d.ts.map +1 -0
- package/types/server/endpoint-verbs.d.ts +11 -0
- package/types/server/endpoint-verbs.d.ts.map +1 -0
- package/types/server/endpoints.d.ts +12 -0
- package/types/server/endpoints.d.ts.map +1 -0
- package/types/server/entry-drafts.d.ts +15 -0
- package/types/server/entry-drafts.d.ts.map +1 -0
- package/types/server/entry-head.d.ts +5 -0
- package/types/server/entry-head.d.ts.map +1 -0
- package/types/server/entry-urls.d.ts +6 -0
- package/types/server/entry-urls.d.ts.map +1 -0
- package/types/server/env-state.d.ts +22 -0
- package/types/server/env-state.d.ts.map +1 -0
- package/types/server/env.d.ts +22 -0
- package/types/server/env.d.ts.map +1 -0
- package/types/server/error-maps.d.ts +3 -0
- package/types/server/error-maps.d.ts.map +1 -0
- package/types/server/errors.d.ts +13 -0
- package/types/server/errors.d.ts.map +1 -0
- package/types/server/event-stream.d.ts +22 -0
- package/types/server/event-stream.d.ts.map +1 -0
- package/types/server/face.d.ts +16 -0
- package/types/server/face.d.ts.map +1 -0
- package/types/server/favicon.d.ts +60 -0
- package/types/server/favicon.d.ts.map +1 -0
- package/types/server/fetch-public.d.ts +12 -0
- package/types/server/fetch-public.d.ts.map +1 -0
- package/types/server/field-errors.d.ts +6 -0
- package/types/server/field-errors.d.ts.map +1 -0
- package/types/server/file-limit.d.ts +3 -0
- package/types/server/file-limit.d.ts.map +1 -0
- package/types/server/file-type.d.ts +4 -0
- package/types/server/file-type.d.ts.map +1 -0
- package/types/server/flash.d.ts +24 -0
- package/types/server/flash.d.ts.map +1 -0
- package/types/server/font-metrics.d.ts +22 -0
- package/types/server/font-metrics.d.ts.map +1 -0
- package/types/server/fonts.d.ts +26 -0
- package/types/server/fonts.d.ts.map +1 -0
- package/types/server/forms.d.ts +3 -0
- package/types/server/forms.d.ts.map +1 -0
- package/types/server/guard-requirement.d.ts +8 -0
- package/types/server/guard-requirement.d.ts.map +1 -0
- package/types/server/guard-runs.d.ts +5 -0
- package/types/server/guard-runs.d.ts.map +1 -0
- package/types/server/guards.d.ts +24 -0
- package/types/server/guards.d.ts.map +1 -0
- package/types/server/handler-timing.d.ts +2 -0
- package/types/server/handler-timing.d.ts.map +1 -0
- package/types/server/history.d.ts +2 -0
- package/types/server/history.d.ts.map +1 -0
- package/types/server/hooks.d.ts +28 -0
- package/types/server/hooks.d.ts.map +1 -0
- package/types/server/host-allowlist.d.ts +11 -0
- package/types/server/host-allowlist.d.ts.map +1 -0
- package/types/server/hydration.d.ts +3 -0
- package/types/server/hydration.d.ts.map +1 -0
- package/types/server/i18n.d.ts +70 -0
- package/types/server/i18n.d.ts.map +1 -0
- package/types/server/image-color.d.ts +5 -0
- package/types/server/image-color.d.ts.map +1 -0
- package/types/server/image-format.d.ts +18 -0
- package/types/server/image-format.d.ts.map +1 -0
- package/types/server/image-limits.d.ts +17 -0
- package/types/server/image-limits.d.ts.map +1 -0
- package/types/server/image-metadata-bmff.d.ts +3 -0
- package/types/server/image-metadata-bmff.d.ts.map +1 -0
- package/types/server/image-metadata.d.ts +3 -0
- package/types/server/image-metadata.d.ts.map +1 -0
- package/types/server/image.d.ts +98 -0
- package/types/server/image.d.ts.map +1 -0
- package/types/server/index.d.ts +82 -0
- package/types/server/index.d.ts.map +1 -0
- package/types/server/internal.d.ts +8 -0
- package/types/server/internal.d.ts.map +1 -0
- package/types/server/job-admin.d.ts +36 -0
- package/types/server/job-admin.d.ts.map +1 -0
- package/types/server/job-status.d.ts +3 -0
- package/types/server/job-status.d.ts.map +1 -0
- package/types/server/job-steps.d.ts +2 -0
- package/types/server/job-steps.d.ts.map +1 -0
- package/types/server/jobs-page.d.ts +12 -0
- package/types/server/jobs-page.d.ts.map +1 -0
- package/types/server/jobs.d.ts +64 -0
- package/types/server/jobs.d.ts.map +1 -0
- package/types/server/kept-exports.d.ts +5 -0
- package/types/server/kept-exports.d.ts.map +1 -0
- package/types/server/kept-pages.d.ts +9 -0
- package/types/server/kept-pages.d.ts.map +1 -0
- package/types/server/kept-source.d.ts +48 -0
- package/types/server/kept-source.d.ts.map +1 -0
- package/types/server/kv.d.ts +17 -0
- package/types/server/kv.d.ts.map +1 -0
- package/types/server/lazy-guard.d.ts +10 -0
- package/types/server/lazy-guard.d.ts.map +1 -0
- package/types/server/library.d.ts +109 -0
- package/types/server/library.d.ts.map +1 -0
- package/types/server/lifecycle.d.ts +18 -0
- package/types/server/lifecycle.d.ts.map +1 -0
- package/types/server/limit.d.ts +6 -0
- package/types/server/limit.d.ts.map +1 -0
- package/types/server/link-schemes.d.ts +3 -0
- package/types/server/link-schemes.d.ts.map +1 -0
- package/types/server/links.d.ts +4 -0
- package/types/server/links.d.ts.map +1 -0
- package/types/server/literal-writes.d.ts +43 -0
- package/types/server/literal-writes.d.ts.map +1 -0
- package/types/server/live.d.ts +34 -0
- package/types/server/live.d.ts.map +1 -0
- package/types/server/load-budget.d.ts +4 -0
- package/types/server/load-budget.d.ts.map +1 -0
- package/types/server/loader.d.ts +5 -0
- package/types/server/loader.d.ts.map +1 -0
- package/types/server/loading-page.d.ts +6 -0
- package/types/server/loading-page.d.ts.map +1 -0
- package/types/server/local-files.d.ts +4 -0
- package/types/server/local-files.d.ts.map +1 -0
- package/types/server/log.d.ts +51 -0
- package/types/server/log.d.ts.map +1 -0
- package/types/server/maintenance.d.ts +24 -0
- package/types/server/maintenance.d.ts.map +1 -0
- package/types/server/mcp-key.d.ts +12 -0
- package/types/server/mcp-key.d.ts.map +1 -0
- package/types/server/mcp.d.ts +58 -0
- package/types/server/mcp.d.ts.map +1 -0
- package/types/server/memory-jobs.d.ts +3 -0
- package/types/server/memory-jobs.d.ts.map +1 -0
- package/types/server/memory-mark.d.ts +3 -0
- package/types/server/memory-mark.d.ts.map +1 -0
- package/types/server/message-drafts.d.ts +13 -0
- package/types/server/message-drafts.d.ts.map +1 -0
- package/types/server/metrics.d.ts +14 -0
- package/types/server/metrics.d.ts.map +1 -0
- package/types/server/missing-hits.d.ts +16 -0
- package/types/server/missing-hits.d.ts.map +1 -0
- package/types/server/module-state.d.ts +9 -0
- package/types/server/module-state.d.ts.map +1 -0
- package/types/server/new-tab.d.ts +4 -0
- package/types/server/new-tab.d.ts.map +1 -0
- package/types/server/not-found-config.d.ts +5 -0
- package/types/server/not-found-config.d.ts.map +1 -0
- package/types/server/not-found.d.ts +79 -0
- package/types/server/not-found.d.ts.map +1 -0
- package/types/server/notifications.d.ts +55 -0
- package/types/server/notifications.d.ts.map +1 -0
- package/types/server/offline.d.ts +22 -0
- package/types/server/offline.d.ts.map +1 -0
- package/types/server/openapi.d.ts +84 -0
- package/types/server/openapi.d.ts.map +1 -0
- package/types/server/option-keys.d.ts +2 -0
- package/types/server/option-keys.d.ts.map +1 -0
- package/types/server/overlay.d.ts +12 -0
- package/types/server/overlay.d.ts.map +1 -0
- package/types/server/own-headers.d.ts +21 -0
- package/types/server/own-headers.d.ts.map +1 -0
- package/types/server/page-error.d.ts +7 -0
- package/types/server/page-error.d.ts.map +1 -0
- package/types/server/page-flags.d.ts +5 -0
- package/types/server/page-flags.d.ts.map +1 -0
- package/types/server/page-headers.d.ts +6 -0
- package/types/server/page-headers.d.ts.map +1 -0
- package/types/server/page-hook.d.ts +32 -0
- package/types/server/page-hook.d.ts.map +1 -0
- package/types/server/page-limits.d.ts +26 -0
- package/types/server/page-limits.d.ts.map +1 -0
- package/types/server/page-reads.d.ts +6 -0
- package/types/server/page-reads.d.ts.map +1 -0
- package/types/server/page-routes.d.ts +48 -0
- package/types/server/page-routes.d.ts.map +1 -0
- package/types/server/page-settings.d.ts +13 -0
- package/types/server/page-settings.d.ts.map +1 -0
- package/types/server/params.d.ts +20 -0
- package/types/server/params.d.ts.map +1 -0
- package/types/server/parent.d.ts +5 -0
- package/types/server/parent.d.ts.map +1 -0
- package/types/server/personal-data.d.ts +13 -0
- package/types/server/personal-data.d.ts.map +1 -0
- package/types/server/pg-cache.d.ts +4 -0
- package/types/server/pg-cache.d.ts.map +1 -0
- package/types/server/pg-data.d.ts +30 -0
- package/types/server/pg-data.d.ts.map +1 -0
- package/types/server/pg-jobs.d.ts +31 -0
- package/types/server/pg-jobs.d.ts.map +1 -0
- package/types/server/pg-limit.d.ts +10 -0
- package/types/server/pg-limit.d.ts.map +1 -0
- package/types/server/pg-live.d.ts +4 -0
- package/types/server/pg-live.d.ts.map +1 -0
- package/types/server/pg-not-found.d.ts +30 -0
- package/types/server/pg-not-found.d.ts.map +1 -0
- package/types/server/pg-notify.d.ts +9 -0
- package/types/server/pg-notify.d.ts.map +1 -0
- package/types/server/pg-orm.d.ts +32 -0
- package/types/server/pg-orm.d.ts.map +1 -0
- package/types/server/pg-poll.d.ts +41 -0
- package/types/server/pg-poll.d.ts.map +1 -0
- package/types/server/pg-redirects.d.ts +4 -0
- package/types/server/pg-redirects.d.ts.map +1 -0
- package/types/server/pg-rooms.d.ts +7 -0
- package/types/server/pg-rooms.d.ts.map +1 -0
- package/types/server/pg-sql.d.ts +6 -0
- package/types/server/pg-sql.d.ts.map +1 -0
- package/types/server/pg-stores.d.ts +14 -0
- package/types/server/pg-stores.d.ts.map +1 -0
- package/types/server/plugin.d.ts +32 -0
- package/types/server/plugin.d.ts.map +1 -0
- package/types/server/plumbing.d.ts +20 -0
- package/types/server/plumbing.d.ts.map +1 -0
- package/types/server/png.d.ts +9 -0
- package/types/server/png.d.ts.map +1 -0
- package/types/server/prebuilt-loader.d.ts +2 -0
- package/types/server/prebuilt-loader.d.ts.map +1 -0
- package/types/server/prerender.d.ts +34 -0
- package/types/server/prerender.d.ts.map +1 -0
- package/types/server/prerendered.d.ts +19 -0
- package/types/server/prerendered.d.ts.map +1 -0
- package/types/server/presence.d.ts +10 -0
- package/types/server/presence.d.ts.map +1 -0
- package/types/server/preview.d.ts +55 -0
- package/types/server/preview.d.ts.map +1 -0
- package/types/server/private-dir.d.ts +7 -0
- package/types/server/private-dir.d.ts.map +1 -0
- package/types/server/protection.d.ts +95 -0
- package/types/server/protection.d.ts.map +1 -0
- package/types/server/proxy-key.d.ts +14 -0
- package/types/server/proxy-key.d.ts.map +1 -0
- package/types/server/public-suffix.d.ts +2 -0
- package/types/server/public-suffix.d.ts.map +1 -0
- package/types/server/public-suffixes.d.ts +3 -0
- package/types/server/public-suffixes.d.ts.map +1 -0
- package/types/server/public.d.ts +23 -0
- package/types/server/public.d.ts.map +1 -0
- package/types/server/publishing.d.ts +13 -0
- package/types/server/publishing.d.ts.map +1 -0
- package/types/server/pure-page.d.ts +21 -0
- package/types/server/pure-page.d.ts.map +1 -0
- package/types/server/push-crypto.d.ts +21 -0
- package/types/server/push-crypto.d.ts.map +1 -0
- package/types/server/push-keys-command.d.ts +4 -0
- package/types/server/push-keys-command.d.ts.map +1 -0
- package/types/server/push-server.d.ts +4 -0
- package/types/server/push-server.d.ts.map +1 -0
- package/types/server/push-settings.d.ts +18 -0
- package/types/server/push-settings.d.ts.map +1 -0
- package/types/server/push-store.d.ts +19 -0
- package/types/server/push-store.d.ts.map +1 -0
- package/types/server/push.d.ts +48 -0
- package/types/server/push.d.ts.map +1 -0
- package/types/server/query.d.ts +14 -0
- package/types/server/query.d.ts.map +1 -0
- package/types/server/queue-live.d.ts +20 -0
- package/types/server/queue-live.d.ts.map +1 -0
- package/types/server/queue-scheduler.d.ts +31 -0
- package/types/server/queue-scheduler.d.ts.map +1 -0
- package/types/server/queue-telling.d.ts +3 -0
- package/types/server/queue-telling.d.ts.map +1 -0
- package/types/server/queue.d.ts +166 -0
- package/types/server/queue.d.ts.map +1 -0
- package/types/server/raster.d.ts +14 -0
- package/types/server/raster.d.ts.map +1 -0
- package/types/server/rate-limit.d.ts +9 -0
- package/types/server/rate-limit.d.ts.map +1 -0
- package/types/server/rate-refusal.d.ts +4 -0
- package/types/server/rate-refusal.d.ts.map +1 -0
- package/types/server/reach-walk.d.ts +4 -0
- package/types/server/reach-walk.d.ts.map +1 -0
- package/types/server/reach.d.ts +11 -0
- package/types/server/reach.d.ts.map +1 -0
- package/types/server/redirect-spelling.d.ts +5 -0
- package/types/server/redirect-spelling.d.ts.map +1 -0
- package/types/server/redirects.d.ts +27 -0
- package/types/server/redirects.d.ts.map +1 -0
- package/types/server/reload.d.ts +4 -0
- package/types/server/reload.d.ts.map +1 -0
- package/types/server/remote.d.ts +24 -0
- package/types/server/remote.d.ts.map +1 -0
- package/types/server/render-document.d.ts +21 -0
- package/types/server/render-document.d.ts.map +1 -0
- package/types/server/render.d.ts +117 -0
- package/types/server/render.d.ts.map +1 -0
- package/types/server/report.d.ts +7 -0
- package/types/server/report.d.ts.map +1 -0
- package/types/server/request-read.d.ts +15 -0
- package/types/server/request-read.d.ts.map +1 -0
- package/types/server/request-record.d.ts +75 -0
- package/types/server/request-record.d.ts.map +1 -0
- package/types/server/request-scope.d.ts +7 -0
- package/types/server/request-scope.d.ts.map +1 -0
- package/types/server/request-timeout.d.ts +31 -0
- package/types/server/request-timeout.d.ts.map +1 -0
- package/types/server/request-url.d.ts +4 -0
- package/types/server/request-url.d.ts.map +1 -0
- package/types/server/request-user.d.ts +4 -0
- package/types/server/request-user.d.ts.map +1 -0
- package/types/server/resources.d.ts +12 -0
- package/types/server/resources.d.ts.map +1 -0
- package/types/server/response-mismatch.d.ts +3 -0
- package/types/server/response-mismatch.d.ts.map +1 -0
- package/types/server/revalidate.d.ts +3 -0
- package/types/server/revalidate.d.ts.map +1 -0
- package/types/server/rewrite.d.ts +13 -0
- package/types/server/rewrite.d.ts.map +1 -0
- package/types/server/rooms.d.ts +57 -0
- package/types/server/rooms.d.ts.map +1 -0
- package/types/server/route-table.d.ts +26 -0
- package/types/server/route-table.d.ts.map +1 -0
- package/types/server/routes.d.ts +106 -0
- package/types/server/routes.d.ts.map +1 -0
- package/types/server/runtime-redirect-api.d.ts +35 -0
- package/types/server/runtime-redirect-api.d.ts.map +1 -0
- package/types/server/runtime-redirects.d.ts +74 -0
- package/types/server/runtime-redirects.d.ts.map +1 -0
- package/types/server/safe-path.d.ts +2 -0
- package/types/server/safe-path.d.ts.map +1 -0
- package/types/server/save-data.d.ts +10 -0
- package/types/server/save-data.d.ts.map +1 -0
- package/types/server/schema-answer.d.ts +12 -0
- package/types/server/schema-answer.d.ts.map +1 -0
- package/types/server/schema-check.d.ts +12 -0
- package/types/server/schema-check.d.ts.map +1 -0
- package/types/server/scope.d.ts +12 -0
- package/types/server/scope.d.ts.map +1 -0
- package/types/server/seal.d.ts +11 -0
- package/types/server/seal.d.ts.map +1 -0
- package/types/server/security.d.ts +20 -0
- package/types/server/security.d.ts.map +1 -0
- package/types/server/seo.d.ts +15 -0
- package/types/server/seo.d.ts.map +1 -0
- package/types/server/served-paths.d.ts +26 -0
- package/types/server/served-paths.d.ts.map +1 -0
- package/types/server/server-islands.d.ts +28 -0
- package/types/server/server-islands.d.ts.map +1 -0
- package/types/server/server-record.d.ts +23 -0
- package/types/server/server-record.d.ts.map +1 -0
- package/types/server/serving.d.ts +5 -0
- package/types/server/serving.d.ts.map +1 -0
- package/types/server/session.d.ts +110 -0
- package/types/server/session.d.ts.map +1 -0
- package/types/server/setup.d.ts +49 -0
- package/types/server/setup.d.ts.map +1 -0
- package/types/server/sha256.d.ts +7 -0
- package/types/server/sha256.d.ts.map +1 -0
- package/types/server/signals.d.ts +17 -0
- package/types/server/signals.d.ts.map +1 -0
- package/types/server/signed.d.ts +9 -0
- package/types/server/signed.d.ts.map +1 -0
- package/types/server/site-facts.d.ts +8 -0
- package/types/server/site-facts.d.ts.map +1 -0
- package/types/server/site-paths.d.ts +3 -0
- package/types/server/site-paths.d.ts.map +1 -0
- package/types/server/sitemap.d.ts +35 -0
- package/types/server/sitemap.d.ts.map +1 -0
- package/types/server/snake-case.d.ts +2 -0
- package/types/server/snake-case.d.ts.map +1 -0
- package/types/server/source.d.ts +33 -0
- package/types/server/source.d.ts.map +1 -0
- package/types/server/speculation.d.ts +4 -0
- package/types/server/speculation.d.ts.map +1 -0
- package/types/server/sqlite-data.d.ts +14 -0
- package/types/server/sqlite-data.d.ts.map +1 -0
- package/types/server/sqlite-live.d.ts +3 -0
- package/types/server/sqlite-live.d.ts.map +1 -0
- package/types/server/stale-pages.d.ts +17 -0
- package/types/server/stale-pages.d.ts.map +1 -0
- package/types/server/stamp.d.ts +24 -0
- package/types/server/stamp.d.ts.map +1 -0
- package/types/server/storage.d.ts +70 -0
- package/types/server/storage.d.ts.map +1 -0
- package/types/server/stream.d.ts +26 -0
- package/types/server/stream.d.ts.map +1 -0
- package/types/server/string.d.ts +9 -0
- package/types/server/string.d.ts.map +1 -0
- package/types/server/svg-icon.d.ts +3 -0
- package/types/server/svg-icon.d.ts.map +1 -0
- package/types/server/swap.d.ts +3 -0
- package/types/server/swap.d.ts.map +1 -0
- package/types/server/tool-outputs.d.ts +12 -0
- package/types/server/tool-outputs.d.ts.map +1 -0
- package/types/server/tool-settings.d.ts +3 -0
- package/types/server/tool-settings.d.ts.map +1 -0
- package/types/server/trace-context.d.ts +17 -0
- package/types/server/trace-context.d.ts.map +1 -0
- package/types/server/trace.d.ts +33 -0
- package/types/server/trace.d.ts.map +1 -0
- package/types/server/translations.d.ts +8 -0
- package/types/server/translations.d.ts.map +1 -0
- package/types/server/typography.d.ts +3 -0
- package/types/server/typography.d.ts.map +1 -0
- package/types/server/uncaught.d.ts +9 -0
- package/types/server/uncaught.d.ts.map +1 -0
- package/types/server/unsafe-urls.d.ts +2 -0
- package/types/server/unsafe-urls.d.ts.map +1 -0
- package/types/server/violations.d.ts +18 -0
- package/types/server/violations.d.ts.map +1 -0
- package/types/server/visit.d.ts +11 -0
- package/types/server/visit.d.ts.map +1 -0
- package/types/server/vitals-routes/_guard.d.ts +3 -0
- package/types/server/vitals-routes/_guard.d.ts.map +1 -0
- package/types/server/vitals-screen.d.ts +5 -0
- package/types/server/vitals-screen.d.ts.map +1 -0
- package/types/server/vitals-script.d.ts +3 -0
- package/types/server/vitals-script.d.ts.map +1 -0
- package/types/server/vitals-server.d.ts +4 -0
- package/types/server/vitals-server.d.ts.map +1 -0
- package/types/server/vitals-store.d.ts +41 -0
- package/types/server/vitals-store.d.ts.map +1 -0
- package/types/server/vitals.d.ts +20 -0
- package/types/server/vitals.d.ts.map +1 -0
- package/types/server/web-socket.d.ts +11 -0
- package/types/server/web-socket.d.ts.map +1 -0
- package/types/server/wildcards.d.ts +3 -0
- package/types/server/wildcards.d.ts.map +1 -0
- package/types/server/words.d.ts +49 -0
- package/types/server/words.d.ts.map +1 -0
- package/types/server/work-scope.d.ts +14 -0
- package/types/server/work-scope.d.ts.map +1 -0
- package/types/server/work.d.ts +11 -0
- package/types/server/work.d.ts.map +1 -0
- package/types/server/workers.d.ts +23 -0
- package/types/server/workers.d.ts.map +1 -0
- package/types/server/workflow.d.ts +93 -0
- package/types/server/workflow.d.ts.map +1 -0
- package/types/server/writes.d.ts +4 -0
- package/types/server/writes.d.ts.map +1 -0
- package/types/server/ws-limits.d.ts +34 -0
- package/types/server/ws-limits.d.ts.map +1 -0
- package/types/svg-attributes.d.ts +2 -0
- package/types/svg-attributes.d.ts.map +1 -0
- package/types/template-auth.d.ts +4 -0
- package/types/template-auth.d.ts.map +1 -0
- package/types/template-ci.d.ts +4 -0
- package/types/template-ci.d.ts.map +1 -0
- package/types/template-config.d.ts +4 -0
- package/types/template-config.d.ts.map +1 -0
- package/types/template-docker.d.ts +6 -0
- package/types/template-docker.d.ts.map +1 -0
- package/types/template-pins.d.ts +11 -0
- package/types/template-pins.d.ts.map +1 -0
- package/types/template-shared.d.ts +28 -0
- package/types/template-shared.d.ts.map +1 -0
- package/types/template-starter.d.ts +7 -0
- package/types/template-starter.d.ts.map +1 -0
- package/types/template-styles.d.ts +10 -0
- package/types/template-styles.d.ts.map +1 -0
- package/types/template-ws.d.ts +4 -0
- package/types/template-ws.d.ts.map +1 -0
- package/types/templates.d.ts +11 -0
- package/types/templates.d.ts.map +1 -0
- package/types/test/browser.d.ts +17 -0
- package/types/test/browser.d.ts.map +1 -0
- package/types/test/clock.d.ts +2 -0
- package/types/test/clock.d.ts.map +1 -0
- package/types/test/content.d.ts +20 -0
- package/types/test/content.d.ts.map +1 -0
- package/types/test/cookies.d.ts +9 -0
- package/types/test/cookies.d.ts.map +1 -0
- package/types/test/database.d.ts +2 -0
- package/types/test/database.d.ts.map +1 -0
- package/types/test/dom.d.ts +2 -0
- package/types/test/dom.d.ts.map +1 -0
- package/types/test/env.d.ts +2 -0
- package/types/test/env.d.ts.map +1 -0
- package/types/test/index.d.ts +24 -0
- package/types/test/index.d.ts.map +1 -0
- package/types/test/interact.d.ts +7 -0
- package/types/test/interact.d.ts.map +1 -0
- package/types/test/isolation.d.ts +2 -0
- package/types/test/isolation.d.ts.map +1 -0
- package/types/test/lazy-plugins.d.ts +8 -0
- package/types/test/lazy-plugins.d.ts.map +1 -0
- package/types/test/mount.d.ts +16 -0
- package/types/test/mount.d.ts.map +1 -0
- package/types/test/natives.d.ts +26 -0
- package/types/test/natives.d.ts.map +1 -0
- package/types/test/network.d.ts +62 -0
- package/types/test/network.d.ts.map +1 -0
- package/types/test/outputs.d.ts +5 -0
- package/types/test/outputs.d.ts.map +1 -0
- package/types/test/override-env.d.ts +9 -0
- package/types/test/override-env.d.ts.map +1 -0
- package/types/test/page-types.d.ts +108 -0
- package/types/test/page-types.d.ts.map +1 -0
- package/types/test/page.d.ts +19 -0
- package/types/test/page.d.ts.map +1 -0
- package/types/test/preload.d.ts +5 -0
- package/types/test/preload.d.ts.map +1 -0
- package/types/test/reset.d.ts +2 -0
- package/types/test/reset.d.ts.map +1 -0
- package/types/test/root.d.ts +2 -0
- package/types/test/root.d.ts.map +1 -0
- package/types/test/scratch.d.ts +2 -0
- package/types/test/scratch.d.ts.map +1 -0
- package/types/test/service.d.ts +23 -0
- package/types/test/service.d.ts.map +1 -0
- package/types/test/shared-modules.d.ts +3 -0
- package/types/test/shared-modules.d.ts.map +1 -0
- package/types/test/site-actions.d.ts +8 -0
- package/types/test/site-actions.d.ts.map +1 -0
- package/types/test/site-api.d.ts +4 -0
- package/types/test/site-api.d.ts.map +1 -0
- package/types/test/site-mcp.d.ts +4 -0
- package/types/test/site-mcp.d.ts.map +1 -0
- package/types/test/site-scope.d.ts +21 -0
- package/types/test/site-scope.d.ts.map +1 -0
- package/types/test/site-socket.d.ts +4 -0
- package/types/test/site-socket.d.ts.map +1 -0
- package/types/test/site-types.d.ts +123 -0
- package/types/test/site-types.d.ts.map +1 -0
- package/types/test/sites.d.ts +4 -0
- package/types/test/sites.d.ts.map +1 -0
- package/types/test/timeout.d.ts +2 -0
- package/types/test/timeout.d.ts.map +1 -0
- package/types/test/wait.d.ts +7 -0
- package/types/test/wait.d.ts.map +1 -0
- package/types/test/writable.d.ts +2 -0
- package/types/test/writable.d.ts.map +1 -0
- package/types/tsgo.d.ts +3 -0
- package/types/tsgo.d.ts.map +1 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
(comment) @comment
|
|
2
|
+
|
|
3
|
+
(fence_marker) @punctuation.special
|
|
4
|
+
(fence_label) @keyword
|
|
5
|
+
(type_parameters) @type
|
|
6
|
+
|
|
7
|
+
(tag_name) @tag
|
|
8
|
+
(component_name) @constructor
|
|
9
|
+
(class_name) @string.special
|
|
10
|
+
(id_name) @string.special
|
|
11
|
+
|
|
12
|
+
(attribute_name) @attribute
|
|
13
|
+
(modifiers) @operator
|
|
14
|
+
(string) @string
|
|
15
|
+
|
|
16
|
+
(escape) @string.escape
|
|
17
|
+
(slot_name) @function
|
|
18
|
+
|
|
19
|
+
(identifier) @variable
|
|
20
|
+
(field_name) @property
|
|
21
|
+
|
|
22
|
+
[
|
|
23
|
+
"if"
|
|
24
|
+
"else"
|
|
25
|
+
"for"
|
|
26
|
+
"of"
|
|
27
|
+
"key"
|
|
28
|
+
"as"
|
|
29
|
+
"await"
|
|
30
|
+
"then"
|
|
31
|
+
"catch"
|
|
32
|
+
"try"
|
|
33
|
+
"pending"
|
|
34
|
+
"match"
|
|
35
|
+
"when"
|
|
36
|
+
"const"
|
|
37
|
+
"snippet"
|
|
38
|
+
"slot"
|
|
39
|
+
"error"
|
|
40
|
+
"markdown"
|
|
41
|
+
] @keyword
|
|
42
|
+
|
|
43
|
+
(hole
|
|
44
|
+
[
|
|
45
|
+
"{"
|
|
46
|
+
"}"
|
|
47
|
+
] @punctuation.special)
|
|
48
|
+
|
|
49
|
+
[
|
|
50
|
+
"("
|
|
51
|
+
")"
|
|
52
|
+
"["
|
|
53
|
+
"]"
|
|
54
|
+
"#["
|
|
55
|
+
] @punctuation.bracket
|
|
56
|
+
|
|
57
|
+
[
|
|
58
|
+
","
|
|
59
|
+
":"
|
|
60
|
+
"|"
|
|
61
|
+
] @punctuation.delimiter
|
|
62
|
+
|
|
63
|
+
"=" @operator
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
; A line indents what is written under it. @indent.begin is nvim-treesitter's capture, @indent Helix's and Zed's.
|
|
2
|
+
[
|
|
3
|
+
(element)
|
|
4
|
+
(slot_fill)
|
|
5
|
+
(slot_outlet)
|
|
6
|
+
(snippet)
|
|
7
|
+
(if_line)
|
|
8
|
+
(else_line)
|
|
9
|
+
(for_line)
|
|
10
|
+
(await_line)
|
|
11
|
+
(then_line)
|
|
12
|
+
(catch_line)
|
|
13
|
+
(try_line)
|
|
14
|
+
(pending_line)
|
|
15
|
+
(match_line)
|
|
16
|
+
(when_line)
|
|
17
|
+
] @indent.begin @indent
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
(fence
|
|
2
|
+
(fence_body) @injection.content
|
|
3
|
+
(#set! injection.language "typescript"))
|
|
4
|
+
|
|
5
|
+
(style_fence
|
|
6
|
+
(fence_body) @injection.content
|
|
7
|
+
(#set! injection.language "css"))
|
|
8
|
+
|
|
9
|
+
([
|
|
10
|
+
(hole_content)
|
|
11
|
+
(paren_content)
|
|
12
|
+
(bracket_content)
|
|
13
|
+
(expression)
|
|
14
|
+
(condition)
|
|
15
|
+
(await_expression)
|
|
16
|
+
(each_expression)
|
|
17
|
+
] @injection.content
|
|
18
|
+
(#set! injection.language "typescript"))
|
|
19
|
+
|
|
20
|
+
((markdown_body) @injection.content
|
|
21
|
+
(#set! injection.language "markdown"))
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
use zed_extension_api::{self as zed, LanguageServerId, Result};
|
|
2
|
+
|
|
3
|
+
// Where the project's own kay keeps its command line, from the worktree's root.
|
|
4
|
+
const PROJECT_CLI: &str = "node_modules/kay/src/cli.ts";
|
|
5
|
+
|
|
6
|
+
struct KayExtension;
|
|
7
|
+
|
|
8
|
+
impl zed::Extension for KayExtension {
|
|
9
|
+
fn new() -> Self {
|
|
10
|
+
KayExtension
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// A kay on the PATH answers first, else bun runs the one the project installed, else bunx fetches one.
|
|
14
|
+
fn language_server_command(
|
|
15
|
+
&mut self,
|
|
16
|
+
_language_server_id: &LanguageServerId,
|
|
17
|
+
worktree: &zed::Worktree,
|
|
18
|
+
) -> Result<zed::Command> {
|
|
19
|
+
let env = worktree.shell_env();
|
|
20
|
+
let serve = ["lsp", "--stdio"].map(String::from);
|
|
21
|
+
|
|
22
|
+
if let Some(kay) = worktree.which("kay") {
|
|
23
|
+
return Ok(zed::Command { command: kay, args: serve.to_vec(), env });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if worktree.read_text_file(PROJECT_CLI).is_ok() {
|
|
27
|
+
if let Some(bun) = worktree.which("bun") {
|
|
28
|
+
let cli = format!("{}/{}", worktree.root_path(), PROJECT_CLI);
|
|
29
|
+
|
|
30
|
+
return Ok(zed::Command {
|
|
31
|
+
command: bun,
|
|
32
|
+
args: [cli].into_iter().chain(serve).collect(),
|
|
33
|
+
env,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
let bunx = worktree
|
|
39
|
+
.which("bunx")
|
|
40
|
+
.ok_or_else(|| "kay is not on the PATH and neither is bunx, install kay in the project or Bun".to_string())?;
|
|
41
|
+
|
|
42
|
+
Ok(zed::Command {
|
|
43
|
+
command: bunx,
|
|
44
|
+
args: ["kay".to_string()].into_iter().chain(serve).collect(),
|
|
45
|
+
env,
|
|
46
|
+
})
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
zed::register_extension!(KayExtension);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Audit a site's accessibility
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
- Audit every page and draft the accessibility statement: `kay a11y`, or `kay a11y --standard wcag --declaration docs/accessibility.md`.
|
|
6
|
+
- Fail CI on a finding: run `kay a11y --quiet`, which exits 1 on any finding or failed page.
|
|
7
|
+
|
|
8
|
+
## Reference
|
|
9
|
+
|
|
10
|
+
`kay a11y [dir] [--standard rgaa|wcag] [--declaration <file>] [--dry-run] [--format text|json] [--quiet]` boots the project's server as `kay dev` does, opens every page the build knows in one headless Chrome (`BUN_CHROME_PATH`, else the PATH) and runs axe-core on it, which the app installs as a dev dependency ([peers](checks.md#peer-packages)); it needs no config:
|
|
11
|
+
|
|
12
|
+
```sh
|
|
13
|
+
kay a11y
|
|
14
|
+
kay a11y --standard wcag --declaration docs/accessibility.md
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
- A page without params is opened once per locale; a page with params for the values its `prerender` (else `sitemap`) export lists, `base` and `trailingSlash` applied.
|
|
18
|
+
- A page that redirects (a sign-in) or answers 401, 403 or 404 is listed as not audited, as is a page with params and no list, or a locale served on its own domain. A page that answers 5xx, cannot be listed or cannot be checked fails the run.
|
|
19
|
+
- Findings are grouped by rule, then by page, each element with its `.kay` file, line and column where the dev build marked it (shadow roots are not).
|
|
20
|
+
- The statement draft is Markdown, written to `.kay/a11y/declaration.md` or `--declaration` (not with `--dry-run`): the pages audited and left out, every criterion of RGAA 4.1 (French, the default when the default locale is `fr`) or WCAG 2.1 (English) marked `verified`, `failed` or `review`, the failures with their elements, and the findings no criterion takes in. Only criteria whose every test an axe-core rule decides are verified, and only when every page was audited (RGAA 8.3 and 8.5, no WCAG one); a run that audited no page fails, a criterion fails by the rules listed in `src/a11y/standards.ts`, and every other one is left for a manual audit, which a declaration needs.
|
|
21
|
+
- The exit code is 1 on any finding or failed page, 0 otherwise. `--format json` prints the whole report on one line, with `failure` naming why a run that audited no page failed.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Accessibility lints
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
- Set a lint's level, allow it on one line or apply its quick fix: [Lints and warnings](lints.md).
|
|
6
|
+
|
|
7
|
+
## Reference
|
|
8
|
+
|
|
9
|
+
- The `a11y` group reads markup a screen reader or a keyboard cannot use; `kay a11y` audits a built site ([Accessibility audit](a11y-audit.md)).
|
|
10
|
+
|
|
11
|
+
| Lint | Default | Group | Reports |
|
|
12
|
+
| --- | --- | --- | --- |
|
|
13
|
+
| `missing-alt` | deny | a11y | An `img` or `input(type="image")` with no `alt`; an extension with `satisfies: ['missing-alt']` (kayjs-ai's `imageAlt`) answers it for a server-rendered `img` whose `src` is an imported image. |
|
|
14
|
+
| `missing-title` | deny | a11y | An `iframe` with no `title`. |
|
|
15
|
+
| `unreachable-click` | deny | a11y | An `onClick` on an element no keyboard reaches, with no `role`. |
|
|
16
|
+
| `empty-control` | deny | a11y | A `button`, or an `a` with an `href`, with nothing for a screen reader to announce: no text, no value, no `aria-label`, an icon alone. |
|
|
17
|
+
| `unknown-aria` | deny | a11y | An `aria-*` attribute ARIA does not define, such as `aria-labeledby`. The quick fix writes the closest one. |
|
|
18
|
+
| `invalid-aria-value` | deny | a11y | An ARIA state written as text with a value ARIA does not define, such as `aria-expanded="yes"`. The quick fix writes the closest value. |
|
|
19
|
+
| `unknown-role` | deny | a11y | A `role` ARIA does not define, or an abstract one such as `widget`. |
|
|
20
|
+
| `missing-state` | deny | a11y | A `role` with no state it needs, such as a `switch` with no `aria-checked`. |
|
|
21
|
+
| `hidden-focusable` | deny | a11y | An element the keyboard reaches on or inside `aria-hidden="true"`. |
|
|
22
|
+
| `positive-tabindex` | deny | a11y | A `tabindex` above 0. |
|
|
23
|
+
| `link-as-button` | deny | a11y | An `a` with `onClick` and no `href`, `href="#"` or a `javascript:` one. |
|
|
24
|
+
| `empty-heading` | warn | a11y | An `h1` to `h6` with nothing for a screen reader to read. |
|
|
25
|
+
| `anchor-is-valid` | warn | a11y | An `a` with no `href`, or an empty, `#` or `javascript:` one, and no handler. |
|
|
26
|
+
| `redundant-role` | warn | a11y | A `role` the element already has, such as `button(role="button")`; `role="list"` on a list stays. |
|
|
27
|
+
| `unsupported-aria` | warn | a11y | An `aria-*` attribute the element's role does not take, such as `aria-checked` on a `button`. |
|
|
28
|
+
| `multiple-h1` | warn | a11y | A second `h1` in one template, branches of an `if` or `match` apart. |
|
|
29
|
+
| `no-access-key` | warn | a11y | An `accesskey`. |
|
|
30
|
+
| `click-without-key` | warn | a11y | An `onClick` on an element the keyboard reaches that no `onKeyDown`, `onKeyUp` or `onKeyPress` answers, on it or around it. |
|
|
31
|
+
| `interactive-tabindex` | warn | a11y | A `tabindex="0"` on a `p`, a heading, a list, an `img` or a table part. |
|
|
32
|
+
| `nested-control` | deny | a11y | A link, button or field inside a link or a button. |
|
|
33
|
+
| `duplicate-id` | deny | a11y | An id two elements of a template share, or one written out inside a `for` or a `snippet` called more than once. |
|
|
34
|
+
| `missing-label` | warn | a11y | An `input`, `select`, `textarea`, `meter`, `role="slider"` or `role="meter"` with no `label`, `aria-label`, `aria-labelledby` or `title`; a `placeholder` is no label. |
|
|
35
|
+
| `skipped-heading` | warn | a11y | A heading skipping a level after the one before it, an `h3` after an `h1`. |
|
|
36
|
+
| `autofocus` | warn | a11y | `autofocus` outside a `dialog`, on an element without `tabindex="-1"`. |
|
|
37
|
+
| `dangling-label` | warn | a11y | A `label(for="...")` pointing at an id nothing in the template has. |
|
|
38
|
+
| `missing-captions` | warn | a11y | A `video` that is not `muted` with no captions `track`. |
|
|
39
|
+
| `unannounced-click` | warn | a11y | An `onClick` on an element whose `role` names no widget, such as `presentation` or `region`; a `dialog` role or `aria-modal` (not `"false"`) is left alone. |
|
|
40
|
+
| `dangling-aria` | warn | a11y | An `aria-labelledby` or `aria-describedby` listing an id nothing in the template has. |
|
|
41
|
+
| `unreachable-tooltip` | warn | a11y | A `data-tooltip` on an element the keyboard never reaches and no `aria-label` (ignored on a role-less `span` or `div`), `aria-labelledby` or `aria-describedby` speaks for, and whose content is not just the tooltip's own text; `data-hint` is the pointer-only form. |
|
|
42
|
+
| `hand-tooltip` | warn | a11y | A `span` with `data-tooltip` and `tabindex="0"` written by hand in a file importing kayjs-ui, which its `Tooltip` renders. `kay check --fix` writes `Tooltip(text=...)` and its import. |
|
|
43
|
+
| `uncontrolled-autoplay` | warn | a11y | A `video` or `audio` with `autoplay` and no `controls`. |
|
|
44
|
+
| `meta-refresh` | warn | a11y | A `meta(http-equiv="refresh")` reloading or leaving the page after a delay. |
|
|
45
|
+
| `ungrouped-radios` | warn | a11y | Radios sharing a `name` outside a `fieldset` or a `role="radiogroup"`. |
|
|
46
|
+
| `section-not-a-link` | warn | a11y | A `section` on anything but an `a` with an `href`. |
|
|
47
|
+
| `table-without-header` | warn | a11y | A `table` with no `th`, unless it has `role="presentation"` or holds a component, slot or block. |
|
|
48
|
+
| `fieldset-without-legend` | warn | a11y | A `fieldset` with no `legend`, `aria-label` or `aria-labelledby`. |
|
|
49
|
+
| `mouse-only-event` | warn | a11y | `onMouseOver` or `onMouseEnter` with no `onFocus` or `onFocusIn`, `onMouseOut` or `onMouseLeave` with no `onBlur` or `onFocusOut`. |
|
|
50
|
+
| `unstructured-page` | warn | a11y | A prerendered page with no `main` (or `role="main"`) or no `h1`: reported by `kay build`, no `// kay-allow` comment reaches it. |
|
|
51
|
+
| `redundant-alt` | warn | a11y | Alt text that is a filename or says it is an image. |
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Protecting actions and limiting requests
|
|
2
|
+
|
|
3
|
+
- [Actions](actions.md): declaring an action and posting a form to it.
|
|
4
|
+
- [Calling actions from islands](actions-from-islands.md): `pending()`, `track()`, optimistic changes and streaming answers.
|
|
5
|
+
- [Protecting actions](action-protection.md): cross-site posts, honeypot, minimum time and proof of work; [Rate limits](rate-limits.md) holds every rate limit.
|
|
6
|
+
|
|
7
|
+
## Common tasks
|
|
8
|
+
|
|
9
|
+
### Keep scripts from flooding a form
|
|
10
|
+
|
|
11
|
+
A third argument limits attempts and traps bots, its `protect` group holding `rateLimit` answering 429 past `max` posts every `window` and `honeypot` failing a form that fills a hidden field:
|
|
12
|
+
|
|
13
|
+
```kay
|
|
14
|
+
--- server
|
|
15
|
+
import { s, action } from 'kay'
|
|
16
|
+
|
|
17
|
+
export const contact = action(
|
|
18
|
+
s.Object({ message: s.String({ maxLength: 2000 }) }),
|
|
19
|
+
async ({ message }) => message.length,
|
|
20
|
+
{ protect: { rateLimit: { max: 5, window: '1m' }, honeypot: 'website', minTime: '3s' } },
|
|
21
|
+
)
|
|
22
|
+
---
|
|
23
|
+
form(action={contact})
|
|
24
|
+
textarea(field="message")
|
|
25
|
+
error
|
|
26
|
+
button Send
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Limit attempts in a guard or an API route
|
|
30
|
+
|
|
31
|
+
See [Rate limits](rate-limits.md#limit-attempts-in-a-guard-or-an-api-route).
|
|
32
|
+
|
|
33
|
+
## Reference
|
|
34
|
+
|
|
35
|
+
### Cross-site posts
|
|
36
|
+
|
|
37
|
+
- A post another site sends, as its `Origin` or `Sec-Fetch-Site` header shows, is refused with 403.
|
|
38
|
+
- On a site served over https (the request itself, `X-Forwarded-Proto: https`, or an https `site` in production), an `http:` `Origin` of the site's own host is refused too, as a downgrade; `localhost`, `127.x` and `[::1]` are exempt, so `kay dev` and a production build tried locally keep working.
|
|
39
|
+
- The 403 is `text/plain` and says what it saw: `Cross-site action refused: Origin http://localhost:4701 is not this site (http://127.0.0.1:4701; set or fix site in kay.config.ts if a proxy changes the host)`, or `Sec-Fetch-Site is cross-site and the request has no Origin, not same-origin or none`; the echoed header is stripped of control and bidi characters and cut at 100 without splitting a character, and an empty `Sec-Fetch-Site` with no `Origin` reads `the request sent an empty Sec-Fetch-Site and no Origin`. The same text, `request` for `action`, refuses an api route.
|
|
40
|
+
- A post from the host of `site` in kay.config.ts is the site's own, so a proxy that does not pass the browser's `Host` on, and nginx leaves it out unless told `proxy_set_header Host $host`, refuses none.
|
|
41
|
+
|
|
42
|
+
### Protecting an action
|
|
43
|
+
|
|
44
|
+
- A third argument protects an action from scripts: `action(schema, handler, { protect: { rateLimit: { max: 5, window: '1m' }, honeypot: 'website' } })`.
|
|
45
|
+
- Its options are grouped by concern: `protect` holds `rateLimit`, `honeypot`, `minTime` and `proofOfWork`, beside `messages`, `tool` and `maxSize`. The four on the third argument itself, the form before 1.71, are no longer read since 1.74, and `kay check` reports them as a type error.
|
|
46
|
+
- None of these reaches the handler.
|
|
47
|
+
|
|
48
|
+
#### Rate limits
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
- `rateLimit` lets one client post `max` times every `window`, then answers 429 with `Retry-After`; counting, keys and stores are in [Rate limits](rate-limits.md#on-an-action).
|
|
52
|
+
|
|
53
|
+
#### Honeypot
|
|
54
|
+
|
|
55
|
+
- `honeypot` names a field a form posting to the action renders by itself as its first child, out of sight, out of the tab order, hidden from screen readers and marked for 1Password, LastPass and Bitwarden to skip, which people leave empty and bots fill in.
|
|
56
|
+
- A form post giving it any value, a file included, fails with 422 and `errors.website`.
|
|
57
|
+
- It is hidden by a `style` attribute, which a `csp` dropping `style-src 'unsafe-inline'` would leave visible.
|
|
58
|
+
- A page writing the field itself as well renders it twice, which still posts empty.
|
|
59
|
+
- A form inside an island renders it itself, as its markup is claimed node by node when it hydrates: `div(style="position:absolute;left:-9999px" aria-hidden="true" inert)` around `input(name="website" tabindex="-1" autocomplete="off" data-1p-ignore data-lpignore="true" data-bwignore)`, and `kay check` takes it as one of the form's fields.
|
|
60
|
+
- `honeypot: { field: 'website', pretend: true }` answers a bot filling it in as if its post went through instead, a call with no result and a plain form post going back to its page with `add.succeeded()` holding `data: undefined`, so the bot learns nothing to adjust.
|
|
61
|
+
|
|
62
|
+
#### Minimum time
|
|
63
|
+
|
|
64
|
+
- `minTime: '3s'` refuses a form posted sooner than that after its page rendered, with 422 and `errors['']`.
|
|
65
|
+
- A form posting to the action renders a hidden `kay_since` field by itself, a stamp of when it rendered bound to the action and signed with a key derived from [the app secret](environment.md#the-app-secret) (so an app without sessions needs no `session()` for one), else a key of the process, which a restart changes: a production server refuses to start on it unless `KAY_EPHEMERAL_SECRET=1`; a test server never does.
|
|
66
|
+
- A plain form post whose stamp is missing, forged, another action's or older than `maxAge`, a day by default, fails the same way, and the page it answers keeps the stamp the form rendered with, so the visitor does not wait again from zero.
|
|
67
|
+
- A prerendered page holding such a form is still rendered once: the server signs a fresh stamp into it on every visit, as it splices in an inline server island, so the page goes out gzipped rather than in brotli and kept by no cache.
|
|
68
|
+
- `minTime: { after: '3s', maxAge: '1h', pretend: true }` answers a post sent too soon as `honeypot`'s `pretend` does.
|
|
69
|
+
- A form the server renders inside an island carries its honeypot and stamp like any other. A form an island builds in the browser (a branch shown after a click) asks `/_kay/fields/` plus the action's path, a GET answering `{ html }`, the same markup with a stamp signed at that moment, when it takes focus or is posted, and adds it to the form before the post reads its fields: it costs no request on page load, no code on a page without such a form, and for a form of an action with neither check one cached request per action and no field. The stamp is dated from that first focus or post, not from when the form appeared, so a button-only form with `minTime: '3s'` clicked at once is refused as `early`: `plain: true` leaves a form the script posts unchecked. A form post with no stamp is refused; a call from kay's script without one goes through, a stamp it sends still checked.
|
|
70
|
+
- `minTime: { after: '3s', plain: true }` checks only a form the browser posts itself, without kay's script: the page swap's post and an island's call go through, for a form whose script already proves something, such as a `data-kay-work` field below: the header marking the swap's post proves nothing, so a script sending it skips `minTime`.
|
|
71
|
+
- `site.submit` from a `Visit` sends its form's stamp, and `setSystemTime` from `bun:test` moves the clock past `minTime`.
|
|
72
|
+
|
|
73
|
+
#### Offering an action to agents
|
|
74
|
+
|
|
75
|
+
- `tool` on the third argument offers the action as an MCP tool when `mcp: true` is set in kay.config.ts: `tool: true`, `tool: 'Create a note'` (its description) or `tool: { name: 'create_note', description: 'Create a note' }`. Without it an action is never offered.
|
|
76
|
+
- `tool: { label: 'Read the home' }` words the action's calls for a visitor: kayjs-ai's `Chat` shows it in place of the tool's name, and an agent never reads it ([Chat](../../ai/llms/chat.md)).
|
|
77
|
+
- `tool: { readOnly: true }` says the action only reads, so `/mcp` lists it with `readOnlyHint: true` and a client may approve it without a prompt, and kayjs-ai's `ask` runs it unasked while it holds every other tool for the visitor's yes ([Actions as tools](../../ai/llms/tools.md#allowing-a-write)).
|
|
78
|
+
- `tool: { text: notes => notes.map(note => note.title).join('\n') }` words the agent's answer from what the action returned (typed as it): the agent reads that text alone, with no JSON and no `structuredContent`, while the page and any other caller still get the object. A `text` that throws is the agent's refusal. Without it an object is sent as JSON in the text and as `structuredContent`, so a client reading either finds it. A route's `detail.tool` takes `text` too.
|
|
79
|
+
- `tool: { output: t.Object({ count: t.Number(), at: t.String() }) }` lists the tool's `outputSchema`, so a client knows what a call answers before it calls (an API route's object `response` does the same; a route's `detail.tool` takes no `output`). It is an object schema, `t.Object` or `t.Record`: the types refuse a union, an array or a primitive, which is not listed. It is the JSON the agent receives, so a `Date` is `t.String()`, a bigint a string, a `Map` an object and a `Set` an array, and `kay check` refuses an `output` the handler's return value does not fit. With one, the answer is always sent as `structuredContent`, beside the `text` when there is one; without it, `text` alone sends no `structuredContent`, and with neither the JSON text and `structuredContent` both go. Under `kay dev` an action's answer that does not match, or an action with an `output` that answers nothing, logs one warning naming the tool and the first path that differs, for a library's tool (`actionTool()`) served by the app as for the app's own; production checks nothing, and a route's `response` is validated by Elysia as it always was.
|
|
80
|
+
- An action that declares no `output` is listed with the `outputSchema` of its handler's return type, with nothing to declare: `kay build` reads it through tsgo (one declaration emit, only when a tool action asks for one and a source, config, lockfile or linked workspace package changed since the last (a file the build cannot see, such as a relative import out of the project, is read again by `--no-cache`), kept in `.kay/cache`, which `--no-cache` empties; recorded as `tool-outputs.json` in the build output, so `kay start` runs no tsgo) and `kay dev` records it in the background after each type check, which `/mcp` lists at its next request. It is the JSON wire form (`Date` and bigint strings, `Map` an object, `Set` an array, a property that may be `undefined` optional), an object only: a string, array or union answer, a tool with `text` (which sends that text alone), a stream, `unknown`/`any` and a type that cannot be written as plain data list none, and a property of such a type is any value. A declared `output` wins, a build that cannot run tsgo lists none (a failed `kay dev` run keeps the last record), an executable (`--compile`) holds the record, and a library's `actionTool()` carries no `outputSchema`, as a model's tool call takes none. An action whose options are a variable, or spread a `tool`, is probed too, whether or not it is a tool. `NaN` and `Infinity`, which JSON writes as `null`, are described as numbers.
|
|
81
|
+
- The tool takes the action's schema as its input and runs the action as a call would, its guards, `rateLimit`, body limit and `ctx.locals` included; `honeypot`, `minTime` and `proofOfWork` are skipped. An action with a file in its schema is not offered.
|
|
82
|
+
- `kay check` warns (`unguarded-tool`) of such an action with one of those three and no guard; a guard or a `rateLimit` keeps it in hand. See [API routes](mcp.md).
|
|
83
|
+
|
|
84
|
+
#### Refusal messages
|
|
85
|
+
|
|
86
|
+
- The refusals of these limits, and the one for a post over `maxSize`, read in English unless the site words them once for every action under `kay.protection.*` and `kay.action.*` in its catalogs ([Locales](locales-texts.md)), or `messages` gives an action's own, as a schema's `error` does for a field: `` messages: { honeypot: 'Laissez ce champ vide', minTime: reason => reason === 'early' ? 'Un instant, puis renvoyez-le' : 'Ce formulaire a expiré, renvoyez-le', rateLimit: wait => `Réessayez dans ${wait} s`, maxSize: bytes => `${bytes} octets au plus` } ``.
|
|
87
|
+
- `rateLimit` is given the seconds to wait.
|
|
88
|
+
- `minTime` is given `early` for a post sent too soon or `expired` for a stamp missing, forged or past `maxAge`, as a page from before a restart sends.
|
|
89
|
+
- `proofOfWork` is given `missing`, `expired` or `wrong` as below.
|
|
90
|
+
- `maxSize` is given the most bytes a post may send, as a number whatever size `maxSize` was written as.
|
|
91
|
+
- Each is a string or a function; `serverError` is given the error and the action's `ctx` (see [Refused posts](actions.md#refused-posts)). A function runs in the request's locale, so it may word the refusal with `t()`; `serverError` may be async.
|
|
92
|
+
|
|
93
|
+
#### Proof of work
|
|
94
|
+
|
|
95
|
+
- `proofOfWork: true` makes each post cost the sender CPU, as ALTCHA does, for a site still getting spam past the others, with no third party, no cookie and no new `csp` source.
|
|
96
|
+
- The page carries a challenge for each action its forms post to, the hash of a random salt and a number up to the difficulty, signed as the `minTime` stamp is and bound to the action.
|
|
97
|
+
- kay's script solves it in a worker, a same-origin file the browser build ships, from the moment one of those forms takes focus, then sends the solution with the post in an `x-kay-work` header.
|
|
98
|
+
- `proofOfWork: 300_000` sets the difficulty, 100,000 by default: the browser hashes half of it on average, some tens of milliseconds on a laptop, more on an old phone.
|
|
99
|
+
- `{ difficulty, maxAge: '1h', pretend: true, store }` sets how long a challenge stays good, a day by default.
|
|
100
|
+
- `pretend` answers a wrong number or a solution sent twice as `honeypot`'s `pretend` does.
|
|
101
|
+
- `store` keeps the solutions already used, each going through once, a `RateStore` as `rateLimit` takes, `sqliteRates(path)` sharing them between the processes of a machine, this process's memory by default.
|
|
102
|
+
- A post without a solution, or to a challenge past `maxAge`, another action's or signed before a restart, fails with 422 and `errors['']` carrying a fresh challenge in the same header: an island's call, a script's with no form on the page included, solves it and goes again by itself, the call waiting on it then.
|
|
103
|
+
- A form posted without JavaScript sends none and is refused, unless the action sets `minTime` too: a post without JavaScript is then checked by `minTime` alone, so the pair stops no script that waits it out.
|
|
104
|
+
- A form posted with `navigation: false` and no island has no script either, nor does one with `data-reload` or a `target`, which the swap leaves to the browser.
|
|
105
|
+
- A prerendered page gets a fresh challenge on every visit, as a stamp.
|
|
106
|
+
- `site.submit` and `site.call` solve one themselves; a test sending its own `x-kay-work` header, `''` for none, checks the refusal.
|
|
107
|
+
|
|
108
|
+
#### Proof of work checked in code
|
|
109
|
+
|
|
110
|
+
- `workChallenge(scope, { difficulty, maxAge })` from `kay/server` signs a challenge bound to `scope` rather than to an action, for code checking it itself, as kayjs-auth's CAPTCHA does: `input(type="hidden" name="proof" data-kay-work={workChallenge('contact')})` posts its solution as the field's value, kay's script solving it from the moment the form takes focus.
|
|
111
|
+
- `await verifyWork(input.proof, 'contact', { difficulty, store })` from `kay/server` answers `undefined` once for each solution, else `missing`, `expired` (past `maxAge`, another scope's, signed before a restart, or easier than `difficulty`) or `wrong`. The solutions used are kept in `store`, else the app store's `rates`, else this process's memory.
|
|
112
|
+
- The difficulty is signed into the challenge, so a scope asking more refuses one handed out before, the page then signing a harder one; `difficulty` is 100,000 by default and `maxAge` a day.
|
|
113
|
+
- A prerendered page gets a fresh challenge in the field on every visit, as a stamp; `site.submit` solves the field unless the test gives its value.
|
|
114
|
+
|
|
115
|
+
### Body limit
|
|
116
|
+
|
|
117
|
+
- A request with a body to any route, a library's, an extension's or the jobs page included, sends at most `limits.body`, 1 MB unless kay.config.ts sets another: `limits: { body: '4mb' }`, a size as `budget` takes it (`'800b'`, `'512kb'`, `'1.5mb'`) or a number of bytes.
|
|
118
|
+
- An action raises or lowers it for itself, `action(schema, handler, { maxSize: '20mb' })`, and an API module for its routes, `api({ maxSize })`, a size or a function kay reads when it mounts the module (a library reading its own settings).
|
|
119
|
+
- A bigger request is refused before anything reads it, from its `Content-Length`, or, sent in chunks without one, as soon as it passes the limit.
|
|
120
|
+
- A plain form post goes back to its page with `errors['']` saying the most it may send, an island's call throws `ActionError` with status 413 and that error, and an API route answers 413.
|
|
121
|
+
- A route of an extension raises its own through the extension's `maxSize` ([Component libraries](component-libraries.md)); a route you add with `new Elysia().post()` has the app's, and `limits: { byPath: { '/upload': '50mb' } }` in kay.config.ts sets one for a path (the route and what is under it, the `base` left out) without raising the rest. For the path of an `api()` module it wins over the module's `maxSize` (the module's own cors grant stays on the 413), while a route's `detail.maxSize` still wins over both.
|
|
122
|
+
- Bun's own cap, 128 MB unless `new Elysia({ serve: { maxRequestBodySize } })` sets another, still holds over any `maxSize`.
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Calling actions from islands
|
|
2
|
+
|
|
3
|
+
- [Actions](actions.md): declaring an action and posting a form to it.
|
|
4
|
+
- [Calling actions from islands](actions-from-islands.md): `pending()`, `track()`, optimistic changes and streaming answers.
|
|
5
|
+
- [Protecting actions](action-protection.md): cross-site posts, honeypot, minimum time and proof of work; [Rate limits](rate-limits.md) holds every rate limit.
|
|
6
|
+
|
|
7
|
+
## Common tasks
|
|
8
|
+
|
|
9
|
+
### Call an action from an island
|
|
10
|
+
|
|
11
|
+
An island imports the action from the page and calls it, catching `ActionError` to show the schema's messages:
|
|
12
|
+
|
|
13
|
+
```kay
|
|
14
|
+
---
|
|
15
|
+
import { ActionError, signal } from 'kay'
|
|
16
|
+
import { add } from '../routes/index.kay'
|
|
17
|
+
|
|
18
|
+
const title = signal('')
|
|
19
|
+
|
|
20
|
+
async function save() {
|
|
21
|
+
try {
|
|
22
|
+
await add({ title: title() })
|
|
23
|
+
title = ''
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
if (!(error instanceof ActionError))
|
|
27
|
+
throw error
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
---
|
|
31
|
+
input(bind:value={title} aria-invalid={add.error('title') ? 'true' : undefined})
|
|
32
|
+
if add.error('title') then message
|
|
33
|
+
p.error {message}
|
|
34
|
+
button(onClick={save} disabled={add.pending()}) Add
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Pass an action to a component
|
|
38
|
+
|
|
39
|
+
A page or layout with a `--- server` fence passes an action it declares or imports to a component prop: `Caller(run={greet})`, or inside an object, `Stream(actions={{ count }})`. A static component posts it with `form(action={run})`, an island calls it as if it had imported it, with streams, `ActionError`, `pending()` and `error()` as above.
|
|
40
|
+
|
|
41
|
+
A production build carries the code reviving an action only when the app's own sources call `action(` (or import it as another name) or use a kay library. A page handing an island an action created only in a package outside the app fails with an error naming this; call `action(` in one of the app's files, as `export const greet = action(...)` in a route, to keep it.
|
|
42
|
+
|
|
43
|
+
Type the prop with `Action` from `kay` (`ServerAction` counts too): `Action<never, unknown>` takes any action, `NoInputAction<unknown>` any declared without a schema, and `Action<{ name: string }, string>` keeps its input and output types (the output is the success one, so a handler that can `ctx.fail` fits: `Action<{ dossier: string }, AsyncGenerator<string>>`). The type is only for the types: an island typing the prop as a plain function, `(input: { name: string }) => Promise<string>`, is handed the action all the same, the code reviving it loading in the browser only for a page that passes an island one, and shipped only by an app that calls `action(` in its own sources or uses a kay library: an action declared by a package outside the app that is no kay library makes the page fail, as above. The action crosses as its URL, so it must be an export of a route module, declared in the page or imported. `move.with({ id })` and an action no route exports fail the render: pass the plain action, the fields as input.
|
|
44
|
+
|
|
45
|
+
```kay
|
|
46
|
+
---
|
|
47
|
+
import type { Action, NoInputAction } from 'kay'
|
|
48
|
+
|
|
49
|
+
const { signOut, run } = props<{ signOut: NoInputAction<unknown>, run: Action<never, unknown> }>()
|
|
50
|
+
---
|
|
51
|
+
form(action={signOut})
|
|
52
|
+
button Sign out
|
|
53
|
+
form(action={run})
|
|
54
|
+
input(name="name" aria-label="Name")
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
An island takes it the same way and calls it:
|
|
58
|
+
|
|
59
|
+
```kay
|
|
60
|
+
--- server
|
|
61
|
+
import { greet } from './greet.kay'
|
|
62
|
+
--- script
|
|
63
|
+
import Caller from '../components/caller.kay'
|
|
64
|
+
---
|
|
65
|
+
Caller(run={greet})
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Stream an answer to an island
|
|
69
|
+
|
|
70
|
+
An action whose handler is an `async function*`, or returns any async iterable, answers a call with each value as it comes; a model's reply is the main use, and kayjs-ai's `ask(messages)` returned from the handler is one:
|
|
71
|
+
|
|
72
|
+
```kay
|
|
73
|
+
--- server
|
|
74
|
+
import { s, action } from 'kay'
|
|
75
|
+
import { complete } from '../data'
|
|
76
|
+
|
|
77
|
+
export const reply = action(s.Object({ prompt: s.String({ maxLength: 2000 }) }), async function* ({ prompt }) {
|
|
78
|
+
let text = ''
|
|
79
|
+
|
|
80
|
+
for await (const piece of complete(prompt))
|
|
81
|
+
yield text += piece
|
|
82
|
+
})
|
|
83
|
+
---
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
A handler returns the iterable as it is, from a plain arrow function: an `async` handler returning one that is also a thenable, such as kayjs-ai's `ask()` reply, awaits it, and the call gets its text alone.
|
|
87
|
+
|
|
88
|
+
A handler that throws an error carrying `Symbol.for('kay.refused')` as `{ status, retryAfter?, message, errors?, data? }` (`refuse()` throws one) answers that status with `Retry-After` and the message, which the action's `messages.rateLimit` replaces, instead of a 500: how kayjs-ai refuses a visitor over its `rateLimit` or `budget`.
|
|
89
|
+
|
|
90
|
+
An island reads it from the call's `ActionStream`:
|
|
91
|
+
|
|
92
|
+
```kay
|
|
93
|
+
---
|
|
94
|
+
import { signal } from 'kay'
|
|
95
|
+
import type { ActionStream } from 'kay'
|
|
96
|
+
import { count } from '../routes/index.kay'
|
|
97
|
+
|
|
98
|
+
const answer = signal<ActionStream<number> | undefined>(undefined)
|
|
99
|
+
---
|
|
100
|
+
button(onClick={async () => answer = await count({ to: 10 })}) Count
|
|
101
|
+
p {answer()?.last()}
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Show a change before the server answers
|
|
105
|
+
|
|
106
|
+
`optimistic` writes the signals at once and puts them back if the call fails:
|
|
107
|
+
|
|
108
|
+
```kay
|
|
109
|
+
---
|
|
110
|
+
import { signal } from 'kay'
|
|
111
|
+
import { move } from '../routes/board.kay'
|
|
112
|
+
|
|
113
|
+
const { id } = props<{ id: number }>()
|
|
114
|
+
const column = signal('todo')
|
|
115
|
+
---
|
|
116
|
+
button(onClick={() => move({ id, to: 'done' }, { optimistic: () => column = 'done' })}) Done
|
|
117
|
+
p {column()}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Reference
|
|
121
|
+
|
|
122
|
+
### Calling from an island
|
|
123
|
+
|
|
124
|
+
- An island imports the action from the page and calls it, as in [Call an action from an island](#call-an-action-from-an-island): `const id = await add({ title })`.
|
|
125
|
+
- An `s.Optional` field takes `undefined` as the field left out, `exactOptionalPropertyTypes` or not: `resize({ file, width: max ?? undefined })`. A wrong field is reported at that field, not against the `FormData` form of the call.
|
|
126
|
+
- Once a call went through, the page shows what it changed, its loads run again as `refresh()` runs them, where the page swap runs: islands whose props did not change keep their state.
|
|
127
|
+
- `add({ title }, { refresh: false })` leaves the page as it is, so a frequent write from an island (a vote, an undo) needs no API route to avoid the refresh; `const save = add.track()` then `await save(input, { refresh: false })` also answers a refusal as a result.
|
|
128
|
+
- `await add.settled()` resolves once no call to `add` is in flight, whichever way they went (a stream counts until it ends; it never rejects), so an island that fired writes without awaiting them waits for them there; `save.settled()` does the same for the calls made through a `track()` handle.
|
|
129
|
+
- `add.pending()` reads, reactively, whether a call the page made is still in flight, and `add.progress()` how much of a call carrying files the browser sent, from 0 to 1: `button(disabled={add.pending()})`.
|
|
130
|
+
- `await move({ id, to }, { optimistic: () => tiers = moved })` shows the change at once: if the call fails, or the function throws, each signal the function wrote goes back to what it held, those another optimistic call made inside it wrote included, a `selection` among them with its `is(key)` flags, unless something wrote it since, while that call's `pending()` follows its own request, and the call throws as any does.
|
|
131
|
+
- Calls over one signal each put it back to what it held before them when they fail, whichever order they fail in: a failure found overwritten by a later call still in flight hands that call the earlier value, so it ends where it began if it fails too.
|
|
132
|
+
- A call takes `queue: 'parallel' | 'serial' | 'latest'`: `serial` posts a call once the earlier ones of the action settled (a stream counts settled once it started), `latest` aborts the earlier calls still in flight, which reject with an `AbortError` and put their `optimistic` change back, with no `onError`. `add.track({ queue })` gives the handle's own calls that default, ordered apart from the action's, and an abort is no failure of the handle.
|
|
133
|
+
- `timeout: '5s'` aborts a post unanswered that long (counted from the post, not from the wait in a queue): the call rejects with a `TimeoutError`, `pending()` clears, `track()` records it as a failure with status 0, and the page refreshes as after an abort once sent.
|
|
134
|
+
- `keepalive: true` sends the post with `fetch`'s `keepalive`, so a call made from `pagehide` or `beforeunload` outlives the page: `save(state, { keepalive: true })`. A browser caps a keepalive body at 64 KB, so a JSON body over it is sent as a plain post instead of failing, as is a call carrying files or a form. The cap is shared by every keepalive request of the page in flight, so a call that would pass it with the ones kay sent is posted plain too; kay's own error reports count against it unseen, so a save can still be refused beside them; a page holding a proof-of-work challenge loads its solver first, which an unloading page may not finish.
|
|
135
|
+
- `retry: 2` or `retry: { times, delay, when }` posts again after a 503 or a post that failed before it was sent (`delay` defaults to `'500ms'` and doubles; `when(error)` takes an `ApiError` and decides alone for the rest). A timeout, a 504 and a network failure after the send need a `when`, as the handler may have run; a redirect and an abort are never tried again, and a TypeError thrown before the post is no failure of it. Every try sends one `Idempotency-Key` header (32 hex characters, an own `headers` entry wins), read from `ctx.request`, so a handler tells a repeat from a new call.
|
|
136
|
+
- `onStart({ input })`, `onSuccess({ data })`, `onError({ error })` (an `ApiError`) and `onSettled({ data, error })` observe a call; none runs `onError` for an abort or a redirect, `onSettled` runs for every ending (an abort's `error` is the abort), `onSuccess` of a stream runs as it starts, `latest` never aborts a stream already started, and a hook that throws or rejects is logged and never fails the call.
|
|
137
|
+
- `refresh` also takes a `resource()` or a list of them (anything with a `refresh()`): those are refreshed in place of the page's loads, with or without the page swap.
|
|
138
|
+
- `refresh: 'cart'` names a load of the page instead, the binding of a top-level `const cart = await ...` in the page's or a layout's server fence (a destructuring names each of its bindings; a `const total = cart.total * 2` names the load it reads): the page runs as a whole, but only the elements reading that load are sent and swapped, and what shows the others stays as it is. `refresh: ['cart', wishlist]` mixes names and `resource()`s, and `refresh()` from `kay` takes the same names: [rendering](rendering.md#refreshing-some-loads).
|
|
139
|
+
- A `form(action={add})` posting in place fires `kay:action-start` on the form (bubbling, `detail: { action, data }` with the fields) before the post, then `kay:action-success` (`detail: { action }`) or `kay:action-error` (`detail: { action, status, errors }`, status 0 and no errors for a failure with no answer) while the form is still on the page, typed on `listen`'s targets. An island shows a change with `listen(() => form, 'kay:action-start', ...)` and `optimistic(change)` from `kay`, which gives `{ undo, keep }`, and calls `undo()` on the error and `keep()` on success.
|
|
140
|
+
- Once it went through, the refresh brings what the server kept, which a `linked` signal then takes.
|
|
141
|
+
- `{ signal }` aborts a call: it rejects with the signal's reason, what `optimistic` showed goes back, and the action records no outcome.
|
|
142
|
+
- `{ headers }` sends extra request headers with the call, which the handler reads from `ctx.request`; the ones kay sets itself win.
|
|
143
|
+
- A call aborted once sent may still have run, so the page refreshes as after one that went through, unless `refresh: false`.
|
|
144
|
+
- The call is typed, `ctx.fail` results excluded, and throws `ActionError` from `kay` with `status`, `errors` and `data` when it fails, its `message` being the string given to `ctx.fail`, else the form-wide message, the schema's field messages joined, or `data.message`, so `error.message` is what to show; it extends `ApiError`, so one `instanceof ApiError` catches a refused action and a refused `call()`.
|
|
145
|
+
- `const save = add.track()` is a handle for one component, row or button: `save.pending()` reads, reactively, only the calls made through it, where `add.pending()` reads every call of the page; `save.status()` (`idle`, `loading`, `ready`, `failed`), `save.error()` (the last failure as an `ApiError`, a call that got no answer included, kept until a call succeeds) and `save.retry()` (repeats the call that failed, with the same arguments as they were, gives no result back, and ignores a redirect) read the same way ([Island sources](island-sources.md)). `add.track({ onSuccess: ({ data, input }) => ..., onError: ({ error, input }) => ... })` takes callbacks for every call of the handle, and the handle has them as methods too (`save.onError(({ error }) => toast.error(error.message))`, returning what stops it): `onSuccess` runs when a call succeeds (for a stream, once it is open), `onError` when it fails, a call that got no answer included, never for an abort or a redirect; `input` is what the call was given ([Island sources](island-sources.md#hooks)). `call.track(module, path, hooks)` takes the same two.
|
|
146
|
+
- `await save(input, options)` takes what `add` does and resolves with `{ ok: true, data }` or, for any non-2xx answer of the server, `{ ok: false, status, message, errors, data, error }` (`error` repeats the four), `message` the text to show, `errors` per field and `data` typed as `add.refused` types it, so no `try` or `ActionError` check is needed; a failure with no answer, a network error, an abort or a redirect, still throws, `pending()` clearing either way; an action with no input is called `save()`.
|
|
147
|
+
- The same `{ ok, status, message, errors, data }` (an `ErrorShape` when not ok) is what `call.track(module, path)` gives for an API route ([API from islands](api-from-islands.md)), so one result handler serves both.
|
|
148
|
+
- `add.refused(error)` tells a refusal of a call to `add` from any other error, a redirect's included, and types its `data` as the handler passes it to `ctx.fail`, with no cast: `if (add.refused(error)) shown = error.data?.message`.
|
|
149
|
+
- `data` is undefined for a call refused before the handler ran, by the schema or a limit.
|
|
150
|
+
- Its input, its result and that `data` cross as island props do, Dates, Maps, Sets and bigints included; a result holding a function or a class instance answers 500, logging where it sits.
|
|
151
|
+
- When the handler or a guard redirects, the browser goes there, swapping the page in as a link would (a full load for another origin or a site without the swap), and the call rejects with `ActionRedirectError` carrying `location`, so `pending()` clears, `settled()` resolves and a `finally` after the call runs while the page goes away.
|
|
152
|
+
- A leave guard keeping the visitor on the page rejects the call the same way, taking them nowhere; so does a call made on a page the visitor has left since.
|
|
153
|
+
- Outside a browser, as in a test, a redirect throws `ActionRedirectError` from `kay` with `location`.
|
|
154
|
+
- Under a `base`, a redirect to a path of the site goes under it however the action was posted or called, so `ctx.redirect('/dashboard')` lands on `/app/dashboard`, and `location` is the path under the base.
|
|
155
|
+
|
|
156
|
+
### Streaming actions
|
|
157
|
+
|
|
158
|
+
- A handler returning an async iterable answers a call from an island with server-sent events: `await reply({ prompt })` resolves once the first value is there with an `ActionStream<T>` from `kay`, typed from what it yields, whose `last()`, `status()`, `onData()` and `close()` read as `stream()`'s do (it is the same `Connection` type); it never reconnects by itself, but `retry()` on one that failed calls the action again with the same input and reads the new answer into the same stream (`pending()` while it is sent, `onOpen({ reconnected: true })` once it opens, `last()` forgotten), and a refused retry fails it again. `await answer.ended()` reads it to its end with no polling: it resolves with the last value once the stream ran to its end (undefined for none), and rejects with an `ActionError` of status 500 when it failed, as a throw before the first value does, or an `AbortError` when it was closed first, which a stream closing with its block or with a visit to another path is, so code awaiting it there catches that. It is a method rather than the stream being awaitable, as `await reply()` would then wait for the end and hand back the value instead of the stream. `Answer<Output>` from `kay` is what a call resolves with for a given output, an `ActionStream` for an iterable, for a library typing a callback that receives it.
|
|
159
|
+
- Guards, the schema, `rateLimit`, the cross-site check and the bot protections run before the handler, and what the iterable throws before its first value, a `ctx.redirect`, a `ctx.deny` or an error, answers as the handler's would, the call throwing `ActionError` or redirecting; the cookies it set by then go out with the stream.
|
|
160
|
+
- A throw past the first value is logged, `onError` included, and ends the stream `failed`.
|
|
161
|
+
- `pending()` stays true until the stream ends; once it ran to its end the page refreshes, unless `refresh: false`, and `succeeded()` reads its last value.
|
|
162
|
+
- `close()` stops the handler's iterable, its `finally` running, as does the visitor going away; a stream called from an island's setup, an element's event handler or a `listen` callback closes with the enclosing block or component (the nearest still alive for a row playing its leave phase, or for a block the call's own result removes, as `reply = await ask()` flipping the `if` its button sits in, as long as the block goes in the task the answer arrived in), so a `persist` island's stays open across pages, and an effect running again closes the one it called; a stream called under no owner (after an `await` in a handler, or from a timer, or from a handler of an element whose whole owner chain is already disposed) closes once the visitor goes to another path, not at once. An `effect()` or `onCleanup()` called in a `listen` callback attaches to the island's owner and builds up per event, as in an element's handler, so keep them out of it; the callback is called with no `this`, so a `function` callback reads the target as `event.currentTarget`.
|
|
163
|
+
- `rateLimit` with `count: 'succeeded'` counts a stream once its first value is there, and a drained post once its iterable ended.
|
|
164
|
+
- A `pretend` bot protection answering an island's `FormData` call resolves `undefined`, not an `ActionStream`, as the handler never ran.
|
|
165
|
+
- `on()` added right after the call resolves gets every value, `last()` only the latest: a reply yields the text so far rather than the piece added, so `last()` is all an island reads.
|
|
166
|
+
- A plain form post, a page swap's post and an MCP tool call read the iterable to its end and get its last value, as from a handler returning it: `reply.succeeded()?.data`.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Refused fields and their messages
|
|
2
|
+
|
|
3
|
+
## Common tasks
|
|
4
|
+
|
|
5
|
+
- Show why a post was refused: the tasks of [Actions](actions.md#common-tasks).
|
|
6
|
+
|
|
7
|
+
## Reference
|
|
8
|
+
|
|
9
|
+
### Refused fields and their messages
|
|
10
|
+
|
|
11
|
+
- A form posting to an action shows a refused post again by itself: each `input`, `textarea` and `select` in it whose `name`, and `type` if any, are written out takes the value the post sent in place of the one the template gives, a checkbox or radio button whether it was ticked, a field named like a secret (a password), a file, the honeypot and the form's own callback fields excepted. Forms posting to one action share one refused post. A component inside the form reads the same post with `postedValue(name, fallback?)`, `postedChecked(name, value?, fallback?)` and `postedValues(name, fallback?)` from `kay` (undefined outside a refused post and for a secret; in the browser they read what the server rendered, answering only a value that differs from `fallback`), which is how the kayjs-ui controls refill; a list field posts back as `name[]`, and a literal field named `foo[]` is not a list. The same components read the form's messages with `formErrors()` from `kay`, called in the script and answering `(field) => action.error(field)` of the form being rendered (nothing outside one), which is how a FormField shows `add.error('title')` with no `issue` prop; a component given an `action` (kayjs-ui's `Form`) is that form for its content: the kayjs-ui controls and the page's own `input`s in it refill and take `aria-invalid` on the server as in a `form(action)` (in the browser a component's `input` is its own). An island's own template does not know a `form(action)` of the page around it: its FormField shows nothing by name, so give the island the action (`Form(action={add})` inside it) or an `issue` prop.
|
|
12
|
+
- Each field the post was refused for gets `aria-invalid="true"`, and `aria-describedby` naming the element showing its message, so a screen reader reads the message with the field. In an island the mark goes once the field is no longer refused, unless a component still marks it through `markInvalid` (see [Islands](navigation.md#forms-posting-in-place)), such as a kayjs-ui `FormField` showing a message of its own.
|
|
13
|
+
- An `error title` line inside the form shows that message: `p.error`, with the id `add-title-error`, while the post is refused for `title`, nothing otherwise.
|
|
14
|
+
- `error.text-sm title` adds classes.
|
|
15
|
+
- A quoted name such as `error "first-name"` takes any field, and the name is typed from the schema.
|
|
16
|
+
- A bare `error` shows the form's own message, `add.error()`, its `form` described by it.
|
|
17
|
+
- One inside a `for` renders without an id and describes nothing.
|
|
18
|
+
- A `pending` block inside the form shows its lines only while that form posts, with no JavaScript of your own and none added to the page: the runtime that posts the form in place unhides it, and hides it again once the page the answer leads to (a redirect's included) is in; when the answer ends in a document that replaces the page (a redirect to another origin, a reload), it stays shown while that loads (ten seconds at most), and a page restored from the cache hides it. It is hidden in the render, after the answer or a refused post, and without JavaScript.
|
|
19
|
+
- In an island the block shows as well while a call of the form's action is in flight, from `onSubmit`, an `onClick` or anywhere else (`add.pending()`, so every call of the action, `add.with(...)` included: the forms of a list sharing one action all show their block; a `track()` handle is no action a form can post to), and while an `onSubmit` returns a promise.
|
|
20
|
+
- The block is a `slot` laid out as its contents, so it takes no place of its own in a flex or grid form and needs no class. No style rule is involved, so a strict `style-src` leaves it working.
|
|
21
|
+
- Its text is announced through a live region the runtime writes outside the form, as the form's `aria-busy` may hold back a region inside it.
|
|
22
|
+
- Without an `error` line, the field is described by the element an `if add.error('title')` block shows first, or one holding `{add.error('title')}`, written outside a `for` in the file holding a form that posts to `add`, which keeps its own `id` or gets one such as `add-title-error`.
|
|
23
|
+
- The form likewise is described by the element showing `add.error()`.
|
|
24
|
+
- A static `aria-describedby` the template writes, such as a hint, is kept and the error's id added after it; a bound one is left as it is.
|
|
25
|
+
- A message rendered any other way, through a component, a `for` over `errors` or another file, describes nothing, and the field is then announced as invalid without it.
|
|
26
|
+
- A field with a `bind:`, a spread, `disabled` or `multiple` keeps what the template gives, and one the page renders through another component is not the form's own.
|
|
27
|
+
- On a page posting no refused form, every field renders as written.
|