@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,164 @@
|
|
|
1
|
+
# Upgrading, older releases
|
|
2
|
+
|
|
3
|
+
What each minor release before 1.98 broke, and what an app changed to move to it. The newer releases are in [Upgrading](upgrading.md).
|
|
4
|
+
|
|
5
|
+
## 1.97.0
|
|
6
|
+
|
|
7
|
+
### Deploy workflow replicas together
|
|
8
|
+
|
|
9
|
+
A workflow run now keeps each step's result in its own row of the job store. A replica still on an older kay cannot read a run kept this way and leaves its rows behind when it completes it, so move every process sharing a store to this version at once, and do not roll back while runs are in flight.
|
|
10
|
+
|
|
11
|
+
### `typescript7` and `axe-core` are the app's dev dependencies
|
|
12
|
+
|
|
13
|
+
kay no longer installs the native compiler (`typescript7`) or `axe-core` with itself: both are optional peers, so a production install carries neither. No `deprecated` lint can carry this: `kay check` needs `typescript7` to run at all, so a lint inside it could not report its absence. The first `kay check` after the upgrade (`kay upgrade` runs it) adds both to `devDependencies`; an app upgraded by hand runs `bun add -d typescript7@npm:typescript@^7.0.2 axe-core@^4.14.0`. Without `typescript7`, `kay check`, `kay build` (which checks) and the editor server stop at once naming that command, and without `axe-core` so do `kay a11y` and `page.a11y()`; `kay doctor` lists both under `peers`. A Docker build that installs with `--production` and runs `kay build` passes `--no-check`, or keeps them installed.
|
|
14
|
+
|
|
15
|
+
### `kay mcp` needs `--write` to POST and to test
|
|
16
|
+
|
|
17
|
+
An agent's `render` with a `body` or a method other than GET, HEAD or OPTIONS, and its `test` tool, are refused by a read-only `kay mcp`. Register the server as `kay mcp --write` (in `.mcp.json`) to allow them.
|
|
18
|
+
|
|
19
|
+
### A `workflow()` run keeps 2 MB at most
|
|
20
|
+
|
|
21
|
+
A run whose input, events no wait named and kept results (their text) pass 2,000,000 characters fails on its next step, with no retry, naming the cap: a run already past it when you upgrade fails the same way. Return an id from a step that makes a large result and keep the result elsewhere, or split a long loop into runs.
|
|
22
|
+
|
|
23
|
+
### kayjs-ai: no credentials in an API root
|
|
24
|
+
|
|
25
|
+
`AI_BASE_URL`, `AI_AUDIO_URL`, `AI_EMBED_URL` and `baseUrl` throw at their first use for an address like `https://user:pass@host/v1`; move the secret to `OPENAI_API_KEY`, `AI_AUDIO_KEY`, `AI_EMBED_KEY` or `apiKey`.
|
|
26
|
+
|
|
27
|
+
### A template `innerHTML` is checked at runtime
|
|
28
|
+
|
|
29
|
+
`innerHTML={expr}` on an element now drops a string nothing vouched for with `sanitizeHtml`, `trustHtml` or an icon import, as a spread already did, so a value cast to `SafeHtml` (`as`, `any`) no longer carries markup in; the element stays empty and development warns. A string written out and a project file imported as text are not checked. Wrap the value in `sanitizeHtml(...)` or `trustHtml(...)` where it is used. No `kay check` lint recognises it: a cast leaves no trace once the types are erased.
|
|
30
|
+
|
|
31
|
+
### kayjs-cms: a forge redirect fails, and `fourEyes` needs a named approver
|
|
32
|
+
|
|
33
|
+
`forgejo()`, `github()` and `gitlab()` refuse a redirect from the forge, where they followed it with the token: a repository renamed or moved needs its new `repo` in the config. With `cms({ fourEyes: true })`, an approval by a person the guard cannot name (no id, no name) is refused, as it cannot be told from the sender: an app with its own guard passes `cms({ member })` so each person is named.
|
|
34
|
+
|
|
35
|
+
### kayjs-auth: member emails, a new notice, the forward route's second factor
|
|
36
|
+
|
|
37
|
+
- `organizations.members(ref)` gives `user.email` as `null` for every other member when the caller does not hold the `manage` role of the organizations options: a page listing members by email shows their username, or whatever the app keeps, instead.
|
|
38
|
+
- `email-change-requested` is a new notice kind (`SecurityEvent`) mailed to the address an account is leaving when `email.change` sends its link, and a new event for `onEvent`: an app with its own `templates`, or a mailer switching on `mail.kind` exhaustively, handles it or falls back to the built-in.
|
|
39
|
+
- `forwardAuth`'s `/forward` route now applies `twoFactor.require`: a user it names without two-factor is sent to the security page (a 403 without the prebuilt pages), where only `requireTwoFactor` did so before. Passing `requireTwoFactor` with a passkey sign-in no longer sends the user to set up an authenticator.
|
|
40
|
+
|
|
41
|
+
### A `role="group"` is marked `data-invalid`, not `aria-invalid`
|
|
42
|
+
|
|
43
|
+
ChipGroup, FileDrop, RowsField and the group a FormField marks, and `markInvalid` on any `role="group"`, set `data-invalid` where they set `aria-invalid="true"`, as ARIA 1.2 allows `aria-invalid` on a radio group but not on a plain group. `focusInvalid` finds both, and a `data-invalid` group with no focusable self focuses its first control. An app's CSS or test reading `[aria-invalid]` on one of those groups reads `[data-invalid]` now; a field and a radiogroup (RadioGroup, Segmented, Rating) keep `aria-invalid`. The message still reaches a screen reader through the group's `aria-describedby`.
|
|
44
|
+
|
|
45
|
+
## 1.96.0
|
|
46
|
+
|
|
47
|
+
### An `Entry` has `excerpt`, `body` and `html`
|
|
48
|
+
|
|
49
|
+
An `Entry` literal in an app's tests, passed to a component as a prop, is a type error without them: build it with `testEntry(data, members?)` from `kay/test`, which fills every member and takes the ones a test names.
|
|
50
|
+
|
|
51
|
+
### An impersonating admin is held to 30 minutes, and mails the user
|
|
52
|
+
|
|
53
|
+
- kayjs-auth: every organization write (`create`, `update`, `invite`, `revokeInvitation`, `acceptInvitation`, `rejectInvitation`, `setMemberRoles`, `removeMember`, `leave`, `delete`) answers `impersonating` while an admin acts as the user, so an `admin.impersonate` flow that edited organizations is refused, and a `switch` on the failure code now sees the new one (`OrganizationWriteFailure`).
|
|
54
|
+
- `impersonation-started` is now a notice kind (`SecurityEvent`) mailed to the user: an app with its own `templates`, or a mailer switching on `mail.kind` exhaustively, handles it or falls back to the built-in. An impersonation ends after 30 minutes, signing the browser out.
|
|
55
|
+
|
|
56
|
+
### A Menu entry's `danger` and a toast's `type` are gone
|
|
57
|
+
|
|
58
|
+
Their lint (`deprecated-menu-danger`) goes with them: run `kay upgrade` on 1.95 first and it rewrites the entries written out in a Menu's `items`.
|
|
59
|
+
|
|
60
|
+
- A `MenuAction` flagged `danger: true` is `tone: 'danger'`; the flag is a type error now, and an entry built elsewhere that still sets it is drawn without the danger colour.
|
|
61
|
+
- `Toast` is `{ id, message, tone, ... }`: `ToastType` and `Toast.type` are gone, so `toasts()[n].type`, or a `@toast` block reading `item.type`, reads `tone` instead, where `error` was `danger` (`info` and `success` are unchanged). `toast.error`, `toast.success` and `toast.info` stay.
|
|
62
|
+
|
|
63
|
+
### A call whose action redirects rejects
|
|
64
|
+
|
|
65
|
+
The call used to stay pending for good once the browser went to the redirect's target; it now rejects with `ActionRedirectError` (with `location`), as it already did when a leave guard kept the visitor on the page. The navigation goes on either way.
|
|
66
|
+
|
|
67
|
+
- A `finally` after the call, or a `settled()` waiting on it, now runs on the page that is going away, and `pending()` is false.
|
|
68
|
+
- A call nobody awaits, as `onClick={() => logout()}`, reports nothing: the runtime ignores the rejection of a redirect. Code that awaits the call and reacts to any error (a `catch` that shows a failure) ignores an `ActionRedirectError` first; kayjs-ui's forms, `attempt` and the chat do. On a full load, `pending()` clears while the old page is still shown, for a moment.
|
|
69
|
+
- The call's own `onError` hooks still skip a redirect, and `onSettled` runs for it.
|
|
70
|
+
|
|
71
|
+
### A websocket route and the image route have limits by default
|
|
72
|
+
|
|
73
|
+
No lint can see these: they depend on the traffic an app gets, not on its code.
|
|
74
|
+
|
|
75
|
+
- A `.ws()` route refuses a client's 21st open socket with 429. An app whose clients share one address (an office behind one NAT, a proxy kay is not told to trust) or open many sockets on one route sets `detail.messages.connections` to its number, or `false` ([API routes](api-routes.md)).
|
|
76
|
+
- The image route answers 429 past 120 new variants a minute for one client and 503 past 128 waiting draws, and keeps at most 256 cached variants of one source, removing the oldest to make room; variants already made never count against the rate. An app that draws more raises `images.rateLimit`, `images.maxVariants` or `images.queue`, or sets `false` ([limits on encoding](images-runtime-and-remote.md#limits-on-encoding)).
|
|
77
|
+
|
|
78
|
+
### A `local()` mirror is emptied at the first sign-in after the upgrade
|
|
79
|
+
|
|
80
|
+
A browser's mirror and unsent writes made before this version carry no person, so the first sign-in that tags the browser empties them, even for the same person: they cannot be told from another's. Nothing to change; a write queued offline across the upgrade and a sign-in is lost once, so release it while the browsers are online.
|
|
81
|
+
|
|
82
|
+
### The auth result and stream `onOpen` lints of 1.92 are gone
|
|
83
|
+
|
|
84
|
+
`deprecated-auth-error` and `deprecated-stream-open` go, their three minors over: run `kay upgrade` on 1.95 first and it rewrites what it can. A `result.error === 'limited'` left over is now TypeScript's own error, a string compared with an `ErrorShape`: read `result.error.code`. A `.onOpen(reconnected => ...)` left over still compiles and runs on every open: write `.onOpen(({ reconnected }) => ...)`.
|
|
85
|
+
|
|
86
|
+
## 1.95.0
|
|
87
|
+
|
|
88
|
+
### The names and the escape 1.91 deprecated are gone
|
|
89
|
+
|
|
90
|
+
Their lints (`deprecated-library-names`, `deprecated-escape-option`) go with them: run `kay upgrade` on 1.94 first and it rewrites every one. On 1.95 the old names are type errors, and `plugin` is an unknown option of `auth()`.
|
|
91
|
+
|
|
92
|
+
- kayjs-auth: `createAuth` is `authCore`, `createGate` is `authGate`, `createRoleHierarchy` is `roleHierarchy`, `createWsAuthStore` is `wsAuthStore`, `memoryAuthStore` is `memoryAuth`, `pgStore` (of `/pg`) is `pgAuth`, and `auth({ plugin: false })` is `auth({ server: false })`.
|
|
93
|
+
- kayjs-cms: `createDrafts` is `cmsDrafts`, `createEntryForm` is `cmsEntryForm`, and the `sql` key of `pgLoader()` is `source`.
|
|
94
|
+
- kayjs-mail: `createMailSuppressionTable` is `createMailSuppressionTables` and `mailListTables` is `mailListTableNames`, both of `@kaynooo/kayjs-mail/pg`.
|
|
95
|
+
- kay: `PgJobsSource` of `kay/server` is `PgSource`.
|
|
96
|
+
|
|
97
|
+
### A component is an island by what it says, and every name is imported
|
|
98
|
+
|
|
99
|
+
The three forms that 1.92 deprecated are gone, with their lints (`promoted-island`, `island-comment` and `implicit-import`). `kay upgrade` from 1.92 or later has already moved an app off them; one that stayed on them changes by hand.
|
|
100
|
+
|
|
101
|
+
- A static component that passes an island a function, a class instance or a block with parameters is no longer made an island when it renders: `kay check` reports `island-prop`, and rendering throws an `IslandPropsError` naming the prop. Write `--- island` in place of `---` on the component (`--- island <T>` for a generic one), or pass the island data. A build lists a component as an island only for what its own code says, so `kay build --format json` has no `promoted` field and a `cause` is never a `prop`, a `spread` or a `block`.
|
|
102
|
+
- `// kay-island` and `// kay-static` are comments: write `--- island` and `--- static`.
|
|
103
|
+
- A `kay` value or `t` of `kay/i18n` used with no import is a type error, `Cannot find name 'signal'`, and the compiler adds no import: write `import { signal } from 'kay'` in the fence, or run `kay check --fix`, which writes the import of any name a `kay/*` entry exports. A library component reading `ctx` imports it from `kay`, and is still typed with the keys of its context module.
|
|
104
|
+
- A template reading `ctx` needs `import { ctx } from 'kay'` in its script fence: `kay check --fix` adds it.
|
|
105
|
+
- The `IslandProp` and `FunctionProp` types of `kay` take one type parameter less, as a lint name was their second.
|
|
106
|
+
- `compileKay` no longer returns `promote`, its `cause` has no `target`, and `analyzeScript` takes no template reads.
|
|
107
|
+
|
|
108
|
+
### The stream, hook, image route and callback forms 1.92 deprecated are gone
|
|
109
|
+
|
|
110
|
+
Their lints (`deprecated-stream-types`, `deprecated-stream-on`, `deprecated-hook-dispatch`, `deprecated-hook-names`, `deprecated-icon-picker-search`) go with them: run `kay upgrade` on 1.94 first and it rewrites every one that has a safe fix.
|
|
111
|
+
|
|
112
|
+
- The old stream types `EventReader` and `StreamRun` are `Connection` and `Stream`; `.on(fn)` of a stream or a socket is `.onData(({ value }) => ...)`.
|
|
113
|
+
- `notify` and `NotifyOptions` of `kay/library` are `dispatch` and `DispatchOptions`.
|
|
114
|
+
- kayjs-auth's `onAuthEvent` is `onEvent` and its `onDelete` is `beforeDelete`, which can refuse; kayjs-ai's `onRequest` is `beforeRequest` and its `onFinish` is `onSuccess`.
|
|
115
|
+
- Form, FormDialog and SaveForm `onSaved` is `onSave`, ContactForm and SubscribeForm `onSent` is `onSend`, AudioPlayer `onEnded` is `onEnd`, and the call that does a SaveForm's save is `save`, no longer `onSave`.
|
|
116
|
+
- IconPicker's `search(query, limit, offset)` is `icons={({ q, limit, offset }) => ...}`.
|
|
117
|
+
- The image resizer answers `/_kay/images` only: a link to `/_kay/image` is a 404, so rewrite one an app wrote by hand.
|
|
118
|
+
### A route no guard covers is refused once the site has a guard
|
|
119
|
+
|
|
120
|
+
With `requireGuards` unset, a site that declares a guard of its own (a `_guard.ts` or an `api()` guard, not a library's) now answers 403 on each page, endpoint and API module no guard covers, where it served them. A site with no guard at all starts as before, and `requireGuards: true` and `false` mean what they did. `kay check` already reports each such route as `unguarded-route`, now an error: add the guard, set `guards: false` on a route anyone may reach, or set `requireGuards: false` in kay.config.ts to keep every route open. A scaffolded `requireGuards: true` next to a root `_guard.ts` can go; no lint carries it, as `kay check` names each route. ([guards](guards.md))
|
|
121
|
+
|
|
122
|
+
### A cookie an app sets is hardened by default
|
|
123
|
+
|
|
124
|
+
A cookie set with `ctx.cookies.set` (a page, endpoint, guard or action) or by an `api()` route is now `HttpOnly`, `SameSite=Lax`, `Secure` over https and `Path` the `base`, where it was Bun's plain `Path=/` with neither `HttpOnly` nor `Secure`, unless the call gives the option itself. No lint can see it. A cookie a script reads from `document.cookie` needs `{ httpOnly: false }` on its `set`; to keep the old headers for every cookie, set `security: { cookies: false }` in kay.config.ts. A scaffolded `security: { cookies: {} }` is now the default and can go ([server](server.md#sessions)).
|
|
125
|
+
|
|
126
|
+
## 1.94.0
|
|
127
|
+
|
|
128
|
+
### The old names and import paths 1.90 deprecated are gone
|
|
129
|
+
|
|
130
|
+
`kay check` no longer flags them, so run `kay upgrade` on 1.93 first if an app still has any. `context` of `kay` is `createContext`; `dataTables`, `jobTables` (of `kay/server`, the table names; `kay/pg-orm`'s `jobTables` is unchanged), `EveryOptions` and `ApiRateLimit` of `kay/server` are `dataTableNames`, `jobTableNames`, `ScheduleEveryOptions` and `RateLimit`; kayjs-mail's `cssColours`, `Reply`, `Attachment` and `WaitOptions` are `cssColors`, `MailReply`, `MailAttachment` and `MailWaitOptions`; kayjs-ai's `Reply`, `Attachment`, `ToolCall`, `Message` and `LimitOptions` are `AiReply`, `AiAttachment`, `AiToolCall`, `AiMessage` and `AskLimit`; kayjs-cms's `Action`, `DraftEntry`, `Member` of `/room` and `SeedEntry` of `/pg` and `/sqlite` are `CmsAction`, `CmsDraftEntry`, `CmsMember` and `CmsSeedEntry`; kayjs-auth's `guard`, `Member`, `ProofOfWorkOptions` and `Limit` are `authGuard`, `AuthMember`, `AuthProofOfWorkOptions` and `AuthRateLimit`; kayjs-ui's `editing` and `Editing` are `rowEditing` and `RowEditing`. kayjs-auth's credential rules are imported from `@kaynooo/kayjs-auth/rules` and kayjs-cms's `EntryForm` and `FormScope` from `@kaynooo/kayjs-cms/form`, as their roots no longer repeat them. `kay env` no longer warns about `KAYJS_AUTH_DATABASE_URL` and `MAIL_INBOUND_SECRET`.
|
|
131
|
+
|
|
132
|
+
### The kayjs-ui and kayjs-ai names 1.90 deprecated are gone
|
|
133
|
+
|
|
134
|
+
Their lints (`deprecated-ui-actions`, `deprecated-ui-failures`, `deprecated-open-change`, `deprecated-chat-icons`, `deprecated-size-limits`) go with them: run `kay upgrade` on 1.93 first and it rewrites every one that has a safe fix. On 1.94 the old names are type errors, or ignored where a block has no type.
|
|
135
|
+
|
|
136
|
+
- `@head` of Card, `@action` of FormField, `@end` of AppHeader, `@trailing` of TreeView and `@toolbarExtra` of MarkdownEditor are `@actions`; ConfirmDelete's `trigger` string is `triggerLook`.
|
|
137
|
+
- `failure` of CopyButton, ConfirmDelete, FormDialog, RecordButton, SaveForm and AudioPlayer, `errorLabel` of IconPicker and ImageCropper and `errorMessage` of Chat are `failureLabel`; CopyButton's `onFail(error)` is `onError({ error })`.
|
|
138
|
+
- `onToggle` of Table and TreeView is `onOpenChange`.
|
|
139
|
+
- Chat and ChatLauncher draw their buttons' icons from `icons={{ send: SendIcon }}`, no longer from `@sendIcon`, `@stopIcon`, `@newIcon`, `@attachIcon`, `@regenerateIcon`, `@editIcon`, `@recordIcon`, `@icon`, `@closeIcon`, `@expandIcon` and `@collapseIcon`.
|
|
140
|
+
- `maxAttachmentBytes` of `ask` and `maxFileSize` of Chat are `maxSize`; an extension's `maxSize` map is `maxSizeByPath`.
|
|
141
|
+
|
|
142
|
+
### kayjs-auth and kayjs-mail drop what 1.90 and 1.91 deprecated
|
|
143
|
+
|
|
144
|
+
- `password`, `magicLink`, `twoFactor` and `signUp` of `auth()` and `createAuth()`, and `pages` of `auth()`, no longer take `true`: leave the option out, as it is on by default, or write `false` or an object. `deprecated-auth-options` is gone, so `kay upgrade` no longer drops them, and a `true` is a type error.
|
|
145
|
+
- `KAYJS_AUTH_DATABASE_URL` and `MAIL_INBOUND_SECRET` are no longer read: set `AUTH_DATABASE_URL` and `MAIL_EVENTS_INBOUND`.
|
|
146
|
+
|
|
147
|
+
### kayjs-mail views get the site's origin as `site` everywhere
|
|
148
|
+
|
|
149
|
+
The confirmation view of a list got the origin, its footer got the host: both now get `site` as the origin and `host` as the host, as the contact view's `site` already was. A view of your own that reads `site` from the footer and shows it as a name reads `host` instead; no lint can see a changed value.
|
|
150
|
+
|
|
151
|
+
### An unused `for` loop index is an `unread-name` error
|
|
152
|
+
|
|
153
|
+
`for x, i of xs` with `i` read nowhere is reported by `unread-name`, as an unused `const` is, whatever `noUnusedParameters` says. `kay upgrade` (or `kay check --fix`) drops the `, i` and keeps the item and the `key`; to keep an index nothing reads, write it `_i`.
|
|
154
|
+
|
|
155
|
+
## 1.93.0
|
|
156
|
+
|
|
157
|
+
### The kayjs-ui prop names 1.89 deprecated are gone
|
|
158
|
+
|
|
159
|
+
Their `deprecated-ui-props` lint goes with them: run `kay upgrade` on 1.92 first and it rewrites every one. On 1.93 the old names are type errors.
|
|
160
|
+
|
|
161
|
+
- `isDisabled` on DateInput and DateRangeInput, the per-day predicate, is `disabledDay`.
|
|
162
|
+
- Widget's `isEmpty` is `empty`, and its `@empty` block is `@emptyState`.
|
|
163
|
+
|
|
164
|
+
Releases before 1.93 are in the notes of their releases, at https://git.kaynooo.fr/kaynooo/kayjs/releases.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# Upgrading
|
|
2
|
+
|
|
3
|
+
What each minor release breaks, and what an app changes to move to it. kay and its libraries share one version, so one section covers them all; a patch breaks nothing, and a minor missing here broke nothing.
|
|
4
|
+
|
|
5
|
+
## 1.104.0
|
|
6
|
+
|
|
7
|
+
### The forms 1.100 deprecated are gone
|
|
8
|
+
|
|
9
|
+
`deprecated-ui-item-keys`, `deprecated-infinite-list-options` and `deprecated-cms-test-helpers` go with them: run `kay upgrade` on 1.103 first and it rewrites every one it can find. On 1.104 the old names are refused or ignored.
|
|
10
|
+
|
|
11
|
+
- A TreeNode takes `key`, not `id`, and a Bell or BellInbox item `key`, `label` and `href`, not `id`, `title` and `url`; `nodeKey()` and `KeyedTreeNode` are gone, a node is read as `node.key`. What `notifications.inbox()` answers and `notify()` takes keeps `{ id, title, url }`.
|
|
12
|
+
- `infiniteList` takes `limit`, and `pageSize` is ignored.
|
|
13
|
+
- `cmsSignInAs`, `cmsSignInWith` and `cmsSignOut` of `@kayjs/cms/test` are gone: `cmsTest(site).signInAs(role)`, `.signInWith(password)` and `.signOut()`.
|
|
14
|
+
- `CollectionInfo` from `collectionInfo()` and `collections()` of `kay/content` has `total` only: `count` is gone.
|
|
15
|
+
|
|
16
|
+
### kay and its libraries are `@kayjs/*`
|
|
17
|
+
|
|
18
|
+
kay is `@kayjs/kay`, and kayjs-ui, kayjs-auth, kayjs-mail, kayjs-cms and kayjs-ai are `@kayjs/ui`, `@kayjs/auth`, `@kayjs/mail`, `@kayjs/cms` and `@kayjs/ai`, published to npm and to the Forgejo registry; `@kaynooo/kayjs` and `@kaynooo/kayjs-*` stop at 1.103, which stays installable. `kay upgrade` writes the new names in `package.json` (the `kay` alias becomes `"kay": "npm:@kayjs/kay@~1.104.0"`, so imports of `kay` are unchanged), installs, and rewrites every `@kaynooo/kayjs-*` import, config key and stylesheet import (`deprecated-package-names`). From an app on 1.103 or before, run it from the new kay: `bunx -p @kayjs/kay kay upgrade`. By hand: replace each name in `package.json`, run `bun install`, then `kay check --fix` for the sources. `@kaynooo/utils`, `@kaynooo/eslint`, `@kaynooo/pg-orm` and `@kaynooo/cli-kit` keep their names.
|
|
19
|
+
|
|
20
|
+
## 1.103.0
|
|
21
|
+
|
|
22
|
+
### A page with `--- island` or `--- client` is refused
|
|
23
|
+
|
|
24
|
+
A page without a `--- server` fence is checked as one with it: `--- island` on it is `island-marker` and `--- client` is `client-route-fence`, `--- client` failing `kay check` and the build too, and `--- island` failing `kay check` while the build now ignores it, so the page no longer hydrates. Move what needs the browser into a component of its own, written `--- island` (or `--- client`), and render it from the page. No `kay upgrade` fix exists, as the fix moves code into a new file.
|
|
25
|
+
|
|
26
|
+
### `TSchema` is `Schema`
|
|
27
|
+
|
|
28
|
+
`TSchema` from `kay/library` is `Schema`, kay's own name for what `s` builds, so your signatures do not name TypeBox. The old name works until 1.106, and `kay upgrade` rewrites the import and its uses (`deprecated-schema-type`). `Static` and every schema option are unchanged, and an Elysia `t.Object(...)` is still accepted as a `Schema`.
|
|
29
|
+
|
|
30
|
+
### The 1.99 DOM event names are gone
|
|
31
|
+
|
|
32
|
+
`deprecated-event-names` goes with them: run `kay upgrade` on 1.102 first. `kay-renew`, `kay-dev-built`, `kay-dev-types`, `kay:install` on the window, `kai-chat-open`, `kai-chat-send`, `kai-chat-draft`, `kai-chat-new` and `kui-hold-defaults` are no longer fired or heard, so a listener or a dispatch under one does nothing: write `kay:renew`, `kay:dev-built`, `kay:dev-types`, `kay:install`, `kai:chat-open`, `kai:chat-send`, `kai:chat-draft`, `kai:chat-new` and `kui:hold-defaults` on `document`, the chat's with `{ text }` as `detail`. [Events](events.md) lists them.
|
|
33
|
+
|
|
34
|
+
### `consent` of `analytics()` and `vitals()` is `awaitConsent`
|
|
35
|
+
|
|
36
|
+
`deprecated-await-consent` goes with it: run `kay upgrade` on 1.102 first. `analytics({ consent })` and `vitals({ consent })` throw at boot naming `awaitConsent`.
|
|
37
|
+
|
|
38
|
+
### kayjs-ai: `effort`, `approval`, `showReasoning` and `waitingLabel`
|
|
39
|
+
|
|
40
|
+
`deprecated-ai-options` and `deprecated-ai-props` go with them: run `kay upgrade` on 1.102 first. `ask(messages, { reasoning })` and `{ confirm }` fail `kay check` (they are not options of `AskOptions`) and are ignored at run time, so a call loses its effort and its approval step: write `effort` and `approval`. Chat and ChatLauncher no longer read `reasoning` and `thinkingLabel`: write `showReasoning` and `waitingLabel`.
|
|
41
|
+
|
|
42
|
+
### kayjs-cms: `form.hide` is `exclude`
|
|
43
|
+
|
|
44
|
+
`deprecated-filter-options` goes with it: run `kay upgrade` on 1.102 first. A collection's `form: { hide }` throws at boot, listing the options a form layout takes: write `exclude`.
|
|
45
|
+
|
|
46
|
+
### kayjs-ui items: `label`, `key`, `href`
|
|
47
|
+
|
|
48
|
+
`deprecated-ui-items` goes with it: run `kay upgrade` on 1.102 first. A Timeline entry's `text` is `label`, an Accordion item's `value` and `title` are `key` and `label`, a MediaGallery item's `title` is `label`, an AppSwitcher app's `id` is `key`, and an AudioChapter's `title` and `url` are `label` and `href`: the old names fail `kay check` and draw nothing. The helper types `LabelledTimelineEntry`, `KeyedSwitcherApp` and `LabelledChapter` are gone, as their blocks and callbacks hand the item itself.
|
|
49
|
+
|
|
50
|
+
### A recipe's utilities are lifted into a layer
|
|
51
|
+
|
|
52
|
+
In an app with Tailwind, a recipe's utility classes become one short class per string, with its rule in the `utilities.recipe` layer ([styles](styles-and-assets.md)). Two things an app can see change: a variant's utility replaces the base's at every width (`md:px-4` in the base against `px-8` in a variant gives `px-8` at `md` too), and a `!` utility of the recipe beats the app's. Nothing to change unless a page relied on the old order; add the utility to the app's `class`.
|
|
53
|
+
|
|
54
|
+
## 1.102.0
|
|
55
|
+
|
|
56
|
+
### The `analytics()` option names 1.98 deprecated are gone
|
|
57
|
+
|
|
58
|
+
`deprecated-analytics-options` goes with them: run `kay upgrade` on 1.101 first. A server that still has `host`, `domain`, `hostname` or `policyUrl` does not boot, naming the new key: write `url`, `site` (for the `domain` of Plausible and the `hostname` of Simple Analytics) and `privacy`.
|
|
59
|
+
|
|
60
|
+
### The `kay.config.ts` keys 1.98 deprecated are gone
|
|
61
|
+
|
|
62
|
+
`deprecated-config-keys` goes with them: run `kay upgrade` on 1.101 first. `serve.apiPath` is `serve.apiPrefix`, `live: { perMinute: 120 }` and `images: { perMinute: 120 }` are `rateLimit: { max: 120, window: '1m' }`, `mcp: { rateLimit: 60 }` is `{ max: 60, window: '1m' }` (a number now fails at boot), and a Fontsource entry's `subset` and `weight` are `subsets` and `weights`, each a list. An old key is an unknown key now, so `kay check` reports it, and a Fontsource entry with `subset` or `weight` stops the build, naming the new key.
|
|
63
|
+
|
|
64
|
+
### The `tz` of `schedule()` that 1.98 deprecated is gone
|
|
65
|
+
|
|
66
|
+
`deprecated-schedule-tz` goes with it: run `kay upgrade` on 1.101 first. A `schedule()` that still has `tz` throws at boot: write `timeZone`.
|
|
67
|
+
|
|
68
|
+
### The `id` of a workflow's `start()` that 1.98 deprecated is gone
|
|
69
|
+
|
|
70
|
+
`deprecated-workflow-start-id` goes with it: run `kay upgrade` on 1.101 first. A `start(input, { id })` throws: write `key`.
|
|
71
|
+
|
|
72
|
+
### Content dates that named no day are refused
|
|
73
|
+
|
|
74
|
+
An `s.Date()` field written `2024-02-30`, `2024-2-30`, `2024/02/30` or `2024-03-10T24:00:00Z` used to decode to the next day or month; it now fails `kay check` and `kay build` at its field, so correct the date. A date with a time and no seconds, `2024-03-10 10:00`, which crashed `kay check`, is refused the same way: write `2024-03-10T10:00:00Z`. Heading ids of a title with letters beyond ASCII change (`Café` was `caf`, now `café`), as do repeats that collided, so a link to one of those anchors needs the new id; ids of ASCII titles are unchanged, a typographic apostrophe included (`Don’t stop` keeps `dont-stop`).
|
|
75
|
+
|
|
76
|
+
### `--- script` opening a file is written `---`
|
|
77
|
+
|
|
78
|
+
`--- script` as the first fence of a file is `---` spelled out, so it is the `deprecated-script-fence` lint, which `kay upgrade` rewrites; it works until 1.105. A script that follows a `--- server`, `--- module` or `--- style` fence keeps `--- script`, as a bare `---` there closes that fence instead.
|
|
79
|
+
|
|
80
|
+
### `if cond as name` is `if cond then name`
|
|
81
|
+
|
|
82
|
+
`as` is a TypeScript cast and nothing else: the alias of an `if` or `else if` takes the word `await x then name` uses, so `if user as u` is `if user then u` and `else if list.find(f) as item` is `else if list.find(f) then item`. Before, a last `as` followed by a lowercase name aliased the condition and a capitalized name was a cast, so a lowercase type alias read as an alias. The old spelling still aliases until 1.105; the `deprecated-if-alias` lint reports it and `kay upgrade` writes `then`.
|
|
83
|
+
|
|
84
|
+
### A blank query param reads the default, a blank list reads `[]`
|
|
85
|
+
|
|
86
|
+
In `ctx.query` and `queryParam`, a blank param (`?q=`) of an optional field with a default reads that default, and a blank list param (`?tags=`) reads `[]`, where it read `[""]`, or answered 400 for a list of numbers. `persisted.query` writes `?q=` or `?tags=` when the user clears a field whose default is not empty, so a reload keeps it. A required field keeps its blank, and an action's body reads as before. A page that took a blank list as one empty item, or relied on a blank number list answering 400, reads the new value.
|
|
87
|
+
|
|
88
|
+
## 1.101.0
|
|
89
|
+
|
|
90
|
+
### The `hotkey` of Toaster and CommandPalette 1.97 deprecated is gone
|
|
91
|
+
|
|
92
|
+
`deprecated-ui-hotkey` goes with it: run `kay upgrade` on 1.100 first. `hotkey` is ignored now, so a Toaster or CommandPalette that still has one loses its key: `hotkey="j"` is `shortcut="alt+j"` on a Toaster and `shortcut="mod+j"` on a CommandPalette, and `hotkey={null}` is `shortcut={null}`.
|
|
93
|
+
|
|
94
|
+
### The `template-invalid` error code is split by problem
|
|
95
|
+
|
|
96
|
+
`kay check --format json`, `kay build --format json` and the `code` of a thrown compile error no longer say `template-invalid`: each problem has its own code, `head-invalid`, `slot-invalid`, `duplicate-attribute`, `attribute-invalid`, `attribute-ineffective`, `element-invalid`, `part-invalid`, `form-misuse`, `server-island-invalid`, `fallback-invalid`, `bind-misuse` or `event-name`. A template `const` or snippet named like a name already declared is `name-clash` (it was `signal-misuse`). Messages that the old code covered and a fence rule fits better moved to `fence-invalid` (a name imported twice in the two fences, type parameters, a recipe or props on a page, `ctx` read in an island), `part-invalid` (the `class` prop or recipe of a component with parts) and `page-settings-invalid` (a `query` outside a page or a layout). Match on the new codes, or on the `compile` group; `kay explain <code>` says what each covers, and no `// kay-allow` comment reaches any of them, as before.
|
|
97
|
+
### `apiUrl(module, path)` checks the path against the module
|
|
98
|
+
|
|
99
|
+
The path must be one of the module's routes and its params are required, so `kay check` reports a path typed as `string`, a mistyped or removed route and a missing param. Write the path as a literal, or cast a dynamic one (`path as '/:id'`) or the module (`module as unknown`); fix a mistyped path. `apiUrl(request, path)` and a module typed `unknown` take any path. No deprecation lint: the type error is the report, and the runtime is unchanged.
|
|
100
|
+
|
|
101
|
+
### `persisted()` takes no `storage`: each storage has its own entry
|
|
102
|
+
|
|
103
|
+
`persisted(name, value, { storage: 'local' })` is `persisted.local(name, value)`, `{ storage: 'query' }` is `persisted.query(name, value)` (with `values` and `history` as options), and `{ storage: 'cookie' }` or none is `persisted(name, value)` or `persisted.cookie(name, value)`; `persisted.session()` is new. Each entry takes only the options its storage can use. The old form works until 1.104, and `kay upgrade` rewrites it (`deprecated-persisted-storage`); a call whose `storage` is not a literal, or that is read through another name than the `persisted` import, is changed by hand.
|
|
104
|
+
|
|
105
|
+
### A `for` with no key matches rows by `id` or the object, never by position
|
|
106
|
+
|
|
107
|
+
Rows of objects with no `id` used to be paired with the row left in their place when an edit, a removal or an insertion replaced them with copies, and a list of fresh objects reused the rows by position. Now a `for` with no `key` matches a row by `item.id` when it has one and by the item itself otherwise, so a copy of an object with no `id` is a new row: it redraws its markup and loses its fields and focus, as the row of a new object always did. `unkeyed-rows` reports such a `for` in an island, where the rows are matched again (`kay check`, a warning), and offers `key={i}`, which matches by position as a list of copies was matched before, without applying it; an `id` on the rows, or a `key` naming them such as `key={row.slug}`, keeps their nodes across copies and across a removal. No lint can tell a list of copies from a list of the same objects, so `kay upgrade` leaves it.
|
|
108
|
+
|
|
109
|
+
### kayjs-auth on Postgres gains a `delete_at` column
|
|
110
|
+
|
|
111
|
+
`kay_users` has a nullable `delete_at` column and its index, written on every new user whether `account.deleteAfter` is set or not. `db.sync()` adds them; an app that ships migrations generates one before deploying (`bunx pg-orm generate`, then `bunx pg-orm apply`), or sign-up fails with `column "delete_at" of relation "kay_users" does not exist`.
|
|
112
|
+
|
|
113
|
+
## 1.100.0
|
|
114
|
+
|
|
115
|
+
### The `permanent` of a redirect 1.96 deprecated is gone
|
|
116
|
+
|
|
117
|
+
`deprecated-redirect-permanent` goes with it: run `kay upgrade` on 1.99 first. A redirect with `permanent` fails with `redirect-invalid` where it was a 308 or 307: `permanent: false` is `status: 307`, and `permanent: true` is dropped, as 308 is the default. A static export lists `status: 307` as 307 in `_redirects`.
|
|
118
|
+
|
|
119
|
+
### Errors kay raises while serving are `KayError`s
|
|
120
|
+
|
|
121
|
+
A refused redirect, a live value or action result that cannot reach the browser, and an API answer kay cannot send throw a `KayError` with a `code` (`redirect-target-invalid`, `live-value-invalid`, `api-answer-invalid`) where they threw a `TypeError`, and a response failing its schema is a `KayError` coded `response-schema-mismatch`, Elysia's error as its `cause`. No lint can find a check on the error's class: an app testing `instanceof TypeError` on one of them tests `error.code` instead.
|
|
122
|
+
|
|
123
|
+
### kayjs-auth mails follow the site's locales
|
|
124
|
+
|
|
125
|
+
`email.locales` defaults to the site's `i18n.locales` (English only before), so a reader whose language the site serves now gets the mail in it, in kayjs-auth's French or else English texts, and a reader whose language is none of them gets the default locale's mail. Set `email: { locales: ['en'] }` to keep English only.
|
|
126
|
+
|
|
127
|
+
### kayjs-ui Dialog and SidePanel ask before dropping typed text
|
|
128
|
+
|
|
129
|
+
Once something is typed in a modal Dialog or SidePanel, Escape, a click outside and the close button no longer do nothing (with a footer) or close it (without one): they ask "Discard changes?" through `confirm()`. `discard={{ title, message, confirmLabel, cancelLabel }}` words the question, and `discard={false}` keeps the old lock. `autosave` and `dirty` behave as before.
|
|
130
|
+
|
|
131
|
+
### kayjs-ui TreeView and Bell items: `key`, `label`, `href`
|
|
132
|
+
|
|
133
|
+
A TreeNode's `id` is `key`, and a Bell or BellInbox item's `id`, `title` and `url` are `key`, `label` and `href`, as in every other list (`onRead` and `onSelectedChange` still carry the key). What `notifications.inbox()` answers and `notify()` takes is unchanged, `{ id, title, url }`: the Bell maps it, so an `@item(note)` block reads `note.key`, `note.label` and `note.href` with the old three still there.
|
|
134
|
+
|
|
135
|
+
### kayjs-ui: `infiniteList({ limit })`, and a count is `total`
|
|
136
|
+
|
|
137
|
+
`infiniteList(rows, { pageSize: 20, ... })` is `limit: 20`: the rows a full page holds are the `limit` of the window each page asks for, as `pageFields()` and `PageInput` name it, while `pageSize` stays for a list paged by number (`paginate()`, `Pagination`, a Table).
|
|
138
|
+
|
|
139
|
+
`CollectionInfo`, what `collectionInfo()` and `collections()` of `kay/content` answer, reports the number of entries as `total` in place of `count`, the word every list result uses (`pageOf`, kayjs-auth's `ListUsersResult`, kayjs-cms's `ListScreen`). A field an app reads cannot be found by `kay check`, so there is no lint: an app reading `info.count` writes `info.total`.
|
|
140
|
+
|
|
141
|
+
### kayjs-cms test helpers: `cmsTest(site)`
|
|
142
|
+
|
|
143
|
+
`cmsSignInAs(site, role)`, `cmsSignInWith(site, password)` and `cmsSignOut(site)` of `@kaynooo/kayjs-cms/test` are `cmsTest(site).signInAs(role)`, `.signInWith(password)` and `.signOut()`, as `auth.test(site)` signs in and out.
|
|
144
|
+
|
|
145
|
+
## 1.99.0
|
|
146
|
+
|
|
147
|
+
### Storage keys are `<lib>:<name>`
|
|
148
|
+
|
|
149
|
+
`kay-reloaded`, `kay-push-posted`, `kay-push-refused`, `kay_editor-refused`, `kay-dev`, `kay-dev-layout`, `kai-chat-conversation:<url>` and `kcms-editor` are `kay:reloaded`, `kay:push-posted`, `kay:push-refused`, `kay:editor-refused`, `kay:dev`, `kay:dev-layout`, `kai:chat-conversation:<url>` and `kcms:editor`. The push record, the chat's shown conversation and the editor's layout move from the old key the first time they are read; the others start again. An app reading one of these keys by name reads the new one.
|
|
150
|
+
|
|
151
|
+
### RowsField's `@cell` block gets `index` as a function
|
|
152
|
+
|
|
153
|
+
The third argument of `@cell(column, row, index, set, issue)` is `index()`, the row's place (from 0), so a cell is drawn once per row and no longer again when a row above it is removed: `aria-label={`${column.label} ${index + 1}`}` becomes `${index() + 1}`. `kay check` flags arithmetic and comparisons on `index`, but not a bare `${index}` in a template, so no `deprecated` lint can carry it.
|
|
154
|
+
|
|
155
|
+
## 1.98.0
|
|
156
|
+
|
|
157
|
+
### Stat and Chat write `data-layout`, not `data-variant`
|
|
158
|
+
|
|
159
|
+
`Stat` and `Chat` (and the `ChatLauncher` chat) take `layout` in place of `variant` and mark their root `data-layout`: CSS on `[data-variant=tile]` (Stat) or `[data-variant=plain]` (Chat) reads `[data-layout=tile]` and `[data-layout=plain]` now. The `variant` prop still works, rewritten by `deprecated-ui-props`.
|
|
160
|
+
|
|
161
|
+
### kayjs-ui popover panels carry a role
|
|
162
|
+
|
|
163
|
+
A Popover panel, which had no role unless given one, is `role="dialog"` by default (its new `role` prop), and so is MultiSelect's panel, `role="group"` before; Menu, AppSwitcher and Bell panels are `role="none"` around their own list. A test or CSS selecting a panel by `[role="group"]` selects `[role="dialog"]` now.
|
|
164
|
+
|
|
165
|
+
### A disabled IconButton stays focusable
|
|
166
|
+
|
|
167
|
+
An IconButton with a `label` shows it as a tooltip, so a disabled one is `aria-disabled="true"` with no `disabled` attribute, to stay reachable for its tooltip (since 1.80): a test reading `button.disabled` reads `aria-disabled` instead.
|
|
168
|
+
|
|
169
|
+
Releases before 1.98 are in [Upgrading, older releases](upgrading-archive.md).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# What's new, older releases
|
|
2
|
+
|
|
3
|
+
What each release before 1.101 added, and the end of a newest release that was cut short (`(continued)`), newest first, each feature with where it is documented. The newer releases are in [What's new](whats-new.md); what a release breaks is in [Upgrading](upgrading.md).
|
|
4
|
+
|
|
5
|
+
## 1.100.0
|
|
6
|
+
|
|
7
|
+
- kayjs-ui: a Dialog and a SidePanel take no `open` or `onOpenChange`: left out, each keeps its own state and a `@trigger(attributes)` block draws what opens it, like FormDialog; `open` still drives it and `closeHref` still works ([Dialog](../../ui/llms/basics.md)).
|
|
8
|
+
- kayjs-ui: a FormDialog takes no `open` or `onOpenChange`: left out, it keeps its own state and a `@trigger(attributes)` block draws what opens it, like ConfirmDelete; `open` still drives it ([FormDialog](../../ui/llms/forms-and-steps.md)).
|
|
9
|
+
- kayjs-ui: Combobox and MultiSelect take numbers as values like Select does: `onChange` hands back the option's own type, so a numeric id from a remote `options` stays a number, while the form posts its string; MultiSelect's `valueLabels` is keyed by that string ([pickers](../../ui/llms/pickers.md)).
|
|
10
|
+
- A rate limit answers its own 429: `await limit.enforce(ctx)` in a guard sets `Retry-After` and denies, the object `rateLimit()` returns goes to `protect: { rateLimit }`, `api({ rateLimit })` or `page.rateLimit` and counts with the guard, and `onLimit` on any limit is told of each request it refused ([Rate limits](rate-limits.md)).
|
|
11
|
+
- Event handlers take `|once`, `|self`, `|capture`, `|passive` and, on a key event, a key name (`onKeyDown|enter={send}`) beside `|preventDefault` and `|stopPropagation`, compiled into the handler so a page pays for those it writes ([Templates](templates-elements-slots-snippets.md)).
|
|
12
|
+
- The errors kay raises while serving a request that an app handles have a stable `code`, listed by `kay explain`: `error.code` on the error, `LogEntry.error.code`, the `kay.error.code` span attribute and `code` in the `observe.onError` event; a response failing its schema (`response-schema-mismatch`), an API answer kay cannot send, a refused redirect, a live value that cannot reach the browser and a closed store are among them; a refused redirect, a live value and an API answer kay cannot send are now `KayError`s, no longer `TypeError`s, and a response failing its schema is reported as a `KayError` named like Elysia's, its `cause` ([Errors](errors.md#errors)).
|
|
13
|
+
- kayjs-auth: the mails are written in the site's `i18n.locales` by default (English only before), the default locale first; `email.locales` still overrides it. kayjs-ui, kayjs-cms, kayjs-mail and kayjs-ai write their dates, times and sizes through `formatDate`, `formatNumber` and `sizeText`, so they follow the page's locale and `timeZone` (a chart's dates and file sizes, kayjs-cms's save times; the mail outbox sizes read `1.5 kB`). A dev tool module formats a time with `tool.time(at)` ([the dev tool](dev-tool.md#a-tab-for-a-library)).
|
|
14
|
+
- kayjs-auth: the mails are written in the site's `i18n.locales` by default (English only before), the default locale first; `email.locales` still overrides it. kayjs-ui, kayjs-cms, kayjs-mail and kayjs-ai write their dates, times and sizes through `formatDate`, `formatNumber` and `sizeText` of `kay/words` (the page's locale, light enough for every island), so they follow the page's locale and `timeZone` (a chart's dates and file sizes, kayjs-cms's save times; the mail outbox sizes read `1.5 kB`). A dev tool module formats a time with `tool.time(at)` ([the dev tool](dev-tool.md#a-tab-for-a-library)).
|
|
15
|
+
- kayjs-ui: Tabs and TabNav take `orientation="vertical"` (ArrowUp and ArrowDown); Tabs takes `activation="manual"` (arrows move the focus, Enter or Space shows the tab) and `lazy` (a panel is drawn on its tab's first showing); Carousel turns on a swipe and the arrow keys, takes `loop` and `perView`, and a slide needs no `src` or `alt` with a `@slide` block ([Tabs](../../ui/llms/tables-navigation-and-layout.md), [Carousel](../../ui/llms/charts-drag-and-media.md)).
|
|
16
|
+
- kayjs-ui: `await confirm({ message, title, tone, confirmLabel, cancelLabel })` asks from any handler and resolves a boolean, through the `ConfirmHost` that `ui()` mounts on every page (an `alertdialog`, focus on Cancel, Escape cancels); ConfirmDelete is its danger preset. Escape, a click outside and the close button of a Dialog or SidePanel with typed text ask "Discard changes?" with it instead of staying locked, `discard` wording the question and `discard={false}` keeping the lock ([confirm and ConfirmHost](../../ui/llms/toasts.md#confirm-and-confirmhost), upgrade line).
|
|
17
|
+
- `store()` tracks a `Map` or a `Set`, alone or inside a store object: `has(x)` and `get(x)` re-run only for `x`, `size`, iteration and the mutators behave as plain ones, and `snapshot` copies them; a `Date` stays untracked and a dev build warns once for one held in a store, or for a non-plain value given to `store()` ([State mutated in place](components.md#state-mutated-in-place)).
|
|
18
|
+
- `reactiveMap()` and `reactiveSet()` are a real `Map` and `Set` that track their reads and notify on their writes, `has(x)` and `get(x)` re-running only for `x`, and `snapshot` copies them to plain ones; `store()` keeps a Map, a Set or a Date as written and a dev build warns once for one it holds, naming the one to use ([State mutated in place](components.md#state-mutated-in-place)).
|
|
19
|
+
- A page or a layout takes `rateLimit` in `page` as an endpoint, an action or an API route does: `{ max, window, key? }` or a list, counted after the guards in `store.rates`, answering 429 with `Retry-After` through `_error.kay`; a layout's applies to each page under it, a page overriding it ([Rate limits](rate-limits.md)).
|
|
20
|
+
- kayjs-ui: a TreeView node takes `key` in place of `id`, and a Bell or BellInbox item takes `key`, `label` and `href` in place of `id`, `title` and `url`, the item shape of every other list; the old names work until 1.104 and `kay upgrade` rewrites them. kay's inbox answer and `notify()` keep `{ id, title, url }`, which the Bell maps ([upgrading](upgrading.md), [Bell and TreeView](../../ui/llms/page-layout-palette-and-trees.md)).
|
|
21
|
+
- Keys typed into a field before its island hydrated are also kept when the island hydrates late (`visible`, `idle`, a streamed block), a newer swap ends the wait, and number and email fields keep theirs, with no caret.
|
|
22
|
+
- One paging vocabulary: `limit` and `offset` for a window, `page`, `pages` and `pageSize` for numbered pages, `total` for the rows a result counts, and a cursor only where an API pages by one. kayjs-ui's `infiniteList()` takes `limit` in place of `pageSize`, and `collectionInfo()` reports `total` in place of `count` ([conventions](component-library-conventions.md#conventions), [Infinite list](../../ui/llms/infinite-list.md)).
|
|
23
|
+
- `hydrate="interaction"` hydrates an island on the first pointer, focus, key or touch event inside it, and `hydrate="media(max-width: 40rem)"` once the media query matches, now or later; a `visible` island with no box, every child `display: none`, is watched through its parent too ([When to hydrate](islands.md#hydrate-an-island-later)).
|
|
24
|
+
- A page waits for every `await` of its server fence, so one slow load makes every click on it wait. [Caching and streaming](rendering.md) opens with the rule (await only what the first paint needs, start the rest unawaited for an `await` block, cache what is shared) and so does `kay new`'s AGENTS.md; the `serial-awaits` lint (`performance` group, `warn`) finds consecutive independent `const x = await ...` statements and offers one `Promise.all` as an unsafe fix, since a guard must stay first ([lints](lints.md)); in development a page whose loads pass `observe.loadBudget` (`'300ms'` by default, `false` for none) is warned of in the terminal, the browser console and the dev tool's Request tab, naming the slowest load ([Tracing and timing](tracing.md#tracing-and-timing), [dev tool](dev-tool.md)).
|
|
25
|
+
- `resetEachTest(clear)` of `kay/test` clears a library's fake or outbox before and after every test, as `mailTest(site)` and `aiTest()` do; and `cmsTest(site)` has `signInWith(password)` beside `signInAs(role)` and `signOut()`, replacing `cmsSignInAs`, `cmsSignInWith` and `cmsSignOut`, so signing in and out reads the same in kayjs-auth and kayjs-cms ([testing](testing.md)).
|
|
26
|
+
- A page waits for every `await` of its server fence, so one slow load makes every click on it wait. [Caching and streaming](rendering.md) opens with the rule (await only what the first paint needs, start the rest unawaited for an `await` block, cache what is shared) and so does `kay new`'s AGENTS.md; the `serial-awaits` lint (`performance` group, `warn`) finds consecutive independent `const x = await ...` statements and offers one `Promise.all` as an unsafe fix, since a guard must stay first ([lints](lints.md)); in development a page whose loads pass `observe.loadBudget` (`'300ms'` by default, `false` for none) is warned of in the terminal, the browser console and the dev tool's Request tab, naming the slowest load, and a layout whose load outlasts the page's own loads gets its own warning naming the layout file and both times ([Tracing and timing](tracing.md#tracing-and-timing), [dev tool](dev-tool.md)).
|
|
27
|
+
|
|
28
|
+
## 1.99.0
|
|
29
|
+
|
|
30
|
+
- Keys typed into a text field a page swap just brought in, before its island hydrated, are kept and reach the island as an `input` event, the caret after them; a field that writes its parent's value back as it hydrates no longer drops them.
|
|
31
|
+
- `observe.serverTiming` also covers actions, endpoints and API routes, which send `Server-Timing` with their guards and handler, and the spans an API handler starts nest under its request's, in a `kay.handler` span ([Tracing and timing](tracing.md#tracing-and-timing)).
|
|
32
|
+
- Every public DOM event is `<lib>:<verb>` on `document` with an object `detail`: `kay:renew`, `kay:install`, `kay:dev-built`, `kay:dev-types`, `kai:chat-open`, `kai:chat-send`, `kai:chat-draft` and `kui:hold-defaults`; the old names fire too until 1.103, and `deprecated-event-names` finds what `kay check` can read, with a fix where the handler changes nothing else. Cookies are `kay_<name>` and storage keys `<lib>:<name>`, in one [table of events and the two rules](events.md).
|
|
33
|
+
- `analytics()` and `vitals()` take `awaitConsent` in place of `consent`, which now names only the visitor's answer; kayjs-ai's `ask()` takes `effort` and `approval` in place of `reasoning` and `confirm`, and `Chat` takes `showReasoning` and `waitingLabel` in place of `reasoning` and `thinkingLabel`. The old names keep working and `kay upgrade` renames them ([analytics](analytics.md), [upgrading](upgrading.md)).
|
|
34
|
+
- kayjs-cms: the form layout of a collection takes `exclude` in place of `hide`, so a list of what to leave out is spelled the same in every library ([Arranging and replacing the screens](../../cms/llms/screens.md)).
|
|
35
|
+
- kayjs-ui: MarkdownEditor takes `previewHtml`, the preview of its starting text drawn by the server and kept until an edit, so a page opened with `previewing` loads rendered instead of empty ([MarkdownEditor](../../ui/llms/markdown-editor.md)).
|
|
36
|
+
- kayjs-ui: the items of a Timeline, Accordion, MediaGallery, AppSwitcher and AudioPlayer take the names every list item has, `{ key, label, description?, href?, icon?, tone?, disabled? }` with `value` only for a form value: `text`, `value`, `title`, `id` and `url` become `label`, `key` and `href`, the old names working until 1.103 ([one item shape](../../ui/llms/slots-and-links.md), upgrade line, `deprecated-ui-items`).
|
|
37
|
+
- kayjs-ui: a RowsField `@cell` is drawn once per row and keeps its control when a row above it is removed or added; its `index` is now a function, `index()`, so the cell's name follows the row ([RowsField](../../ui/llms/forms.md), upgrade line in [upgrading](upgrading.md)).
|
|
38
|
+
- Keys typed into a search field a page swap just brought in, before its island hydrated, are kept and reach the island as an `input` event, the caret after them; a field that writes its parent's value back as it hydrates no longer drops them.
|
|
39
|
+
|
|
40
|
+
## 1.98.0
|
|
41
|
+
|
|
42
|
+
- `analytics()` takes `url` for the service address (`host` before), `site` for Plausible and Simple Analytics, and `privacy` for the policy link (`policyUrl` before); the old names keep working and `kay upgrade` renames them, and the site options are in one table ([analytics](analytics.md)).
|
|
43
|
+
- Every `guard` option takes a guard, a list of guards run in order, or `{ load }`: `jobs`, `images`, `vitals()` and `cms()`, and `false` opens the screens of `vitals()` and `cms()`, closed without a guard ([guards](guards.md#path-and-guard-options)).
|
|
44
|
+
- `serve.apiPrefix` names where the API is served, `apiPath` still read and renamed by `kay upgrade`; `live.rateLimit`, `images.rateLimit` and `mcp.rateLimit` are `{ max, window }` in place of `perMinute` and a bare number, as every rate limit option is; a Fontsource font takes `weight` beside `subset` as aliases of `weights` and `subsets`, and `manifest.themeColor` takes a `{ light, dark }` pair (`deprecated-config-keys`; [site config](sitemap-search-fonts.md)).
|
|
45
|
+
- `schedule()` takes `timeZone`, as `kay.config.ts` names it, in place of `tz`, which keeps working and which `kay upgrade` renames ([background jobs](production.md)).
|
|
46
|
+
- A workflow's `start(input, { key })` names the run as `enqueue`'s `key` names a job, in place of `id`, which keeps working and which `kay upgrade` renames; `id` stays the generated identity a run returns ([queues](queues.md)).
|
|
47
|
+
- kayjs-ui: `title` is a string or a `@title` block on Dialog, SidePanel, FormDialog and ConfirmDelete, as on Card, with `label` naming the dialog for screen readers when it differs from the visible title; `heading` is deprecated. `Stat`, and `Chat` and `ChatLauncher` of kayjs-ai, take `layout` where `variant` was, `variant` naming only the frame of a control, and write `data-layout` in place of `data-variant` (an app's CSS on the old attribute changes, see [upgrading](upgrading.md)); `layout` wins over `variant` when both are given. `deprecated-ui-props` rewrites both old names ([blocks](../../ui/llms/slots-and-links.md), [lints](lints.md)).
|
|
48
|
+
- kayjs-ui: `Tooltip` takes an `@content` block for markup in place of `text`, and `Popover` takes `role` (`dialog` by default) and `label`, its trigger's `aria-haspopup` following the role; Menu, AppSwitcher and Bell panels are `role="none"` around their own list ([popovers and tooltips](../../ui/llms/basics.md)).
|
|
49
|
+
- A FormField showing a message (its own `issue` included) marks its control invalid in the server render too, `aria-invalid="true"` on a native field, so a refreshed form keeps the mark; `describeField` takes `invalid`, and a RowsField, Checkbox or Toggle in a static FormField is marked once the browser has it, as the choice groups are ([forms](../../ui/llms/forms.md), [describeField](islands-state-to-ids.md)).
|
|
50
|
+
- A FormField showing a message (its own `issue` included) marks its control invalid in the server render too, `aria-invalid="true"` on a native field, so a refreshed form keeps the mark; `describeField` takes `invalid`, and a RowsField, Checkbox or Toggle in a static FormField is marked once the browser has it, as the choice groups are, and a RowsField now hands the app's own `ref` its group ([forms](../../ui/llms/forms.md), [describeField](islands-state-to-ids.md)).
|
|
51
|
+
|
|
52
|
+
Releases before 1.98 are in the notes of their releases, at https://git.kaynooo.fr/kaynooo/kayjs/releases.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# What's new
|
|
2
|
+
|
|
3
|
+
What each release of kay and its libraries adds, newest first, each feature with where it is documented. kay and its libraries share one version, so one section covers them all; what a release breaks is in [Upgrading](upgrading.md).
|
|
4
|
+
|
|
5
|
+
## 1.104.0
|
|
6
|
+
|
|
7
|
+
- The 1.100 deprecations are gone: the `id` of a kayjs-ui TreeNode and the `id`, `title` and `url` of a Bell item (now `key`, `label` and `href`, with `nodeKey()` removed), `pageSize` of `infiniteList` (`limit`), `cmsSignInAs`, `cmsSignInWith` and `cmsSignOut` (`cmsTest(site)`), and `count` of `CollectionInfo` (`total`): [Upgrading](upgrading.md).
|
|
8
|
+
- kay and its libraries are published under the `@kayjs` npm org: `@kayjs/kay`, `@kayjs/ui`, `@kayjs/auth`, `@kayjs/mail`, `@kayjs/cms` and `@kayjs/ai`, on npm and on the Forgejo registry, so no registry setup is needed for them; `kay upgrade` moves an app from `@kaynooo/kayjs*` and `deprecated-package-names` rewrites its imports, see [Upgrading](upgrading.md) and [Project setup](project.md#project-setup).
|
|
9
|
+
- The dev tool reads better in a narrow drawer: response headers stack the name over the value, an island's signal types no longer wrap per letter, the Request tab's files sit in one column, and the Not found, Data and Jobs tabs leave the list on an app with no log, database or queue; a library's tab does the same with `offer(false)` ([the dev tool](dev-tool.md#a-tab-for-a-library)).
|
|
10
|
+
- kayjs-ui: a Table drawn by a page sorts with no script: its sortable headers become links carrying the sort in the URL (`sortParam` names it, `sort` by default) and the server sorts the rows, so a plain Table ships no island and no JS unless a feature such as `selectable` or `pageSize` is written ([the Table](../../ui/llms/table.md#what-a-page-ships)).
|
|
11
|
+
|
|
12
|
+
## 1.103.0
|
|
13
|
+
|
|
14
|
+
- The island entry carries no class table when no module an island bundles merges classes at runtime (a class expression, a spread, a part or a recipe): hubble's heartbeat page loads 16.9 KB gzip less JS with the recipe lift, kay's docs home HTML is 21% smaller ([styles](styles-and-assets.md#override-a-class-a-component-sets)).
|
|
15
|
+
- `Schema` from `kay` is the type of what `s` builds, taken wherever a schema is (`action`, `defineEnv`, `collection`, an API route's `query`, kayjs-ai's `ask` and `tool`, kayjs-mail's `contactForm`) in place of Elysia's `TSchema`, with `s.typebox` as the documented, unstable way to the TypeBox builder; `TSchema` from `kay/library` works until 1.106 and `kay upgrade` renames it ([schemas](schemas.md)).
|
|
16
|
+
- `pages()`, `api()`, `session()`, `schedule()`, `background()`, `queue()`, `workflow()` and a library's mailer return a `KayPlugin` from `kay/server`, kay's own name for the Elysia instance they are in 1.x, with `plugin.elysia` as the documented, unstable way to reach it; `KayExtension`, `shutdown` and a test site's `use` take a `PluginInput`, so an Elysia instance keeps working ([Locals](server.md#mount-a-server-plugin)).
|
|
17
|
+
- kayjs-ui: a Table drawn by a page with `sortable={false}` and no feature (`selectable`, `pageSize`, `filter` and the rest) ships no island and no script, through the new `interactive` list of an `export const island`, [documented with islands](./islands.md) and in [the Table](../../ui/llms/table.md#what-a-page-ships).
|
|
18
|
+
- kayjs-ui: a Table in an island ships only the features the project's call sites write (`selectable`, `expandable`, `exportable`, `columnToggle`, `virtual`, `filter`, `pageSize` and the rest), one variant shared by every island, with nothing to declare; a spread or a Table read as a value keeps them all ([Table](../../ui/llms/table.md#what-a-page-ships)).
|
|
19
|
+
- kayjs-ui: a BarChart, LineChart or ScatterChart in an island ships only the features the project's call sites write (`marks`, `onMark`, `href`, `onSelect`, `tooltip`), 4 to 8 KB less when none is written ([what a page ships](../../ui/llms/table.md#what-a-page-ships)).
|
|
20
|
+
- A recipe's utility classes reach the browser as one short class per string, its rule in the `utilities.recipe` layer: smaller HTML, and no recipe classes in the island JS (kayjs-ui list page: 3.4 KB gzip less). An app `class` still wins ([styles](styles-and-assets.md)).
|
|
21
|
+
|
|
22
|
+
## 1.102.1
|
|
23
|
+
|
|
24
|
+
- `kay upgrade` raises a dependency the app shares with kay, `elysia` first, to the version kay's range starts at when the app's range or installed copy is below it, so the app and kay install one copy (an app already on the latest kay too, `--dry-run` listing it) and `kay check` no longer fails on Elysia's types ([kay upgrade](check-and-tools.md)).
|
|
25
|
+
- `kay upgrade` no longer stops on a stepping stone the registry has pruned: it installs the closest older minor that still holds the lints the stone is there for and says which, and when none installs it names the forms left unfixed and the `llms/upgrading.md` sections to read, then goes on ([kay upgrade](check-and-tools.md)).
|
|
26
|
+
- kayjs-ui: the blocks and callbacks of TreeView (`@actions`, `onSelectedChange`, `onOpenChange`), AppSwitcher (`@tile`), AudioPlayer (`@actions`) and BellInbox (`@item`) hand a node, app, chapter or note whose `key` (or `label`) is always set, filled from `id` (`title`) for an item still under the old name, so no `!` or `nodeKey()` is needed (for an item still under the old name the argument is a copy, so `node === mine` is false there). Timeline's `onSelectedChange` hands the same.
|
|
27
|
+
- `kay check` reports `innerHTML` bound to a name typed as a string literal, a `for` item over an `as const` array or a `const` string, as the runtime already dropped it: pass `sanitizeHtml(value)` or `trustHtml(value)`, or write the markup out ([templates](templates-elements-slots-snippets.md)).
|
|
28
|
+
- The code that posts an action call loads apart from the island: an island holding an action loads it once the browser is idle, so a call made as the page goes away (`keepalive`) finds it in, and the first call fetches it otherwise, trying again after 1 s and 3 s when the fetch fails ([islands](islands.md)).
|
|
29
|
+
|
|
30
|
+
## 1.102.0
|
|
31
|
+
|
|
32
|
+
- Content: a `draft` function reads the entry's `excerpt`, `body` and `html` (it saw them empty in production and the CMS), an `s.Date()` that names no day or cannot be decoded is a content problem at its field instead of rolling into the next day or crashing `kay check`, and heading ids keep non-ASCII letters, are never empty and are unique in the entry ([Markdown files](content-markdown-to-caching.md), [upgrade line](upgrading.md)).
|
|
33
|
+
- `persisted.query` keeps a cleared field in the URL: an empty string or list is written as `?q=` or `?tags=` when the default is not empty, so a reload reads it as empty, on the server and in the browser alike, and `values` of numbers or booleans match with no `query` schema ([state](islands-state-to-ids.md)).
|
|
34
|
+
- kayjs-ui: every control with a `label` takes `showLabel`: RadioGroup, Rating, RangeInput, DateRangeInput, RowsField and Combobox write it above the control on request (a `field` part, the label as `heading`, `title` on RowsField), and Slider, ColorInput, Checkbox and Toggle can drop their text with `showLabel={false}` while `label` still names the control for screen readers. Defaults are unchanged; see [forms](../../ui/llms/forms.md).
|
|
35
|
+
- `kay new`'s presets no longer include the `accents` picker: `--with accents` or `kay add accents` adds it, and a project made without `ci` or `docker` is told to run `kay add ci` and `kay add docker` ([Scaffold with kay new and kay add](project-new-and-add.md)).
|
|
36
|
+
- `--- script` opening a file is written `---`: `kay upgrade` rewrites it (`deprecated-script-fence`), and the one place the word stays is a script after a `--- server`, `--- module` or `--- style` fence, in the [fence table](components.md#file-layout).
|
|
37
|
+
- `if user then u` names the value an `if` or `else if` tests, as `await x then v` does, so `as` is only a cast and no longer an alias by the casing of what follows; `if user as u` works until 1.105 and `kay upgrade` rewrites it ([templates](templates.md)).
|
|
38
|
+
|
|
39
|
+
## 1.101.0
|
|
40
|
+
|
|
41
|
+
- Compile errors carry their own code per problem instead of `template-invalid` (`head-invalid`, `duplicate-attribute`, `part-invalid`, `bind-misuse`, `name-clash` and more), and the ones with one right answer carry a quick fix `kay check --fix` applies: `onclick` and `on:click`, a repeated static `class`, a valueless `class`, a `part`, `field` or `style:` value written the wrong way. `kay explain` covers lints and errors alike. See [Errors](errors.md).
|
|
42
|
+
- A browser global read while rendering is caught earlier and says more: `kay check --fix` wraps a call on the global (`localStorage.setItem(...)`, `document.title = ...`) in `effect`, `kay check` and the build report a module a page imports that reads `window` or `document` as it loads (the `browser-global-at-load` lint), and a server render failing on one names the global, the component and its line in production too ([browser-only](browser-only.md#browser-globals-on-the-server)).
|
|
43
|
+
- `apiUrl(module, path, { params, query })` is typed from the module: the path is one of its routes (the editor completes them), a path with params asks for them as `route()` does (a number fills one), and an unknown path is a type error; `apiUrl(request, path)` in a handler takes any path. See [API routes](api-routes.md).
|
|
44
|
+
- A `for` with no `key` matches rows by `id`, else by the item itself, never by position: a copy of an object with no `id` is a new row, and `unkeyed-rows` warns of such a `for` in an island and offers `key={i}` ([Templates](templates.md), [Lints](lints.md), upgrade line).
|
|
45
|
+
- The editor completes the attributes and events of a plain element from `JSX.IntrinsicElements` (`onDblClick`, `inputmode`, `form`, `aria-*`, `transition:*`), the words of an enumerated attribute inside its quotes (`type=`, `role=`, `autocomplete=`, `target=`, `loading=`) and the modifiers after `|` on an event; `role` and `autocomplete` type their common words while any other still goes ([editor](editor-and-agent-commands.md)).
|
|
46
|
+
- `online()`, `pageVisible()`, `inView(options)` and `throttled(source, delay)` from `kay` give the connection, the tab's visibility, an element's presence in the viewport and a rate-limited value as reactive values; `elementSize().ref` and `inView().ref` let go of an element an `if` removes and take several ([Islands](islands.md#follow-the-connection-the-tab-and-the-scroll), [Effects](effects.md)).
|
|
47
|
+
- kayjs-auth: `account: { deleteAfter: '14d' }` gives a deleted account a grace period: `account.delete` marks it pending and mails a link to cancel, the user cancels from the `DeletionBanner` on the prebuilt pages (or `account.cancelDeletion()`), and the prune does the real deletion, `beforeDelete`, the audit log, `onEvent` and the account-deleted mail following it; off by default, and the Postgres table gains a nullable `delete_at` column ([grace period](../../auth/llms/passwords-and-mails.md#deleting-an-account-after-a-grace-period)).
|
|
48
|
+
- kayjs-auth: `linkedin`, `facebook`, `twitch`, `slack` and `x` join the OAuth presets, so `oauth: { x: true }` reads `X_CLIENT_ID` and `X_CLIENT_SECRET` and `kay env` lists them; X gives no email, and an `OAuthProvider` can set `clientAuth: 'basic'` for a token endpoint that wants an HTTP Basic header ([OAuth provider presets](../../auth/llms/oauth-providers.md)).
|
|
49
|
+
- Eight accessibility lints, all warnings: `empty-heading`, `anchor-is-valid` (an `a` with no `href`, or `#` or `javascript:`, and no handler), `redundant-role` (`button(role="button")`), `unsupported-aria` (`aria-checked` on a `button`), `multiple-h1`, `no-access-key`, `click-without-key` (`onClick` on a focusable element with no key handler on it or around it) and `interactive-tabindex` (`tabindex="0"` on a `p`); each leaves a component, a spread or an expression alone ([Lints](lints.md), [Checks](checks.md)).
|
|
50
|
+
- A `_loading.kay` in a routes folder shows, after `client.loadingDelay` (`'200ms'`), when a link to a slow page in its folder or below is followed, inside the page's layouts, until the page swaps in ([Navigation](navigation.md), [Special pages](routing-special-pages.md#special-pages)).
|
|
51
|
+
- kayjs-mail: components take per-use styling: `style` (appended last), the element's own attributes and `align` where it makes sense, `Button` takes `tone` (`accent`, `neutral`, `danger`), `block` and `target`, `Heading` and `Paragraph` take `tone`, `Image` takes `href`; the settings gain optional `danger` and `onDanger` colours, with dark equivalents derived or set through `dark`, and the Outlook fixes and the dark-mode classes still apply ([kayjs-mail](../../mail/llms/writing-and-sending.md)).
|
|
52
|
+
- `persisted` has one entry per storage, each with the options its storage takes: `persisted.cookie()` (which `persisted()` is), `persisted.local()`, `persisted.session()` (new, sessionStorage) and `persisted.query()`; `sync` reaches `local` and `session` through the `storage` event. `storage` of `persisted()` works until 1.104 and `kay upgrade` rewrites it ([persisted](islands-state-to-ids.md), upgrade line, `deprecated-persisted-storage`).
|
|
53
|
+
- `persisted` has one entry per storage, each with the options its storage takes: `persisted.cookie()` (which `persisted()` is), `persisted.local()`, `persisted.session()` (new, sessionStorage) and `persisted.query()`; `session` takes `sync` too, through the `storage` event, which a sessionStorage's tab shares with its frames only. `storage` of `persisted()` works until 1.104 and `kay upgrade` rewrites it ([persisted](islands-state-to-ids.md), upgrade line, `deprecated-persisted-storage`).
|
|
54
|
+
|
|
55
|
+
Releases before 1.101 are in [What's new, older releases](whats-new-archive.md).
|
package/llms/workers.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Several workers
|
|
2
|
+
|
|
3
|
+
Serving from every core of a machine: `kay start --workers` and the executable. Replicas on several machines are in [Running in production](production.md).
|
|
4
|
+
|
|
5
|
+
## Common tasks
|
|
6
|
+
|
|
7
|
+
### Serve from several processes
|
|
8
|
+
|
|
9
|
+
- `kay start --workers 4` (or `auto`, one per core) and `./server --workers 4` (or `KAY_WORKERS=4`) serve from that many Bun processes on the one port, through `reusePort`, with nothing to change in the app. One worker by default, and elsewhere than Linux, where `reusePort` does not balance. No kay.config.ts key.
|
|
10
|
+
- The command running them (`kay start`, or the executable itself, before it loads the app) only supervises: it passes SIGINT, SIGTERM, SIGHUP and SIGQUIT to every worker, each draining as alone, and exits 0 when they all did. `--health` and `--load` of the executable never supervise.
|
|
11
|
+
- A worker that dies unasked is started again after 250 ms, doubling while it keeps dying; five deaths in a row without living 10 s stop everything with exit 1. Workers drain once the supervisor is gone.
|
|
12
|
+
- Each worker costs a server's memory. Set `KAY_SECRET` as for replicas; `KAY_EPHEMERAL_SECRET=1` makes the supervisor share a made one with its workers.
|
|
13
|
+
|
|
14
|
+
## Reference
|
|
15
|
+
|
|
16
|
+
### What the workers share
|
|
17
|
+
|
|
18
|
+
- What `store` in kay.config.ts leaves out and one process would keep in memory (`cache`, `live`, `rates`, `rooms`, `vitals`, `notifications`, `push`, `kv`) is kept by kay in the database `store.database` names (its SQLite file, or its Postgres), else in `data/workers.sqlite`, emptied each time the command starts, which a production boot warns of (in the store's database they last as with one worker: rooms forget a silent process, live and cached values end with their time to live). A store you name is never replaced; sessions travel in their cookie and the queue keeps `data/jobs.sqlite`, as before.
|
|
19
|
+
- A store built in memory (`memorySessions()` from `kay/server`, say) is kept too, and then splits per worker: the first worker logs a warning naming it. Name `sqliteData(path)` or a shared store instead.
|
|
20
|
+
- Every worker runs the queue, the schedules and the startup code, a job claimed and a schedule locked once through the store; an `onStart` hook (the `onStart` key of `kay.config.ts` too) or a module's top-level code runs once per worker.
|
|
21
|
+
- The edit sessions of the CMS and `editedEntry` are kept in the shared `cache` store, so a page rendered by one worker is served to the editor by another.
|
|
22
|
+
- Workers hear each other's live values and room changes within about half a second (a Postgres store tells the others at once, [Jobs](queues.md)), and a read-modify-write is not atomic across them, nor is a read right after a write in another worker. Other state a module keeps in a variable is per worker.
|