@kayjs/kay 1.112.2 → 2.0.0-alpha.4
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/package.json +28 -321
- package/src/ambient.d.ts +6 -0
- package/src/build/compile.ts +112 -253
- package/src/build/index.ts +890 -0
- package/src/cli/check.ts +89 -0
- package/src/cli/index.ts +104 -0
- package/src/cli/new.ts +496 -0
- package/src/compiler/analyze.ts +242 -0
- package/src/compiler/dom.ts +861 -686
- package/src/compiler/index.ts +6 -632
- package/src/compiler/patch.ts +54 -0
- package/src/compiler/ssr.ts +560 -0
- package/src/dev/index.ts +138 -455
- package/src/dom/action.ts +37 -0
- package/src/dom/extras.ts +258 -0
- package/src/dom/index.ts +252 -0
- package/src/dom/island.ts +102 -0
- package/src/dom/loop.ts +294 -0
- package/src/index.ts +31 -0
- package/src/jsx-runtime.ts +176 -0
- package/src/plugins/index.ts +85 -0
- package/src/reactivity/index.ts +551 -0
- package/src/reactivity/selector.ts +57 -0
- package/src/reactivity/store.ts +114 -0
- package/src/server/action.ts +151 -0
- package/src/server/cookies.ts +69 -140
- package/src/server/env.ts +26 -382
- package/src/server/http.ts +123 -0
- package/src/server/index.ts +651 -147
- package/src/server/router.ts +110 -0
- package/src/server/security.ts +34 -279
- package/src/server/standard-schema.ts +56 -0
- package/src/ssr/context.ts +89 -0
- package/src/ssr/index.ts +190 -0
- package/src/test/index.ts +108 -547
- package/LICENSE +0 -21
- package/LICENSES/Apache-2.0.txt +0 -55
- package/LICENSES/MPL-2.0.txt +0 -373
- package/LICENSES/emscripten.txt +0 -102
- package/LICENSES/libaom-PATENTS.txt +0 -108
- package/LICENSES/libaom.txt +0 -27
- package/LICENSES/libavif-1.4.2.txt +0 -387
- package/LICENSES/libavif.txt +0 -353
- package/LICENSES/libwebp-PATENTS.txt +0 -23
- package/LICENSES/libwebp.txt +0 -30
- package/LICENSES/musl-emscripten-6.0.12.txt +0 -193
- package/LICENSES/musl.txt +0 -193
- package/NOTICE +0 -11
- package/README.md +0 -103
- package/dist/eslint.js +0 -19703
- package/editors/tree-sitter-kay/queries/highlights.scm +0 -63
- package/editors/tree-sitter-kay/queries/indents.scm +0 -17
- package/editors/tree-sitter-kay/queries/injections.scm +0 -21
- package/editors/vscode/syntaxes/kay.tmLanguage.json +0 -624
- package/editors/zed/Cargo.toml +0 -13
- package/editors/zed/extension.toml +0 -16
- package/editors/zed/languages/kay/config.toml +0 -13
- package/editors/zed/languages/kay/highlights.scm +0 -63
- package/editors/zed/languages/kay/indents.scm +0 -17
- package/editors/zed/languages/kay/injections.scm +0 -21
- package/editors/zed/src/lib.rs +0 -50
- package/llms/a11y-audit.md +0 -21
- package/llms/a11y-lints.md +0 -51
- package/llms/action-protection.md +0 -122
- package/llms/actions-from-islands.md +0 -163
- package/llms/actions-refused-fields.md +0 -63
- package/llms/actions.md +0 -246
- package/llms/analytics.md +0 -157
- package/llms/api-from-islands.md +0 -167
- package/llms/api-routes.md +0 -224
- package/llms/browser-only.md +0 -71
- package/llms/build-and-start.md +0 -77
- package/llms/cdn-caching.md +0 -25
- package/llms/check-and-tools.md +0 -151
- package/llms/checks.md +0 -134
- package/llms/code-lints.md +0 -37
- package/llms/commands.md +0 -42
- package/llms/compiler-api.md +0 -25
- package/llms/component-libraries.md +0 -124
- package/llms/component-library-conventions.md +0 -66
- package/llms/components.md +0 -252
- package/llms/content-cms.md +0 -101
- package/llms/content-edit.md +0 -49
- package/llms/content-markdown-to-caching.md +0 -96
- package/llms/content-preview.md +0 -79
- package/llms/content.md +0 -276
- package/llms/deprecated-lints.md +0 -17
- package/llms/dev-server.md +0 -74
- package/llms/dev-tool.md +0 -72
- package/llms/eco-design.md +0 -107
- package/llms/editor-and-agent-commands.md +0 -83
- package/llms/effects.md +0 -99
- package/llms/environment.md +0 -83
- package/llms/errors-runtime.md +0 -57
- package/llms/errors.md +0 -125
- package/llms/events.md +0 -45
- package/llms/files.md +0 -191
- package/llms/guards.md +0 -63
- package/llms/head.md +0 -243
- package/llms/hooks.md +0 -161
- package/llms/images-runtime-and-remote.md +0 -85
- package/llms/images.md +0 -208
- package/llms/imported-files.md +0 -41
- package/llms/island-and-form-lints.md +0 -30
- package/llms/island-sources.md +0 -78
- package/llms/islands-lazy-components.md +0 -23
- package/llms/islands-state-to-ids.md +0 -99
- package/llms/islands.md +0 -284
- package/llms/lints.md +0 -98
- package/llms/live-values.md +0 -126
- package/llms/local-collections.md +0 -98
- package/llms/locales-texts.md +0 -28
- package/llms/locales.md +0 -270
- package/llms/mcp.md +0 -57
- package/llms/metrics.md +0 -24
- package/llms/navigation-from-code.md +0 -114
- package/llms/navigation.md +0 -137
- package/llms/notifications.md +0 -116
- package/llms/performance-lints.md +0 -18
- package/llms/prerendering.md +0 -161
- package/llms/privacy.md +0 -166
- package/llms/production.md +0 -200
- package/llms/project-new-and-add.md +0 -67
- package/llms/project.md +0 -141
- package/llms/proxy-and-security.md +0 -177
- package/llms/queues.md +0 -108
- package/llms/rate-limits.md +0 -119
- package/llms/recipes.md +0 -356
- package/llms/rendering.md +0 -292
- package/llms/request-values.md +0 -82
- package/llms/rooms.md +0 -130
- package/llms/routing-endpoints-and-base.md +0 -122
- package/llms/routing-special-pages.md +0 -59
- package/llms/routing.md +0 -278
- package/llms/schemas.md +0 -59
- package/llms/security-and-i18n-lints.md +0 -19
- package/llms/seo-lints.md +0 -44
- package/llms/server-islands.md +0 -84
- package/llms/server.md +0 -259
- package/llms/site.md +0 -404
- package/llms/sitemap-search-fonts.md +0 -283
- package/llms/stores.md +0 -47
- package/llms/styles-and-assets.md +0 -210
- package/llms/templates-elements-slots-snippets.md +0 -145
- package/llms/templates.md +0 -294
- package/llms/testing-browser.md +0 -117
- package/llms/testing-mount.md +0 -49
- package/llms/testing-requests-jobs-sockets.md +0 -110
- package/llms/testing-setup.md +0 -54
- package/llms/testing.md +0 -238
- package/llms/tracing.md +0 -58
- package/llms/upgrading-1-105-config.md +0 -71
- package/llms/upgrading-archive.md +0 -163
- package/llms/upgrading.md +0 -40
- package/llms/whats-new-archive.md +0 -89
- package/llms/whats-new.md +0 -47
- package/llms/workers.md +0 -22
- package/llms.txt +0 -128
- package/src/a11y/audit.ts +0 -217
- package/src/a11y/report.ts +0 -198
- package/src/a11y/rgaa-criteria.ts +0 -182
- package/src/a11y/standards.ts +0 -90
- package/src/a11y/targets.ts +0 -78
- package/src/add.ts +0 -754
- package/src/build/action-calls.ts +0 -174
- package/src/build/assets.ts +0 -73
- package/src/build/await-alert.ts +0 -34
- package/src/build/budget.ts +0 -127
- package/src/build/bun.ts +0 -19
- package/src/build/cache-ids.ts +0 -66
- package/src/build/cache.ts +0 -110
- package/src/build/captured-loads.ts +0 -40
- package/src/build/class-rules.ts +0 -248
- package/src/build/class-sources.ts +0 -437
- package/src/build/class-table.ts +0 -331
- package/src/build/client.ts +0 -864
- package/src/build/collection-components.ts +0 -140
- package/src/build/compressed.ts +0 -96
- package/src/build/direct-imports.ts +0 -139
- package/src/build/dynamic-classes.ts +0 -394
- package/src/build/entry-files.ts +0 -19
- package/src/build/favicons.ts +0 -149
- package/src/build/files.ts +0 -464
- package/src/build/fingerprint.ts +0 -54
- package/src/build/footprint-models.ts +0 -90
- package/src/build/footprint.ts +0 -683
- package/src/build/glob.ts +0 -237
- package/src/build/globbed.ts +0 -3
- package/src/build/header-files.ts +0 -69
- package/src/build/icon-slots.ts +0 -140
- package/src/build/icons.ts +0 -127
- package/src/build/increments.ts +0 -291
- package/src/build/insert-ids.ts +0 -48
- package/src/build/island-images.ts +0 -277
- package/src/build/kept-maps.ts +0 -64
- package/src/build/kept.ts +0 -149
- package/src/build/layer-order.ts +0 -89
- package/src/build/lazy-components.ts +0 -130
- package/src/build/lazy-manifest.ts +0 -56
- package/src/build/lazy-stubs.ts +0 -31
- package/src/build/libraries.ts +0 -626
- package/src/build/licenses.ts +0 -246
- package/src/build/links.ts +0 -119
- package/src/build/live-ids.ts +0 -72
- package/src/build/manifests.ts +0 -91
- package/src/build/named-refresh.ts +0 -75
- package/src/build/navigation-locale.ts +0 -18
- package/src/build/page-dirs.ts +0 -58
- package/src/build/pipeline.ts +0 -543
- package/src/build/plugin.ts +0 -374
- package/src/build/probe.ts +0 -158
- package/src/build/prune.ts +0 -160
- package/src/build/recipe-classes.ts +0 -203
- package/src/build/recipe-utilities.ts +0 -183
- package/src/build/references.ts +0 -85
- package/src/build/report.ts +0 -457
- package/src/build/route-sizes.ts +0 -386
- package/src/build/runtime-chunk.ts +0 -425
- package/src/build/runtime-config.ts +0 -174
- package/src/build/search.ts +0 -350
- package/src/build/server-only.ts +0 -531
- package/src/build/server-record.ts +0 -201
- package/src/build/signals.ts +0 -228
- package/src/build/source-files.ts +0 -36
- package/src/build/source-parses.ts +0 -136
- package/src/build/sourcemap.ts +0 -335
- package/src/build/static.ts +0 -417
- package/src/build/style-uses.ts +0 -580
- package/src/build/styles.ts +0 -331
- package/src/build/supports.ts +0 -201
- package/src/build/theme-vars.ts +0 -72
- package/src/build/transform.ts +0 -306
- package/src/build/ui-info.ts +0 -343
- package/src/build/ui-layers.ts +0 -30
- package/src/build/ui.ts +0 -559
- package/src/build/variants.ts +0 -803
- package/src/build/verify.ts +0 -394
- package/src/build/warn-classes.ts +0 -18
- package/src/build/worker-bundle.ts +0 -76
- package/src/bun.ts +0 -38
- package/src/check/action-options.ts +0 -56
- package/src/check/api-modules.ts +0 -48
- package/src/check/api-scope.ts +0 -112
- package/src/check/ast.ts +0 -52
- package/src/check/bindings.ts +0 -72
- package/src/check/boot.ts +0 -236
- package/src/check/browser-global-reads.ts +0 -123
- package/src/check/builtin-imports.ts +0 -215
- package/src/check/class-words.ts +0 -260
- package/src/check/config-keys.ts +0 -63
- package/src/check/config-objects.ts +0 -98
- package/src/check/diagnose.ts +0 -269
- package/src/check/dockerfile.ts +0 -59
- package/src/check/endpoint-exports.ts +0 -41
- package/src/check/env-types.ts +0 -270
- package/src/check/export-homes.ts +0 -69
- package/src/check/fixes.ts +0 -38
- package/src/check/generated.ts +0 -160
- package/src/check/guards.ts +0 -109
- package/src/check/index.ts +0 -257
- package/src/check/island-modules.ts +0 -142
- package/src/check/island-only.ts +0 -104
- package/src/check/large-images.ts +0 -355
- package/src/check/layout-facts.ts +0 -43
- package/src/check/loaded.ts +0 -88
- package/src/check/loop-index-fix.ts +0 -46
- package/src/check/mcp-routes.ts +0 -86
- package/src/check/messages.ts +0 -327
- package/src/check/missing-imports.ts +0 -99
- package/src/check/moved-keys.ts +0 -49
- package/src/check/open-settings.ts +0 -33
- package/src/check/output-schema.ts +0 -156
- package/src/check/page-heads.ts +0 -267
- package/src/check/page-structure.ts +0 -27
- package/src/check/project.ts +0 -307
- package/src/check/public-env-outside-src.ts +0 -43
- package/src/check/queries.ts +0 -99
- package/src/check/regroup.ts +0 -94
- package/src/check/removed-ui-tokens.ts +0 -343
- package/src/check/renamed-call-options.ts +0 -83
- package/src/check/renamed-exports.ts +0 -247
- package/src/check/renamed-packages.ts +0 -97
- package/src/check/route-shadow.ts +0 -174
- package/src/check/schema-builders.ts +0 -460
- package/src/check/schema-json.ts +0 -226
- package/src/check/seo.ts +0 -240
- package/src/check/server-only-reads.ts +0 -79
- package/src/check/shadow-types.ts +0 -625
- package/src/check/shadow.ts +0 -384
- package/src/check/site-seo.ts +0 -339
- package/src/check/socket-routes.ts +0 -75
- package/src/check/status-pages.ts +0 -30
- package/src/check/template-hints.ts +0 -541
- package/src/check/text-size-colour.ts +0 -57
- package/src/check/tool-labels.ts +0 -122
- package/src/check/tool-outputs.ts +0 -201
- package/src/check/tsgo.ts +0 -297
- package/src/check/typing-stamp.ts +0 -146
- package/src/check/ui-tokens.ts +0 -174
- package/src/check/ui-types.ts +0 -88
- package/src/check/ui.ts +0 -108
- package/src/check/unmounted-jobs.ts +0 -63
- package/src/cli.ts +0 -135
- package/src/commands/a11y.ts +0 -87
- package/src/commands/add-peers.ts +0 -20
- package/src/commands/add.ts +0 -51
- package/src/commands/build.ts +0 -234
- package/src/commands/check.ts +0 -419
- package/src/commands/command.ts +0 -535
- package/src/commands/completion.ts +0 -57
- package/src/commands/dev.ts +0 -131
- package/src/commands/docs.ts +0 -161
- package/src/commands/doctor.ts +0 -404
- package/src/commands/editor.ts +0 -56
- package/src/commands/env-compare.ts +0 -458
- package/src/commands/env-declare.ts +0 -268
- package/src/commands/env.ts +0 -217
- package/src/commands/explain-island.ts +0 -133
- package/src/commands/explain.ts +0 -94
- package/src/commands/extensions.ts +0 -87
- package/src/commands/fix-path.ts +0 -10
- package/src/commands/fmt.ts +0 -152
- package/src/commands/generate.ts +0 -60
- package/src/commands/i18n.ts +0 -153
- package/src/commands/import-module.ts +0 -19
- package/src/commands/lint-cache.ts +0 -61
- package/src/commands/lint.ts +0 -76
- package/src/commands/lsp.ts +0 -17
- package/src/commands/mcp.ts +0 -35
- package/src/commands/migrate.ts +0 -131
- package/src/commands/new.ts +0 -182
- package/src/commands/not-found.ts +0 -180
- package/src/commands/project-checks.ts +0 -52
- package/src/commands/registry.ts +0 -86
- package/src/commands/render.ts +0 -146
- package/src/commands/routes.ts +0 -301
- package/src/commands/screenshot.ts +0 -113
- package/src/commands/start.ts +0 -124
- package/src/commands/test.ts +0 -181
- package/src/commands/types.ts +0 -41
- package/src/commands/upgrade-majors.ts +0 -26
- package/src/commands/upgrade-manifest.ts +0 -23
- package/src/commands/upgrade-messages.ts +0 -16
- package/src/commands/upgrade-peers.ts +0 -89
- package/src/commands/upgrade.ts +0 -871
- package/src/compiler/a11y-markup.ts +0 -352
- package/src/compiler/a11y.ts +0 -779
- package/src/compiler/allow-comments.ts +0 -104
- package/src/compiler/aria.ts +0 -298
- package/src/compiler/ast.ts +0 -880
- package/src/compiler/bound-props.ts +0 -75
- package/src/compiler/browser.ts +0 -457
- package/src/compiler/button-forms.ts +0 -33
- package/src/compiler/class-items.ts +0 -16
- package/src/compiler/class-name.ts +0 -120
- package/src/compiler/codegen.ts +0 -1085
- package/src/compiler/dead-code.ts +0 -22
- package/src/compiler/deprecated-library.ts +0 -8
- package/src/compiler/deprecated-lints-1-106.ts +0 -14
- package/src/compiler/deprecated-lints-1-107.ts +0 -14
- package/src/compiler/deprecated-lints.ts +0 -54
- package/src/compiler/deprecated-ui-props.ts +0 -67
- package/src/compiler/diagnostics.ts +0 -46
- package/src/compiler/dom-fields.ts +0 -67
- package/src/compiler/dom-here.ts +0 -72
- package/src/compiler/dom-property.ts +0 -23
- package/src/compiler/each-node.ts +0 -20
- package/src/compiler/else-problem.ts +0 -28
- package/src/compiler/errors.ts +0 -615
- package/src/compiler/estree-shapes.ts +0 -44
- package/src/compiler/estree.ts +0 -126
- package/src/compiler/event-modifiers.ts +0 -96
- package/src/compiler/expression.ts +0 -102
- package/src/compiler/fence-checks.ts +0 -660
- package/src/compiler/fence-nodes.ts +0 -25
- package/src/compiler/fence-redirects.ts +0 -395
- package/src/compiler/field-described.ts +0 -45
- package/src/compiler/fnv-hash.ts +0 -9
- package/src/compiler/form-action.ts +0 -18
- package/src/compiler/form-info.ts +0 -154
- package/src/compiler/format.ts +0 -419
- package/src/compiler/frame.ts +0 -89
- package/src/compiler/globals.ts +0 -57
- package/src/compiler/hand-parts.ts +0 -83
- package/src/compiler/handed-data.ts +0 -15
- package/src/compiler/head-shorthand.ts +0 -118
- package/src/compiler/head-tags.ts +0 -64
- package/src/compiler/helper-imports.ts +0 -33
- package/src/compiler/host.browser.ts +0 -25
- package/src/compiler/host.ts +0 -33
- package/src/compiler/html-fields.ts +0 -92
- package/src/compiler/html-initial.ts +0 -70
- package/src/compiler/html-parts.ts +0 -40
- package/src/compiler/html.ts +0 -953
- package/src/compiler/i18n-lints.ts +0 -29
- package/src/compiler/if-alias.ts +0 -79
- package/src/compiler/image-attributes.ts +0 -67
- package/src/compiler/import-edits.ts +0 -62
- package/src/compiler/inspect.ts +0 -32
- package/src/compiler/island-arguments.ts +0 -67
- package/src/compiler/island-cause.ts +0 -60
- package/src/compiler/island-declaration.ts +0 -190
- package/src/compiler/island-lints.ts +0 -19
- package/src/compiler/island-marker.ts +0 -29
- package/src/compiler/island-problems.ts +0 -25
- package/src/compiler/items.ts +0 -424
- package/src/compiler/jsx-class.ts +0 -84
- package/src/compiler/jsx-entities.ts +0 -25
- package/src/compiler/jsx-field.ts +0 -58
- package/src/compiler/jsx.ts +0 -979
- package/src/compiler/kay-exports.ts +0 -111
- package/src/compiler/lazy-imports.ts +0 -357
- package/src/compiler/link-flags.ts +0 -78
- package/src/compiler/lints.ts +0 -1039
- package/src/compiler/live-reads.ts +0 -160
- package/src/compiler/load-facts.ts +0 -51
- package/src/compiler/load-plan.ts +0 -227
- package/src/compiler/loop-lints.ts +0 -27
- package/src/compiler/mapping.ts +0 -403
- package/src/compiler/markdown-block.ts +0 -693
- package/src/compiler/markup-fields.ts +0 -34
- package/src/compiler/markup.ts +0 -857
- package/src/compiler/minor.ts +0 -13
- package/src/compiler/module-signals.ts +0 -203
- package/src/compiler/names.ts +0 -45
- package/src/compiler/native-typescript.ts +0 -29
- package/src/compiler/nesting.ts +0 -118
- package/src/compiler/object-literal.ts +0 -136
- package/src/compiler/own-markup.ts +0 -75
- package/src/compiler/page-settings.ts +0 -25
- package/src/compiler/parser.ts +0 -1473
- package/src/compiler/pattern-names.ts +0 -31
- package/src/compiler/plan.ts +0 -298
- package/src/compiler/public.ts +0 -4
- package/src/compiler/removed-lints.ts +0 -90
- package/src/compiler/rest-omits.ts +0 -15
- package/src/compiler/rewrite-reads.ts +0 -488
- package/src/compiler/rewrite-scan.ts +0 -77
- package/src/compiler/rewrite-tags.ts +0 -95
- package/src/compiler/rewrite-types.ts +0 -82
- package/src/compiler/rewrite.ts +0 -854
- package/src/compiler/route-lints.ts +0 -69
- package/src/compiler/scanner.ts +0 -175
- package/src/compiler/schema-lints.ts +0 -13
- package/src/compiler/scope.ts +0 -713
- package/src/compiler/scoped-style.ts +0 -480
- package/src/compiler/script-fence.ts +0 -257
- package/src/compiler/script-props.ts +0 -242
- package/src/compiler/script-recipe.ts +0 -152
- package/src/compiler/script-server.ts +0 -474
- package/src/compiler/script-shared.ts +0 -198
- package/src/compiler/script-split.ts +0 -227
- package/src/compiler/script.ts +0 -137
- package/src/compiler/serial-awaits.ts +0 -123
- package/src/compiler/server-imports.ts +0 -52
- package/src/compiler/signal-from-prop.ts +0 -141
- package/src/compiler/slot-types.ts +0 -46
- package/src/compiler/status-pages.ts +0 -11
- package/src/compiler/style-arguments.ts +0 -20
- package/src/compiler/style-lints.ts +0 -188
- package/src/compiler/template-reads.ts +0 -251
- package/src/compiler/template-scopes.ts +0 -125
- package/src/compiler/template-walk.ts +0 -73
- package/src/compiler/twin.ts +0 -6
- package/src/compiler/type-parameters.ts +0 -45
- package/src/compiler/unowned-effects.ts +0 -136
- package/src/compiler/validate-fields.ts +0 -68
- package/src/compiler/validate-fixes.ts +0 -74
- package/src/compiler/validate.ts +0 -840
- package/src/compiler/walk.ts +0 -70
- package/src/config-extensions.ts +0 -222
- package/src/config-loader.ts +0 -365
- package/src/config-resolve.ts +0 -72
- package/src/config-rules.ts +0 -138
- package/src/config-shape.ts +0 -260
- package/src/config-switch.ts +0 -14
- package/src/config.ts +0 -724
- package/src/content/claims.ts +0 -67
- package/src/content/drafts.ts +0 -43
- package/src/content/edit-entries.ts +0 -927
- package/src/content/edit-fields.ts +0 -247
- package/src/content/edit-registry.ts +0 -47
- package/src/content/edit-shared.ts +0 -188
- package/src/content/edit.ts +0 -5
- package/src/content/entry-head.ts +0 -58
- package/src/content/entry-route.ts +0 -11
- package/src/content/excerpt.ts +0 -99
- package/src/content/feed.ts +0 -241
- package/src/content/heading-id.ts +0 -48
- package/src/content/held-back.ts +0 -15
- package/src/content/humanize.ts +0 -9
- package/src/content/images.ts +0 -203
- package/src/content/index.ts +0 -761
- package/src/content/key.ts +0 -9
- package/src/content/load.ts +0 -781
- package/src/content/markdown-extensions.ts +0 -284
- package/src/content/markdown.ts +0 -939
- package/src/content/migrate.ts +0 -195
- package/src/content/modified.ts +0 -75
- package/src/content/paginate.ts +0 -119
- package/src/content/problems.ts +0 -44
- package/src/content/references.ts +0 -72
- package/src/content/rewrite.ts +0 -97
- package/src/content/server.ts +0 -469
- package/src/content/source-draft.ts +0 -38
- package/src/content/turns.ts +0 -28
- package/src/content/validate.ts +0 -342
- package/src/dev/address.ts +0 -78
- package/src/dev/base-proxy.ts +0 -104
- package/src/dev/builder.ts +0 -104
- package/src/dev/client.ts +0 -158
- package/src/dev/config-record.ts +0 -65
- package/src/dev/fingerprint.ts +0 -327
- package/src/dev/inspector.ts +0 -248
- package/src/dev/loopback.ts +0 -25
- package/src/dev/pages.ts +0 -6
- package/src/dev/preload.ts +0 -428
- package/src/dev/refuse.ts +0 -29
- package/src/dev/reload.ts +0 -282
- package/src/dev/render-server.ts +0 -131
- package/src/dev/render-socket.ts +0 -53
- package/src/dev/screenshot-diff.ts +0 -76
- package/src/dev/screenshot-limits.ts +0 -17
- package/src/dev/screenshot.ts +0 -410
- package/src/dev/session/client.ts +0 -173
- package/src/dev/session/keys.ts +0 -51
- package/src/dev/session/ports.ts +0 -30
- package/src/dev/session/queue.ts +0 -133
- package/src/dev/session/report.ts +0 -172
- package/src/dev/session/servers.ts +0 -295
- package/src/dev/session/types.ts +0 -309
- package/src/dev/sources.ts +0 -265
- package/src/dev/tailwind.ts +0 -93
- package/src/dev/types-process.ts +0 -172
- package/src/dev/types.ts +0 -187
- package/src/docs-props.ts +0 -168
- package/src/docs-search.ts +0 -372
- package/src/editors.ts +0 -238
- package/src/entities.ts +0 -41
- package/src/eslint/index.ts +0 -472
- package/src/features.ts +0 -22
- package/src/format/index.ts +0 -75
- package/src/format/tailwind.ts +0 -190
- package/src/generate-resource.ts +0 -443
- package/src/generate.ts +0 -365
- package/src/imports.ts +0 -157
- package/src/input-types.ts +0 -2
- package/src/keyword-attributes.ts +0 -12
- package/src/lsp/bridge.ts +0 -80
- package/src/lsp/code-actions.ts +0 -71
- package/src/lsp/completions.ts +0 -270
- package/src/lsp/component-props.ts +0 -109
- package/src/lsp/diagnostics.ts +0 -219
- package/src/lsp/document-links.ts +0 -56
- package/src/lsp/host.ts +0 -112
- package/src/lsp/island-lens.ts +0 -41
- package/src/lsp/mapping.ts +0 -163
- package/src/lsp/navigation.ts +0 -207
- package/src/lsp/outline.ts +0 -233
- package/src/lsp/positions.ts +0 -13
- package/src/lsp/project-checks.ts +0 -119
- package/src/lsp/protocol.ts +0 -167
- package/src/lsp/range-format.ts +0 -62
- package/src/lsp/rename.ts +0 -115
- package/src/lsp/renames.ts +0 -126
- package/src/lsp/route-documents.ts +0 -21
- package/src/lsp/route-links.ts +0 -92
- package/src/lsp/rpc.ts +0 -185
- package/src/lsp/semantic-tokens.ts +0 -481
- package/src/lsp/server.ts +0 -613
- package/src/lsp/template-completion.ts +0 -361
- package/src/lsp/ui-completion.ts +0 -206
- package/src/mcp/guards.ts +0 -66
- package/src/mcp/install.ts +0 -7
- package/src/mcp/protocol.ts +0 -289
- package/src/mcp/tools.ts +0 -819
- package/src/migrate/astro.ts +0 -367
- package/src/migrate/content.ts +0 -248
- package/src/migrate/html.ts +0 -96
- package/src/migrate/markup.ts +0 -737
- package/src/migrate/project.ts +0 -365
- package/src/native-plugins.ts +0 -2
- package/src/nearest.ts +0 -23
- package/src/new.ts +0 -351
- package/src/package-names.ts +0 -25
- package/src/peers.ts +0 -82
- package/src/project.ts +0 -223
- package/src/runtime/action-call.ts +0 -346
- package/src/runtime/action-encode.ts +0 -84
- package/src/runtime/action-error.ts +0 -29
- package/src/runtime/action-form.ts +0 -474
- package/src/runtime/action-marks.ts +0 -10
- package/src/runtime/action-navigate.ts +0 -73
- package/src/runtime/action-owner.ts +0 -95
- package/src/runtime/action-post.ts +0 -164
- package/src/runtime/action-protection.ts +0 -50
- package/src/runtime/action-revive.ts +0 -21
- package/src/runtime/action-reviver.ts +0 -1
- package/src/runtime/action-run.ts +0 -332
- package/src/runtime/action-shared.ts +0 -472
- package/src/runtime/action-stream.ts +0 -210
- package/src/runtime/action.ts +0 -150
- package/src/runtime/analytics.client.ts +0 -2
- package/src/runtime/announce.ts +0 -34
- package/src/runtime/api-error-class.ts +0 -15
- package/src/runtime/api-error.ts +0 -74
- package/src/runtime/api-url.ts +0 -83
- package/src/runtime/arrival.ts +0 -23
- package/src/runtime/await-failed.ts +0 -9
- package/src/runtime/await.server.ts +0 -215
- package/src/runtime/await.ts +0 -13
- package/src/runtime/base.ts +0 -144
- package/src/runtime/build.ts +0 -21
- package/src/runtime/button-form.ts +0 -5
- package/src/runtime/byte-count.ts +0 -14
- package/src/runtime/byte-size.ts +0 -17
- package/src/runtime/cache-hooks.ts +0 -54
- package/src/runtime/cache-live-id.ts +0 -5
- package/src/runtime/cache.server.ts +0 -183
- package/src/runtime/cache.ts +0 -916
- package/src/runtime/call-body.ts +0 -29
- package/src/runtime/call-result.ts +0 -194
- package/src/runtime/checks.ts +0 -416
- package/src/runtime/claimed.ts +0 -20
- package/src/runtime/class-table.ts +0 -60
- package/src/runtime/client.ts +0 -445
- package/src/runtime/connection.ts +0 -174
- package/src/runtime/consent.ts +0 -88
- package/src/runtime/core.ts +0 -559
- package/src/runtime/counters.ts +0 -33
- package/src/runtime/described.ts +0 -76
- package/src/runtime/dev-a11y.ts +0 -142
- package/src/runtime/dev-boot.ts +0 -57
- package/src/runtime/dev-inspector.ts +0 -341
- package/src/runtime/dev-patch.ts +0 -167
- package/src/runtime/dev-refresh.ts +0 -14
- package/src/runtime/dev-styles.ts +0 -158
- package/src/runtime/dev-tab-data.ts +0 -197
- package/src/runtime/dev-tab-env.ts +0 -160
- package/src/runtime/dev-tab-head.ts +0 -282
- package/src/runtime/dev-tab-i18n.ts +0 -72
- package/src/runtime/dev-tab-images.ts +0 -319
- package/src/runtime/dev-tab-jobs.ts +0 -188
- package/src/runtime/dev-tab-network.ts +0 -230
- package/src/runtime/dev-tab-not-found.ts +0 -101
- package/src/runtime/dev-tab-performance.ts +0 -411
- package/src/runtime/dev-tab-reading.ts +0 -600
- package/src/runtime/dev-tab-routes.ts +0 -111
- package/src/runtime/dev-tab-styles.ts +0 -175
- package/src/runtime/dev-tool-constants.ts +0 -22
- package/src/runtime/dev-tool-icons.ts +0 -86
- package/src/runtime/dev-tool-keys.ts +0 -53
- package/src/runtime/dev-tool-kit.ts +0 -77
- package/src/runtime/dev-tool-layout.ts +0 -200
- package/src/runtime/dev-tool-markdown.ts +0 -144
- package/src/runtime/dev-tool-outline.ts +0 -44
- package/src/runtime/dev-tool-parts.ts +0 -332
- package/src/runtime/dev-tool-problems.ts +0 -310
- package/src/runtime/dev-tool-request.ts +0 -226
- package/src/runtime/dev-tool-shell.ts +0 -81
- package/src/runtime/dev-tool-style.ts +0 -242
- package/src/runtime/dev-tool-swaps.ts +0 -21
- package/src/runtime/dev-tool-tab-order.ts +0 -475
- package/src/runtime/dev-tool-tabs.ts +0 -205
- package/src/runtime/dev-tool-vitals.ts +0 -109
- package/src/runtime/dev-tool-window.ts +0 -213
- package/src/runtime/dev-tool.public.ts +0 -5
- package/src/runtime/dev-tool.ts +0 -332
- package/src/runtime/dispatch.ts +0 -11
- package/src/runtime/dom-await.ts +0 -132
- package/src/runtime/dom-image.ts +0 -15
- package/src/runtime/dom-lazy.ts +0 -276
- package/src/runtime/dom-loop.ts +0 -333
- package/src/runtime/dom-spread.ts +0 -106
- package/src/runtime/dom-try.ts +0 -58
- package/src/runtime/dom.ts +0 -1027
- package/src/runtime/draft-issues.ts +0 -23
- package/src/runtime/duration-words.ts +0 -22
- package/src/runtime/duration.ts +0 -62
- package/src/runtime/edit.ts +0 -109
- package/src/runtime/element-size.ts +0 -67
- package/src/runtime/email.ts +0 -65
- package/src/runtime/ended-entry.ts +0 -10
- package/src/runtime/env.ts +0 -42
- package/src/runtime/escape.ts +0 -47
- package/src/runtime/fetch-island.ts +0 -211
- package/src/runtime/field-errors.ts +0 -58
- package/src/runtime/field-refusal.ts +0 -179
- package/src/runtime/fields.ts +0 -553
- package/src/runtime/fills.ts +0 -52
- package/src/runtime/focus.ts +0 -54
- package/src/runtime/follow-log.ts +0 -154
- package/src/runtime/form-controls.ts +0 -4
- package/src/runtime/form-hold.ts +0 -87
- package/src/runtime/form-protect.ts +0 -103
- package/src/runtime/form-submits.ts +0 -212
- package/src/runtime/form-types.ts +0 -99
- package/src/runtime/form.ts +0 -194
- package/src/runtime/forms.ts +0 -345
- package/src/runtime/french.ts +0 -39
- package/src/runtime/head.ts +0 -504
- package/src/runtime/html.ts +0 -745
- package/src/runtime/hydrate-when.ts +0 -103
- package/src/runtime/i18n-links.ts +0 -44
- package/src/runtime/i18n.client.ts +0 -223
- package/src/runtime/i18n.server.ts +0 -141
- package/src/runtime/i18n.ts +0 -621
- package/src/runtime/icons.ts +0 -99
- package/src/runtime/image.public.ts +0 -3
- package/src/runtime/image.ts +0 -598
- package/src/runtime/in-view.ts +0 -91
- package/src/runtime/index.ts +0 -87
- package/src/runtime/install-prompt.ts +0 -97
- package/src/runtime/internal.ts +0 -196
- package/src/runtime/invalid.ts +0 -49
- package/src/runtime/invalidated-keys.ts +0 -11
- package/src/runtime/island-request.ts +0 -48
- package/src/runtime/island.client.ts +0 -9
- package/src/runtime/island.server.ts +0 -507
- package/src/runtime/jsx-runtime.ts +0 -2
- package/src/runtime/jsx.ts +0 -262
- package/src/runtime/kay-error.ts +0 -29
- package/src/runtime/keepalive.ts +0 -21
- package/src/runtime/lasting.ts +0 -40
- package/src/runtime/leave.ts +0 -72
- package/src/runtime/listen-with.ts +0 -8
- package/src/runtime/listener-set.ts +0 -22
- package/src/runtime/live-cache.ts +0 -469
- package/src/runtime/live-props.ts +0 -48
- package/src/runtime/live-resource.server.ts +0 -92
- package/src/runtime/live-revalidate.ts +0 -53
- package/src/runtime/live-value.client.ts +0 -416
- package/src/runtime/live-value.server.ts +0 -700
- package/src/runtime/live-value.shared.ts +0 -131
- package/src/runtime/live-value.ts +0 -55
- package/src/runtime/live.ts +0 -1059
- package/src/runtime/load-scope.ts +0 -78
- package/src/runtime/local-status.ts +0 -8
- package/src/runtime/local-types.ts +0 -96
- package/src/runtime/local.ts +0 -850
- package/src/runtime/locale-state.ts +0 -55
- package/src/runtime/localized.ts +0 -18
- package/src/runtime/log.ts +0 -54
- package/src/runtime/markdown-autolink.ts +0 -69
- package/src/runtime/markdown-render.client.ts +0 -199
- package/src/runtime/markdown-task.ts +0 -16
- package/src/runtime/markdown.client.ts +0 -97
- package/src/runtime/markdown.server.ts +0 -28
- package/src/runtime/markdown.ts +0 -148
- package/src/runtime/markers.ts +0 -25
- package/src/runtime/media-query.ts +0 -30
- package/src/runtime/mount.ts +0 -71
- package/src/runtime/move.ts +0 -18
- package/src/runtime/navigate-api.ts +0 -128
- package/src/runtime/navigate.ts +0 -365
- package/src/runtime/navigation-entry.ts +0 -2
- package/src/runtime/navigation-state.ts +0 -149
- package/src/runtime/navigation.ts +0 -244
- package/src/runtime/online.ts +0 -27
- package/src/runtime/optimistic.ts +0 -107
- package/src/runtime/outside.ts +0 -68
- package/src/runtime/page-data.ts +0 -60
- package/src/runtime/page-errors.ts +0 -31
- package/src/runtime/page-swap.ts +0 -530
- package/src/runtime/page-title.ts +0 -69
- package/src/runtime/params.ts +0 -24
- package/src/runtime/pending.ts +0 -44
- package/src/runtime/persist.ts +0 -299
- package/src/runtime/persisted.ts +0 -125
- package/src/runtime/placeholder.ts +0 -41
- package/src/runtime/poll-backoff.ts +0 -85
- package/src/runtime/prefetch.ts +0 -149
- package/src/runtime/presence.ts +0 -98
- package/src/runtime/preview.ts +0 -65
- package/src/runtime/push.ts +0 -294
- package/src/runtime/query-param.ts +0 -300
- package/src/runtime/queue-jobs.ts +0 -51
- package/src/runtime/random-id.ts +0 -5
- package/src/runtime/reactive-collections.ts +0 -214
- package/src/runtime/reactive.ts +0 -927
- package/src/runtime/recipe.ts +0 -79
- package/src/runtime/refetch-island.ts +0 -25
- package/src/runtime/refuse.ts +0 -59
- package/src/runtime/rendered.ts +0 -17
- package/src/runtime/report-error.ts +0 -25
- package/src/runtime/resource-tags.ts +0 -35
- package/src/runtime/retry-later.ts +0 -72
- package/src/runtime/reveal.ts +0 -47
- package/src/runtime/root.ts +0 -6
- package/src/runtime/route.ts +0 -84
- package/src/runtime/row-key.ts +0 -4
- package/src/runtime/safe-code.ts +0 -25
- package/src/runtime/safe-html.ts +0 -51
- package/src/runtime/sanitize.ts +0 -378
- package/src/runtime/save-data.ts +0 -4
- package/src/runtime/schema-bounds.ts +0 -50
- package/src/runtime/schema-record.ts +0 -32
- package/src/runtime/schema.client.ts +0 -114
- package/src/runtime/schema.ts +0 -374
- package/src/runtime/search-arrival.ts +0 -107
- package/src/runtime/search-results.ts +0 -47
- package/src/runtime/search.ts +0 -325
- package/src/runtime/send.ts +0 -115
- package/src/runtime/seo.ts +0 -70
- package/src/runtime/server-islands.ts +0 -5
- package/src/runtime/shortcut.ts +0 -186
- package/src/runtime/site.ts +0 -37
- package/src/runtime/size-text.ts +0 -25
- package/src/runtime/snapshots.ts +0 -116
- package/src/runtime/socket-message.ts +0 -26
- package/src/runtime/sqlite.server.ts +0 -52
- package/src/runtime/sse.ts +0 -88
- package/src/runtime/stale.ts +0 -181
- package/src/runtime/standard-schema.ts +0 -32
- package/src/runtime/static-slots.ts +0 -78
- package/src/runtime/store-base.ts +0 -31
- package/src/runtime/store.ts +0 -309
- package/src/runtime/swap-fetch.ts +0 -215
- package/src/runtime/swap-flight.ts +0 -84
- package/src/runtime/swap-focus.ts +0 -283
- package/src/runtime/swap-head.ts +0 -355
- package/src/runtime/swap-held.ts +0 -41
- package/src/runtime/swap-kept.ts +0 -357
- package/src/runtime/swap-loading.ts +0 -44
- package/src/runtime/swap-morph.ts +0 -238
- package/src/runtime/swap-refusal.ts +0 -40
- package/src/runtime/swap-streamed.ts +0 -161
- package/src/runtime/swap-transition.ts +0 -117
- package/src/runtime/swap.ts +0 -37
- package/src/runtime/template-context.ts +0 -81
- package/src/runtime/text-hash.ts +0 -17
- package/src/runtime/transition.ts +0 -227
- package/src/runtime/ui.ts +0 -32
- package/src/runtime/uid.server.ts +0 -71
- package/src/runtime/uid.ts +0 -56
- package/src/runtime/upload.ts +0 -49
- package/src/runtime/url-attributes.ts +0 -2
- package/src/runtime/url-report.ts +0 -24
- package/src/runtime/url.ts +0 -37
- package/src/runtime/validate-run.client.ts +0 -179
- package/src/runtime/validate.client.ts +0 -11
- package/src/runtime/validate.ts +0 -177
- package/src/runtime/values.ts +0 -340
- package/src/runtime/visibility.ts +0 -35
- package/src/runtime/warn-once.ts +0 -22
- package/src/runtime/wire.ts +0 -214
- package/src/runtime/with-query.ts +0 -74
- package/src/runtime/words.client.ts +0 -138
- package/src/runtime/words.server.ts +0 -53
- package/src/runtime/work-worker.ts +0 -4
- package/src/runtime/work.client.ts +0 -112
- package/src/runtime/work.ts +0 -87
- package/src/server/accept-language.ts +0 -37
- package/src/server/action-clash.ts +0 -7
- package/src/server/action-hooks.ts +0 -76
- package/src/server/action-input.ts +0 -58
- package/src/server/action-iterable.ts +0 -90
- package/src/server/action-module.ts +0 -16
- package/src/server/actions.ts +0 -883
- package/src/server/address.ts +0 -172
- package/src/server/analytics-script.ts +0 -302
- package/src/server/analytics-server.ts +0 -564
- package/src/server/analytics-words.ts +0 -13
- package/src/server/analytics.ts +0 -423
- package/src/server/answer.ts +0 -102
- package/src/server/api-input.ts +0 -166
- package/src/server/api-modules.ts +0 -246
- package/src/server/api-params.ts +0 -83
- package/src/server/api.ts +0 -823
- package/src/server/app-database.ts +0 -43
- package/src/server/app-hooks.ts +0 -166
- package/src/server/app-identity.ts +0 -70
- package/src/server/app-stages.ts +0 -823
- package/src/server/app-store.ts +0 -79
- package/src/server/app.ts +0 -238
- package/src/server/auth-mails.ts +0 -162
- package/src/server/auto-listen.ts +0 -177
- package/src/server/avif-worker.ts +0 -138
- package/src/server/avif.ts +0 -124
- package/src/server/base.ts +0 -136
- package/src/server/basic-auth.ts +0 -129
- package/src/server/body.ts +0 -179
- package/src/server/build-files.ts +0 -117
- package/src/server/builtins.ts +0 -8
- package/src/server/bundle.ts +0 -83
- package/src/server/button-form-rule.ts +0 -20
- package/src/server/card-draw.ts +0 -220
- package/src/server/card-template.ts +0 -256
- package/src/server/card.ts +0 -666
- package/src/server/ceiling.ts +0 -10
- package/src/server/clean-context.ts +0 -6
- package/src/server/client.ts +0 -612
- package/src/server/codec/avif-enc-build.ts +0 -2
- package/src/server/codec/avif-enc.d.ts +0 -15
- package/src/server/codec/avif-enc.js +0 -2
- package/src/server/codec/avif-enc.wasm +0 -0
- package/src/server/compress-policy.ts +0 -40
- package/src/server/compress.ts +0 -1010
- package/src/server/config-error.ts +0 -54
- package/src/server/config-limits.ts +0 -186
- package/src/server/consent-cookie.ts +0 -10
- package/src/server/context-layout/_layout.kay +0 -7
- package/src/server/context-reads.ts +0 -33
- package/src/server/context-record.ts +0 -58
- package/src/server/context-values.ts +0 -182
- package/src/server/cookie-names.ts +0 -10
- package/src/server/cors.ts +0 -235
- package/src/server/crop.ts +0 -153
- package/src/server/cross-site.ts +0 -155
- package/src/server/csp.ts +0 -40
- package/src/server/dev-data.ts +0 -558
- package/src/server/dev-errors.ts +0 -270
- package/src/server/dev-footprint.ts +0 -19
- package/src/server/dev-head.ts +0 -95
- package/src/server/dev-jobs.ts +0 -59
- package/src/server/dev-not-found.ts +0 -96
- package/src/server/dev-notes.ts +0 -12
- package/src/server/dev-offered.ts +0 -13
- package/src/server/dev-secret.ts +0 -65
- package/src/server/dev-sizes.ts +0 -114
- package/src/server/dev-sqlite-worker.ts +0 -96
- package/src/server/dev-ui.ts +0 -299
- package/src/server/dev.ts +0 -875
- package/src/server/dictionary.ts +0 -190
- package/src/server/drain.ts +0 -40
- package/src/server/editor.ts +0 -79
- package/src/server/endpoint-claims.ts +0 -29
- package/src/server/endpoint-verbs.ts +0 -43
- package/src/server/endpoints.ts +0 -420
- package/src/server/entry-drafts.ts +0 -151
- package/src/server/entry-head.ts +0 -50
- package/src/server/entry-urls.ts +0 -150
- package/src/server/env-state.ts +0 -176
- package/src/server/error-maps.ts +0 -137
- package/src/server/errors.ts +0 -110
- package/src/server/event-stream.ts +0 -216
- package/src/server/face.ts +0 -788
- package/src/server/favicon.png +0 -0
- package/src/server/favicon.svg +0 -1
- package/src/server/favicon.ts +0 -437
- package/src/server/fetch-public.ts +0 -119
- package/src/server/file-answer.ts +0 -89
- package/src/server/file-limit.ts +0 -68
- package/src/server/file-type.ts +0 -46
- package/src/server/flash.ts +0 -140
- package/src/server/font-metrics.ts +0 -294
- package/src/server/fonts.ts +0 -344
- package/src/server/forms.ts +0 -89
- package/src/server/guard-requirement.ts +0 -23
- package/src/server/guard-runs.ts +0 -30
- package/src/server/guards.ts +0 -138
- package/src/server/handler-timing.ts +0 -12
- package/src/server/history.ts +0 -3
- package/src/server/hooks.ts +0 -170
- package/src/server/host-allowlist.ts +0 -63
- package/src/server/hydration.ts +0 -7
- package/src/server/i18n.ts +0 -533
- package/src/server/image-color.ts +0 -79
- package/src/server/image-format.ts +0 -181
- package/src/server/image-limits.ts +0 -89
- package/src/server/image-metadata-bmff.ts +0 -243
- package/src/server/image-metadata.ts +0 -316
- package/src/server/image.ts +0 -835
- package/src/server/internal.ts +0 -8
- package/src/server/job-admin.ts +0 -197
- package/src/server/job-context.ts +0 -35
- package/src/server/job-status.ts +0 -8
- package/src/server/job-steps.ts +0 -2
- package/src/server/jobs-page.ts +0 -143
- package/src/server/jobs.ts +0 -434
- package/src/server/kay-routes.ts +0 -221
- package/src/server/kay-server.ts +0 -228
- package/src/server/kept-exports.ts +0 -176
- package/src/server/kept-pages.ts +0 -117
- package/src/server/kept-source.ts +0 -609
- package/src/server/kv.ts +0 -214
- package/src/server/lazy-guard.ts +0 -74
- package/src/server/library.ts +0 -143
- package/src/server/lifecycle.ts +0 -378
- package/src/server/limit.ts +0 -33
- package/src/server/link-schemes.ts +0 -23
- package/src/server/links.ts +0 -238
- package/src/server/literal-writes.ts +0 -756
- package/src/server/live.ts +0 -700
- package/src/server/load-budget.ts +0 -69
- package/src/server/loader.ts +0 -182
- package/src/server/loading-page.ts +0 -41
- package/src/server/local-files.ts +0 -26
- package/src/server/log.ts +0 -297
- package/src/server/maintenance.ts +0 -141
- package/src/server/mcp-key.ts +0 -168
- package/src/server/mcp.ts +0 -739
- package/src/server/memory-jobs.ts +0 -168
- package/src/server/memory-mark.ts +0 -12
- package/src/server/message-drafts.ts +0 -284
- package/src/server/metrics.ts +0 -225
- package/src/server/missing-hits.ts +0 -41
- package/src/server/module-state.ts +0 -327
- package/src/server/new-tab.ts +0 -28
- package/src/server/not-found-config.ts +0 -161
- package/src/server/not-found.ts +0 -828
- package/src/server/notifications.ts +0 -360
- package/src/server/offline.ts +0 -575
- package/src/server/openapi.ts +0 -527
- package/src/server/option-keys.ts +0 -15
- package/src/server/over-limit.ts +0 -29
- package/src/server/overlay.ts +0 -196
- package/src/server/own-headers.ts +0 -221
- package/src/server/page-error.ts +0 -57
- package/src/server/page-flags.ts +0 -15
- package/src/server/page-headers.ts +0 -93
- package/src/server/page-hook.ts +0 -201
- package/src/server/page-limits.ts +0 -142
- package/src/server/page-reads.ts +0 -63
- package/src/server/page-routes.ts +0 -377
- package/src/server/page-seo.ts +0 -29
- package/src/server/page-settings.ts +0 -118
- package/src/server/params.ts +0 -197
- package/src/server/parent.ts +0 -8
- package/src/server/personal-data.ts +0 -47
- package/src/server/pg-cache.ts +0 -181
- package/src/server/pg-data.ts +0 -255
- package/src/server/pg-jobs.ts +0 -512
- package/src/server/pg-limit.ts +0 -52
- package/src/server/pg-live.ts +0 -289
- package/src/server/pg-not-found.ts +0 -441
- package/src/server/pg-notify.ts +0 -216
- package/src/server/pg-orm.ts +0 -26
- package/src/server/pg-poll.ts +0 -341
- package/src/server/pg-redirects.ts +0 -211
- package/src/server/pg-rooms.ts +0 -550
- package/src/server/pg-sql.ts +0 -16
- package/src/server/pg-stores.ts +0 -358
- package/src/server/phases.ts +0 -249
- package/src/server/plugin.ts +0 -30
- package/src/server/plumbing.ts +0 -90
- package/src/server/png.ts +0 -108
- package/src/server/prebuilt-loader.ts +0 -110
- package/src/server/prerender.ts +0 -778
- package/src/server/prerendered.ts +0 -162
- package/src/server/presence.ts +0 -251
- package/src/server/preview.ts +0 -705
- package/src/server/private-dir.ts +0 -87
- package/src/server/protection.ts +0 -1094
- package/src/server/proxy-key.ts +0 -79
- package/src/server/public-suffix.ts +0 -59
- package/src/server/public-suffixes.ts +0 -502
- package/src/server/public.ts +0 -299
- package/src/server/publishing.ts +0 -176
- package/src/server/pure-page.ts +0 -371
- package/src/server/push-crypto.ts +0 -155
- package/src/server/push-keys-command.ts +0 -25
- package/src/server/push-server.ts +0 -125
- package/src/server/push-settings.ts +0 -81
- package/src/server/push-store.ts +0 -182
- package/src/server/push.ts +0 -472
- package/src/server/query.ts +0 -251
- package/src/server/queue-live.ts +0 -291
- package/src/server/queue-scheduler.ts +0 -426
- package/src/server/queue-telling.ts +0 -53
- package/src/server/queue.ts +0 -944
- package/src/server/raster.ts +0 -176
- package/src/server/rate-limit.ts +0 -70
- package/src/server/rate-refusal.ts +0 -36
- package/src/server/rate-windows.ts +0 -14
- package/src/server/reach-walk.ts +0 -65
- package/src/server/reach.ts +0 -124
- package/src/server/receive.ts +0 -43
- package/src/server/redirect-spelling.ts +0 -57
- package/src/server/redirects.ts +0 -209
- package/src/server/reload.ts +0 -88
- package/src/server/remote.ts +0 -359
- package/src/server/render-document.ts +0 -555
- package/src/server/render.ts +0 -1022
- package/src/server/report.ts +0 -103
- package/src/server/request-context.ts +0 -137
- package/src/server/request-read.ts +0 -38
- package/src/server/request-record.ts +0 -107
- package/src/server/request-scope.ts +0 -58
- package/src/server/request-timeout.ts +0 -209
- package/src/server/request-url.ts +0 -47
- package/src/server/request-user.ts +0 -25
- package/src/server/resources.ts +0 -133
- package/src/server/response-mismatch.ts +0 -21
- package/src/server/revalidate.ts +0 -100
- package/src/server/rewrite.ts +0 -143
- package/src/server/rooms.ts +0 -800
- package/src/server/route-settings.ts +0 -236
- package/src/server/route-table.ts +0 -155
- package/src/server/routes.ts +0 -735
- package/src/server/runtime-redirect-api.ts +0 -227
- package/src/server/runtime-redirects.ts +0 -438
- package/src/server/safe-path.ts +0 -26
- package/src/server/save-data.ts +0 -150
- package/src/server/schema-answer.ts +0 -42
- package/src/server/schema-check.ts +0 -102
- package/src/server/scope.ts +0 -136
- package/src/server/seal.ts +0 -73
- package/src/server/secret.ts +0 -76
- package/src/server/seo.ts +0 -246
- package/src/server/served-paths.ts +0 -136
- package/src/server/server-islands.ts +0 -175
- package/src/server/server-record.ts +0 -80
- package/src/server/serving.ts +0 -35
- package/src/server/session.ts +0 -802
- package/src/server/setup.ts +0 -259
- package/src/server/sha256.ts +0 -15
- package/src/server/signals.ts +0 -117
- package/src/server/signed.ts +0 -63
- package/src/server/site-facts.ts +0 -19
- package/src/server/site-paths.ts +0 -3
- package/src/server/sitemap.ts +0 -415
- package/src/server/snake-case.ts +0 -6
- package/src/server/socket.ts +0 -343
- package/src/server/source.ts +0 -191
- package/src/server/speculation.ts +0 -57
- package/src/server/sqlite-data.ts +0 -19
- package/src/server/sqlite-live.ts +0 -202
- package/src/server/stale-pages.ts +0 -105
- package/src/server/stamp.ts +0 -222
- package/src/server/storage.ts +0 -582
- package/src/server/stream.ts +0 -316
- package/src/server/string.ts +0 -79
- package/src/server/svg-icon.ts +0 -76
- package/src/server/swap.ts +0 -4
- package/src/server/tool-outputs.ts +0 -71
- package/src/server/tool-settings.ts +0 -12
- package/src/server/trace-context.ts +0 -89
- package/src/server/trace.ts +0 -198
- package/src/server/translations.ts +0 -30
- package/src/server/typography.ts +0 -248
- package/src/server/uncaught.ts +0 -60
- package/src/server/unsafe-urls.ts +0 -29
- package/src/server/validate.ts +0 -346
- package/src/server/violations.ts +0 -160
- package/src/server/visit.ts +0 -54
- package/src/server/vitals-routes/_guard.ts +0 -12
- package/src/server/vitals-routes/index.kay +0 -45
- package/src/server/vitals-routes/vitals.css +0 -30
- package/src/server/vitals-screen.ts +0 -24
- package/src/server/vitals-script.ts +0 -102
- package/src/server/vitals-server.ts +0 -135
- package/src/server/vitals-store.ts +0 -233
- package/src/server/vitals.ts +0 -81
- package/src/server/wasm.d.ts +0 -6
- package/src/server/web-socket.ts +0 -13
- package/src/server/wildcards.ts +0 -87
- package/src/server/words.ts +0 -149
- package/src/server/work-scope.ts +0 -65
- package/src/server/work.ts +0 -91
- package/src/server/workers.ts +0 -294
- package/src/server/workflow.ts +0 -528
- package/src/server/writes.ts +0 -161
- package/src/server/ws-limits.ts +0 -183
- package/src/svg-attributes.ts +0 -240
- package/src/template-auth.ts +0 -79
- package/src/template-ci.ts +0 -156
- package/src/template-config.ts +0 -43
- package/src/template-docker.ts +0 -260
- package/src/template-pins.ts +0 -14
- package/src/template-shared.ts +0 -56
- package/src/template-starter.ts +0 -131
- package/src/template-styles.ts +0 -166
- package/src/template-ws.ts +0 -57
- package/src/templates.ts +0 -74
- package/src/test/a11y-dom.ts +0 -70
- package/src/test/a11y.ts +0 -55
- package/src/test/browser.ts +0 -1235
- package/src/test/clock.ts +0 -121
- package/src/test/content.ts +0 -345
- package/src/test/cookies.ts +0 -94
- package/src/test/database.ts +0 -57
- package/src/test/dom.ts +0 -90
- package/src/test/env.ts +0 -58
- package/src/test/html-snapshot.ts +0 -103
- package/src/test/interact.ts +0 -134
- package/src/test/isolation.ts +0 -19
- package/src/test/lazy-plugins.ts +0 -269
- package/src/test/mount.ts +0 -258
- package/src/test/natives.ts +0 -44
- package/src/test/network.ts +0 -678
- package/src/test/outgoing.ts +0 -138
- package/src/test/outputs.ts +0 -54
- package/src/test/override-env.ts +0 -40
- package/src/test/page-checks.ts +0 -12
- package/src/test/page-types.ts +0 -153
- package/src/test/page.ts +0 -338
- package/src/test/preload.ts +0 -27
- package/src/test/reset.ts +0 -13
- package/src/test/root.ts +0 -13
- package/src/test/scratch.ts +0 -12
- package/src/test/screenshot-match.ts +0 -69
- package/src/test/service.ts +0 -180
- package/src/test/shared-modules.ts +0 -350
- package/src/test/site-actions.ts +0 -155
- package/src/test/site-api.ts +0 -19
- package/src/test/site-keys.ts +0 -44
- package/src/test/site-mcp.ts +0 -36
- package/src/test/site-scope.ts +0 -35
- package/src/test/site-socket.ts +0 -128
- package/src/test/site-types.ts +0 -180
- package/src/test/site-world.ts +0 -86
- package/src/test/sites.ts +0 -29
- package/src/test/text-match.ts +0 -44
- package/src/test/timeout.ts +0 -45
- package/src/test/wait.ts +0 -34
- package/src/test/writable.ts +0 -20
- package/src/tsconfig.app.json +0 -21
- package/src/tsgo.ts +0 -18
- package/types/a11y/audit.d.ts +0 -32
- package/types/a11y/audit.d.ts.map +0 -1
- package/types/a11y/report.d.ts +0 -20
- package/types/a11y/report.d.ts.map +0 -1
- package/types/a11y/rgaa-criteria.d.ts +0 -5
- package/types/a11y/rgaa-criteria.d.ts.map +0 -1
- package/types/a11y/standards.d.ts +0 -17
- package/types/a11y/standards.d.ts.map +0 -1
- package/types/a11y/targets.d.ts +0 -20
- package/types/a11y/targets.d.ts.map +0 -1
- package/types/add.d.ts +0 -56
- package/types/add.d.ts.map +0 -1
- package/types/build/action-calls.d.ts +0 -2
- package/types/build/action-calls.d.ts.map +0 -1
- package/types/build/assets.d.ts +0 -17
- package/types/build/assets.d.ts.map +0 -1
- package/types/build/await-alert.d.ts +0 -4
- package/types/build/await-alert.d.ts.map +0 -1
- package/types/build/budget.d.ts +0 -17
- package/types/build/budget.d.ts.map +0 -1
- package/types/build/bun.d.ts +0 -9
- package/types/build/bun.d.ts.map +0 -1
- package/types/build/cache-ids.d.ts +0 -2
- package/types/build/cache-ids.d.ts.map +0 -1
- package/types/build/cache.d.ts +0 -15
- package/types/build/cache.d.ts.map +0 -1
- package/types/build/captured-loads.d.ts +0 -19
- package/types/build/captured-loads.d.ts.map +0 -1
- package/types/build/class-rules.d.ts +0 -15
- package/types/build/class-rules.d.ts.map +0 -1
- package/types/build/class-sources.d.ts +0 -29
- package/types/build/class-sources.d.ts.map +0 -1
- package/types/build/class-table.d.ts +0 -8
- package/types/build/class-table.d.ts.map +0 -1
- package/types/build/client.d.ts +0 -89
- package/types/build/client.d.ts.map +0 -1
- package/types/build/collection-components.d.ts +0 -5
- package/types/build/collection-components.d.ts.map +0 -1
- package/types/build/compile.d.ts +0 -23
- package/types/build/compile.d.ts.map +0 -1
- package/types/build/compressed.d.ts +0 -7
- package/types/build/compressed.d.ts.map +0 -1
- package/types/build/direct-imports.d.ts +0 -2
- package/types/build/direct-imports.d.ts.map +0 -1
- package/types/build/dynamic-classes.d.ts +0 -12
- package/types/build/dynamic-classes.d.ts.map +0 -1
- package/types/build/entry-files.d.ts +0 -4
- package/types/build/entry-files.d.ts.map +0 -1
- package/types/build/favicons.d.ts +0 -4
- package/types/build/favicons.d.ts.map +0 -1
- package/types/build/files.d.ts +0 -56
- package/types/build/files.d.ts.map +0 -1
- package/types/build/fingerprint.d.ts +0 -3
- package/types/build/fingerprint.d.ts.map +0 -1
- package/types/build/footprint-models.d.ts +0 -24
- package/types/build/footprint-models.d.ts.map +0 -1
- package/types/build/footprint.d.ts +0 -44
- package/types/build/footprint.d.ts.map +0 -1
- package/types/build/glob.d.ts +0 -10
- package/types/build/glob.d.ts.map +0 -1
- package/types/build/globbed.d.ts +0 -2
- package/types/build/globbed.d.ts.map +0 -1
- package/types/build/header-files.d.ts +0 -4
- package/types/build/header-files.d.ts.map +0 -1
- package/types/build/icon-slots.d.ts +0 -7
- package/types/build/icon-slots.d.ts.map +0 -1
- package/types/build/icons.d.ts +0 -9
- package/types/build/icons.d.ts.map +0 -1
- package/types/build/increments.d.ts +0 -50
- package/types/build/increments.d.ts.map +0 -1
- package/types/build/insert-ids.d.ts +0 -10
- package/types/build/insert-ids.d.ts.map +0 -1
- package/types/build/island-images.d.ts +0 -45
- package/types/build/island-images.d.ts.map +0 -1
- package/types/build/kept-maps.d.ts +0 -3
- package/types/build/kept-maps.d.ts.map +0 -1
- package/types/build/kept.d.ts +0 -5
- package/types/build/kept.d.ts.map +0 -1
- package/types/build/layer-order.d.ts +0 -2
- package/types/build/layer-order.d.ts.map +0 -1
- package/types/build/lazy-components.d.ts +0 -6
- package/types/build/lazy-components.d.ts.map +0 -1
- package/types/build/lazy-manifest.d.ts +0 -19
- package/types/build/lazy-manifest.d.ts.map +0 -1
- package/types/build/lazy-stubs.d.ts +0 -5
- package/types/build/lazy-stubs.d.ts.map +0 -1
- package/types/build/libraries.d.ts +0 -55
- package/types/build/libraries.d.ts.map +0 -1
- package/types/build/licenses.d.ts +0 -16
- package/types/build/licenses.d.ts.map +0 -1
- package/types/build/links.d.ts +0 -3
- package/types/build/links.d.ts.map +0 -1
- package/types/build/live-ids.d.ts +0 -3
- package/types/build/live-ids.d.ts.map +0 -1
- package/types/build/manifests.d.ts +0 -26
- package/types/build/manifests.d.ts.map +0 -1
- package/types/build/named-refresh.d.ts +0 -3
- package/types/build/named-refresh.d.ts.map +0 -1
- package/types/build/navigation-locale.d.ts +0 -3
- package/types/build/navigation-locale.d.ts.map +0 -1
- package/types/build/page-dirs.d.ts +0 -8
- package/types/build/page-dirs.d.ts.map +0 -1
- package/types/build/pipeline.d.ts +0 -60
- package/types/build/pipeline.d.ts.map +0 -1
- package/types/build/plugin.d.ts +0 -32
- package/types/build/plugin.d.ts.map +0 -1
- package/types/build/probe.d.ts +0 -6
- package/types/build/probe.d.ts.map +0 -1
- package/types/build/prune.d.ts +0 -5
- package/types/build/prune.d.ts.map +0 -1
- package/types/build/recipe-classes.d.ts +0 -13
- package/types/build/recipe-classes.d.ts.map +0 -1
- package/types/build/recipe-utilities.d.ts +0 -4
- package/types/build/recipe-utilities.d.ts.map +0 -1
- package/types/build/references.d.ts +0 -7
- package/types/build/references.d.ts.map +0 -1
- package/types/build/report.d.ts +0 -95
- package/types/build/report.d.ts.map +0 -1
- package/types/build/route-sizes.d.ts +0 -7
- package/types/build/route-sizes.d.ts.map +0 -1
- package/types/build/runtime-chunk.d.ts +0 -25
- package/types/build/runtime-chunk.d.ts.map +0 -1
- package/types/build/runtime-config.d.ts +0 -3
- package/types/build/runtime-config.d.ts.map +0 -1
- package/types/build/search.d.ts +0 -7
- package/types/build/search.d.ts.map +0 -1
- package/types/build/server-only.d.ts +0 -40
- package/types/build/server-only.d.ts.map +0 -1
- package/types/build/server-record.d.ts +0 -4
- package/types/build/server-record.d.ts.map +0 -1
- package/types/build/signals.d.ts +0 -5
- package/types/build/signals.d.ts.map +0 -1
- package/types/build/source-files.d.ts +0 -15
- package/types/build/source-files.d.ts.map +0 -1
- package/types/build/source-parses.d.ts +0 -22
- package/types/build/source-parses.d.ts.map +0 -1
- package/types/build/sourcemap.d.ts +0 -29
- package/types/build/sourcemap.d.ts.map +0 -1
- package/types/build/static.d.ts +0 -11
- package/types/build/static.d.ts.map +0 -1
- package/types/build/style-uses.d.ts +0 -20
- package/types/build/style-uses.d.ts.map +0 -1
- package/types/build/styles.d.ts +0 -12
- package/types/build/styles.d.ts.map +0 -1
- package/types/build/supports.d.ts +0 -16
- package/types/build/supports.d.ts.map +0 -1
- package/types/build/theme-vars.d.ts +0 -2
- package/types/build/theme-vars.d.ts.map +0 -1
- package/types/build/transform.d.ts +0 -50
- package/types/build/transform.d.ts.map +0 -1
- package/types/build/ui-info.d.ts +0 -27
- package/types/build/ui-info.d.ts.map +0 -1
- package/types/build/ui-layers.d.ts +0 -5
- package/types/build/ui-layers.d.ts.map +0 -1
- package/types/build/ui.d.ts +0 -58
- package/types/build/ui.d.ts.map +0 -1
- package/types/build/variants.d.ts +0 -29
- package/types/build/variants.d.ts.map +0 -1
- package/types/build/verify.d.ts +0 -15
- package/types/build/verify.d.ts.map +0 -1
- package/types/build/warn-classes.d.ts +0 -4
- package/types/build/warn-classes.d.ts.map +0 -1
- package/types/build/worker-bundle.d.ts +0 -17
- package/types/build/worker-bundle.d.ts.map +0 -1
- package/types/bun.d.ts +0 -9
- package/types/bun.d.ts.map +0 -1
- package/types/check/action-options.d.ts +0 -3
- package/types/check/action-options.d.ts.map +0 -1
- package/types/check/api-modules.d.ts +0 -11
- package/types/check/api-modules.d.ts.map +0 -1
- package/types/check/api-scope.d.ts +0 -13
- package/types/check/api-scope.d.ts.map +0 -1
- package/types/check/ast.d.ts +0 -10
- package/types/check/ast.d.ts.map +0 -1
- package/types/check/bindings.d.ts +0 -4
- package/types/check/bindings.d.ts.map +0 -1
- package/types/check/boot.d.ts +0 -6
- package/types/check/boot.d.ts.map +0 -1
- package/types/check/browser-global-reads.d.ts +0 -8
- package/types/check/browser-global-reads.d.ts.map +0 -1
- package/types/check/builtin-imports.d.ts +0 -5
- package/types/check/builtin-imports.d.ts.map +0 -1
- package/types/check/class-words.d.ts +0 -7
- package/types/check/class-words.d.ts.map +0 -1
- package/types/check/config-keys.d.ts +0 -7
- package/types/check/config-keys.d.ts.map +0 -1
- package/types/check/config-objects.d.ts +0 -16
- package/types/check/config-objects.d.ts.map +0 -1
- package/types/check/diagnose.d.ts +0 -36
- package/types/check/diagnose.d.ts.map +0 -1
- package/types/check/dockerfile.d.ts +0 -4
- package/types/check/dockerfile.d.ts.map +0 -1
- package/types/check/endpoint-exports.d.ts +0 -4
- package/types/check/endpoint-exports.d.ts.map +0 -1
- package/types/check/env-types.d.ts +0 -8
- package/types/check/env-types.d.ts.map +0 -1
- package/types/check/export-homes.d.ts +0 -6
- package/types/check/export-homes.d.ts.map +0 -1
- package/types/check/fixes.d.ts +0 -3
- package/types/check/fixes.d.ts.map +0 -1
- package/types/check/generated.d.ts +0 -27
- package/types/check/generated.d.ts.map +0 -1
- package/types/check/guards.d.ts +0 -5
- package/types/check/guards.d.ts.map +0 -1
- package/types/check/index.d.ts +0 -37
- package/types/check/index.d.ts.map +0 -1
- package/types/check/island-modules.d.ts +0 -21
- package/types/check/island-modules.d.ts.map +0 -1
- package/types/check/island-only.d.ts +0 -11
- package/types/check/island-only.d.ts.map +0 -1
- package/types/check/large-images.d.ts +0 -5
- package/types/check/large-images.d.ts.map +0 -1
- package/types/check/layout-facts.d.ts +0 -8
- package/types/check/layout-facts.d.ts.map +0 -1
- package/types/check/loaded.d.ts +0 -8
- package/types/check/loaded.d.ts.map +0 -1
- package/types/check/loop-index-fix.d.ts +0 -4
- package/types/check/loop-index-fix.d.ts.map +0 -1
- package/types/check/mcp-routes.d.ts +0 -4
- package/types/check/mcp-routes.d.ts.map +0 -1
- package/types/check/messages.d.ts +0 -7
- package/types/check/messages.d.ts.map +0 -1
- package/types/check/missing-imports.d.ts +0 -5
- package/types/check/missing-imports.d.ts.map +0 -1
- package/types/check/moved-keys.d.ts +0 -10
- package/types/check/moved-keys.d.ts.map +0 -1
- package/types/check/open-settings.d.ts +0 -4
- package/types/check/open-settings.d.ts.map +0 -1
- package/types/check/output-schema.d.ts +0 -5
- package/types/check/output-schema.d.ts.map +0 -1
- package/types/check/page-heads.d.ts +0 -5
- package/types/check/page-heads.d.ts.map +0 -1
- package/types/check/page-structure.d.ts +0 -8
- package/types/check/page-structure.d.ts.map +0 -1
- package/types/check/project.d.ts +0 -37
- package/types/check/project.d.ts.map +0 -1
- package/types/check/public-env-outside-src.d.ts +0 -3
- package/types/check/public-env-outside-src.d.ts.map +0 -1
- package/types/check/queries.d.ts +0 -4
- package/types/check/queries.d.ts.map +0 -1
- package/types/check/regroup.d.ts +0 -8
- package/types/check/regroup.d.ts.map +0 -1
- package/types/check/removed-ui-tokens.d.ts +0 -5
- package/types/check/removed-ui-tokens.d.ts.map +0 -1
- package/types/check/renamed-call-options.d.ts +0 -14
- package/types/check/renamed-call-options.d.ts.map +0 -1
- package/types/check/renamed-exports.d.ts +0 -32
- package/types/check/renamed-exports.d.ts.map +0 -1
- package/types/check/renamed-packages.d.ts +0 -3
- package/types/check/renamed-packages.d.ts.map +0 -1
- package/types/check/route-shadow.d.ts +0 -12
- package/types/check/route-shadow.d.ts.map +0 -1
- package/types/check/schema-builders.d.ts +0 -3
- package/types/check/schema-builders.d.ts.map +0 -1
- package/types/check/schema-json.d.ts +0 -3
- package/types/check/schema-json.d.ts.map +0 -1
- package/types/check/seo.d.ts +0 -57
- package/types/check/seo.d.ts.map +0 -1
- package/types/check/server-only-reads.d.ts +0 -5
- package/types/check/server-only-reads.d.ts.map +0 -1
- package/types/check/shadow-types.d.ts +0 -49
- package/types/check/shadow-types.d.ts.map +0 -1
- package/types/check/shadow.d.ts +0 -63
- package/types/check/shadow.d.ts.map +0 -1
- package/types/check/site-seo.d.ts +0 -21
- package/types/check/site-seo.d.ts.map +0 -1
- package/types/check/socket-routes.d.ts +0 -4
- package/types/check/socket-routes.d.ts.map +0 -1
- package/types/check/status-pages.d.ts +0 -4
- package/types/check/status-pages.d.ts.map +0 -1
- package/types/check/template-hints.d.ts +0 -12
- package/types/check/template-hints.d.ts.map +0 -1
- package/types/check/text-size-colour.d.ts +0 -3
- package/types/check/text-size-colour.d.ts.map +0 -1
- package/types/check/tool-labels.d.ts +0 -3
- package/types/check/tool-labels.d.ts.map +0 -1
- package/types/check/tool-outputs.d.ts +0 -6
- package/types/check/tool-outputs.d.ts.map +0 -1
- package/types/check/tsgo.d.ts +0 -18
- package/types/check/tsgo.d.ts.map +0 -1
- package/types/check/typing-stamp.d.ts +0 -2
- package/types/check/typing-stamp.d.ts.map +0 -1
- package/types/check/ui-tokens.d.ts +0 -16
- package/types/check/ui-tokens.d.ts.map +0 -1
- package/types/check/ui-types.d.ts +0 -3
- package/types/check/ui-types.d.ts.map +0 -1
- package/types/check/ui.d.ts +0 -7
- package/types/check/ui.d.ts.map +0 -1
- package/types/check/unmounted-jobs.d.ts +0 -3
- package/types/check/unmounted-jobs.d.ts.map +0 -1
- package/types/cli.d.ts +0 -3
- package/types/cli.d.ts.map +0 -1
- package/types/commands/a11y.d.ts +0 -3
- package/types/commands/a11y.d.ts.map +0 -1
- package/types/commands/add-peers.d.ts +0 -2
- package/types/commands/add-peers.d.ts.map +0 -1
- package/types/commands/add.d.ts +0 -3
- package/types/commands/add.d.ts.map +0 -1
- package/types/commands/build.d.ts +0 -3
- package/types/commands/build.d.ts.map +0 -1
- package/types/commands/check.d.ts +0 -3
- package/types/commands/check.d.ts.map +0 -1
- package/types/commands/command.d.ts +0 -87
- package/types/commands/command.d.ts.map +0 -1
- package/types/commands/completion.d.ts +0 -5
- package/types/commands/completion.d.ts.map +0 -1
- package/types/commands/dev.d.ts +0 -3
- package/types/commands/dev.d.ts.map +0 -1
- package/types/commands/docs.d.ts +0 -3
- package/types/commands/docs.d.ts.map +0 -1
- package/types/commands/doctor.d.ts +0 -12
- package/types/commands/doctor.d.ts.map +0 -1
- package/types/commands/editor.d.ts +0 -3
- package/types/commands/editor.d.ts.map +0 -1
- package/types/commands/env-compare.d.ts +0 -25
- package/types/commands/env-compare.d.ts.map +0 -1
- package/types/commands/env-declare.d.ts +0 -5
- package/types/commands/env-declare.d.ts.map +0 -1
- package/types/commands/env.d.ts +0 -14
- package/types/commands/env.d.ts.map +0 -1
- package/types/commands/explain-island.d.ts +0 -3
- package/types/commands/explain-island.d.ts.map +0 -1
- package/types/commands/explain.d.ts +0 -3
- package/types/commands/explain.d.ts.map +0 -1
- package/types/commands/extensions.d.ts +0 -17
- package/types/commands/extensions.d.ts.map +0 -1
- package/types/commands/fix-path.d.ts +0 -2
- package/types/commands/fix-path.d.ts.map +0 -1
- package/types/commands/fmt.d.ts +0 -3
- package/types/commands/fmt.d.ts.map +0 -1
- package/types/commands/generate.d.ts +0 -3
- package/types/commands/generate.d.ts.map +0 -1
- package/types/commands/i18n.d.ts +0 -4
- package/types/commands/i18n.d.ts.map +0 -1
- package/types/commands/import-module.d.ts +0 -4
- package/types/commands/import-module.d.ts.map +0 -1
- package/types/commands/lint-cache.d.ts +0 -2
- package/types/commands/lint-cache.d.ts.map +0 -1
- package/types/commands/lint.d.ts +0 -3
- package/types/commands/lint.d.ts.map +0 -1
- package/types/commands/lsp.d.ts +0 -3
- package/types/commands/lsp.d.ts.map +0 -1
- package/types/commands/mcp.d.ts +0 -3
- package/types/commands/mcp.d.ts.map +0 -1
- package/types/commands/migrate.d.ts +0 -3
- package/types/commands/migrate.d.ts.map +0 -1
- package/types/commands/new.d.ts +0 -3
- package/types/commands/new.d.ts.map +0 -1
- package/types/commands/not-found.d.ts +0 -3
- package/types/commands/not-found.d.ts.map +0 -1
- package/types/commands/project-checks.d.ts +0 -4
- package/types/commands/project-checks.d.ts.map +0 -1
- package/types/commands/registry.d.ts +0 -13
- package/types/commands/registry.d.ts.map +0 -1
- package/types/commands/render.d.ts +0 -3
- package/types/commands/render.d.ts.map +0 -1
- package/types/commands/routes.d.ts +0 -18
- package/types/commands/routes.d.ts.map +0 -1
- package/types/commands/screenshot.d.ts +0 -3
- package/types/commands/screenshot.d.ts.map +0 -1
- package/types/commands/start.d.ts +0 -3
- package/types/commands/start.d.ts.map +0 -1
- package/types/commands/test.d.ts +0 -3
- package/types/commands/test.d.ts.map +0 -1
- package/types/commands/types.d.ts +0 -3
- package/types/commands/types.d.ts.map +0 -1
- package/types/commands/upgrade-majors.d.ts +0 -7
- package/types/commands/upgrade-majors.d.ts.map +0 -1
- package/types/commands/upgrade-manifest.d.ts +0 -6
- package/types/commands/upgrade-manifest.d.ts.map +0 -1
- package/types/commands/upgrade-messages.d.ts +0 -4
- package/types/commands/upgrade-messages.d.ts.map +0 -1
- package/types/commands/upgrade-peers.d.ts +0 -23
- package/types/commands/upgrade-peers.d.ts.map +0 -1
- package/types/commands/upgrade.d.ts +0 -50
- package/types/commands/upgrade.d.ts.map +0 -1
- package/types/compiler/a11y-markup.d.ts +0 -81
- package/types/compiler/a11y-markup.d.ts.map +0 -1
- package/types/compiler/a11y.d.ts +0 -4
- package/types/compiler/a11y.d.ts.map +0 -1
- package/types/compiler/allow-comments.d.ts +0 -22
- package/types/compiler/allow-comments.d.ts.map +0 -1
- package/types/compiler/aria.d.ts +0 -10
- package/types/compiler/aria.d.ts.map +0 -1
- package/types/compiler/ast.d.ts +0 -283
- package/types/compiler/ast.d.ts.map +0 -1
- package/types/compiler/bound-props.d.ts +0 -17
- package/types/compiler/bound-props.d.ts.map +0 -1
- package/types/compiler/browser.d.ts +0 -23
- package/types/compiler/browser.d.ts.map +0 -1
- package/types/compiler/button-forms.d.ts +0 -3
- package/types/compiler/button-forms.d.ts.map +0 -1
- package/types/compiler/class-items.d.ts +0 -7
- package/types/compiler/class-items.d.ts.map +0 -1
- package/types/compiler/class-name.d.ts +0 -10
- package/types/compiler/class-name.d.ts.map +0 -1
- package/types/compiler/codegen.d.ts +0 -66
- package/types/compiler/codegen.d.ts.map +0 -1
- package/types/compiler/dead-code.d.ts +0 -9
- package/types/compiler/dead-code.d.ts.map +0 -1
- package/types/compiler/deprecated-library.d.ts +0 -4
- package/types/compiler/deprecated-library.d.ts.map +0 -1
- package/types/compiler/deprecated-lints-1-106.d.ts +0 -12
- package/types/compiler/deprecated-lints-1-106.d.ts.map +0 -1
- package/types/compiler/deprecated-lints-1-107.d.ts +0 -12
- package/types/compiler/deprecated-lints-1-107.d.ts.map +0 -1
- package/types/compiler/deprecated-lints.d.ts +0 -33
- package/types/compiler/deprecated-lints.d.ts.map +0 -1
- package/types/compiler/deprecated-ui-props.d.ts +0 -7
- package/types/compiler/deprecated-ui-props.d.ts.map +0 -1
- package/types/compiler/diagnostics.d.ts +0 -16
- package/types/compiler/diagnostics.d.ts.map +0 -1
- package/types/compiler/dom-fields.d.ts +0 -7
- package/types/compiler/dom-fields.d.ts.map +0 -1
- package/types/compiler/dom-here.d.ts +0 -14
- package/types/compiler/dom-here.d.ts.map +0 -1
- package/types/compiler/dom-property.d.ts +0 -9
- package/types/compiler/dom-property.d.ts.map +0 -1
- package/types/compiler/dom.d.ts +0 -47
- package/types/compiler/dom.d.ts.map +0 -1
- package/types/compiler/each-node.d.ts +0 -3
- package/types/compiler/each-node.d.ts.map +0 -1
- package/types/compiler/else-problem.d.ts +0 -5
- package/types/compiler/else-problem.d.ts.map +0 -1
- package/types/compiler/errors.d.ts +0 -838
- package/types/compiler/errors.d.ts.map +0 -1
- package/types/compiler/estree-shapes.d.ts +0 -17
- package/types/compiler/estree-shapes.d.ts.map +0 -1
- package/types/compiler/estree.d.ts +0 -36
- package/types/compiler/estree.d.ts.map +0 -1
- package/types/compiler/event-modifiers.d.ts +0 -12
- package/types/compiler/event-modifiers.d.ts.map +0 -1
- package/types/compiler/expression.d.ts +0 -8
- package/types/compiler/expression.d.ts.map +0 -1
- package/types/compiler/fence-checks.d.ts +0 -12
- package/types/compiler/fence-checks.d.ts.map +0 -1
- package/types/compiler/fence-nodes.d.ts +0 -6
- package/types/compiler/fence-nodes.d.ts.map +0 -1
- package/types/compiler/fence-redirects.d.ts +0 -4
- package/types/compiler/fence-redirects.d.ts.map +0 -1
- package/types/compiler/field-described.d.ts +0 -6
- package/types/compiler/field-described.d.ts.map +0 -1
- package/types/compiler/fnv-hash.d.ts +0 -2
- package/types/compiler/fnv-hash.d.ts.map +0 -1
- package/types/compiler/form-action.d.ts +0 -8
- package/types/compiler/form-action.d.ts.map +0 -1
- package/types/compiler/form-info.d.ts +0 -29
- package/types/compiler/form-info.d.ts.map +0 -1
- package/types/compiler/format.d.ts +0 -11
- package/types/compiler/format.d.ts.map +0 -1
- package/types/compiler/frame.d.ts +0 -17
- package/types/compiler/frame.d.ts.map +0 -1
- package/types/compiler/globals.d.ts +0 -4
- package/types/compiler/globals.d.ts.map +0 -1
- package/types/compiler/hand-parts.d.ts +0 -10
- package/types/compiler/hand-parts.d.ts.map +0 -1
- package/types/compiler/handed-data.d.ts +0 -5
- package/types/compiler/handed-data.d.ts.map +0 -1
- package/types/compiler/head-shorthand.d.ts +0 -16
- package/types/compiler/head-shorthand.d.ts.map +0 -1
- package/types/compiler/head-tags.d.ts +0 -7
- package/types/compiler/head-tags.d.ts.map +0 -1
- package/types/compiler/helper-imports.d.ts +0 -5
- package/types/compiler/helper-imports.d.ts.map +0 -1
- package/types/compiler/host.browser.d.ts +0 -8
- package/types/compiler/host.browser.d.ts.map +0 -1
- package/types/compiler/host.d.ts +0 -13
- package/types/compiler/host.d.ts.map +0 -1
- package/types/compiler/html-fields.d.ts +0 -19
- package/types/compiler/html-fields.d.ts.map +0 -1
- package/types/compiler/html-initial.d.ts +0 -17
- package/types/compiler/html-initial.d.ts.map +0 -1
- package/types/compiler/html-parts.d.ts +0 -13
- package/types/compiler/html-parts.d.ts.map +0 -1
- package/types/compiler/html.d.ts +0 -50
- package/types/compiler/html.d.ts.map +0 -1
- package/types/compiler/i18n-lints.d.ts +0 -27
- package/types/compiler/i18n-lints.d.ts.map +0 -1
- package/types/compiler/if-alias.d.ts +0 -7
- package/types/compiler/if-alias.d.ts.map +0 -1
- package/types/compiler/image-attributes.d.ts +0 -21
- package/types/compiler/image-attributes.d.ts.map +0 -1
- package/types/compiler/import-edits.d.ts +0 -6
- package/types/compiler/import-edits.d.ts.map +0 -1
- package/types/compiler/index.d.ts +0 -67
- package/types/compiler/index.d.ts.map +0 -1
- package/types/compiler/inspect.d.ts +0 -3
- package/types/compiler/inspect.d.ts.map +0 -1
- package/types/compiler/island-arguments.d.ts +0 -14
- package/types/compiler/island-arguments.d.ts.map +0 -1
- package/types/compiler/island-cause.d.ts +0 -14
- package/types/compiler/island-cause.d.ts.map +0 -1
- package/types/compiler/island-declaration.d.ts +0 -33
- package/types/compiler/island-declaration.d.ts.map +0 -1
- package/types/compiler/island-lints.d.ts +0 -17
- package/types/compiler/island-lints.d.ts.map +0 -1
- package/types/compiler/island-marker.d.ts +0 -4
- package/types/compiler/island-marker.d.ts.map +0 -1
- package/types/compiler/island-problems.d.ts +0 -7
- package/types/compiler/island-problems.d.ts.map +0 -1
- package/types/compiler/items.d.ts +0 -92
- package/types/compiler/items.d.ts.map +0 -1
- package/types/compiler/jsx-class.d.ts +0 -7
- package/types/compiler/jsx-class.d.ts.map +0 -1
- package/types/compiler/jsx-entities.d.ts +0 -2
- package/types/compiler/jsx-entities.d.ts.map +0 -1
- package/types/compiler/jsx-field.d.ts +0 -13
- package/types/compiler/jsx-field.d.ts.map +0 -1
- package/types/compiler/jsx.d.ts +0 -50
- package/types/compiler/jsx.d.ts.map +0 -1
- package/types/compiler/kay-exports.d.ts +0 -5
- package/types/compiler/kay-exports.d.ts.map +0 -1
- package/types/compiler/lazy-imports.d.ts +0 -33
- package/types/compiler/lazy-imports.d.ts.map +0 -1
- package/types/compiler/link-flags.d.ts +0 -12
- package/types/compiler/link-flags.d.ts.map +0 -1
- package/types/compiler/lints.d.ts +0 -891
- package/types/compiler/lints.d.ts.map +0 -1
- package/types/compiler/live-reads.d.ts +0 -13
- package/types/compiler/live-reads.d.ts.map +0 -1
- package/types/compiler/load-facts.d.ts +0 -11
- package/types/compiler/load-facts.d.ts.map +0 -1
- package/types/compiler/load-plan.d.ts +0 -11
- package/types/compiler/load-plan.d.ts.map +0 -1
- package/types/compiler/loop-lints.d.ts +0 -13
- package/types/compiler/loop-lints.d.ts.map +0 -1
- package/types/compiler/mapping.d.ts +0 -74
- package/types/compiler/mapping.d.ts.map +0 -1
- package/types/compiler/markdown-block.d.ts +0 -42
- package/types/compiler/markdown-block.d.ts.map +0 -1
- package/types/compiler/markup-fields.d.ts +0 -8
- package/types/compiler/markup-fields.d.ts.map +0 -1
- package/types/compiler/markup.d.ts +0 -142
- package/types/compiler/markup.d.ts.map +0 -1
- package/types/compiler/minor.d.ts +0 -3
- package/types/compiler/minor.d.ts.map +0 -1
- package/types/compiler/module-signals.d.ts +0 -20
- package/types/compiler/module-signals.d.ts.map +0 -1
- package/types/compiler/names.d.ts +0 -26
- package/types/compiler/names.d.ts.map +0 -1
- package/types/compiler/native-typescript.d.ts +0 -5
- package/types/compiler/native-typescript.d.ts.map +0 -1
- package/types/compiler/nesting.d.ts +0 -3
- package/types/compiler/nesting.d.ts.map +0 -1
- package/types/compiler/object-literal.d.ts +0 -13
- package/types/compiler/object-literal.d.ts.map +0 -1
- package/types/compiler/own-markup.d.ts +0 -4
- package/types/compiler/own-markup.d.ts.map +0 -1
- package/types/compiler/page-settings.d.ts +0 -13
- package/types/compiler/page-settings.d.ts.map +0 -1
- package/types/compiler/parser.d.ts +0 -3
- package/types/compiler/parser.d.ts.map +0 -1
- package/types/compiler/pattern-names.d.ts +0 -4
- package/types/compiler/pattern-names.d.ts.map +0 -1
- package/types/compiler/plan.d.ts +0 -115
- package/types/compiler/plan.d.ts.map +0 -1
- package/types/compiler/public.d.ts +0 -4
- package/types/compiler/public.d.ts.map +0 -1
- package/types/compiler/removed-lints.d.ts +0 -3
- package/types/compiler/removed-lints.d.ts.map +0 -1
- package/types/compiler/rest-omits.d.ts +0 -4
- package/types/compiler/rest-omits.d.ts.map +0 -1
- package/types/compiler/rewrite-reads.d.ts +0 -69
- package/types/compiler/rewrite-reads.d.ts.map +0 -1
- package/types/compiler/rewrite-scan.d.ts +0 -11
- package/types/compiler/rewrite-scan.d.ts.map +0 -1
- package/types/compiler/rewrite-tags.d.ts +0 -4
- package/types/compiler/rewrite-tags.d.ts.map +0 -1
- package/types/compiler/rewrite-types.d.ts +0 -56
- package/types/compiler/rewrite-types.d.ts.map +0 -1
- package/types/compiler/rewrite.d.ts +0 -3
- package/types/compiler/rewrite.d.ts.map +0 -1
- package/types/compiler/route-lints.d.ts +0 -89
- package/types/compiler/route-lints.d.ts.map +0 -1
- package/types/compiler/scanner.d.ts +0 -12
- package/types/compiler/scanner.d.ts.map +0 -1
- package/types/compiler/schema-lints.d.ts +0 -11
- package/types/compiler/schema-lints.d.ts.map +0 -1
- package/types/compiler/scope.d.ts +0 -56
- package/types/compiler/scope.d.ts.map +0 -1
- package/types/compiler/scoped-style.d.ts +0 -28
- package/types/compiler/scoped-style.d.ts.map +0 -1
- package/types/compiler/script-fence.d.ts +0 -5
- package/types/compiler/script-fence.d.ts.map +0 -1
- package/types/compiler/script-props.d.ts +0 -7
- package/types/compiler/script-props.d.ts.map +0 -1
- package/types/compiler/script-recipe.d.ts +0 -15
- package/types/compiler/script-recipe.d.ts.map +0 -1
- package/types/compiler/script-server.d.ts +0 -53
- package/types/compiler/script-server.d.ts.map +0 -1
- package/types/compiler/script-shared.d.ts +0 -79
- package/types/compiler/script-shared.d.ts.map +0 -1
- package/types/compiler/script-split.d.ts +0 -21
- package/types/compiler/script-split.d.ts.map +0 -1
- package/types/compiler/script.d.ts +0 -12
- package/types/compiler/script.d.ts.map +0 -1
- package/types/compiler/serial-awaits.d.ts +0 -13
- package/types/compiler/serial-awaits.d.ts.map +0 -1
- package/types/compiler/server-imports.d.ts +0 -4
- package/types/compiler/server-imports.d.ts.map +0 -1
- package/types/compiler/signal-from-prop.d.ts +0 -4
- package/types/compiler/signal-from-prop.d.ts.map +0 -1
- package/types/compiler/slot-types.d.ts +0 -13
- package/types/compiler/slot-types.d.ts.map +0 -1
- package/types/compiler/status-pages.d.ts +0 -5
- package/types/compiler/status-pages.d.ts.map +0 -1
- package/types/compiler/style-arguments.d.ts +0 -6
- package/types/compiler/style-arguments.d.ts.map +0 -1
- package/types/compiler/style-lints.d.ts +0 -3
- package/types/compiler/style-lints.d.ts.map +0 -1
- package/types/compiler/template-reads.d.ts +0 -10
- package/types/compiler/template-reads.d.ts.map +0 -1
- package/types/compiler/template-scopes.d.ts +0 -11
- package/types/compiler/template-scopes.d.ts.map +0 -1
- package/types/compiler/template-walk.d.ts +0 -7
- package/types/compiler/template-walk.d.ts.map +0 -1
- package/types/compiler/twin.d.ts +0 -3
- package/types/compiler/twin.d.ts.map +0 -1
- package/types/compiler/type-parameters.d.ts +0 -3
- package/types/compiler/type-parameters.d.ts.map +0 -1
- package/types/compiler/unowned-effects.d.ts +0 -3
- package/types/compiler/unowned-effects.d.ts.map +0 -1
- package/types/compiler/validate-fields.d.ts +0 -10
- package/types/compiler/validate-fields.d.ts.map +0 -1
- package/types/compiler/validate-fixes.d.ts +0 -16
- package/types/compiler/validate-fixes.d.ts.map +0 -1
- package/types/compiler/validate.d.ts +0 -14
- package/types/compiler/validate.d.ts.map +0 -1
- package/types/compiler/walk.d.ts +0 -15
- package/types/compiler/walk.d.ts.map +0 -1
- package/types/config-extensions.d.ts +0 -22
- package/types/config-extensions.d.ts.map +0 -1
- package/types/config-loader.d.ts +0 -10
- package/types/config-loader.d.ts.map +0 -1
- package/types/config-resolve.d.ts +0 -3
- package/types/config-resolve.d.ts.map +0 -1
- package/types/config-rules.d.ts +0 -27
- package/types/config-rules.d.ts.map +0 -1
- package/types/config-shape.d.ts +0 -9
- package/types/config-shape.d.ts.map +0 -1
- package/types/config-switch.d.ts +0 -10
- package/types/config-switch.d.ts.map +0 -1
- package/types/config.d.ts +0 -478
- package/types/config.d.ts.map +0 -1
- package/types/content/claims.d.ts +0 -26
- package/types/content/claims.d.ts.map +0 -1
- package/types/content/drafts.d.ts +0 -10
- package/types/content/drafts.d.ts.map +0 -1
- package/types/content/edit-entries.d.ts +0 -73
- package/types/content/edit-entries.d.ts.map +0 -1
- package/types/content/edit-fields.d.ts +0 -55
- package/types/content/edit-fields.d.ts.map +0 -1
- package/types/content/edit-registry.d.ts +0 -9
- package/types/content/edit-registry.d.ts.map +0 -1
- package/types/content/edit-shared.d.ts +0 -129
- package/types/content/edit-shared.d.ts.map +0 -1
- package/types/content/edit.d.ts +0 -6
- package/types/content/edit.d.ts.map +0 -1
- package/types/content/entry-head.d.ts +0 -15
- package/types/content/entry-head.d.ts.map +0 -1
- package/types/content/entry-route.d.ts +0 -2
- package/types/content/entry-route.d.ts.map +0 -1
- package/types/content/excerpt.d.ts +0 -7
- package/types/content/excerpt.d.ts.map +0 -1
- package/types/content/feed.d.ts +0 -55
- package/types/content/feed.d.ts.map +0 -1
- package/types/content/heading-id.d.ts +0 -10
- package/types/content/heading-id.d.ts.map +0 -1
- package/types/content/held-back.d.ts +0 -7
- package/types/content/held-back.d.ts.map +0 -1
- package/types/content/humanize.d.ts +0 -2
- package/types/content/humanize.d.ts.map +0 -1
- package/types/content/images.d.ts +0 -23
- package/types/content/images.d.ts.map +0 -1
- package/types/content/index.d.ts +0 -166
- package/types/content/index.d.ts.map +0 -1
- package/types/content/key.d.ts +0 -5
- package/types/content/key.d.ts.map +0 -1
- package/types/content/load.d.ts +0 -93
- package/types/content/load.d.ts.map +0 -1
- package/types/content/markdown-extensions.d.ts +0 -5
- package/types/content/markdown-extensions.d.ts.map +0 -1
- package/types/content/markdown.d.ts +0 -92
- package/types/content/markdown.d.ts.map +0 -1
- package/types/content/migrate.d.ts +0 -25
- package/types/content/migrate.d.ts.map +0 -1
- package/types/content/modified.d.ts +0 -8
- package/types/content/modified.d.ts.map +0 -1
- package/types/content/paginate.d.ts +0 -24
- package/types/content/paginate.d.ts.map +0 -1
- package/types/content/problems.d.ts +0 -2
- package/types/content/problems.d.ts.map +0 -1
- package/types/content/references.d.ts +0 -16
- package/types/content/references.d.ts.map +0 -1
- package/types/content/rewrite.d.ts +0 -14
- package/types/content/rewrite.d.ts.map +0 -1
- package/types/content/server.d.ts +0 -30
- package/types/content/server.d.ts.map +0 -1
- package/types/content/source-draft.d.ts +0 -10
- package/types/content/source-draft.d.ts.map +0 -1
- package/types/content/turns.d.ts +0 -8
- package/types/content/turns.d.ts.map +0 -1
- package/types/content/validate.d.ts +0 -32
- package/types/content/validate.d.ts.map +0 -1
- package/types/dev/address.d.ts +0 -5
- package/types/dev/address.d.ts.map +0 -1
- package/types/dev/base-proxy.d.ts +0 -5
- package/types/dev/base-proxy.d.ts.map +0 -1
- package/types/dev/builder.d.ts +0 -16
- package/types/dev/builder.d.ts.map +0 -1
- package/types/dev/client.d.ts +0 -10
- package/types/dev/client.d.ts.map +0 -1
- package/types/dev/config-record.d.ts +0 -3
- package/types/dev/config-record.d.ts.map +0 -1
- package/types/dev/fingerprint.d.ts +0 -29
- package/types/dev/fingerprint.d.ts.map +0 -1
- package/types/dev/index.d.ts +0 -32
- package/types/dev/index.d.ts.map +0 -1
- package/types/dev/inspector.d.ts +0 -9
- package/types/dev/inspector.d.ts.map +0 -1
- package/types/dev/loopback.d.ts +0 -3
- package/types/dev/loopback.d.ts.map +0 -1
- package/types/dev/pages.d.ts +0 -2
- package/types/dev/pages.d.ts.map +0 -1
- package/types/dev/preload.d.ts +0 -3
- package/types/dev/preload.d.ts.map +0 -1
- package/types/dev/refuse.d.ts +0 -20
- package/types/dev/refuse.d.ts.map +0 -1
- package/types/dev/reload.d.ts +0 -20
- package/types/dev/reload.d.ts.map +0 -1
- package/types/dev/render-server.d.ts +0 -18
- package/types/dev/render-server.d.ts.map +0 -1
- package/types/dev/render-socket.d.ts +0 -2
- package/types/dev/render-socket.d.ts.map +0 -1
- package/types/dev/screenshot-diff.d.ts +0 -13
- package/types/dev/screenshot-diff.d.ts.map +0 -1
- package/types/dev/screenshot-limits.d.ts +0 -8
- package/types/dev/screenshot-limits.d.ts.map +0 -1
- package/types/dev/screenshot.d.ts +0 -62
- package/types/dev/screenshot.d.ts.map +0 -1
- package/types/dev/session/client.d.ts +0 -37
- package/types/dev/session/client.d.ts.map +0 -1
- package/types/dev/session/keys.d.ts +0 -8
- package/types/dev/session/keys.d.ts.map +0 -1
- package/types/dev/session/ports.d.ts +0 -18
- package/types/dev/session/ports.d.ts.map +0 -1
- package/types/dev/session/queue.d.ts +0 -30
- package/types/dev/session/queue.d.ts.map +0 -1
- package/types/dev/session/report.d.ts +0 -30
- package/types/dev/session/report.d.ts.map +0 -1
- package/types/dev/session/servers.d.ts +0 -73
- package/types/dev/session/servers.d.ts.map +0 -1
- package/types/dev/session/types.d.ts +0 -51
- package/types/dev/session/types.d.ts.map +0 -1
- package/types/dev/sources.d.ts +0 -14
- package/types/dev/sources.d.ts.map +0 -1
- package/types/dev/tailwind.d.ts +0 -5
- package/types/dev/tailwind.d.ts.map +0 -1
- package/types/dev/types-process.d.ts +0 -27
- package/types/dev/types-process.d.ts.map +0 -1
- package/types/dev/types.d.ts +0 -2
- package/types/dev/types.d.ts.map +0 -1
- package/types/docs-props.d.ts +0 -10
- package/types/docs-props.d.ts.map +0 -1
- package/types/docs-search.d.ts +0 -40
- package/types/docs-search.d.ts.map +0 -1
- package/types/editors.d.ts +0 -30
- package/types/editors.d.ts.map +0 -1
- package/types/entities.d.ts +0 -2
- package/types/entities.d.ts.map +0 -1
- package/types/eslint/index.d.ts +0 -51
- package/types/eslint/index.d.ts.map +0 -1
- package/types/features.d.ts +0 -10
- package/types/features.d.ts.map +0 -1
- package/types/format/index.d.ts +0 -16
- package/types/format/index.d.ts.map +0 -1
- package/types/format/tailwind.d.ts +0 -15
- package/types/format/tailwind.d.ts.map +0 -1
- package/types/generate-resource.d.ts +0 -27
- package/types/generate-resource.d.ts.map +0 -1
- package/types/generate.d.ts +0 -17
- package/types/generate.d.ts.map +0 -1
- package/types/imports.d.ts +0 -2
- package/types/imports.d.ts.map +0 -1
- package/types/input-types.d.ts +0 -2
- package/types/input-types.d.ts.map +0 -1
- package/types/keyword-attributes.d.ts +0 -6
- package/types/keyword-attributes.d.ts.map +0 -1
- package/types/lsp/bridge.d.ts +0 -14
- package/types/lsp/bridge.d.ts.map +0 -1
- package/types/lsp/code-actions.d.ts +0 -7
- package/types/lsp/code-actions.d.ts.map +0 -1
- package/types/lsp/completions.d.ts +0 -20
- package/types/lsp/completions.d.ts.map +0 -1
- package/types/lsp/component-props.d.ts +0 -10
- package/types/lsp/component-props.d.ts.map +0 -1
- package/types/lsp/diagnostics.d.ts +0 -25
- package/types/lsp/diagnostics.d.ts.map +0 -1
- package/types/lsp/document-links.d.ts +0 -7
- package/types/lsp/document-links.d.ts.map +0 -1
- package/types/lsp/host.d.ts +0 -72
- package/types/lsp/host.d.ts.map +0 -1
- package/types/lsp/island-lens.d.ts +0 -14
- package/types/lsp/island-lens.d.ts.map +0 -1
- package/types/lsp/mapping.d.ts +0 -25
- package/types/lsp/mapping.d.ts.map +0 -1
- package/types/lsp/navigation.d.ts +0 -29
- package/types/lsp/navigation.d.ts.map +0 -1
- package/types/lsp/outline.d.ts +0 -4
- package/types/lsp/outline.d.ts.map +0 -1
- package/types/lsp/positions.d.ts +0 -4
- package/types/lsp/positions.d.ts.map +0 -1
- package/types/lsp/project-checks.d.ts +0 -20
- package/types/lsp/project-checks.d.ts.map +0 -1
- package/types/lsp/protocol.d.ts +0 -172
- package/types/lsp/protocol.d.ts.map +0 -1
- package/types/lsp/range-format.d.ts +0 -7
- package/types/lsp/range-format.d.ts.map +0 -1
- package/types/lsp/rename.d.ts +0 -13
- package/types/lsp/rename.d.ts.map +0 -1
- package/types/lsp/renames.d.ts +0 -9
- package/types/lsp/renames.d.ts.map +0 -1
- package/types/lsp/route-documents.d.ts +0 -4
- package/types/lsp/route-documents.d.ts.map +0 -1
- package/types/lsp/route-links.d.ts +0 -9
- package/types/lsp/route-links.d.ts.map +0 -1
- package/types/lsp/rpc.d.ts +0 -40
- package/types/lsp/rpc.d.ts.map +0 -1
- package/types/lsp/semantic-tokens.d.ts +0 -6
- package/types/lsp/semantic-tokens.d.ts.map +0 -1
- package/types/lsp/server.d.ts +0 -61
- package/types/lsp/server.d.ts.map +0 -1
- package/types/lsp/template-completion.d.ts +0 -54
- package/types/lsp/template-completion.d.ts.map +0 -1
- package/types/lsp/ui-completion.d.ts +0 -19
- package/types/lsp/ui-completion.d.ts.map +0 -1
- package/types/mcp/guards.d.ts +0 -6
- package/types/mcp/guards.d.ts.map +0 -1
- package/types/mcp/install.d.ts +0 -2
- package/types/mcp/install.d.ts.map +0 -1
- package/types/mcp/protocol.d.ts +0 -88
- package/types/mcp/protocol.d.ts.map +0 -1
- package/types/mcp/tools.d.ts +0 -9
- package/types/mcp/tools.d.ts.map +0 -1
- package/types/migrate/astro.d.ts +0 -27
- package/types/migrate/astro.d.ts.map +0 -1
- package/types/migrate/content.d.ts +0 -3
- package/types/migrate/content.d.ts.map +0 -1
- package/types/migrate/html.d.ts +0 -7
- package/types/migrate/html.d.ts.map +0 -1
- package/types/migrate/markup.d.ts +0 -25
- package/types/migrate/markup.d.ts.map +0 -1
- package/types/migrate/project.d.ts +0 -17
- package/types/migrate/project.d.ts.map +0 -1
- package/types/native-plugins.d.ts +0 -2
- package/types/native-plugins.d.ts.map +0 -1
- package/types/nearest.d.ts +0 -2
- package/types/nearest.d.ts.map +0 -1
- package/types/new.d.ts +0 -35
- package/types/new.d.ts.map +0 -1
- package/types/package-names.d.ts +0 -6
- package/types/package-names.d.ts.map +0 -1
- package/types/peers.d.ts +0 -14
- package/types/peers.d.ts.map +0 -1
- package/types/project.d.ts +0 -66
- package/types/project.d.ts.map +0 -1
- package/types/runtime/action-call.d.ts +0 -19
- package/types/runtime/action-call.d.ts.map +0 -1
- package/types/runtime/action-encode.d.ts +0 -11
- package/types/runtime/action-encode.d.ts.map +0 -1
- package/types/runtime/action-error.d.ts +0 -15
- package/types/runtime/action-error.d.ts.map +0 -1
- package/types/runtime/action-form.d.ts +0 -36
- package/types/runtime/action-form.d.ts.map +0 -1
- package/types/runtime/action-marks.d.ts +0 -5
- package/types/runtime/action-marks.d.ts.map +0 -1
- package/types/runtime/action-navigate.d.ts +0 -7
- package/types/runtime/action-navigate.d.ts.map +0 -1
- package/types/runtime/action-owner.d.ts +0 -16
- package/types/runtime/action-owner.d.ts.map +0 -1
- package/types/runtime/action-post.d.ts +0 -8
- package/types/runtime/action-post.d.ts.map +0 -1
- package/types/runtime/action-protection.d.ts +0 -15
- package/types/runtime/action-protection.d.ts.map +0 -1
- package/types/runtime/action-revive.d.ts +0 -3
- package/types/runtime/action-revive.d.ts.map +0 -1
- package/types/runtime/action-reviver.d.ts +0 -2
- package/types/runtime/action-reviver.d.ts.map +0 -1
- package/types/runtime/action-run.d.ts +0 -23
- package/types/runtime/action-run.d.ts.map +0 -1
- package/types/runtime/action-shared.d.ts +0 -323
- package/types/runtime/action-shared.d.ts.map +0 -1
- package/types/runtime/action-stream.d.ts +0 -8
- package/types/runtime/action-stream.d.ts.map +0 -1
- package/types/runtime/action.d.ts +0 -57
- package/types/runtime/action.d.ts.map +0 -1
- package/types/runtime/analytics.client.d.ts +0 -3
- package/types/runtime/analytics.client.d.ts.map +0 -1
- package/types/runtime/announce.d.ts +0 -2
- package/types/runtime/announce.d.ts.map +0 -1
- package/types/runtime/api-error-class.d.ts +0 -9
- package/types/runtime/api-error-class.d.ts.map +0 -1
- package/types/runtime/api-error.d.ts +0 -17
- package/types/runtime/api-error.d.ts.map +0 -1
- package/types/runtime/api-url.d.ts +0 -24
- package/types/runtime/api-url.d.ts.map +0 -1
- package/types/runtime/arrival.d.ts +0 -5
- package/types/runtime/arrival.d.ts.map +0 -1
- package/types/runtime/await-failed.d.ts +0 -8
- package/types/runtime/await-failed.d.ts.map +0 -1
- package/types/runtime/await.d.ts +0 -4
- package/types/runtime/await.d.ts.map +0 -1
- package/types/runtime/await.server.d.ts +0 -29
- package/types/runtime/await.server.d.ts.map +0 -1
- package/types/runtime/base.d.ts +0 -12
- package/types/runtime/base.d.ts.map +0 -1
- package/types/runtime/build.d.ts +0 -2
- package/types/runtime/build.d.ts.map +0 -1
- package/types/runtime/button-form.d.ts +0 -3
- package/types/runtime/button-form.d.ts.map +0 -1
- package/types/runtime/byte-count.d.ts +0 -3
- package/types/runtime/byte-count.d.ts.map +0 -1
- package/types/runtime/byte-size.d.ts +0 -4
- package/types/runtime/byte-size.d.ts.map +0 -1
- package/types/runtime/cache-hooks.d.ts +0 -10
- package/types/runtime/cache-hooks.d.ts.map +0 -1
- package/types/runtime/cache-live-id.d.ts +0 -5
- package/types/runtime/cache-live-id.d.ts.map +0 -1
- package/types/runtime/cache.d.ts +0 -83
- package/types/runtime/cache.d.ts.map +0 -1
- package/types/runtime/cache.server.d.ts +0 -10
- package/types/runtime/cache.server.d.ts.map +0 -1
- package/types/runtime/call-body.d.ts +0 -6
- package/types/runtime/call-body.d.ts.map +0 -1
- package/types/runtime/call-result.d.ts +0 -40
- package/types/runtime/call-result.d.ts.map +0 -1
- package/types/runtime/checks.d.ts +0 -294
- package/types/runtime/checks.d.ts.map +0 -1
- package/types/runtime/claimed.d.ts +0 -3
- package/types/runtime/claimed.d.ts.map +0 -1
- package/types/runtime/class-table.d.ts +0 -7
- package/types/runtime/class-table.d.ts.map +0 -1
- package/types/runtime/client.d.ts +0 -15
- package/types/runtime/client.d.ts.map +0 -1
- package/types/runtime/connection.d.ts +0 -40
- package/types/runtime/connection.d.ts.map +0 -1
- package/types/runtime/consent.d.ts +0 -5
- package/types/runtime/consent.d.ts.map +0 -1
- package/types/runtime/core.d.ts +0 -193
- package/types/runtime/core.d.ts.map +0 -1
- package/types/runtime/counters.d.ts +0 -26
- package/types/runtime/counters.d.ts.map +0 -1
- package/types/runtime/described.d.ts +0 -9
- package/types/runtime/described.d.ts.map +0 -1
- package/types/runtime/dev-a11y.d.ts +0 -16
- package/types/runtime/dev-a11y.d.ts.map +0 -1
- package/types/runtime/dev-boot.d.ts +0 -14
- package/types/runtime/dev-boot.d.ts.map +0 -1
- package/types/runtime/dev-inspector.d.ts +0 -9
- package/types/runtime/dev-inspector.d.ts.map +0 -1
- package/types/runtime/dev-patch.d.ts +0 -2
- package/types/runtime/dev-patch.d.ts.map +0 -1
- package/types/runtime/dev-refresh.d.ts +0 -2
- package/types/runtime/dev-refresh.d.ts.map +0 -1
- package/types/runtime/dev-styles.d.ts +0 -3
- package/types/runtime/dev-styles.d.ts.map +0 -1
- package/types/runtime/dev-tab-data.d.ts +0 -3
- package/types/runtime/dev-tab-data.d.ts.map +0 -1
- package/types/runtime/dev-tab-env.d.ts +0 -3
- package/types/runtime/dev-tab-env.d.ts.map +0 -1
- package/types/runtime/dev-tab-head.d.ts +0 -3
- package/types/runtime/dev-tab-head.d.ts.map +0 -1
- package/types/runtime/dev-tab-i18n.d.ts +0 -3
- package/types/runtime/dev-tab-i18n.d.ts.map +0 -1
- package/types/runtime/dev-tab-images.d.ts +0 -3
- package/types/runtime/dev-tab-images.d.ts.map +0 -1
- package/types/runtime/dev-tab-jobs.d.ts +0 -3
- package/types/runtime/dev-tab-jobs.d.ts.map +0 -1
- package/types/runtime/dev-tab-network.d.ts +0 -3
- package/types/runtime/dev-tab-network.d.ts.map +0 -1
- package/types/runtime/dev-tab-not-found.d.ts +0 -3
- package/types/runtime/dev-tab-not-found.d.ts.map +0 -1
- package/types/runtime/dev-tab-performance.d.ts +0 -3
- package/types/runtime/dev-tab-performance.d.ts.map +0 -1
- package/types/runtime/dev-tab-reading.d.ts +0 -23
- package/types/runtime/dev-tab-reading.d.ts.map +0 -1
- package/types/runtime/dev-tab-routes.d.ts +0 -3
- package/types/runtime/dev-tab-routes.d.ts.map +0 -1
- package/types/runtime/dev-tab-styles.d.ts +0 -3
- package/types/runtime/dev-tab-styles.d.ts.map +0 -1
- package/types/runtime/dev-tool-constants.d.ts +0 -19
- package/types/runtime/dev-tool-constants.d.ts.map +0 -1
- package/types/runtime/dev-tool-icons.d.ts +0 -48
- package/types/runtime/dev-tool-icons.d.ts.map +0 -1
- package/types/runtime/dev-tool-keys.d.ts +0 -16
- package/types/runtime/dev-tool-keys.d.ts.map +0 -1
- package/types/runtime/dev-tool-kit.d.ts +0 -8
- package/types/runtime/dev-tool-kit.d.ts.map +0 -1
- package/types/runtime/dev-tool-layout.d.ts +0 -49
- package/types/runtime/dev-tool-layout.d.ts.map +0 -1
- package/types/runtime/dev-tool-markdown.d.ts +0 -2
- package/types/runtime/dev-tool-markdown.d.ts.map +0 -1
- package/types/runtime/dev-tool-outline.d.ts +0 -3
- package/types/runtime/dev-tool-outline.d.ts.map +0 -1
- package/types/runtime/dev-tool-parts.d.ts +0 -38
- package/types/runtime/dev-tool-parts.d.ts.map +0 -1
- package/types/runtime/dev-tool-problems.d.ts +0 -14
- package/types/runtime/dev-tool-problems.d.ts.map +0 -1
- package/types/runtime/dev-tool-request.d.ts +0 -5
- package/types/runtime/dev-tool-request.d.ts.map +0 -1
- package/types/runtime/dev-tool-shell.d.ts +0 -25
- package/types/runtime/dev-tool-shell.d.ts.map +0 -1
- package/types/runtime/dev-tool-style.d.ts +0 -2
- package/types/runtime/dev-tool-style.d.ts.map +0 -1
- package/types/runtime/dev-tool-swaps.d.ts +0 -10
- package/types/runtime/dev-tool-swaps.d.ts.map +0 -1
- package/types/runtime/dev-tool-tab-order.d.ts +0 -17
- package/types/runtime/dev-tool-tab-order.d.ts.map +0 -1
- package/types/runtime/dev-tool-tabs.d.ts +0 -24
- package/types/runtime/dev-tool-tabs.d.ts.map +0 -1
- package/types/runtime/dev-tool-vitals.d.ts +0 -13
- package/types/runtime/dev-tool-vitals.d.ts.map +0 -1
- package/types/runtime/dev-tool-window.d.ts +0 -18
- package/types/runtime/dev-tool-window.d.ts.map +0 -1
- package/types/runtime/dev-tool.d.ts +0 -75
- package/types/runtime/dev-tool.d.ts.map +0 -1
- package/types/runtime/dev-tool.public.d.ts +0 -4
- package/types/runtime/dev-tool.public.d.ts.map +0 -1
- package/types/runtime/dispatch.d.ts +0 -8
- package/types/runtime/dispatch.d.ts.map +0 -1
- package/types/runtime/dom-await.d.ts +0 -2
- package/types/runtime/dom-await.d.ts.map +0 -1
- package/types/runtime/dom-image.d.ts +0 -2
- package/types/runtime/dom-image.d.ts.map +0 -1
- package/types/runtime/dom-lazy.d.ts +0 -6
- package/types/runtime/dom-lazy.d.ts.map +0 -1
- package/types/runtime/dom-loop.d.ts +0 -4
- package/types/runtime/dom-loop.d.ts.map +0 -1
- package/types/runtime/dom-spread.d.ts +0 -3
- package/types/runtime/dom-spread.d.ts.map +0 -1
- package/types/runtime/dom-try.d.ts +0 -2
- package/types/runtime/dom-try.d.ts.map +0 -1
- package/types/runtime/dom.d.ts +0 -88
- package/types/runtime/dom.d.ts.map +0 -1
- package/types/runtime/draft-issues.d.ts +0 -19
- package/types/runtime/draft-issues.d.ts.map +0 -1
- package/types/runtime/duration-words.d.ts +0 -3
- package/types/runtime/duration-words.d.ts.map +0 -1
- package/types/runtime/duration.d.ts +0 -16
- package/types/runtime/duration.d.ts.map +0 -1
- package/types/runtime/edit.d.ts +0 -25
- package/types/runtime/edit.d.ts.map +0 -1
- package/types/runtime/element-size.d.ts +0 -7
- package/types/runtime/element-size.d.ts.map +0 -1
- package/types/runtime/email.d.ts +0 -3
- package/types/runtime/email.d.ts.map +0 -1
- package/types/runtime/ended-entry.d.ts +0 -3
- package/types/runtime/ended-entry.d.ts.map +0 -1
- package/types/runtime/env.d.ts +0 -26
- package/types/runtime/env.d.ts.map +0 -1
- package/types/runtime/escape.d.ts +0 -6
- package/types/runtime/escape.d.ts.map +0 -1
- package/types/runtime/fetch-island.d.ts +0 -6
- package/types/runtime/fetch-island.d.ts.map +0 -1
- package/types/runtime/field-errors.d.ts +0 -4
- package/types/runtime/field-errors.d.ts.map +0 -1
- package/types/runtime/field-refusal.d.ts +0 -37
- package/types/runtime/field-refusal.d.ts.map +0 -1
- package/types/runtime/fields.d.ts +0 -58
- package/types/runtime/fields.d.ts.map +0 -1
- package/types/runtime/fills.d.ts +0 -12
- package/types/runtime/fills.d.ts.map +0 -1
- package/types/runtime/focus.d.ts +0 -2
- package/types/runtime/focus.d.ts.map +0 -1
- package/types/runtime/follow-log.d.ts +0 -11
- package/types/runtime/follow-log.d.ts.map +0 -1
- package/types/runtime/form-controls.d.ts +0 -2
- package/types/runtime/form-controls.d.ts.map +0 -1
- package/types/runtime/form-hold.d.ts +0 -7
- package/types/runtime/form-hold.d.ts.map +0 -1
- package/types/runtime/form-protect.d.ts +0 -2
- package/types/runtime/form-protect.d.ts.map +0 -1
- package/types/runtime/form-submits.d.ts +0 -9
- package/types/runtime/form-submits.d.ts.map +0 -1
- package/types/runtime/form-types.d.ts +0 -6
- package/types/runtime/form-types.d.ts.map +0 -1
- package/types/runtime/form.d.ts +0 -21
- package/types/runtime/form.d.ts.map +0 -1
- package/types/runtime/forms.d.ts +0 -4
- package/types/runtime/forms.d.ts.map +0 -1
- package/types/runtime/french.d.ts +0 -6
- package/types/runtime/french.d.ts.map +0 -1
- package/types/runtime/head.d.ts +0 -40
- package/types/runtime/head.d.ts.map +0 -1
- package/types/runtime/html.d.ts +0 -77
- package/types/runtime/html.d.ts.map +0 -1
- package/types/runtime/hydrate-when.d.ts +0 -5
- package/types/runtime/hydrate-when.d.ts.map +0 -1
- package/types/runtime/i18n-links.d.ts +0 -9
- package/types/runtime/i18n-links.d.ts.map +0 -1
- package/types/runtime/i18n.client.d.ts +0 -23
- package/types/runtime/i18n.client.d.ts.map +0 -1
- package/types/runtime/i18n.d.ts +0 -127
- package/types/runtime/i18n.d.ts.map +0 -1
- package/types/runtime/i18n.server.d.ts +0 -22
- package/types/runtime/i18n.server.d.ts.map +0 -1
- package/types/runtime/icons.d.ts +0 -30
- package/types/runtime/icons.d.ts.map +0 -1
- package/types/runtime/image.d.ts +0 -103
- package/types/runtime/image.d.ts.map +0 -1
- package/types/runtime/image.public.d.ts +0 -3
- package/types/runtime/image.public.d.ts.map +0 -1
- package/types/runtime/in-view.d.ts +0 -12
- package/types/runtime/in-view.d.ts.map +0 -1
- package/types/runtime/index.d.ts +0 -87
- package/types/runtime/index.d.ts.map +0 -1
- package/types/runtime/install-prompt.d.ts +0 -17
- package/types/runtime/install-prompt.d.ts.map +0 -1
- package/types/runtime/internal.d.ts +0 -20
- package/types/runtime/internal.d.ts.map +0 -1
- package/types/runtime/invalid.d.ts +0 -3
- package/types/runtime/invalid.d.ts.map +0 -1
- package/types/runtime/invalidated-keys.d.ts +0 -2
- package/types/runtime/invalidated-keys.d.ts.map +0 -1
- package/types/runtime/island-request.d.ts +0 -3
- package/types/runtime/island-request.d.ts.map +0 -1
- package/types/runtime/island.client.d.ts +0 -4
- package/types/runtime/island.client.d.ts.map +0 -1
- package/types/runtime/island.server.d.ts +0 -36
- package/types/runtime/island.server.d.ts.map +0 -1
- package/types/runtime/jsx-runtime.d.ts +0 -2
- package/types/runtime/jsx-runtime.d.ts.map +0 -1
- package/types/runtime/jsx.d.ts +0 -293
- package/types/runtime/jsx.d.ts.map +0 -1
- package/types/runtime/kay-error.d.ts +0 -14
- package/types/runtime/kay-error.d.ts.map +0 -1
- package/types/runtime/keepalive.d.ts +0 -4
- package/types/runtime/keepalive.d.ts.map +0 -1
- package/types/runtime/lasting.d.ts +0 -2
- package/types/runtime/lasting.d.ts.map +0 -1
- package/types/runtime/leave.d.ts +0 -6
- package/types/runtime/leave.d.ts.map +0 -1
- package/types/runtime/listen-with.d.ts +0 -2
- package/types/runtime/listen-with.d.ts.map +0 -1
- package/types/runtime/listener-set.d.ts +0 -5
- package/types/runtime/listener-set.d.ts.map +0 -1
- package/types/runtime/live-cache.d.ts +0 -5
- package/types/runtime/live-cache.d.ts.map +0 -1
- package/types/runtime/live-props.d.ts +0 -2
- package/types/runtime/live-props.d.ts.map +0 -1
- package/types/runtime/live-resource.server.d.ts +0 -13
- package/types/runtime/live-resource.server.d.ts.map +0 -1
- package/types/runtime/live-revalidate.d.ts +0 -9
- package/types/runtime/live-revalidate.d.ts.map +0 -1
- package/types/runtime/live-value.client.d.ts +0 -8
- package/types/runtime/live-value.client.d.ts.map +0 -1
- package/types/runtime/live-value.d.ts +0 -16
- package/types/runtime/live-value.d.ts.map +0 -1
- package/types/runtime/live-value.server.d.ts +0 -30
- package/types/runtime/live-value.server.d.ts.map +0 -1
- package/types/runtime/live-value.shared.d.ts +0 -85
- package/types/runtime/live-value.shared.d.ts.map +0 -1
- package/types/runtime/live.d.ts +0 -280
- package/types/runtime/live.d.ts.map +0 -1
- package/types/runtime/load-scope.d.ts +0 -9
- package/types/runtime/load-scope.d.ts.map +0 -1
- package/types/runtime/local-status.d.ts +0 -4
- package/types/runtime/local-status.d.ts.map +0 -1
- package/types/runtime/local-types.d.ts +0 -72
- package/types/runtime/local-types.d.ts.map +0 -1
- package/types/runtime/local.d.ts +0 -6
- package/types/runtime/local.d.ts.map +0 -1
- package/types/runtime/locale-state.d.ts +0 -18
- package/types/runtime/locale-state.d.ts.map +0 -1
- package/types/runtime/localized.d.ts +0 -4
- package/types/runtime/localized.d.ts.map +0 -1
- package/types/runtime/log.d.ts +0 -8
- package/types/runtime/log.d.ts.map +0 -1
- package/types/runtime/markdown-autolink.d.ts +0 -11
- package/types/runtime/markdown-autolink.d.ts.map +0 -1
- package/types/runtime/markdown-render.client.d.ts +0 -4
- package/types/runtime/markdown-render.client.d.ts.map +0 -1
- package/types/runtime/markdown-task.d.ts +0 -2
- package/types/runtime/markdown-task.d.ts.map +0 -1
- package/types/runtime/markdown.client.d.ts +0 -8
- package/types/runtime/markdown.client.d.ts.map +0 -1
- package/types/runtime/markdown.d.ts +0 -19
- package/types/runtime/markdown.d.ts.map +0 -1
- package/types/runtime/markdown.server.d.ts +0 -8
- package/types/runtime/markdown.server.d.ts.map +0 -1
- package/types/runtime/markers.d.ts +0 -14
- package/types/runtime/markers.d.ts.map +0 -1
- package/types/runtime/media-query.d.ts +0 -3
- package/types/runtime/media-query.d.ts.map +0 -1
- package/types/runtime/mount.d.ts +0 -9
- package/types/runtime/mount.d.ts.map +0 -1
- package/types/runtime/move.d.ts +0 -3
- package/types/runtime/move.d.ts.map +0 -1
- package/types/runtime/navigate-api.d.ts +0 -20
- package/types/runtime/navigate-api.d.ts.map +0 -1
- package/types/runtime/navigate.d.ts +0 -10
- package/types/runtime/navigate.d.ts.map +0 -1
- package/types/runtime/navigation-entry.d.ts +0 -2
- package/types/runtime/navigation-entry.d.ts.map +0 -1
- package/types/runtime/navigation-state.d.ts +0 -34
- package/types/runtime/navigation-state.d.ts.map +0 -1
- package/types/runtime/navigation.d.ts +0 -90
- package/types/runtime/navigation.d.ts.map +0 -1
- package/types/runtime/online.d.ts +0 -2
- package/types/runtime/online.d.ts.map +0 -1
- package/types/runtime/optimistic.d.ts +0 -7
- package/types/runtime/optimistic.d.ts.map +0 -1
- package/types/runtime/outside.d.ts +0 -8
- package/types/runtime/outside.d.ts.map +0 -1
- package/types/runtime/page-data.d.ts +0 -3
- package/types/runtime/page-data.d.ts.map +0 -1
- package/types/runtime/page-errors.d.ts +0 -2
- package/types/runtime/page-errors.d.ts.map +0 -1
- package/types/runtime/page-swap.d.ts +0 -8
- package/types/runtime/page-swap.d.ts.map +0 -1
- package/types/runtime/page-title.d.ts +0 -2
- package/types/runtime/page-title.d.ts.map +0 -1
- package/types/runtime/params.d.ts +0 -4
- package/types/runtime/params.d.ts.map +0 -1
- package/types/runtime/pending.d.ts +0 -5
- package/types/runtime/pending.d.ts.map +0 -1
- package/types/runtime/persist.d.ts +0 -26
- package/types/runtime/persist.d.ts.map +0 -1
- package/types/runtime/persisted.d.ts +0 -52
- package/types/runtime/persisted.d.ts.map +0 -1
- package/types/runtime/placeholder.d.ts +0 -5
- package/types/runtime/placeholder.d.ts.map +0 -1
- package/types/runtime/poll-backoff.d.ts +0 -16
- package/types/runtime/poll-backoff.d.ts.map +0 -1
- package/types/runtime/prefetch.d.ts +0 -3
- package/types/runtime/prefetch.d.ts.map +0 -1
- package/types/runtime/presence.d.ts +0 -14
- package/types/runtime/presence.d.ts.map +0 -1
- package/types/runtime/preview.d.ts +0 -26
- package/types/runtime/preview.d.ts.map +0 -1
- package/types/runtime/push.d.ts +0 -19
- package/types/runtime/push.d.ts.map +0 -1
- package/types/runtime/query-param.d.ts +0 -14
- package/types/runtime/query-param.d.ts.map +0 -1
- package/types/runtime/queue-jobs.d.ts +0 -16
- package/types/runtime/queue-jobs.d.ts.map +0 -1
- package/types/runtime/random-id.d.ts +0 -2
- package/types/runtime/random-id.d.ts.map +0 -1
- package/types/runtime/reactive-collections.d.ts +0 -3
- package/types/runtime/reactive-collections.d.ts.map +0 -1
- package/types/runtime/reactive.d.ts +0 -121
- package/types/runtime/reactive.d.ts.map +0 -1
- package/types/runtime/recipe.d.ts +0 -34
- package/types/runtime/recipe.d.ts.map +0 -1
- package/types/runtime/refetch-island.d.ts +0 -2
- package/types/runtime/refetch-island.d.ts.map +0 -1
- package/types/runtime/refuse.d.ts +0 -18
- package/types/runtime/refuse.d.ts.map +0 -1
- package/types/runtime/rendered.d.ts +0 -9
- package/types/runtime/rendered.d.ts.map +0 -1
- package/types/runtime/report-error.d.ts +0 -2
- package/types/runtime/report-error.d.ts.map +0 -1
- package/types/runtime/resource-tags.d.ts +0 -4
- package/types/runtime/resource-tags.d.ts.map +0 -1
- package/types/runtime/retry-later.d.ts +0 -2
- package/types/runtime/retry-later.d.ts.map +0 -1
- package/types/runtime/reveal.d.ts +0 -2
- package/types/runtime/reveal.d.ts.map +0 -1
- package/types/runtime/root.d.ts +0 -3
- package/types/runtime/root.d.ts.map +0 -1
- package/types/runtime/route.d.ts +0 -19
- package/types/runtime/route.d.ts.map +0 -1
- package/types/runtime/row-key.d.ts +0 -2
- package/types/runtime/row-key.d.ts.map +0 -1
- package/types/runtime/safe-code.d.ts +0 -2
- package/types/runtime/safe-code.d.ts.map +0 -1
- package/types/runtime/safe-html.d.ts +0 -7
- package/types/runtime/safe-html.d.ts.map +0 -1
- package/types/runtime/sanitize.d.ts +0 -15
- package/types/runtime/sanitize.d.ts.map +0 -1
- package/types/runtime/save-data.d.ts +0 -2
- package/types/runtime/save-data.d.ts.map +0 -1
- package/types/runtime/schema-bounds.d.ts +0 -4
- package/types/runtime/schema-bounds.d.ts.map +0 -1
- package/types/runtime/schema-record.d.ts +0 -9
- package/types/runtime/schema-record.d.ts.map +0 -1
- package/types/runtime/schema.client.d.ts +0 -3
- package/types/runtime/schema.client.d.ts.map +0 -1
- package/types/runtime/schema.d.ts +0 -121
- package/types/runtime/schema.d.ts.map +0 -1
- package/types/runtime/search-arrival.d.ts +0 -2
- package/types/runtime/search-arrival.d.ts.map +0 -1
- package/types/runtime/search-results.d.ts +0 -4
- package/types/runtime/search-results.d.ts.map +0 -1
- package/types/runtime/search.d.ts +0 -48
- package/types/runtime/search.d.ts.map +0 -1
- package/types/runtime/send.d.ts +0 -3
- package/types/runtime/send.d.ts.map +0 -1
- package/types/runtime/seo.d.ts +0 -15
- package/types/runtime/seo.d.ts.map +0 -1
- package/types/runtime/server-islands.d.ts +0 -3
- package/types/runtime/server-islands.d.ts.map +0 -1
- package/types/runtime/shortcut.d.ts +0 -10
- package/types/runtime/shortcut.d.ts.map +0 -1
- package/types/runtime/site.d.ts +0 -14
- package/types/runtime/site.d.ts.map +0 -1
- package/types/runtime/size-text.d.ts +0 -2
- package/types/runtime/size-text.d.ts.map +0 -1
- package/types/runtime/snapshots.d.ts +0 -13
- package/types/runtime/snapshots.d.ts.map +0 -1
- package/types/runtime/socket-message.d.ts +0 -7
- package/types/runtime/socket-message.d.ts.map +0 -1
- package/types/runtime/sqlite.server.d.ts +0 -4
- package/types/runtime/sqlite.server.d.ts.map +0 -1
- package/types/runtime/sse.d.ts +0 -3
- package/types/runtime/sse.d.ts.map +0 -1
- package/types/runtime/stale.d.ts +0 -4
- package/types/runtime/stale.d.ts.map +0 -1
- package/types/runtime/standard-schema.d.ts +0 -37
- package/types/runtime/standard-schema.d.ts.map +0 -1
- package/types/runtime/static-slots.d.ts +0 -4
- package/types/runtime/static-slots.d.ts.map +0 -1
- package/types/runtime/store-base.d.ts +0 -9
- package/types/runtime/store-base.d.ts.map +0 -1
- package/types/runtime/store.d.ts +0 -12
- package/types/runtime/store.d.ts.map +0 -1
- package/types/runtime/swap-fetch.d.ts +0 -10
- package/types/runtime/swap-fetch.d.ts.map +0 -1
- package/types/runtime/swap-flight.d.ts +0 -36
- package/types/runtime/swap-flight.d.ts.map +0 -1
- package/types/runtime/swap-focus.d.ts +0 -8
- package/types/runtime/swap-focus.d.ts.map +0 -1
- package/types/runtime/swap-head.d.ts +0 -8
- package/types/runtime/swap-head.d.ts.map +0 -1
- package/types/runtime/swap-held.d.ts +0 -2
- package/types/runtime/swap-held.d.ts.map +0 -1
- package/types/runtime/swap-kept.d.ts +0 -8
- package/types/runtime/swap-kept.d.ts.map +0 -1
- package/types/runtime/swap-loading.d.ts +0 -6
- package/types/runtime/swap-loading.d.ts.map +0 -1
- package/types/runtime/swap-morph.d.ts +0 -8
- package/types/runtime/swap-morph.d.ts.map +0 -1
- package/types/runtime/swap-refusal.d.ts +0 -2
- package/types/runtime/swap-refusal.d.ts.map +0 -1
- package/types/runtime/swap-streamed.d.ts +0 -14
- package/types/runtime/swap-streamed.d.ts.map +0 -1
- package/types/runtime/swap-transition.d.ts +0 -4
- package/types/runtime/swap-transition.d.ts.map +0 -1
- package/types/runtime/swap.d.ts +0 -18
- package/types/runtime/swap.d.ts.map +0 -1
- package/types/runtime/template-context.d.ts +0 -28
- package/types/runtime/template-context.d.ts.map +0 -1
- package/types/runtime/text-hash.d.ts +0 -2
- package/types/runtime/text-hash.d.ts.map +0 -1
- package/types/runtime/transition.d.ts +0 -11
- package/types/runtime/transition.d.ts.map +0 -1
- package/types/runtime/ui.d.ts +0 -22
- package/types/runtime/ui.d.ts.map +0 -1
- package/types/runtime/uid.d.ts +0 -10
- package/types/runtime/uid.d.ts.map +0 -1
- package/types/runtime/uid.server.d.ts +0 -6
- package/types/runtime/uid.server.d.ts.map +0 -1
- package/types/runtime/upload.d.ts +0 -2
- package/types/runtime/upload.d.ts.map +0 -1
- package/types/runtime/url-attributes.d.ts +0 -2
- package/types/runtime/url-attributes.d.ts.map +0 -1
- package/types/runtime/url-report.d.ts +0 -5
- package/types/runtime/url-report.d.ts.map +0 -1
- package/types/runtime/url.d.ts +0 -5
- package/types/runtime/url.d.ts.map +0 -1
- package/types/runtime/validate-run.client.d.ts +0 -4
- package/types/runtime/validate-run.client.d.ts.map +0 -1
- package/types/runtime/validate.client.d.ts +0 -4
- package/types/runtime/validate.client.d.ts.map +0 -1
- package/types/runtime/validate.d.ts +0 -6
- package/types/runtime/validate.d.ts.map +0 -1
- package/types/runtime/values.d.ts +0 -23
- package/types/runtime/values.d.ts.map +0 -1
- package/types/runtime/visibility.d.ts +0 -3
- package/types/runtime/visibility.d.ts.map +0 -1
- package/types/runtime/warn-once.d.ts +0 -4
- package/types/runtime/warn-once.d.ts.map +0 -1
- package/types/runtime/wire.d.ts +0 -16
- package/types/runtime/wire.d.ts.map +0 -1
- package/types/runtime/with-query.d.ts +0 -7
- package/types/runtime/with-query.d.ts.map +0 -1
- package/types/runtime/words.client.d.ts +0 -8
- package/types/runtime/words.client.d.ts.map +0 -1
- package/types/runtime/words.server.d.ts +0 -7
- package/types/runtime/words.server.d.ts.map +0 -1
- package/types/runtime/work-worker.d.ts +0 -2
- package/types/runtime/work-worker.d.ts.map +0 -1
- package/types/runtime/work.client.d.ts +0 -4
- package/types/runtime/work.client.d.ts.map +0 -1
- package/types/runtime/work.d.ts +0 -4
- package/types/runtime/work.d.ts.map +0 -1
- package/types/server/accept-language.d.ts +0 -5
- package/types/server/accept-language.d.ts.map +0 -1
- package/types/server/action-clash.d.ts +0 -2
- package/types/server/action-clash.d.ts.map +0 -1
- package/types/server/action-hooks.d.ts +0 -19
- package/types/server/action-hooks.d.ts.map +0 -1
- package/types/server/action-input.d.ts +0 -3
- package/types/server/action-input.d.ts.map +0 -1
- package/types/server/action-iterable.d.ts +0 -8
- package/types/server/action-iterable.d.ts.map +0 -1
- package/types/server/action-module.d.ts +0 -2
- package/types/server/action-module.d.ts.map +0 -1
- package/types/server/actions.d.ts +0 -58
- package/types/server/actions.d.ts.map +0 -1
- package/types/server/address.d.ts +0 -20
- package/types/server/address.d.ts.map +0 -1
- package/types/server/analytics-script.d.ts +0 -5
- package/types/server/analytics-script.d.ts.map +0 -1
- package/types/server/analytics-server.d.ts +0 -12
- package/types/server/analytics-server.d.ts.map +0 -1
- package/types/server/analytics-words.d.ts +0 -8
- package/types/server/analytics-words.d.ts.map +0 -1
- package/types/server/analytics.d.ts +0 -109
- package/types/server/analytics.d.ts.map +0 -1
- package/types/server/answer.d.ts +0 -6
- package/types/server/answer.d.ts.map +0 -1
- package/types/server/api-input.d.ts +0 -19
- package/types/server/api-input.d.ts.map +0 -1
- package/types/server/api-modules.d.ts +0 -53
- package/types/server/api-modules.d.ts.map +0 -1
- package/types/server/api-params.d.ts +0 -16
- package/types/server/api-params.d.ts.map +0 -1
- package/types/server/api.d.ts +0 -53
- package/types/server/api.d.ts.map +0 -1
- package/types/server/app-database.d.ts +0 -15
- package/types/server/app-database.d.ts.map +0 -1
- package/types/server/app-hooks.d.ts +0 -34
- package/types/server/app-hooks.d.ts.map +0 -1
- package/types/server/app-identity.d.ts +0 -13
- package/types/server/app-identity.d.ts.map +0 -1
- package/types/server/app-stages.d.ts +0 -203
- package/types/server/app-stages.d.ts.map +0 -1
- package/types/server/app-store.d.ts +0 -33
- package/types/server/app-store.d.ts.map +0 -1
- package/types/server/app.d.ts +0 -118
- package/types/server/app.d.ts.map +0 -1
- package/types/server/auth-mails.d.ts +0 -357
- package/types/server/auth-mails.d.ts.map +0 -1
- package/types/server/auto-listen.d.ts +0 -6
- package/types/server/auto-listen.d.ts.map +0 -1
- package/types/server/avif-worker.d.ts +0 -19
- package/types/server/avif-worker.d.ts.map +0 -1
- package/types/server/avif.d.ts +0 -12
- package/types/server/avif.d.ts.map +0 -1
- package/types/server/base.d.ts +0 -9
- package/types/server/base.d.ts.map +0 -1
- package/types/server/basic-auth.d.ts +0 -10
- package/types/server/basic-auth.d.ts.map +0 -1
- package/types/server/body.d.ts +0 -23
- package/types/server/body.d.ts.map +0 -1
- package/types/server/build-files.d.ts +0 -8
- package/types/server/build-files.d.ts.map +0 -1
- package/types/server/builtins.d.ts +0 -5
- package/types/server/builtins.d.ts.map +0 -1
- package/types/server/bundle.d.ts +0 -27
- package/types/server/bundle.d.ts.map +0 -1
- package/types/server/button-form-rule.d.ts +0 -4
- package/types/server/button-form-rule.d.ts.map +0 -1
- package/types/server/card-draw.d.ts +0 -20
- package/types/server/card-draw.d.ts.map +0 -1
- package/types/server/card-template.d.ts +0 -8
- package/types/server/card-template.d.ts.map +0 -1
- package/types/server/card.d.ts +0 -73
- package/types/server/card.d.ts.map +0 -1
- package/types/server/ceiling.d.ts +0 -2
- package/types/server/ceiling.d.ts.map +0 -1
- package/types/server/clean-context.d.ts +0 -2
- package/types/server/clean-context.d.ts.map +0 -1
- package/types/server/client.d.ts +0 -94
- package/types/server/client.d.ts.map +0 -1
- package/types/server/codec/avif-enc-build.d.ts +0 -2
- package/types/server/codec/avif-enc-build.d.ts.map +0 -1
- package/types/server/compress-policy.d.ts +0 -2
- package/types/server/compress-policy.d.ts.map +0 -1
- package/types/server/compress.d.ts +0 -44
- package/types/server/compress.d.ts.map +0 -1
- package/types/server/config-error.d.ts +0 -10
- package/types/server/config-error.d.ts.map +0 -1
- package/types/server/config-limits.d.ts +0 -37
- package/types/server/config-limits.d.ts.map +0 -1
- package/types/server/consent-cookie.d.ts +0 -2
- package/types/server/consent-cookie.d.ts.map +0 -1
- package/types/server/context-reads.d.ts +0 -2
- package/types/server/context-reads.d.ts.map +0 -1
- package/types/server/context-record.d.ts +0 -10
- package/types/server/context-record.d.ts.map +0 -1
- package/types/server/context-values.d.ts +0 -15
- package/types/server/context-values.d.ts.map +0 -1
- package/types/server/cookie-names.d.ts +0 -3
- package/types/server/cookie-names.d.ts.map +0 -1
- package/types/server/cookies.d.ts +0 -36
- package/types/server/cookies.d.ts.map +0 -1
- package/types/server/cors.d.ts +0 -35
- package/types/server/cors.d.ts.map +0 -1
- package/types/server/crop.d.ts +0 -16
- package/types/server/crop.d.ts.map +0 -1
- package/types/server/cross-site.d.ts +0 -9
- package/types/server/cross-site.d.ts.map +0 -1
- package/types/server/csp.d.ts +0 -13
- package/types/server/csp.d.ts.map +0 -1
- package/types/server/dev-data.d.ts +0 -44
- package/types/server/dev-data.d.ts.map +0 -1
- package/types/server/dev-errors.d.ts +0 -34
- package/types/server/dev-errors.d.ts.map +0 -1
- package/types/server/dev-footprint.d.ts +0 -2
- package/types/server/dev-footprint.d.ts.map +0 -1
- package/types/server/dev-head.d.ts +0 -13
- package/types/server/dev-head.d.ts.map +0 -1
- package/types/server/dev-jobs.d.ts +0 -4
- package/types/server/dev-jobs.d.ts.map +0 -1
- package/types/server/dev-not-found.d.ts +0 -9
- package/types/server/dev-not-found.d.ts.map +0 -1
- package/types/server/dev-notes.d.ts +0 -3
- package/types/server/dev-notes.d.ts.map +0 -1
- package/types/server/dev-offered.d.ts +0 -6
- package/types/server/dev-offered.d.ts.map +0 -1
- package/types/server/dev-secret.d.ts +0 -2
- package/types/server/dev-secret.d.ts.map +0 -1
- package/types/server/dev-sizes.d.ts +0 -18
- package/types/server/dev-sizes.d.ts.map +0 -1
- package/types/server/dev-sqlite-worker.d.ts +0 -22
- package/types/server/dev-sqlite-worker.d.ts.map +0 -1
- package/types/server/dev-ui.d.ts +0 -3
- package/types/server/dev-ui.d.ts.map +0 -1
- package/types/server/dev.d.ts +0 -159
- package/types/server/dev.d.ts.map +0 -1
- package/types/server/dictionary.d.ts +0 -28
- package/types/server/dictionary.d.ts.map +0 -1
- package/types/server/drain.d.ts +0 -5
- package/types/server/drain.d.ts.map +0 -1
- package/types/server/editor.d.ts +0 -2
- package/types/server/editor.d.ts.map +0 -1
- package/types/server/endpoint-claims.d.ts +0 -4
- package/types/server/endpoint-claims.d.ts.map +0 -1
- package/types/server/endpoint-verbs.d.ts +0 -11
- package/types/server/endpoint-verbs.d.ts.map +0 -1
- package/types/server/endpoints.d.ts +0 -12
- package/types/server/endpoints.d.ts.map +0 -1
- package/types/server/entry-drafts.d.ts +0 -15
- package/types/server/entry-drafts.d.ts.map +0 -1
- package/types/server/entry-head.d.ts +0 -5
- package/types/server/entry-head.d.ts.map +0 -1
- package/types/server/entry-urls.d.ts +0 -6
- package/types/server/entry-urls.d.ts.map +0 -1
- package/types/server/env-state.d.ts +0 -23
- package/types/server/env-state.d.ts.map +0 -1
- package/types/server/env.d.ts +0 -26
- package/types/server/env.d.ts.map +0 -1
- package/types/server/error-maps.d.ts +0 -3
- package/types/server/error-maps.d.ts.map +0 -1
- package/types/server/errors.d.ts +0 -13
- package/types/server/errors.d.ts.map +0 -1
- package/types/server/event-stream.d.ts +0 -22
- package/types/server/event-stream.d.ts.map +0 -1
- package/types/server/face.d.ts +0 -16
- package/types/server/face.d.ts.map +0 -1
- package/types/server/favicon.d.ts +0 -66
- package/types/server/favicon.d.ts.map +0 -1
- package/types/server/fetch-public.d.ts +0 -12
- package/types/server/fetch-public.d.ts.map +0 -1
- package/types/server/file-answer.d.ts +0 -17
- package/types/server/file-answer.d.ts.map +0 -1
- package/types/server/file-limit.d.ts +0 -3
- package/types/server/file-limit.d.ts.map +0 -1
- package/types/server/file-type.d.ts +0 -4
- package/types/server/file-type.d.ts.map +0 -1
- package/types/server/flash.d.ts +0 -24
- package/types/server/flash.d.ts.map +0 -1
- package/types/server/font-metrics.d.ts +0 -22
- package/types/server/font-metrics.d.ts.map +0 -1
- package/types/server/fonts.d.ts +0 -26
- package/types/server/fonts.d.ts.map +0 -1
- package/types/server/forms.d.ts +0 -3
- package/types/server/forms.d.ts.map +0 -1
- package/types/server/guard-requirement.d.ts +0 -13
- package/types/server/guard-requirement.d.ts.map +0 -1
- package/types/server/guard-runs.d.ts +0 -5
- package/types/server/guard-runs.d.ts.map +0 -1
- package/types/server/guards.d.ts +0 -35
- package/types/server/guards.d.ts.map +0 -1
- package/types/server/handler-timing.d.ts +0 -2
- package/types/server/handler-timing.d.ts.map +0 -1
- package/types/server/history.d.ts +0 -2
- package/types/server/history.d.ts.map +0 -1
- package/types/server/hooks.d.ts +0 -28
- package/types/server/hooks.d.ts.map +0 -1
- package/types/server/host-allowlist.d.ts +0 -11
- package/types/server/host-allowlist.d.ts.map +0 -1
- package/types/server/hydration.d.ts +0 -3
- package/types/server/hydration.d.ts.map +0 -1
- package/types/server/i18n.d.ts +0 -70
- package/types/server/i18n.d.ts.map +0 -1
- package/types/server/image-color.d.ts +0 -5
- package/types/server/image-color.d.ts.map +0 -1
- package/types/server/image-format.d.ts +0 -18
- package/types/server/image-format.d.ts.map +0 -1
- package/types/server/image-limits.d.ts +0 -17
- package/types/server/image-limits.d.ts.map +0 -1
- package/types/server/image-metadata-bmff.d.ts +0 -3
- package/types/server/image-metadata-bmff.d.ts.map +0 -1
- package/types/server/image-metadata.d.ts +0 -3
- package/types/server/image-metadata.d.ts.map +0 -1
- package/types/server/image.d.ts +0 -92
- package/types/server/image.d.ts.map +0 -1
- package/types/server/index.d.ts +0 -86
- package/types/server/index.d.ts.map +0 -1
- package/types/server/internal.d.ts +0 -8
- package/types/server/internal.d.ts.map +0 -1
- package/types/server/job-admin.d.ts +0 -36
- package/types/server/job-admin.d.ts.map +0 -1
- package/types/server/job-context.d.ts +0 -16
- package/types/server/job-context.d.ts.map +0 -1
- package/types/server/job-status.d.ts +0 -3
- package/types/server/job-status.d.ts.map +0 -1
- package/types/server/job-steps.d.ts +0 -2
- package/types/server/job-steps.d.ts.map +0 -1
- package/types/server/jobs-page.d.ts +0 -12
- package/types/server/jobs-page.d.ts.map +0 -1
- package/types/server/jobs.d.ts +0 -78
- package/types/server/jobs.d.ts.map +0 -1
- package/types/server/kay-routes.d.ts +0 -47
- package/types/server/kay-routes.d.ts.map +0 -1
- package/types/server/kay-server.d.ts +0 -25
- package/types/server/kay-server.d.ts.map +0 -1
- package/types/server/kept-exports.d.ts +0 -5
- package/types/server/kept-exports.d.ts.map +0 -1
- package/types/server/kept-pages.d.ts +0 -9
- package/types/server/kept-pages.d.ts.map +0 -1
- package/types/server/kept-source.d.ts +0 -48
- package/types/server/kept-source.d.ts.map +0 -1
- package/types/server/kv.d.ts +0 -18
- package/types/server/kv.d.ts.map +0 -1
- package/types/server/lazy-guard.d.ts +0 -11
- package/types/server/lazy-guard.d.ts.map +0 -1
- package/types/server/library.d.ts +0 -111
- package/types/server/library.d.ts.map +0 -1
- package/types/server/lifecycle.d.ts +0 -18
- package/types/server/lifecycle.d.ts.map +0 -1
- package/types/server/limit.d.ts +0 -6
- package/types/server/limit.d.ts.map +0 -1
- package/types/server/link-schemes.d.ts +0 -3
- package/types/server/link-schemes.d.ts.map +0 -1
- package/types/server/links.d.ts +0 -4
- package/types/server/links.d.ts.map +0 -1
- package/types/server/literal-writes.d.ts +0 -43
- package/types/server/literal-writes.d.ts.map +0 -1
- package/types/server/live.d.ts +0 -39
- package/types/server/live.d.ts.map +0 -1
- package/types/server/load-budget.d.ts +0 -4
- package/types/server/load-budget.d.ts.map +0 -1
- package/types/server/loader.d.ts +0 -5
- package/types/server/loader.d.ts.map +0 -1
- package/types/server/loading-page.d.ts +0 -6
- package/types/server/loading-page.d.ts.map +0 -1
- package/types/server/local-files.d.ts +0 -4
- package/types/server/local-files.d.ts.map +0 -1
- package/types/server/log.d.ts +0 -57
- package/types/server/log.d.ts.map +0 -1
- package/types/server/maintenance.d.ts +0 -24
- package/types/server/maintenance.d.ts.map +0 -1
- package/types/server/mcp-key.d.ts +0 -11
- package/types/server/mcp-key.d.ts.map +0 -1
- package/types/server/mcp.d.ts +0 -58
- package/types/server/mcp.d.ts.map +0 -1
- package/types/server/memory-jobs.d.ts +0 -3
- package/types/server/memory-jobs.d.ts.map +0 -1
- package/types/server/memory-mark.d.ts +0 -3
- package/types/server/memory-mark.d.ts.map +0 -1
- package/types/server/message-drafts.d.ts +0 -13
- package/types/server/message-drafts.d.ts.map +0 -1
- package/types/server/metrics.d.ts +0 -16
- package/types/server/metrics.d.ts.map +0 -1
- package/types/server/missing-hits.d.ts +0 -16
- package/types/server/missing-hits.d.ts.map +0 -1
- package/types/server/module-state.d.ts +0 -9
- package/types/server/module-state.d.ts.map +0 -1
- package/types/server/new-tab.d.ts +0 -4
- package/types/server/new-tab.d.ts.map +0 -1
- package/types/server/not-found-config.d.ts +0 -5
- package/types/server/not-found-config.d.ts.map +0 -1
- package/types/server/not-found.d.ts +0 -79
- package/types/server/not-found.d.ts.map +0 -1
- package/types/server/notifications.d.ts +0 -56
- package/types/server/notifications.d.ts.map +0 -1
- package/types/server/offline.d.ts +0 -22
- package/types/server/offline.d.ts.map +0 -1
- package/types/server/openapi.d.ts +0 -84
- package/types/server/openapi.d.ts.map +0 -1
- package/types/server/option-keys.d.ts +0 -2
- package/types/server/option-keys.d.ts.map +0 -1
- package/types/server/over-limit.d.ts +0 -9
- package/types/server/over-limit.d.ts.map +0 -1
- package/types/server/overlay.d.ts +0 -12
- package/types/server/overlay.d.ts.map +0 -1
- package/types/server/own-headers.d.ts +0 -21
- package/types/server/own-headers.d.ts.map +0 -1
- package/types/server/page-error.d.ts +0 -7
- package/types/server/page-error.d.ts.map +0 -1
- package/types/server/page-flags.d.ts +0 -5
- package/types/server/page-flags.d.ts.map +0 -1
- package/types/server/page-headers.d.ts +0 -6
- package/types/server/page-headers.d.ts.map +0 -1
- package/types/server/page-hook.d.ts +0 -32
- package/types/server/page-hook.d.ts.map +0 -1
- package/types/server/page-limits.d.ts +0 -26
- package/types/server/page-limits.d.ts.map +0 -1
- package/types/server/page-reads.d.ts +0 -6
- package/types/server/page-reads.d.ts.map +0 -1
- package/types/server/page-routes.d.ts +0 -48
- package/types/server/page-routes.d.ts.map +0 -1
- package/types/server/page-seo.d.ts +0 -3
- package/types/server/page-seo.d.ts.map +0 -1
- package/types/server/page-settings.d.ts +0 -17
- package/types/server/page-settings.d.ts.map +0 -1
- package/types/server/params.d.ts +0 -20
- package/types/server/params.d.ts.map +0 -1
- package/types/server/parent.d.ts +0 -5
- package/types/server/parent.d.ts.map +0 -1
- package/types/server/personal-data.d.ts +0 -13
- package/types/server/personal-data.d.ts.map +0 -1
- package/types/server/pg-cache.d.ts +0 -4
- package/types/server/pg-cache.d.ts.map +0 -1
- package/types/server/pg-data.d.ts +0 -30
- package/types/server/pg-data.d.ts.map +0 -1
- package/types/server/pg-jobs.d.ts +0 -31
- package/types/server/pg-jobs.d.ts.map +0 -1
- package/types/server/pg-limit.d.ts +0 -10
- package/types/server/pg-limit.d.ts.map +0 -1
- package/types/server/pg-live.d.ts +0 -4
- package/types/server/pg-live.d.ts.map +0 -1
- package/types/server/pg-not-found.d.ts +0 -30
- package/types/server/pg-not-found.d.ts.map +0 -1
- package/types/server/pg-notify.d.ts +0 -9
- package/types/server/pg-notify.d.ts.map +0 -1
- package/types/server/pg-orm.d.ts +0 -32
- package/types/server/pg-orm.d.ts.map +0 -1
- package/types/server/pg-poll.d.ts +0 -41
- package/types/server/pg-poll.d.ts.map +0 -1
- package/types/server/pg-redirects.d.ts +0 -4
- package/types/server/pg-redirects.d.ts.map +0 -1
- package/types/server/pg-rooms.d.ts +0 -7
- package/types/server/pg-rooms.d.ts.map +0 -1
- package/types/server/pg-sql.d.ts +0 -6
- package/types/server/pg-sql.d.ts.map +0 -1
- package/types/server/pg-stores.d.ts +0 -14
- package/types/server/pg-stores.d.ts.map +0 -1
- package/types/server/phases.d.ts +0 -36
- package/types/server/phases.d.ts.map +0 -1
- package/types/server/plugin.d.ts +0 -32
- package/types/server/plugin.d.ts.map +0 -1
- package/types/server/plumbing.d.ts +0 -20
- package/types/server/plumbing.d.ts.map +0 -1
- package/types/server/png.d.ts +0 -9
- package/types/server/png.d.ts.map +0 -1
- package/types/server/prebuilt-loader.d.ts +0 -2
- package/types/server/prebuilt-loader.d.ts.map +0 -1
- package/types/server/prerender.d.ts +0 -34
- package/types/server/prerender.d.ts.map +0 -1
- package/types/server/prerendered.d.ts +0 -19
- package/types/server/prerendered.d.ts.map +0 -1
- package/types/server/presence.d.ts +0 -10
- package/types/server/presence.d.ts.map +0 -1
- package/types/server/preview.d.ts +0 -55
- package/types/server/preview.d.ts.map +0 -1
- package/types/server/private-dir.d.ts +0 -7
- package/types/server/private-dir.d.ts.map +0 -1
- package/types/server/protection.d.ts +0 -95
- package/types/server/protection.d.ts.map +0 -1
- package/types/server/proxy-key.d.ts +0 -14
- package/types/server/proxy-key.d.ts.map +0 -1
- package/types/server/public-suffix.d.ts +0 -2
- package/types/server/public-suffix.d.ts.map +0 -1
- package/types/server/public-suffixes.d.ts +0 -3
- package/types/server/public-suffixes.d.ts.map +0 -1
- package/types/server/public.d.ts +0 -23
- package/types/server/public.d.ts.map +0 -1
- package/types/server/publishing.d.ts +0 -13
- package/types/server/publishing.d.ts.map +0 -1
- package/types/server/pure-page.d.ts +0 -21
- package/types/server/pure-page.d.ts.map +0 -1
- package/types/server/push-crypto.d.ts +0 -21
- package/types/server/push-crypto.d.ts.map +0 -1
- package/types/server/push-keys-command.d.ts +0 -4
- package/types/server/push-keys-command.d.ts.map +0 -1
- package/types/server/push-server.d.ts +0 -4
- package/types/server/push-server.d.ts.map +0 -1
- package/types/server/push-settings.d.ts +0 -18
- package/types/server/push-settings.d.ts.map +0 -1
- package/types/server/push-store.d.ts +0 -19
- package/types/server/push-store.d.ts.map +0 -1
- package/types/server/push.d.ts +0 -49
- package/types/server/push.d.ts.map +0 -1
- package/types/server/query.d.ts +0 -14
- package/types/server/query.d.ts.map +0 -1
- package/types/server/queue-live.d.ts +0 -20
- package/types/server/queue-live.d.ts.map +0 -1
- package/types/server/queue-scheduler.d.ts +0 -32
- package/types/server/queue-scheduler.d.ts.map +0 -1
- package/types/server/queue-telling.d.ts +0 -3
- package/types/server/queue-telling.d.ts.map +0 -1
- package/types/server/queue.d.ts +0 -163
- package/types/server/queue.d.ts.map +0 -1
- package/types/server/raster.d.ts +0 -14
- package/types/server/raster.d.ts.map +0 -1
- package/types/server/rate-limit.d.ts +0 -12
- package/types/server/rate-limit.d.ts.map +0 -1
- package/types/server/rate-refusal.d.ts +0 -4
- package/types/server/rate-refusal.d.ts.map +0 -1
- package/types/server/rate-windows.d.ts +0 -3
- package/types/server/rate-windows.d.ts.map +0 -1
- package/types/server/reach-walk.d.ts +0 -4
- package/types/server/reach-walk.d.ts.map +0 -1
- package/types/server/reach.d.ts +0 -11
- package/types/server/reach.d.ts.map +0 -1
- package/types/server/receive.d.ts +0 -9
- package/types/server/receive.d.ts.map +0 -1
- package/types/server/redirect-spelling.d.ts +0 -5
- package/types/server/redirect-spelling.d.ts.map +0 -1
- package/types/server/redirects.d.ts +0 -27
- package/types/server/redirects.d.ts.map +0 -1
- package/types/server/reload.d.ts +0 -4
- package/types/server/reload.d.ts.map +0 -1
- package/types/server/remote.d.ts +0 -24
- package/types/server/remote.d.ts.map +0 -1
- package/types/server/render-document.d.ts +0 -22
- package/types/server/render-document.d.ts.map +0 -1
- package/types/server/render.d.ts +0 -117
- package/types/server/render.d.ts.map +0 -1
- package/types/server/report.d.ts +0 -7
- package/types/server/report.d.ts.map +0 -1
- package/types/server/request-context.d.ts +0 -29
- package/types/server/request-context.d.ts.map +0 -1
- package/types/server/request-read.d.ts +0 -15
- package/types/server/request-read.d.ts.map +0 -1
- package/types/server/request-record.d.ts +0 -76
- package/types/server/request-record.d.ts.map +0 -1
- package/types/server/request-scope.d.ts +0 -7
- package/types/server/request-scope.d.ts.map +0 -1
- package/types/server/request-timeout.d.ts +0 -31
- package/types/server/request-timeout.d.ts.map +0 -1
- package/types/server/request-url.d.ts +0 -4
- package/types/server/request-url.d.ts.map +0 -1
- package/types/server/request-user.d.ts +0 -4
- package/types/server/request-user.d.ts.map +0 -1
- package/types/server/resources.d.ts +0 -12
- package/types/server/resources.d.ts.map +0 -1
- package/types/server/response-mismatch.d.ts +0 -3
- package/types/server/response-mismatch.d.ts.map +0 -1
- package/types/server/revalidate.d.ts +0 -3
- package/types/server/revalidate.d.ts.map +0 -1
- package/types/server/rewrite.d.ts +0 -13
- package/types/server/rewrite.d.ts.map +0 -1
- package/types/server/rooms.d.ts +0 -87
- package/types/server/rooms.d.ts.map +0 -1
- package/types/server/route-settings.d.ts +0 -9
- package/types/server/route-settings.d.ts.map +0 -1
- package/types/server/route-table.d.ts +0 -26
- package/types/server/route-table.d.ts.map +0 -1
- package/types/server/routes.d.ts +0 -101
- package/types/server/routes.d.ts.map +0 -1
- package/types/server/runtime-redirect-api.d.ts +0 -35
- package/types/server/runtime-redirect-api.d.ts.map +0 -1
- package/types/server/runtime-redirects.d.ts +0 -74
- package/types/server/runtime-redirects.d.ts.map +0 -1
- package/types/server/safe-path.d.ts +0 -2
- package/types/server/safe-path.d.ts.map +0 -1
- package/types/server/save-data.d.ts +0 -10
- package/types/server/save-data.d.ts.map +0 -1
- package/types/server/schema-answer.d.ts +0 -12
- package/types/server/schema-answer.d.ts.map +0 -1
- package/types/server/schema-check.d.ts +0 -13
- package/types/server/schema-check.d.ts.map +0 -1
- package/types/server/scope.d.ts +0 -12
- package/types/server/scope.d.ts.map +0 -1
- package/types/server/seal.d.ts +0 -11
- package/types/server/seal.d.ts.map +0 -1
- package/types/server/secret.d.ts +0 -12
- package/types/server/secret.d.ts.map +0 -1
- package/types/server/security.d.ts +0 -19
- package/types/server/security.d.ts.map +0 -1
- package/types/server/seo.d.ts +0 -15
- package/types/server/seo.d.ts.map +0 -1
- package/types/server/served-paths.d.ts +0 -26
- package/types/server/served-paths.d.ts.map +0 -1
- package/types/server/server-islands.d.ts +0 -28
- package/types/server/server-islands.d.ts.map +0 -1
- package/types/server/server-record.d.ts +0 -23
- package/types/server/server-record.d.ts.map +0 -1
- package/types/server/serving.d.ts +0 -5
- package/types/server/serving.d.ts.map +0 -1
- package/types/server/session.d.ts +0 -116
- package/types/server/session.d.ts.map +0 -1
- package/types/server/setup.d.ts +0 -49
- package/types/server/setup.d.ts.map +0 -1
- package/types/server/sha256.d.ts +0 -7
- package/types/server/sha256.d.ts.map +0 -1
- package/types/server/signals.d.ts +0 -19
- package/types/server/signals.d.ts.map +0 -1
- package/types/server/signed.d.ts +0 -9
- package/types/server/signed.d.ts.map +0 -1
- package/types/server/site-facts.d.ts +0 -8
- package/types/server/site-facts.d.ts.map +0 -1
- package/types/server/site-paths.d.ts +0 -3
- package/types/server/site-paths.d.ts.map +0 -1
- package/types/server/sitemap.d.ts +0 -36
- package/types/server/sitemap.d.ts.map +0 -1
- package/types/server/snake-case.d.ts +0 -2
- package/types/server/snake-case.d.ts.map +0 -1
- package/types/server/socket.d.ts +0 -49
- package/types/server/socket.d.ts.map +0 -1
- package/types/server/source.d.ts +0 -34
- package/types/server/source.d.ts.map +0 -1
- package/types/server/speculation.d.ts +0 -4
- package/types/server/speculation.d.ts.map +0 -1
- package/types/server/sqlite-data.d.ts +0 -14
- package/types/server/sqlite-data.d.ts.map +0 -1
- package/types/server/sqlite-live.d.ts +0 -3
- package/types/server/sqlite-live.d.ts.map +0 -1
- package/types/server/stale-pages.d.ts +0 -17
- package/types/server/stale-pages.d.ts.map +0 -1
- package/types/server/stamp.d.ts +0 -24
- package/types/server/stamp.d.ts.map +0 -1
- package/types/server/storage.d.ts +0 -74
- package/types/server/storage.d.ts.map +0 -1
- package/types/server/stream.d.ts +0 -26
- package/types/server/stream.d.ts.map +0 -1
- package/types/server/string.d.ts +0 -9
- package/types/server/string.d.ts.map +0 -1
- package/types/server/svg-icon.d.ts +0 -3
- package/types/server/svg-icon.d.ts.map +0 -1
- package/types/server/swap.d.ts +0 -3
- package/types/server/swap.d.ts.map +0 -1
- package/types/server/tool-outputs.d.ts +0 -12
- package/types/server/tool-outputs.d.ts.map +0 -1
- package/types/server/tool-settings.d.ts +0 -3
- package/types/server/tool-settings.d.ts.map +0 -1
- package/types/server/trace-context.d.ts +0 -17
- package/types/server/trace-context.d.ts.map +0 -1
- package/types/server/trace.d.ts +0 -33
- package/types/server/trace.d.ts.map +0 -1
- package/types/server/translations.d.ts +0 -8
- package/types/server/translations.d.ts.map +0 -1
- package/types/server/typography.d.ts +0 -3
- package/types/server/typography.d.ts.map +0 -1
- package/types/server/uncaught.d.ts +0 -9
- package/types/server/uncaught.d.ts.map +0 -1
- package/types/server/unsafe-urls.d.ts +0 -2
- package/types/server/unsafe-urls.d.ts.map +0 -1
- package/types/server/validate.d.ts +0 -26
- package/types/server/validate.d.ts.map +0 -1
- package/types/server/violations.d.ts +0 -18
- package/types/server/violations.d.ts.map +0 -1
- package/types/server/visit.d.ts +0 -11
- package/types/server/visit.d.ts.map +0 -1
- package/types/server/vitals-routes/_guard.d.ts +0 -3
- package/types/server/vitals-routes/_guard.d.ts.map +0 -1
- package/types/server/vitals-screen.d.ts +0 -5
- package/types/server/vitals-screen.d.ts.map +0 -1
- package/types/server/vitals-script.d.ts +0 -3
- package/types/server/vitals-script.d.ts.map +0 -1
- package/types/server/vitals-server.d.ts +0 -4
- package/types/server/vitals-server.d.ts.map +0 -1
- package/types/server/vitals-store.d.ts +0 -41
- package/types/server/vitals-store.d.ts.map +0 -1
- package/types/server/vitals.d.ts +0 -20
- package/types/server/vitals.d.ts.map +0 -1
- package/types/server/web-socket.d.ts +0 -11
- package/types/server/web-socket.d.ts.map +0 -1
- package/types/server/wildcards.d.ts +0 -3
- package/types/server/wildcards.d.ts.map +0 -1
- package/types/server/words.d.ts +0 -52
- package/types/server/words.d.ts.map +0 -1
- package/types/server/work-scope.d.ts +0 -14
- package/types/server/work-scope.d.ts.map +0 -1
- package/types/server/work.d.ts +0 -11
- package/types/server/work.d.ts.map +0 -1
- package/types/server/workers.d.ts +0 -23
- package/types/server/workers.d.ts.map +0 -1
- package/types/server/workflow.d.ts +0 -92
- package/types/server/workflow.d.ts.map +0 -1
- package/types/server/writes.d.ts +0 -4
- package/types/server/writes.d.ts.map +0 -1
- package/types/server/ws-limits.d.ts +0 -43
- package/types/server/ws-limits.d.ts.map +0 -1
- package/types/svg-attributes.d.ts +0 -2
- package/types/svg-attributes.d.ts.map +0 -1
- package/types/template-auth.d.ts +0 -4
- package/types/template-auth.d.ts.map +0 -1
- package/types/template-ci.d.ts +0 -4
- package/types/template-ci.d.ts.map +0 -1
- package/types/template-config.d.ts +0 -4
- package/types/template-config.d.ts.map +0 -1
- package/types/template-docker.d.ts +0 -6
- package/types/template-docker.d.ts.map +0 -1
- package/types/template-pins.d.ts +0 -11
- package/types/template-pins.d.ts.map +0 -1
- package/types/template-shared.d.ts +0 -28
- package/types/template-shared.d.ts.map +0 -1
- package/types/template-starter.d.ts +0 -7
- package/types/template-starter.d.ts.map +0 -1
- package/types/template-styles.d.ts +0 -10
- package/types/template-styles.d.ts.map +0 -1
- package/types/template-ws.d.ts +0 -4
- package/types/template-ws.d.ts.map +0 -1
- package/types/templates.d.ts +0 -11
- package/types/templates.d.ts.map +0 -1
- package/types/test/a11y-dom.d.ts +0 -20
- package/types/test/a11y-dom.d.ts.map +0 -1
- package/types/test/a11y.d.ts +0 -3
- package/types/test/a11y.d.ts.map +0 -1
- package/types/test/browser.d.ts +0 -17
- package/types/test/browser.d.ts.map +0 -1
- package/types/test/clock.d.ts +0 -2
- package/types/test/clock.d.ts.map +0 -1
- package/types/test/content.d.ts +0 -20
- package/types/test/content.d.ts.map +0 -1
- package/types/test/cookies.d.ts +0 -9
- package/types/test/cookies.d.ts.map +0 -1
- package/types/test/database.d.ts +0 -2
- package/types/test/database.d.ts.map +0 -1
- package/types/test/dom.d.ts +0 -2
- package/types/test/dom.d.ts.map +0 -1
- package/types/test/env.d.ts +0 -2
- package/types/test/env.d.ts.map +0 -1
- package/types/test/html-snapshot.d.ts +0 -4
- package/types/test/html-snapshot.d.ts.map +0 -1
- package/types/test/index.d.ts +0 -30
- package/types/test/index.d.ts.map +0 -1
- package/types/test/interact.d.ts +0 -7
- package/types/test/interact.d.ts.map +0 -1
- package/types/test/isolation.d.ts +0 -2
- package/types/test/isolation.d.ts.map +0 -1
- package/types/test/lazy-plugins.d.ts +0 -8
- package/types/test/lazy-plugins.d.ts.map +0 -1
- package/types/test/mount.d.ts +0 -19
- package/types/test/mount.d.ts.map +0 -1
- package/types/test/natives.d.ts +0 -26
- package/types/test/natives.d.ts.map +0 -1
- package/types/test/network.d.ts +0 -62
- package/types/test/network.d.ts.map +0 -1
- package/types/test/outgoing.d.ts +0 -12
- package/types/test/outgoing.d.ts.map +0 -1
- package/types/test/outputs.d.ts +0 -5
- package/types/test/outputs.d.ts.map +0 -1
- package/types/test/override-env.d.ts +0 -9
- package/types/test/override-env.d.ts.map +0 -1
- package/types/test/page-checks.d.ts +0 -6
- package/types/test/page-checks.d.ts.map +0 -1
- package/types/test/page-types.d.ts +0 -110
- package/types/test/page-types.d.ts.map +0 -1
- package/types/test/page.d.ts +0 -19
- package/types/test/page.d.ts.map +0 -1
- package/types/test/preload.d.ts +0 -5
- package/types/test/preload.d.ts.map +0 -1
- package/types/test/reset.d.ts +0 -2
- package/types/test/reset.d.ts.map +0 -1
- package/types/test/root.d.ts +0 -2
- package/types/test/root.d.ts.map +0 -1
- package/types/test/scratch.d.ts +0 -2
- package/types/test/scratch.d.ts.map +0 -1
- package/types/test/screenshot-match.d.ts +0 -7
- package/types/test/screenshot-match.d.ts.map +0 -1
- package/types/test/service.d.ts +0 -25
- package/types/test/service.d.ts.map +0 -1
- package/types/test/shared-modules.d.ts +0 -3
- package/types/test/shared-modules.d.ts.map +0 -1
- package/types/test/site-actions.d.ts +0 -8
- package/types/test/site-actions.d.ts.map +0 -1
- package/types/test/site-api.d.ts +0 -4
- package/types/test/site-api.d.ts.map +0 -1
- package/types/test/site-keys.d.ts +0 -10
- package/types/test/site-keys.d.ts.map +0 -1
- package/types/test/site-mcp.d.ts +0 -4
- package/types/test/site-mcp.d.ts.map +0 -1
- package/types/test/site-scope.d.ts +0 -21
- package/types/test/site-scope.d.ts.map +0 -1
- package/types/test/site-socket.d.ts +0 -4
- package/types/test/site-socket.d.ts.map +0 -1
- package/types/test/site-types.d.ts +0 -140
- package/types/test/site-types.d.ts.map +0 -1
- package/types/test/site-world.d.ts +0 -11
- package/types/test/site-world.d.ts.map +0 -1
- package/types/test/sites.d.ts +0 -4
- package/types/test/sites.d.ts.map +0 -1
- package/types/test/text-match.d.ts +0 -13
- package/types/test/text-match.d.ts.map +0 -1
- package/types/test/timeout.d.ts +0 -2
- package/types/test/timeout.d.ts.map +0 -1
- package/types/test/wait.d.ts +0 -7
- package/types/test/wait.d.ts.map +0 -1
- package/types/test/writable.d.ts +0 -2
- package/types/test/writable.d.ts.map +0 -1
- package/types/tsgo.d.ts +0 -3
- package/types/tsgo.d.ts.map +0 -1
package/llms/testing-mount.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Testing components and helpers
|
|
2
|
-
|
|
3
|
-
Mounting a component in `bun test` and the helpers for a test of its own, for the tests in [Testing](testing.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Mount a component
|
|
8
|
-
|
|
9
|
-
- `mountComponent(Component, props)` from `kay/test` renders one component built for the browser, as an island renders, into `document`, and resolves with `{ root, unmount, setProps }` once its effects ran: for what handlers and effects do, such as a dialog opening on a click.
|
|
10
|
-
- `Component` is the one the test imports, whose props are typed; the browser build is made from its file.
|
|
11
|
-
- `await setProps({ tiles })` gives the mounted component new values for some of its props, as a parent that re-rendered would (the others keep theirs, a prop it was mounted without can be given), then settles: for a component that follows a prop.
|
|
12
|
-
- The mount also has `type(selector, text)`, `click(selector)` and `press(key)`, firing what a browser fires, then settling: `type` focuses an input or textarea and puts the text in it with an `input` event (a `select` takes the option whose value or label is the text, with `input` and `change`), `click` sends the pointer events and the click to the element and focuses it, a disabled one doing nothing, and `press` sends `keydown` and `keyup` to the focused element, Enter committing a text field with its `change` and submitting its form, Enter or Space (`press(' ')`) clicking a button. A text field's `change` also comes when another gesture leaves it. They work on kayjs-ui's TextInput, Select and Segmented.
|
|
13
|
-
- On a French site (a `lang` or locale of `fr`) it writes the non-breaking spaces an island does, once `document.documentElement.lang` is `fr`; the other client defines (`KAY_BROWSER`, `KAY_STATIC_EXPORT`) are left out.
|
|
14
|
-
- Props may be functions, and the component runs on the test's reactive core, so a signal the test creates reaches it as a prop (`{ read: level }`) and stays live.
|
|
15
|
-
- A library's settings apply as `kay.config.ts` sets them.
|
|
16
|
-
- A component may `call()` or `resource()` a route of an API module, the project's or an extension's: it is bundled as in the browser, knowing the module only by where it is served, so the call goes out as `fetch` (stub it in the test).
|
|
17
|
-
- The modules the component imports from the project and from packages are the test's own, not copies: `import { count } from '../src/store'` in the test and the component's import are one instance, a store of `signal()` or `persisted.cookie()` included, so `count.set(1)` before or after the mount is what the component shows and what it writes is what the test reads. `mock.module('../src/lazy', () => ({ ... }))` or `mock.module('ms', ...)` before the mount reaches the component's static and dynamic imports, and mutating an exported object (`Object.assign(loaders, ...)`) is seen by the component too.
|
|
18
|
-
- One instance means the state outlives the mount, across the mounts and tests of a file and the files one worker runs: a test resets what it mutates (`count.set(0)` in `afterEach`). `mock.module()` lasts for the whole process and `mock.restore()` does not undo it: keep the real exports first (`const real = { ...await import('../src/lazy') }`) and mock them back. A persisted signal of such a module reads storage when first read, so `writePersisted` before the first mount, then `set` it; it needs the DOM to exist when the module loads (`kay/test/dom` imported first), and an app module reading `document` or `localStorage` at load is shared too, keeping the first file's happy-dom document: read them lazily.
|
|
19
|
-
- A module reaching a `.kay` file (through a barrel too), an API module, a server builtin or an entry kay builds for the browser (`kay/island`), a package choosing its entry by the `browser` condition, and kay's libraries (kayjs-ui, kayjs-cms) stay in the bundle, built for the browser and run afresh by each mount, as does a component's own file: a persisted signal declared there reads storage as it is at each mount, and a library's toasts start empty.
|
|
20
|
-
- A test reading `document` before its first mount imports `kay/test/dom` (last, where the preset sorts it), which registers the DOM at once; listed after `kay/test/preload` under `[test] preload`, it registers it for every file.
|
|
21
|
-
- It shims the popover API happy-dom lacks: `showPopover`, `hidePopover` and `togglePopover` fire `toggle` as a browser does, and `matches(':popover-open')` reads whether one is shown.
|
|
22
|
-
- It leaves `fetch`, `Request`, `Response`, `Headers`, `Blob`, `File`, `URL`, `URLSearchParams`, `AbortController`, `AbortSignal` and `WebSocket` as Bun's, and `FormData` is Bun's class that also reads a form element (a file input keeps its file), so a test serving with `Bun.serve` and fetching it works beside the DOM.
|
|
23
|
-
- A test may register the DOM itself instead, such as `GlobalRegistrator.register({ url: 'http://localhost/' })` for a document whose cookies the page reads.
|
|
24
|
-
- A DOM left registered for the rest of the run does not reach `testSite`, whose app runs on Bun's own `Request`, `Response` and the rest, so a file mounting components and one visiting pages share one `bun test` run, as long as `kay/test/preload` comes before any preload registering a DOM.
|
|
25
|
-
- A function the test stubbed, such as `fetch`, stays its stub there, and a streamed page under a DOM is read through `visit`, `site.fetch` handing back a body read later.
|
|
26
|
-
- A `persisted.local(key, initial)` signal keeps its value encoded as island props are, not as JSON: `writePersisted(key, value)` and `readPersisted(key)` from `kay/test` set one before a mount and read one back, `undefined` when none was kept; `'session'` as their last argument does the same for a `persisted.session` signal's sessionStorage.
|
|
27
|
-
- After an interaction, `await settle()` lets effects land before the DOM is read.
|
|
28
|
-
|
|
29
|
-
## Reference
|
|
30
|
-
|
|
31
|
-
### Helpers for a test of its own
|
|
32
|
-
|
|
33
|
-
- `cookieJar()` from `kay/test` keeps a browser's cookies for a test driving an Elysia app or a handler of its own rather than `testSite`, which keeps its own as `site.cookies`.
|
|
34
|
-
- `jar.send(handle, request)` sends the cookies kept so far through `handle`, such as `app.handle`, keeps those the response sets and drops those it expires; `jar.header()` is the `cookie` header it sends, `''` when it holds none, and `jar.cookies` the `Bun.CookieMap`.
|
|
35
|
-
- `solveWork(challenge)` from `kay/test` solves a proof-of-work challenge, such as one `workChallenge()` signs, as kay's script does, for a test posting a form field by hand, or `undefined` for text that is no challenge.
|
|
36
|
-
- `scratchDir(prefix)` from `kay/test` makes a fresh directory under the project's `.kay/scratch` and resolves with its absolute path: inside the project, so a file written there imports the project's packages, and under `.kay`, which no build or check reads, so another test file building beside it never meets it.
|
|
37
|
-
- `scratchDir(prefix, root)` puts it under another project's `.kay/scratch`; the test removes the directory once done with it.
|
|
38
|
-
- `overrideEnv(env, { MEDIA_DIR: dir })` from `kay/test` gives a `defineEnv` value other variables, `undefined` unsetting an optional one, until `restore()` or the end of a `using`, never `process.env`; only an `env.X` read at call time sees it, not a value copied at import, a value given is not checked against the schema, restores run in reverse order, tests running at once share the one `env`, and `publicEnv` is read apart.
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
import { expect } from 'bun:test'
|
|
42
|
-
import { cookieJar } from 'kay/test'
|
|
43
|
-
import { app } from './app'
|
|
44
|
-
|
|
45
|
-
const jar = cookieJar()
|
|
46
|
-
|
|
47
|
-
await jar.send(app.handle, new Request('http://localhost/sign-in', { method: 'POST' }))
|
|
48
|
-
expect(jar.cookies.has('kay_session')).toBe(true)
|
|
49
|
-
```
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
# Testing requests, jobs, sockets and sessions
|
|
2
|
-
|
|
3
|
-
## Common tasks
|
|
4
|
-
|
|
5
|
-
### Run the jobs an action enqueued
|
|
6
|
-
|
|
7
|
-
`site.runJobs()` runs every job whose time has come and resolves with how many ran:
|
|
8
|
-
|
|
9
|
-
```ts
|
|
10
|
-
await site.submit(signUp, { name: 'Ada', email: 'ada@example.com' }, { from: '/' })
|
|
11
|
-
|
|
12
|
-
expect(await site.runJobs()).toBe(1)
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
A mail an action enqueues is waited for by kayjs-mail's `outbox`, which runs the site's queues until it is there: `await outbox.waitFor(address, { site })` resolves with the newest mail to that address, and `outbox.token(mail, '/auth/verify-email')` reads the token of its link ([kayjs-mail](../../mail/llms/contact-form-and-testing.md#testing)).
|
|
16
|
-
|
|
17
|
-
### Fire a schedule or move the server's clock
|
|
18
|
-
|
|
19
|
-
`site.runSchedule('@hourly')` runs the job of that `schedule()` once now (the text or the job function names it, no argument fires every schedule), and `site.advance('1h')` moves the clock with `setSystemTime`, fires each schedule at every instant it falls due on the way with the clock at that instant, then runs the queue jobs now due; both resolve with how many runs they fired:
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
await site.runSchedule('@hourly')
|
|
23
|
-
expect(await reportCount()).toBe(1)
|
|
24
|
-
|
|
25
|
-
await site.advance('1h')
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
### Wait for a state nothing else waits for
|
|
29
|
-
|
|
30
|
-
`waitUntil(condition, { timeout, what })` from `kay/test` polls a sync or async function until it returns something truthy and resolves with that value, as for a title written after a stream ended or state fed by a websocket. It fails after 5 seconds (or `timeout`, such as `'2s'`) naming `what` and the last value seen, and needs real timers, as fake ones freeze it:
|
|
31
|
-
|
|
32
|
-
```ts
|
|
33
|
-
import { waitUntil } from 'kay/test'
|
|
34
|
-
|
|
35
|
-
const session = await waitUntil(() => findSession(id)?.title, { what: 'the session title' })
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Test a websocket route
|
|
39
|
-
|
|
40
|
-
`site.socket(module, path, options)` opens the route as an island does, and `next()` resolves with the oldest message not read yet:
|
|
41
|
-
|
|
42
|
-
```ts
|
|
43
|
-
import chat from '../src/api/chat'
|
|
44
|
-
|
|
45
|
-
const room = site.socket(chat, '/:room', { params: { room: 'general' } })
|
|
46
|
-
|
|
47
|
-
room.send({ text: 'hello' })
|
|
48
|
-
|
|
49
|
-
expect(await room.next()).toEqual({ room: 'general', from: 'anonymous', text: 'hello' })
|
|
50
|
-
room.close()
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
`site.socket.refused(module, path, options)` sends a real upgrade and resolves with the refusal, such as a guard's 401 or the 403 of a cross-site `origin`, and fails when the route accepted it:
|
|
54
|
-
|
|
55
|
-
```ts
|
|
56
|
-
const refused = await site.socket.refused(chat, '/:room', { params: { room: 'general' }, headers: { origin: 'https://evil.test' } })
|
|
57
|
-
|
|
58
|
-
expect(refused.status).toBe(403)
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## Reference
|
|
62
|
-
|
|
63
|
-
### Requests, jobs, sockets and sessions
|
|
64
|
-
|
|
65
|
-
- `testSite({ headers })` and `site.as(cookie | headers)` set headers every method sends, a call's own header of the same name winning, and a `cookie` header goes with the cookies kept so far, the one it names itself winning; `as` shares the site's cookies and server, leaves the site it came from as it is, and stacks cookies by name, the newer winning.
|
|
66
|
-
- `persistedCookie(name, value)` from `kay/test` is the `Cookie` value a `persisted.cookie(name, initial)` signal kept in a cookie holds, so a test sets one by name without knowing how kay encodes it: `site.as(persistedCookie('scheme', 'light')).visit('/')` renders with `light` on the first render, where `scheme=light` reads as the default.
|
|
67
|
-
- A `cookie` header a site or `as` gives is sent on every request, so it beats a cookie the jar deleted or rotated: use the site itself, not `as`, to follow a session's cookie as the app changes it.
|
|
68
|
-
- A default `origin` never replaces the one `call` and `submit` send, and `site.api` sends `accept: application/json` and a JSON body's `content-type` unless the site or the call names them (`site.mcp` always sends its protocol's two); `site.as(cookie).open(path)` opens the browser with that cookie unless `cookies` is given.
|
|
69
|
-
- `site.api(module, path, options)` takes `method` (GET unless named), `params`, `query`, `body` and `headers`, a body with a file going as a form, and resolves with `{ ok, status, headers, body }` for any status, the body parsed as `call()` reads an answer; a param is encoded as one segment, and an empty one or a dot segment throws a `TypeError`.
|
|
70
|
-
- `site.runSchedule(which?)` fires the schedules of the site's app once each, now: `which` is a schedule's text (`'@hourly'`, `'30s'`) or its job function, none fires all of them, and it fails naming the site's schedules when none matches. The run is the production one (timeout, `onSuccess`, `onError`, a job that throws logged not thrown, a `lock` honoured) and waits for a run going. `site.advance(by)` takes a duration, fires schedules in order of their instants (a cap of 1000 runs, then it asks for smaller steps), leaves the clock at the target (also when a run or the cap throws) and drains the queues at the target time, so a job a schedule enqueued runs then, not at its own instant. Every schedule matching `which` fires, two with one text included. The test site runs in the test's process, so `setSystemTime` reaches the server: sessions, rate-limit windows and `cache()` revalidation read it, but a timer already set (`setTimeout`) does not move. The clock stays moved for the rest of the test; `site.close()` and the end of the file put it back, and `setSystemTime()` does it sooner.
|
|
71
|
-
- `site.socket.refused(module, path, options)` sends the upgrade to the site's server (at the root of its port, whatever the base), keeps the cookies the refusal sets, gives up after 5 seconds, which it starts as `socket` does, and resolves with the response of a refused one; an accepted upgrade is closed and fails the test naming the route. A socket the app closes after accepting is `socket()`'s `status()`.
|
|
72
|
-
- `site.fetch(path, init)` sends any request, an API route's included, with the cookies so far, and resolves with the response as it is, redirects not followed.
|
|
73
|
-
- `site.runJobs()` runs every job the app's queues hold whose time has come, those the jobs enqueue included, and resolves with how many ran: an action enqueues, the test runs the jobs, then checks what they did. It also waits for a `queue.enqueue()` or kayjs-mail `send`/`enqueue` the app started and left unawaited, but not for one a timer or other delay has not started yet.
|
|
74
|
-
- Queues keep their jobs in memory under `bun test` unless one names a store, and `files` its files, each `testSite` in a store of its own unless its options name one.
|
|
75
|
-
- `site.socket(module, path, options)` opens a websocket route and `site.stream(module, path, options)` reads an event stream as an island does, the options taking `headers` too.
|
|
76
|
-
- Both keep every message in `received` and resolve `next()` with the oldest one not read yet, waiting for one if need be; a stream's `finished()` resolves with all its values once it ended.
|
|
77
|
-
- `site.socket` starts the site on a free port the first time, which `site.close()` stops.
|
|
78
|
-
- A test site is closed once the tests ran (after each file with `--isolate` or `--parallel`, else after the run) with its pages, sockets, streams and server, so no test file closes it in an `afterAll`; `site.close()` stays for a test that wants it sooner and may be called twice. It runs the `onStop` hooks of the app's plugins too, whether the site listened or not, once.
|
|
79
|
-
- Cookies a response sets go with the next request and read as `site.cookies`, each only to the paths its `Path` covers.
|
|
80
|
-
- A site with a `base` in kay.config.ts is served under it with no option: `visit`, `submit`, `fetch` and `call`'s `from` take a path with the base (`/blog/about`, the base itself `/blog` or `/blog/`) or without it (`/about`), and a path starting with the base is taken as given, so a route starting like it is `/blog/blog/hello`.
|
|
81
|
-
- Under a base `visit` and `submit` resolve with `url` as the browser shows it (`/blog/about`), a redirect to a base-prefixed `Location` is followed with the cookies kept, a cookie with `Path=/blog` goes to every page and one with `Path=/other` to none, and `site.mcp` and `site.call` need nothing: `testSite({ base: '/blog' })` serves a config without one under it.
|
|
82
|
-
- `site.open()` serves the site under its base as the proxy in front of it would, its scripts, posts, redirects and websockets included: `site.open('/blog/en/')`, and a path given without the base (`/about`) opens under it.
|
|
83
|
-
- `use` takes the plugins the server entry uses before the pages, in order, so an app on `session()` signs in through `site.submit` and stays signed in: `testSite({ use: [sessions] })`.
|
|
84
|
-
- `locals` stands in for the app's Elysia `derive`, called with each request, after those plugins.
|
|
85
|
-
- A site made at the top of a test file, as `const site = await testSite()` is, sends each test's requests as a client of its own, so a rate limit counts the posts of one test only: a test posting until it is refused needs no other to run first, and none after it is refused.
|
|
86
|
-
- One made inside a test or a `beforeAll` is one client throughout.
|
|
87
|
-
- A request carrying the header the app's `proxy` setting names still comes from the address it gives.
|
|
88
|
-
|
|
89
|
-
### Fake the outside world
|
|
90
|
-
|
|
91
|
-
`site.fetchStub` answers the `fetch` calls the app makes to other hosts, for the test, and `site.freezeTime` stops the clock:
|
|
92
|
-
|
|
93
|
-
```ts
|
|
94
|
-
const stub = site.fetchStub({
|
|
95
|
-
'https://api.example.com/orders/*': { status: 'paid' },
|
|
96
|
-
'POST https://api.example.com/refunds': request => ({ refunded: request.json() }),
|
|
97
|
-
})
|
|
98
|
-
|
|
99
|
-
await site.call(refund, { order: 12 })
|
|
100
|
-
|
|
101
|
-
expect(stub.requests[0]?.url).toBe('https://api.example.com/refunds')
|
|
102
|
-
|
|
103
|
-
site.freezeTime('2026-03-01T10:00:00Z')
|
|
104
|
-
await site.advance('1h')
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
- `fetchStub(routes)` keys a route by a URL with `*` for any characters, matched without its query unless the key names one, led by a method (`'POST https://…'`) for one verb; a route is a value (an object as JSON, a string as text, a `Response` as it is) or a function of the request (`method`, `path`, `query`, `headers`, `text`, `bytes`, `json()`), as `fakeService` takes them. A later stub wins over an earlier one, the answer lists the `requests` it received with their `url`, and the stubs end with the test.
|
|
108
|
-
- Once a site exists, a `fetch` to another host that no stub answers fails the test with the address and how to stub it; a call to loopback (a `fakeService`, the site's own server) and to a scheme other than http and https goes through. `testSite({ outgoing: 'allow' })` lets unstubbed calls reach the network, as long as no other site open in the process is strict.
|
|
109
|
-
- `freezeTime(at?)` freezes `Date.now()` and what reads it (sessions, rate-limit windows, cache ages) at a date, now when left out, and resolves with it; `advance` moves it on from there. The real time comes back after each test, an `advance` included, and with `close()`. A page opened with `site.open` has a clock of its own, `page.advance`.
|
|
110
|
-
- `site.signInAs(who)` signs the site in for every library whose `test(site)` joined it: kayjs-auth reads `email` or `username` with `createUser`'s fields and the app's user `data`, kayjs-cms a `role` (or none for a guard holding one password); it resolves with `{ user, role }`, each set by the library that signed in. `site.signOut()` signs the site out of all of them. A library's own `signInAs` stays for a test of one library.
|
package/llms/testing-setup.md
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# Test databases and setup
|
|
2
|
-
|
|
3
|
-
How `bun test` gets a database, seeds it and switches the session store, for the tests in [Testing](testing.md).
|
|
4
|
-
|
|
5
|
-
## Common tasks
|
|
6
|
-
|
|
7
|
-
### Seed the database every test file starts with
|
|
8
|
-
|
|
9
|
-
`tests/seed.ts` default-exports a function that fills the database the per-file copies are made from; with `pg-orm.config.ts` and `DATABASE_URL` in `.env.test`, each file then reads its own copy:
|
|
10
|
-
|
|
11
|
-
```ts
|
|
12
|
-
// tests/seed.ts
|
|
13
|
-
export default async function seed(db: Database) {
|
|
14
|
-
await db.repo(Member).write.insertOne({ name: 'Ada' })
|
|
15
|
-
}
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Run the tests
|
|
19
|
-
|
|
20
|
-
`kay test` runs each file in modules of its own, so files never see each other's rows:
|
|
21
|
-
|
|
22
|
-
```sh
|
|
23
|
-
kay test
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Import a page in a test
|
|
27
|
-
|
|
28
|
-
Test files import `.kay` files directly through `kay/test/preload`, which the `bunfig.toml` `kay new` writes lists:
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
import { add } from '../src/routes/index.kay'
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Reference
|
|
35
|
-
|
|
36
|
-
### Databases and setup
|
|
37
|
-
|
|
38
|
-
- An app keeping its data with `@kaynooo/pg-orm`, as `kay new --template app --with postgres` does, gets a database for each test file from `kay/test/preload` with no declaration: when the project has a `pg-orm.config.ts` and `DATABASE_URL` is set (`.env.test`), it copies a database migrated from the config's `migrationsDir` (`migrations` by default) with the config's tables, points `DATABASE_URL` at the copy before the app's modules read it, and drops it in `afterAll`. `pg-orm.config.ts` may import the app's `db` module: the project modules it loads are evaluated again after the switch, so they connect to the copy.
|
|
39
|
-
- What every file starts with on top of the migrations is the default export of `tests/seed.ts`, `export default async function seed(db: Database) { await db.repo(Member).write.insertOne({ name: 'Ada' }) }`, run once on the database the copies are made from; without the file the copies start empty. An app that wrote its own `tests/database.ts` with pg-orm's `testDatabase()` deletes it and its `bunfig.toml` line, moving its seed to `tests/seed.ts`.
|
|
40
|
-
- `kay test` runs each file in modules of its own (`bun test --isolate`), so each reads its own copy and files never see each other's rows; a plain `bun test` would share one copy among the files, so with a test database `kay/test/preload` refuses it, naming `kay test` and `bun test --isolate` (checked on Linux, where the run's flags can be read).
|
|
41
|
-
- The test database in `.env.test` need not exist, a SQLite file is made on first use, and a Postgres server's user only needs `CREATEDB`.
|
|
42
|
-
- Without `browser`, pages render their islands' markup without scripts.
|
|
43
|
-
- `testSite()` still builds the islands for the browser, unminified, into `.kay/test-client.<options hash>` (`.kay/test-client-<n>.<hash>` in a `bun test --parallel` worker), one folder per set of options, leaving what `kay build` wrote in `.kay/client` alone, and throws that build's error when one fails, such as an island reaching a Bun builtin or a server module (`browser-builtin-import`), which no server-side render meets.
|
|
44
|
-
- It runs once per process (once per file under `bun test --isolate`) for as long as no file it read changed and no source of the project was added or removed: the components, scripts, stylesheets and content it read, and the library files it bundled; a file it did not read, such as a database a test writes under `data/`, changes without building it again, and one the root `.gitignore` leaves out, by a glob such as `data/*.sqlite*` too, comes and goes without building it again; one at a time, and `browser: true` shares it. A build that failed fails again until a source changes.
|
|
45
|
-
- `kay/test/preload` sets a 20 second default timeout for tests and hooks (Bun's `[test] timeout` does not reach hooks), or the `[test] timeout` of the working directory's bunfig.toml or the `--timeout` flag (read from `/proc`, so on Linux) when the project gave one, hooks included. On a large app the build may outlast it: pass `testSite({ islands: false })` there, or a longer timeout to `beforeAll`.
|
|
46
|
-
- Test files import `.kay` files directly, `import { add } from '../src/routes/index.kay'`, through `kay/test/preload`, which `kay test` loads and the `bunfig.toml` `kay new` writes (`[test] preload = ["kay/test/preload"]`) lists for a plain `bun test` and the editor's test runner, along with a first test.
|
|
47
|
-
- They are typed through `.kay/types` as any `.ts` file's imports are, so `kay check` passes them, and a bare `tsgo` resolves them only once `kay check` has written that tree, which a check script runs first.
|
|
48
|
-
- `bun test` loads the project's `.env` as well as `.env.test` and `.env.test.local`, whatever `NODE_ENV` says.
|
|
49
|
-
- The preload drops every variable only `.env` sets, so a test never reaches the mail server or database a developer's `.env` names: tests see the shell's and the CI's variables and the test files', and `.env.test` need not blank what `.env` holds.
|
|
50
|
-
- The preload loads `kay.config.ts` and every module it imports, `defineEnv` modules included, so an app preload that pins test env (a temp root, an in-memory database) goes before it: `preload = ["./tests/setup.ts", "kay/test/preload"]`. The preload keeps a variable an earlier preload set to a value other than `.env`'s (one pinned to the same value is dropped like the rest), and still drops the rest of `.env`. Listed after it, the pin comes too late for what the config imports. A `.env` value expanding another variable (`B=$A`, `U=$HOME/x`) reads the starting environment, as Bun did, so a preload changing that variable does not make the value look pinned.
|
|
51
|
-
- The preload serves the project in the working directory, or the one `KAY_ROOT` names when it is nested, such as a library's fixture app run as `KAY_ROOT=tests/fixture bun test`, which `testSite()` then serves too.
|
|
52
|
-
- One test process serves one project: `testSite({ root })` on a second root throws, saying how to run it apart, as `bun test --parallel` (each file in a process of its own) or a `KAY_ROOT=<root> bun test <files>` run of its own.
|
|
53
|
-
|
|
54
|
-
Browser tests, with `testSite({ browser: true })`, are in [Testing in a browser](testing-browser.md).
|
package/llms/testing.md
DELETED
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
# Testing
|
|
2
|
-
|
|
3
|
-
## Common tasks
|
|
4
|
-
|
|
5
|
-
### Run the tests
|
|
6
|
-
|
|
7
|
-
`kay test [bun test arguments]` (the `test` script `kay new` writes) runs `bun test` with each file in modules of its own and `kay/test/preload` loaded, so a project needs no `bunfig.toml` and no flag: `kay test tests/cart.test.ts`, `kay test --watch`, `kay test --changed`. A failure is reported at the line of the `.kay` file.
|
|
8
|
-
|
|
9
|
-
### Test a page
|
|
10
|
-
|
|
11
|
-
`testSite()` from `kay/test` serves the project in the test process, `site.visit(path)` GETs a page, and `page.text(selector)` reads what a visitor reads:
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
import { expect, it } from 'bun:test'
|
|
15
|
-
import { testSite } from 'kay/test'
|
|
16
|
-
|
|
17
|
-
const site = await testSite()
|
|
18
|
-
|
|
19
|
-
it('greets the visitor', async () => {
|
|
20
|
-
const page = await site.visit('/')
|
|
21
|
-
|
|
22
|
-
expect(page.text('h1')).toBe('Welcome')
|
|
23
|
-
})
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
### Test a refused form
|
|
27
|
-
|
|
28
|
-
`site.submit(action, fields, { from })` posts a form without JavaScript and reads the page a refused post renders:
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
import { expect, it } from 'bun:test'
|
|
32
|
-
import { testSite } from 'kay/test'
|
|
33
|
-
import { add } from '../src/routes/index.kay'
|
|
34
|
-
|
|
35
|
-
const site = await testSite()
|
|
36
|
-
|
|
37
|
-
it('shows why a todo was refused', async () => {
|
|
38
|
-
const page = await site.submit(add, { title: '' }, { from: '/' })
|
|
39
|
-
|
|
40
|
-
expect(page.text()).toContain('Write a title')
|
|
41
|
-
})
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
### Test an action as an island calls it
|
|
45
|
-
|
|
46
|
-
`site.call(action, input)` resolves with the result, and `site.expectRefused(action, input)` expects the call refused:
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
const refused = await site.expectRefused(add, { title: '' })
|
|
50
|
-
|
|
51
|
-
expect(refused.status).toBe(422)
|
|
52
|
-
expect(refused.errors).toEqual({ title: 'Write a title' })
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
### Test as a signed-in user
|
|
56
|
-
|
|
57
|
-
`locals` stands in for the app's `derive`, and `use` takes the plugins the server entry uses before the pages:
|
|
58
|
-
|
|
59
|
-
```ts
|
|
60
|
-
const site = await testSite({
|
|
61
|
-
locals: () => ({ user: { id: 1, admin: true } }),
|
|
62
|
-
})
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
`headers` gives every request of the site a header, and `site.as(cookie | headers)` is the same site with more of them, a string being a `Cookie` header such as `await auth.sessionCookie(userId)` returns, so a test does not repeat `{ headers: { cookie } }` on each call:
|
|
66
|
-
|
|
67
|
-
```ts
|
|
68
|
-
const asAdmin = site.as(await auth.sessionCookie(admin.id))
|
|
69
|
-
|
|
70
|
-
expect((await asAdmin.visit('/admin')).status).toBe(200)
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
kayjs-auth's `await auth.signInAs(site, { email, username })` signs a test site in as a member, made when none exists, with no form round trip; `auth.signOut(site)` signs it out, and a second `signInAs` switches member (see [kayjs-auth](../../auth/llms/hardening-and-testing.md)).
|
|
74
|
-
|
|
75
|
-
### Test a library's part
|
|
76
|
-
|
|
77
|
-
Each library's `/test` entry exports `test(site)`, taking the `TestSite` and called at the top of a file: it clears the library's fake before every test (a library's own helper does it with `resetEachTest(clear)` from `kay/test`, which runs `clear` now and around each test) and has `reset()`. `test(site)` of `@kayjs/mail/test` gives the site's mails (`waitFor` runs its queues), of `@kayjs/ai/test` the fake model (`reply`, `fail`, `asked`), of `@kayjs/auth/test` `signInAs`, `signOut` and `sessionCookie` (as `auth.test(site)` does) and of `@kayjs/cms/test` `signInAs`, `signInWith`, `save`, `entry`, `delete`, `rename`, `move` and `upload`; each library's llms.txt has the rest. `site.signInAs({ email })` signs in for every library that joined, and `site.fetchStub` and `site.freezeTime` fake the outside world: [Fake the outside world](testing-requests-jobs-sockets.md).
|
|
78
|
-
|
|
79
|
-
### Check a page's metadata
|
|
80
|
-
|
|
81
|
-
A visit reads the title, meta tags, canonical link, JSON-LD and links without a regex:
|
|
82
|
-
|
|
83
|
-
```ts
|
|
84
|
-
const page = await site.visit('/pricing')
|
|
85
|
-
|
|
86
|
-
expect(page.title()).toBe('Pricing | Example')
|
|
87
|
-
expect(page.meta('description')).toBe('What it costs')
|
|
88
|
-
expect(page.canonical()).toBe('https://example.com/pricing')
|
|
89
|
-
expect(page.find('a[aria-current="page"]')[0]?.attributes.href).toBe('/pricing')
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
### Test an API route
|
|
93
|
-
|
|
94
|
-
`site.fetch(path, init)` sends any request with the cookies so far and resolves with the response as it is:
|
|
95
|
-
|
|
96
|
-
```ts
|
|
97
|
-
const response = await site.fetch('/api/health')
|
|
98
|
-
|
|
99
|
-
expect(response.status).toBe(200)
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
`site.api(module, path, options)` calls a route of a module under `src/api` as `call()` does from an island, typed from the route (the method, `params`, `query` and `body`, a wrong one failing to compile), and resolves with `{ ok, status, headers, body }`, the refusal of a 4xx included, `body` typed once `ok` is checked:
|
|
103
|
-
|
|
104
|
-
```ts
|
|
105
|
-
import notes from '../src/api/notes'
|
|
106
|
-
|
|
107
|
-
const created = await site.api(notes, '/', { method: 'post', body: { title: 'first' } })
|
|
108
|
-
|
|
109
|
-
if (created.ok)
|
|
110
|
-
expect(created.body.title).toBe('first')
|
|
111
|
-
|
|
112
|
-
expect(await site.api(notes, '/:id', { method: 'patch', params: { id: 9 }, body: { title: 'x' } })).toMatchObject({ ok: false, status: 404 })
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Running the jobs an action enqueued and testing a websocket route are in [Testing requests, jobs, sockets and sessions](testing-requests-jobs-sockets.md).
|
|
116
|
-
|
|
117
|
-
### Test an app calling an outside API
|
|
118
|
-
|
|
119
|
-
- `fakeService(routes)` from `kay/test` stands in for a service the app calls (Forgejo, Frigate, a weather API): a real server on a free loopback port, so the app's own `fetch`, headers, timeouts and aborts run for real.
|
|
120
|
-
- `routes` maps `path` or `METHOD path` to a value (JSON, a string as text, `undefined` as 204), a `Response`, or a function of the request returning one; a bare function answers every request, and an unmatched one answers 404.
|
|
121
|
-
- `service.url` is its origin with no trailing slash, so one line points the app at it, `overrideEnv(env, { FORGEJO_URL: forgejo.url })`.
|
|
122
|
-
- `service.requests` holds what it received since the test began, each `{ method, path, query, headers, text, bytes, json() }`, and `service.errors` what a route function threw, each answered 500.
|
|
123
|
-
- `service.fail(503)` answers every request that status and `service.stall()` holds them unanswered, both until the test ends, to test the app's failure and timeout paths.
|
|
124
|
-
- The requests clear and the failure ends before each test, and the server stops after the file's tests; one made inside a test is stopped with `await using` or `service.stop()`.
|
|
125
|
-
|
|
126
|
-
```ts
|
|
127
|
-
import { afterAll, expect, it } from 'bun:test'
|
|
128
|
-
import { fakeService, overrideEnv, testSite } from 'kay/test'
|
|
129
|
-
import { env } from '../src/env'
|
|
130
|
-
|
|
131
|
-
const forgejo = fakeService({ 'GET /api/v1/repos': ({ query }) => [{ name: 'kay', page: query.get('page') }] })
|
|
132
|
-
const restore = overrideEnv(env, { FORGEJO_URL: forgejo.url })
|
|
133
|
-
const site = await testSite()
|
|
134
|
-
|
|
135
|
-
afterAll(restore.restore)
|
|
136
|
-
|
|
137
|
-
it('lists the repos Forgejo gives, and says so when it is down', async () => {
|
|
138
|
-
expect((await site.visit('/repos')).text('li')).toContain('kay')
|
|
139
|
-
|
|
140
|
-
forgejo.fail(503)
|
|
141
|
-
expect((await site.visit('/repos')).text('.error')).toContain('unavailable')
|
|
142
|
-
expect(forgejo.requests.at(-1)?.path).toBe('/api/v1/repos')
|
|
143
|
-
})
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
### Read the log
|
|
147
|
-
|
|
148
|
-
`site.logs` holds what the server logged since the test began, in order, as the `log` option's function would get it: `{ type: 'message', level, from, message, request?, error? }` for kay's messages and a `logFrom('reply')` line of the app's, and `{ type: 'request', ... }` when `log` logs requests, which lands once the response is sent, so `await waitUntil(() => site.logs.some(entry => entry.type === 'request'))` before reading it. It is emptied before each test of a site made at the top of a file or a describe, so `expect(site.logs).toContainEqual(expect.objectContaining({ from: 'reply', message }))` needs no spy on `console`.
|
|
149
|
-
|
|
150
|
-
### Reset or seed content
|
|
151
|
-
|
|
152
|
-
A test never writes into the project's `src/content`: a folder collection moves to a copy under `.kay/scratch` as its first save, delete or CMS screen reaches it, and the site reads it from there. `site.content.reset()` puts everything back (folders read from the project, loaders on their own source), `site.content.reset({ posts: [{ slug: 'a', data: { title: 'A' }, body: '...' }] })` or `site.content.seed('posts', entries)` makes a collection hold exactly those entries (`locale` for a localized one), and `site.content.write('posts', 'broken.json', text)` writes a raw file in the copy, for an entry that does not parse. A loaded collection's seed lives in memory: its loader's `load`, `get` and `count` read it, and `save` and `remove` (where declared) change it, never the source. A file written straight into `src/content` is read only until the copy is made. `testEntry(data, members?)` from `kay/test` builds an `Entry` for a component test.
|
|
153
|
-
|
|
154
|
-
### Test a component's handlers
|
|
155
|
-
|
|
156
|
-
`mountComponent(Component, props)` renders one browser-built component into `document`; `settle()` lets effects land first. The first `mountComponent` of a file registers happy-dom's DOM, `@happy-dom/global-registrator` installed as a dev dependency (20.14.6, or 21.0.3 and later); a file mounting nothing never loads it. Registering replaces `setTimeout` and makes `document` exist, so a file stubbing timers or rendering pages before a mount imports `kay/test/dom` instead, last among its imports as the lint preset sorts a side-effect import; an earlier import capturing `setTimeout` at load needs it first.
|
|
157
|
-
|
|
158
|
-
```ts
|
|
159
|
-
import { expect, it } from 'bun:test'
|
|
160
|
-
import { mountComponent, settle } from 'kay/test'
|
|
161
|
-
import Toggle from '../src/components/toggle.kay'
|
|
162
|
-
|
|
163
|
-
it('opens its panel on a click', async () => {
|
|
164
|
-
const { root, unmount } = await mountComponent(Toggle, { label: 'Menu' })
|
|
165
|
-
|
|
166
|
-
root.querySelector('button')!.click()
|
|
167
|
-
await settle()
|
|
168
|
-
|
|
169
|
-
expect(root.querySelector('.panel')?.textContent).toBe('Open')
|
|
170
|
-
unmount()
|
|
171
|
-
})
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
## Reference
|
|
175
|
-
|
|
176
|
-
### Test site
|
|
177
|
-
|
|
178
|
-
`kay/test` serves the project's pages and actions inside the test process, with no server and no browser; its islands are built for the browser as a check, never loaded, once for a run (a file whose sources match the check an earlier file of the run, or an earlier run, passed builds nothing; the first file of a project with islands pays the build, about 1.5 s of CPU and 170 MB on the docs site), and a `.kay` file that does not compile makes only the visit of a page importing it answer 500 and log the error naming the file, not every site, and a file no page imports goes unreported (a `browser` site needs the build and fails whole):
|
|
179
|
-
|
|
180
|
-
```ts
|
|
181
|
-
import { expect, it } from 'bun:test'
|
|
182
|
-
import { testSite } from 'kay/test'
|
|
183
|
-
import { add } from '../src/routes/index.kay'
|
|
184
|
-
|
|
185
|
-
const site = await testSite({
|
|
186
|
-
locals: () => ({ user: { id: 1, admin: true } }),
|
|
187
|
-
})
|
|
188
|
-
|
|
189
|
-
it('shows why a todo was refused', async () => {
|
|
190
|
-
const page = await site.submit(add, { title: '' }, { from: '/' })
|
|
191
|
-
|
|
192
|
-
expect(page.html).toContain('Write a title')
|
|
193
|
-
})
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
- `site.visit(path)` GETs a page and follows redirects, stopping at one to another site.
|
|
197
|
-
- A visit leaves out what the browser loads: stylesheets and island bundles, so `link[rel=stylesheet]` is absent. `testSite({ styles: true })` builds the client as `kay build` does, with no Chrome (it loads Tailwind's native addon and builds into `.kay/client`, as `browser` does), and `await page.css()` is then the CSS the page carries, its inline `<style>` blocks and each linked stylesheet fetched from the site (`media` and `disabled` ignored): `expect(await page.css()).toContain('--color-brand')`. A site without `styles` or `browser` throws from `css()` saying so.
|
|
198
|
-
- `testSite({ config: { proxy: { key: { secret: 'secret' } } } })` of an app setting `proxy.key` turns the key check on for that site alone, with no `KAY_PROXY_KEY` written to `process.env` (`config` takes `mcp.token` too, as literals; `proxyKey` and `mcpKey` work until 1.108): `fetch`, `visit`, `call`, `mcp` and `socket` send the key in the header `proxy.key.header` names, a call's own header of that name wins (`{ headers: { 'x-upstream-key': 'wrong' } }`), and `''` sends none, so `await site.fetch('/', { headers: { 'x-upstream-key': '' } })` reads the 403. The key is trimmed, must not be blank, and it throws with `dev: true` or `browser` (whose `open()` sends no key).
|
|
199
|
-
- A project setting no `site`, nor `SITE_URL`, is served as `http://localhost`, so a page reading `siteUrl()` or `siteOrigin()` renders as it does in production.
|
|
200
|
-
- `site.submit(action, fields, { from })` posts a form without JavaScript, as multipart with any `File` among its fields, and follows it back to its page, or reads the page a refused post renders.
|
|
201
|
-
- An action declared with no input takes `{}` or no fields: `site.submit(forget, {}, { from })`, with no empty `s.object({})` given for the type's sake.
|
|
202
|
-
- `from` may be a page `visit` or `submit` resolved with instead of a path: the post goes where its form posts, from the URL the browser shows it at.
|
|
203
|
-
- A path as `from` is visited first, so a `workChallenge` field of the form on that page is solved as it is for a page: one extra GET per submit.
|
|
204
|
-
- So `site.submit(add, fields, { from: refused })` posts again from the page a refused post answered, as a visitor fixing the form does.
|
|
205
|
-
- A post to an action with `minTime` goes through as if its form had been open long enough, with a page or without, so a test of something else needs no waiting.
|
|
206
|
-
- A page older than `maxAge` is still refused as expired. A post or a call to an action with `proofOfWork` carries a solved challenge, unless `headers` gives its own `x-kay-work`, `''` for none.
|
|
207
|
-
- A test of the minimum itself says how long the form was open: `site.submit(contact, fields, { from: '/', openedFor: 0 })` posts as soon as the page loaded and `openedFor: '2d'` two days after.
|
|
208
|
-
- `visit.stamp(action)` reads the stamp the visit's form for `action` rendered with, and `{ from: visit, stamp }` posts it as it is, so a test checking that the refused page keeps the stamp its form rendered with compares `refused.stamp(contact)` to `page.stamp(contact)`; a `stamp` such as `'forged'`, or a `kay_since` among the fields, is posted as given and wins over `openedFor` and the clock.
|
|
209
|
-
- Both `visit` and `submit` resolve with `{ url, status, headers, html }`, which also reads the page as a crawler does (see below).
|
|
210
|
-
- `site.call(action, input)` calls an action as an island does, `input` its typed input or a `FormData`, left out for an action with no input or only optional fields: `site.call(signOut)`.
|
|
211
|
-
- `{ from: '/orgs/acme' }` names the page a call is made on, for an action reading its params.
|
|
212
|
-
- An action given fields with `with` sends them in `site.call` and `site.submit`, `from` a path or a page.
|
|
213
|
-
- `site.call` resolves with the action's result, throws `ActionError` when it fails and `ActionRedirectError` with `location` when it redirects, the path under the site's `base` when it has one.
|
|
214
|
-
- A handler returning an async iterable gives every value once its stream ended, `[1, 2, 3]`, and throws when the stream failed.
|
|
215
|
-
- `site.expectRefused(action, input)` makes the same call expecting it refused: it resolves with the `ActionError`, `data` typed from the handler and `message` the refusal's text or the schema's messages, and fails the test when the call went through.
|
|
216
|
-
- `await site.expectRefused(add, { title: '' })` reads `{ status: 422, errors: { title: 'Write a title' } }`.
|
|
217
|
-
- `site.mcp.initialize()`, `site.mcp.tools()` and `site.mcp.call(name, args)` test an app's MCP endpoint: [MCP endpoint](mcp.md).
|
|
218
|
-
|
|
219
|
-
### Reading a page
|
|
220
|
-
|
|
221
|
-
- A visit reads its page without a regex: `page.title()`, `page.meta(key)`, `page.canonical()`, `page.jsonLd()`, `page.links()`, `page.find(selector)` and `page.text(selector)`.
|
|
222
|
-
- `page.meta(key)` is the `content` of the `meta` whose `name` or `property` is `key`, such as `description` or `og:image`.
|
|
223
|
-
- `page.jsonLd()` is each thing the JSON-LD scripts describe, parsed, the items of a `@graph` one by one.
|
|
224
|
-
- `page.links()` is every `a`'s `href` in page order.
|
|
225
|
-
- `page.find(selector)` is every element a CSS selector matches, as `{ tag, attributes, text, html }`, `html` the markup inside as the page wrote it and `''` for an element that holds none, an element a browser closes by itself, as `<p>one<p>two`, ending where the browser would: `expect(page.find('a[aria-current="page"]')[0]?.attributes.href).toBe('/pricing')`, `expect(page.find('a.logo')[0]?.html).toStartWith('<svg')`.
|
|
226
|
-
- `page.text(selector)` is the text a visitor reads in the first element a selector matches, or in the whole body without one, scripts, styles and templates left out, or `undefined` when nothing matches.
|
|
227
|
-
- `page.settled` is the page as a visitor ends up seeing it, for one whose `await` blocks stream: each block's last part put in place of its pending markup and the swap script left out, read with the same `title`, `find` and `text`, and an `html` without the streamed templates; `page.text()` and `page.html` keep the pending markup and the templates, `expect(page.settled.text('.score')).toBe('42')`, no browser needed.
|
|
228
|
-
- Assert on text through `text` or `find`, never on `page.html`: an island's markup holds hydration markers between the parts of an interpolated text, so `p Thanks, {name}!` renders `Thanks, <!--[-->Ada<!--]-->!`, and `expect(page.text('.success')).toBe('Thanks, Ada!')` is what passes.
|
|
229
|
-
- Text and attributes come decoded, `&` read as `&`, text with each run of whitespace one space and trimmed, sibling blocks (`li`, `p`, `div`, table cells, headings, `br`) kept apart by a space as a visitor reads them and inline elements (`b`, `span`, `a`) joined, and what the page lacks reads `undefined`.
|
|
230
|
-
- `site.sitemap()` resolves with the URLs `/sitemap.xml` lists, or the sitemap at another path, failing when it does not answer 200.
|
|
231
|
-
|
|
232
|
-
Requests, jobs, sockets and sessions are in [Testing requests, jobs, sockets and sessions](testing-requests-jobs-sockets.md).
|
|
233
|
-
|
|
234
|
-
Mounting a component with `mountComponent`, and the helpers for a test of its own (`cookieJar`, `solveWork`, `scratchDir`, `overrideEnv`), are in [Testing components and helpers](testing-mount.md).
|
|
235
|
-
|
|
236
|
-
### Databases and setup
|
|
237
|
-
|
|
238
|
-
A database per test file, its seed and the session store under `bun test` are in [Test databases and setup](testing-setup.md).
|
package/llms/tracing.md
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Tracing
|
|
2
|
-
|
|
3
|
-
## Common tasks
|
|
4
|
-
|
|
5
|
-
### Trace requests with OpenTelemetry
|
|
6
|
-
|
|
7
|
-
`tracer` takes an OpenTelemetry tracer, the SDK registered before the server starts:
|
|
8
|
-
|
|
9
|
-
```ts
|
|
10
|
-
import { trace } from '@opentelemetry/api'
|
|
11
|
-
import { defineConfig } from 'kay/server'
|
|
12
|
-
|
|
13
|
-
export default defineConfig({
|
|
14
|
-
ops: { observe: { tracer: trace.getTracer('my-site') } },
|
|
15
|
-
})
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Join the caller's trace
|
|
19
|
-
|
|
20
|
-
A request carrying a W3C `traceparent` header gets its server span under that parent, so a call from another service shows as one trace; kay reads the header itself, with no OpenTelemetry dependency. The response carries `traceresponse: 00-<trace id>-<span id>-<flags>` and the JSON log lines of the request (`observe: { log: 'json' }`) a `trace` field with the trace id. A header that is malformed or has an all-zero id is ignored and the request starts a trace of its own.
|
|
21
|
-
|
|
22
|
-
To read another format (B3, a baggage rule), `ops.observe.extract` takes a function from the request's `Headers` to a context, the OpenTelemetry one-liner being:
|
|
23
|
-
|
|
24
|
-
```ts
|
|
25
|
-
import { propagation, ROOT_CONTEXT, trace } from '@opentelemetry/api'
|
|
26
|
-
import { defineConfig } from 'kay/server'
|
|
27
|
-
|
|
28
|
-
export default defineConfig({
|
|
29
|
-
ops: {
|
|
30
|
-
observe: {
|
|
31
|
-
tracer: trace.getTracer('my-site'),
|
|
32
|
-
extract: headers => propagation.extract(ROOT_CONTEXT, Object.fromEntries(headers)),
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
})
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
`extract: false` ignores incoming traces: set it on a public edge, where outsiders could send a `traceparent` with the sampled flag and force every request to be traced. The caller's `tracestate` goes on with the parent. A throwing extractor is logged as a warning and the request starts its own trace. A custom `Tracer` receives the parent as the third argument of `startSpan` and `startActiveSpan(name, options, context, fn)`, only when the request carries one (a `startActiveSpan` declaring no parameter, such as `(...args) => tracer.startActiveSpan(...args)`, gets all four, but `(name, ...rest)` or `(name, options, ...rest)` counts as a hand-written tracer of three, so declare all four or none; a hand-written tracer of three declared parameters keeps `(name, options, fn)`); its spans return `spanContext()` for the log and `traceresponse`.
|
|
39
|
-
|
|
40
|
-
## Reference
|
|
41
|
-
|
|
42
|
-
### Tracing and timing
|
|
43
|
-
|
|
44
|
-
- `ops: { observe: { serverTiming: true } }` in kay.config.ts sends the `Server-Timing` header development sends on every page rendered per request in production too, and on every action, endpoint and API route, which carry `guards;dur=0.4, handler;dur=3.2` (the guards only when it has any; only the guards for an endpoint they refuse, none for an action or API route they refuse or a handler that throws; added to a `Server-Timing` the handler set itself). A page carries: `guards;dur=0.4, import;dur=0.2, loads;dur=12.6, load-0;desc="src/routes/_layout.kay";dur=3.1, load-1;desc="src/routes/blog/[slug].kay";dur=12.4, render;dur=1.8`: the guards (on a route that has any), the import of the page's modules and its loads as a whole, which run at once, then each load, layouts first, then the render.
|
|
45
|
-
- Anyone loading the page reads it, page file names included; an action's, endpoint's and API route's holds none.
|
|
46
|
-
- In development, `ops: { observe: { loadBudget: '500ms' } }` sets how long a page's loads (the `loads` phase above) may take before kay warns in the log, the browser console and the dev tool's Request tab, naming the slowest `load-n`, and warns the same way when a layout's load outlasts the page's own loads and the budget, naming the layout file and both times; `'300ms'` by default, `false` for no warning, and it needs no `serverTiming`.
|
|
47
|
-
- The handler's time is exact to 0.1 ms, so keep `serverTiming` off in production for a login or lookup route whose time tells a caller whether an account exists.
|
|
48
|
-
- A prerendered page has none, but one with server islands carries the timings of the loads and render that filled them.
|
|
49
|
-
- `tracer` takes an OpenTelemetry tracer, which kay calls without depending on OpenTelemetry: the app installs `@opentelemetry/api` and an SDK exporting the spans, as `@opentelemetry/sdk-trace-node` with an OTLP exporter, registered before the server starts, then passes `tracer: trace.getTracer('my-site')`.
|
|
50
|
-
- Without one, kay starts no span and the requests cost nothing more.
|
|
51
|
-
- A span carries the request path (`url.path`, and a route's `[slug]` as the name) and a failed one the exception message, so a path or a message holding an id, an address or a name is personal data in the tracing backend: give it the retention and access of one, and keep such values out of messages thrown.
|
|
52
|
-
- A page request is a server span named after its route, `GET /blog/[slug]`, with `http.request.method`, `http.route`, `url.path` and `http.response.status_code`, and inside it one span per load, `kay.load src/routes/blog/[slug].kay`, and one for the render, `kay.render ...`.
|
|
53
|
-
- Spans the loads start nest under theirs.
|
|
54
|
-
- An action call is one too, `POST /_kay/action/...`, holding the handler's spans and the page it renders back.
|
|
55
|
-
- A span whose work threw records the error and an error status, as does a request answered with a 5xx.
|
|
56
|
-
- An API request is a server span from its guards to its response, `POST /api/upload`, and its handler runs in a `kay.handler POST /api/upload` span inside it, so the spans the handler starts nest under the request's (with a tracer declaring the four parameters of OpenTelemetry's `startActiveSpan`; a hand-written one of three keeps them apart).
|
|
57
|
-
- Spans nest across `await` through the context manager the SDK registers, which Bun's `AsyncLocalStorage` backs.
|
|
58
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# Upgrading to 1.105: kay.config.ts and library options
|
|
2
|
-
|
|
3
|
-
What 1.105 changed in kay.config.ts, the hooks, the stores and the guards of features, and what an app changes. The rest of 1.105 is in [Upgrading](upgrading.md) and [Upgrading, older releases](upgrading-archive.md).
|
|
4
|
-
|
|
5
|
-
## 1.105.0
|
|
6
|
-
|
|
7
|
-
### Secrets are one shape
|
|
8
|
-
|
|
9
|
-
`mcp: { key }` is `mcp: { token }` and `proxy: { key: 'x-upstream-key' }` is `proxy: { key: { header: 'x-upstream-key' } }`; the old keys went in 1.109, with their `deprecated-secret-keys` lint. The loaded `KayConfig` has `mcp.token` and `proxy.key` as `{ header, secret? }` only, so code reading `config.mcp.key` or a string `config.proxy.key` reads the new fields. A secret is a string, `{ env: 'NAME' }` or `{ file: 'path' }`. One behaviour changes with the rename: `mcp.key: { file }` read `KAY_MCP_KEY` first, and `mcp.token: { file }` reads the file alone (`token: true` still reads the environment). `testSite({ mcpKey, proxyKey })` went in 1.109: write `config: { mcp: { token }, proxy: { key: { header, secret } } }`. The `config` of a `KayExtension` takes the keys `kay.config.ts` does, the keys of before 1.105 (`fonts`, `favicon`, `observe`...) no longer among them.
|
|
10
|
-
|
|
11
|
-
### `links`, `offline` and `search` are keys of `client`
|
|
12
|
-
|
|
13
|
-
The old top-level keys went in 1.109, with their `deprecated-client-keys` lint, and the type of the loaded `KayConfig` no longer has them, so code reading `config.offline`, `config.search` or `config.links` reads `config.client?.offline`, `.search` and `.links`. A `client` already written is kept as it is and the key is reported with no fix.
|
|
14
|
-
|
|
15
|
-
### Every route the config moves is a key of `endpoints`, and `mcp` and `metrics` are under `/_kay`
|
|
16
|
-
|
|
17
|
-
`serve.apiPrefix` is `endpoints.api`, and the `path` of `openapi`, `mcp`, `health`, `metrics` and `jobs` is `endpoints.openapi`, `.mcp`, `.health`, `.metrics` and `.jobs`; `openapi.referencePath` is `openapi: { reference: { path } }`. The old keys went in 1.109 with their `deprecated-route-keys` lint, and the loaded `KayConfig` no longer has them (read `config.endpoints?.api` for `config.serve?.apiPrefix`). The defaults move: the MCP endpoint is `/_kay/mcp` and the metrics `/_kay/metrics`, where they were `/mcp` and `/metrics`. The old `/metrics` and `/mcp` answer 404 since 1.109; point MCP clients and the metrics collector at the new path, or set `endpoints: { mcp: '/mcp', metrics: '/metrics' }` to keep them. The OAuth resource an MCP client signed in for is the endpoint's URL, so a client that registered for `/mcp` signs in again for `/_kay/mcp`.
|
|
18
|
-
|
|
19
|
-
### `defineContext` from `kay/server`, `env` is `envFiles`
|
|
20
|
-
|
|
21
|
-
`import { defineContext } from 'kay/server'`, as `defineEnv`; `kay/library` dropped it in 1.109. The `env: { compose, example }` of kay.config.ts is `envFiles`, which also takes `false`; `env` went in 1.109. The session cookie now takes its `SameSite` and `Secure` from `security.cookies` unless `session({ sameSite })` is set: an app that set `sameSite: 'strict'` there gets a strict session cookie, which signs a visitor out on a link from another site, so set `session({ sameSite: 'lax' })` beside it where that matters.
|
|
22
|
-
|
|
23
|
-
### `assets`, `ops` and `i18n` group the config's keys
|
|
24
|
-
|
|
25
|
-
`images`, `fonts`, `favicon`, `manifest` and `publicCache` are keys of `assets`, `observe`, `health`, `metrics` and `jobs` are keys of `ops`, and `i18n`'s `defaultLocale` is `default`, `prefixDefault: true` is `mode: 'always'` and `domains` is `mode: { domains }`. The old `i18n` keys went in 1.109 with their `deprecated-i18n-keys` lint, and so did the other old keys with `deprecated-config-groups`, and the loaded `KayConfig` no longer has them, so code reading `config.images` reads `config.assets?.images`, `config.observe` reads `config.ops?.observe` and `i18n.defaultLocale` reads `i18n.default`. An old key is refused at boot, naming the new one.
|
|
26
|
-
|
|
27
|
-
### Feature keys of kay.config.ts are `false`, `true` or options
|
|
28
|
-
|
|
29
|
-
`robots`, `sitemap`, `favicon`, `security`, `security.cookies`, `security.csp`, `health`, `preview`, `offline`, `proxy`, `images.avif`, `images.placeholder`, `images.rateLimit`, `live.rateLimit`, `mcp.rateLimit` and `env` take `false` for off, `true` for the defaults, which is the same as leaving the key out except for `preview` and `offline`, off until set, and an object of options. `proxy: 2` is `proxy: { hops: 2 }` and `proxy: 1` is `proxy: true`; the number went in 1.109, with its `deprecated-config-switch` lint.
|
|
30
|
-
|
|
31
|
-
- `defineConfig` refuses a key it does not know in every option bag, however deep (`images: { widht: 1 }`, `security: { cookies: { httpOnlee: true } }`), where it checked 11 of them and let a typo in the others through.
|
|
32
|
-
|
|
33
|
-
### `images` is grouped, and lists may come from a function
|
|
34
|
-
|
|
35
|
-
`images: { remote: { hosts, maxSize, timeout }, formats: { quality, webp, avif }, limits: { variants, queue } }` replaces the flat `remoteMaxSize`, `remoteTimeout`, `quality`, `webp`, `avif`, `maxVariants` and `queue`; `remote: [...]` stays for hosts alone. The flat keys went in 1.109, with their `deprecated-images-keys` lint.
|
|
36
|
-
|
|
37
|
-
### `ttl` is how long data lives
|
|
38
|
-
|
|
39
|
-
`signed.sign(use, value, { ttl })`, `files.url(key, { ttl })`, `workChallenge(scope, { ttl })` from `kay/server`, kayjs-auth's `proofOfWork({ ttl })`, the `ttl` of an action's `protect.minTime` and `protect.proofOfWork`, and the `ttl: { link, code }` a kayjs-auth mail's data carries to a template replace `maxAge`, which stays for an HTTP header or a cookie. `maxAge` went from them in 1.109, with the `deprecated-ttl-names` lint (a mail template destructuring `{ maxAge }` reads `{ ttl }`). `window` of a rate limit and `failedTtl` of a queue keep their names: a window is a span counted in, not how long data lives, and `failedTtl` already is a `ttl`.
|
|
40
|
-
|
|
41
|
-
A store receives its lengths as a `Duration`: `RateStore.hit(key, window)`, `KvStore`'s `set(key, value, ttl)` and `once(key, ttl)`, `SessionStore.set(id, data, maxAge)` and `LiveStore.endAll(id, ttl)`. Since 1.109 kay hands every store a `Duration`, and `durations: true` is no longer a member of a store: read the length with `lengthMs(value)` from `kay`. `kv(ns).set(key, value, 60_000)` written with milliseconds is `'60000ms'`, which the `deprecated-store-ms` lint went with.
|
|
42
|
-
|
|
43
|
-
### Hooks are flat keys named by the moment they run
|
|
44
|
-
|
|
45
|
-
`onListen` replaces the config's `onStart` (a job's, queue's and workflow's `onStart` keep theirs), `onError` is a key of the config beside `observe`, and every hook event carries one `context`: an action's `beforeRun`, `onSuccess` and `onError` read `context` where they read `ctx`, which holds the action's own context besides `ip`, `userAgent` and `userId`. `observe.log` is `false`, `true` or `{ format: 'json', requests, sink }`, replacing `'json'` and a function. The old forms went in 1.109, with the `deprecated-app-hooks` and `deprecated-hook-context` lints.
|
|
46
|
-
|
|
47
|
-
- The resolved `KayConfig` (what the server reads) no longer has `onStart` or `observe.onError`: read `onListen` and `onError`.
|
|
48
|
-
|
|
49
|
-
### `pages()` and `testSite()` take `{ config }`
|
|
50
|
-
|
|
51
|
-
The config keys written beside `root` in the options (`pages({ root, client: { navigation: false } })`) go under `config`: `pages({ root, config: { client: { navigation: false } } })`; `root`, `dev`, `prebuilt` and a test site's own options (`browser`, `headers`, `outgoing` and the rest) stay. A config key beside `root` is refused since 1.109, with the `deprecated-pages-options` lint.
|
|
52
|
-
|
|
53
|
-
### Library stores and tables share one naming
|
|
54
|
-
|
|
55
|
-
Each library takes its data store as `store`, and each `/pg` and `/sqlite` entry names its helpers the same way. The old names went in 1.109, with the `deprecated-store-names` lint:
|
|
56
|
-
|
|
57
|
-
- kayjs-ai: `ai({ store })` for `conversations`; `pgAi(db)`, `sqliteAi(path)`, `createAiTables(db)` and `aiTables` for `pgConversations`, `sqliteConversations`, `createConversationTable` and `conversationTable`.
|
|
58
|
-
- kayjs-mail: `mailer({ store: { lists, suppressions } })` for `listStore` and `suppressionStore`, `pgMail(db)` and `sqliteMail(path)` for both at once, and `mail.list(name, { store: sqliteMail(path) })` for `mail.list(name, { file })`, which the lint does not find; `sqliteLists`, `createMailTables` and `mailTables` for `openLists`, `createMailListTables` and `mailListTableNames`.
|
|
59
|
-
- kayjs-auth: `sqliteAuth(path)` from `@kayjs/auth/sqlite` is `store: { url: 'sqlite://path' }`; `pgAuth` and `authTables` stay.
|
|
60
|
-
- kayjs-cms: `pgCms` and `sqliteCms` for `pgLoader` and `sqliteLoader`, and `cmsTables` from `@kayjs/cms/pg` for an app's own `ignoreTables`. `cms({ files })` keeps its name: it is where edits are committed, not a data store.
|
|
61
|
-
|
|
62
|
-
An app with no `store` now keeps sessions, jobs and every library in one SQLite file, `data/app.sqlite`, in place of `data/sessions.sqlite`, `data/jobs.sqlite`, `data/auth.sqlite`, `data/ai-conversations.sqlite`, `data/mail-list.sqlite` and `data/content.sqlite`. A file of the old name that exists is still read, so nothing is lost on upgrade and nothing needs moving; delete it and copy its tables into `data/app.sqlite` to leave it. `kay add postgres` names `data/app.sqlite` among the files holding users to move.
|
|
63
|
-
|
|
64
|
-
### Every guard option is `guards`, and a feature with none is closed
|
|
65
|
-
|
|
66
|
-
`guard` is `guards` in `vitals()` and in the `jobs` and `images` of kay.config.ts, and `requireGuards` is `guards: { default }`; the old forms and the `deprecated-guard-option` lint that rewrote them went in 1.109.
|
|
67
|
-
|
|
68
|
-
- `vitals({ guard })`, `jobs: { guard }` and `images: { guard }` are `guards`, taking a guard, a list, `{ load }` or `false`, as a page's and an API module's `guards` do. `cms()` keeps `access`, which also takes a role.
|
|
69
|
-
- `jobs` with no `guards` mounts the page and answers 403 instead of stopping the boot, and `jobs: { guards: false }` opens it.
|
|
70
|
-
- `images.resolve` with no `images.guards` answers 403 for every image it resolves, where it was open: write `guards: false` to resize them for everyone.
|
|
71
|
-
- `requireGuards: true` is `guards: { default: 'closed' }` and `requireGuards: false` is `guards: { default: 'open' }`; left out, a site that guards some route of its own still closes the rest.
|