@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/src/build/client.ts
DELETED
|
@@ -1,864 +0,0 @@
|
|
|
1
|
-
import type { KayConfig } from '../config'
|
|
2
|
-
import type { BuildStamps } from '../dev/fingerprint'
|
|
3
|
-
import type { ClientBuildKey } from '../project'
|
|
4
|
-
import type { ClassTable } from '../runtime/class-table'
|
|
5
|
-
import type { ClientBuild, ClientManifest } from '../server/client'
|
|
6
|
-
import type { FontFallback } from '../server/fonts'
|
|
7
|
-
import type { Built } from './increments'
|
|
8
|
-
import type { ImportGraph, KayLibrary } from './libraries'
|
|
9
|
-
import type { ChunkInputs, IslandWhy } from './report'
|
|
10
|
-
import type { StyleUses, UnresolvedClass } from './style-uses'
|
|
11
|
-
import type { Reached } from './styles'
|
|
12
|
-
import type { FileDiagnostic } from './transform'
|
|
13
|
-
import { existsSync, realpathSync } from 'node:fs'
|
|
14
|
-
import { mkdir, rm } from 'node:fs/promises'
|
|
15
|
-
import { basename, dirname, join, relative, resolve, sep } from 'node:path'
|
|
16
|
-
import { formatDiagnostic } from '../compiler'
|
|
17
|
-
import { buildFailure, errorCodeOf, KayError, raisedMark } from '../compiler/errors'
|
|
18
|
-
import { gitIgnoredNames, isSource } from '../dev/sources'
|
|
19
|
-
import { tailwindDesign } from '../format/tailwind'
|
|
20
|
-
import { projectPaths, searchOn } from '../project'
|
|
21
|
-
import { kayLog } from '../runtime/log'
|
|
22
|
-
import { apiStubs, apiTrees } from '../server/api-modules'
|
|
23
|
-
import { rebaseCss } from '../server/base'
|
|
24
|
-
import { BUILD_FAILURE, fromManifest, MANIFEST, PRERENDERED_DIR, writeManifest } from '../server/client'
|
|
25
|
-
import { PUBLIC_ENV_PATH } from '../server/env-state'
|
|
26
|
-
import { fontFallbacks, withFontFallbacks } from '../server/fonts'
|
|
27
|
-
import { routeMounts } from '../server/routes'
|
|
28
|
-
import { declaresAction } from './action-calls'
|
|
29
|
-
import { ASSET_PREFIX, clientDir, DEV_MAPS_DIR, MAPS_DIR, outputDir } from './assets'
|
|
30
|
-
import { AWAIT_ALERT_FILE } from './await-alert'
|
|
31
|
-
import { pruneNodes, pruneUtilityLayer } from './class-rules'
|
|
32
|
-
import { buildClassTable, mergesAtRuntime } from './class-table'
|
|
33
|
-
import { entryFile, KAY_OUTPUT, lazyEntryKey } from './entry-files'
|
|
34
|
-
import { CSS_FILE, findKayFiles, findProjectFiles, forgetSources, inWalkScope, keepSources, liftSources, readSource, readSourcePaths, readText, writeIfChanged } from './files'
|
|
35
|
-
import { iconSlotsOf, slotsKey } from './icon-slots'
|
|
36
|
-
import { Increments, realPaths, sameEntries } from './increments'
|
|
37
|
-
import { exportedImages, staticRemoteDefine } from './island-images'
|
|
38
|
-
import { keepBundleMapCached, pruneKeptMaps } from './kept-maps'
|
|
39
|
-
import { hoistLayerOrder } from './layer-order'
|
|
40
|
-
import { eagerKeys, lazyKey } from './lazy-components'
|
|
41
|
-
import { noteLazy, staticClosure } from './lazy-manifest'
|
|
42
|
-
import { foldStubs, inRounds } from './lazy-stubs'
|
|
43
|
-
import { fileWords, importEdges, libraryOf, reachedFrom, reachingAny } from './libraries'
|
|
44
|
-
import { packagesOf } from './licenses'
|
|
45
|
-
import { isPageFile, pageDirs } from './page-dirs'
|
|
46
|
-
import { kay } from './plugin'
|
|
47
|
-
import { unusedLibraryClasses } from './prune'
|
|
48
|
-
import { recipeLifter } from './recipe-classes'
|
|
49
|
-
import { recipeOnlyUtilities } from './recipe-utilities'
|
|
50
|
-
import { referencesOf } from './references'
|
|
51
|
-
import { sizeReport } from './report'
|
|
52
|
-
import { ANCHOR, runtimeAnchor, runtimeChunk } from './runtime-chunk'
|
|
53
|
-
import { refuseBuiltinImports, refuseServerOnlyReads } from './server-only'
|
|
54
|
-
import { inSignalsScope } from './signals'
|
|
55
|
-
import { buildFiles } from './source-files'
|
|
56
|
-
import { forgetBundleMaps } from './sourcemap'
|
|
57
|
-
import { styleUses } from './style-uses'
|
|
58
|
-
import { styleImports, withoutStyles, writeComponentStylesheets } from './styles'
|
|
59
|
-
import { mergingSupports } from './supports'
|
|
60
|
-
import { warnBuiltThemeVariables } from './theme-vars'
|
|
61
|
-
import { analyzeKayCached, KayCompileError, keepAnalyses } from './transform'
|
|
62
|
-
import { uiFilesOf, uiLayerClasses, uiPathsOf } from './ui'
|
|
63
|
-
import { kayFiles, variantFile, VariantIndex } from './variants'
|
|
64
|
-
|
|
65
|
-
export interface ClientOptions extends Pick<KayConfig, ClientBuildKey> {
|
|
66
|
-
minify?: boolean | undefined
|
|
67
|
-
// Links each island chunk to a map of its `.kay` sources, for the browser's devtools; the server points a map at them as it first serves it.
|
|
68
|
-
// `true` links maps for development's devtools, `'external'` keeps them for the server to map the stacks islands report.
|
|
69
|
-
sourcemap?: boolean | 'external' | undefined
|
|
70
|
-
// The site's mount point, which the stylesheets' own paths go under, `url(/bg.png)` included.
|
|
71
|
-
base?: string | undefined
|
|
72
|
-
// The app has locales: the links its islands write go to the page's locale's copy, as the server writes them.
|
|
73
|
-
i18n?: boolean | undefined
|
|
74
|
-
// The app has French pages (a `lang` or a locale of `fr` or `fr-...`) and `typography` is not off: its islands write their text with the same non-breaking spaces as the server's markup. An app without them is built without that code.
|
|
75
|
-
french?: boolean | undefined
|
|
76
|
-
// Development: an edited island swaps into the open pages rather than reloading them.
|
|
77
|
-
hot?: boolean | undefined
|
|
78
|
-
// Development under `kay dev`: every element carries its source position, for its inspector.
|
|
79
|
-
inspect?: boolean | undefined
|
|
80
|
-
// The config declares `publicEnv`: the entry imports its values from the server before any island hydrates.
|
|
81
|
-
publicEnv?: boolean | undefined
|
|
82
|
-
// `kay build --static`: no server takes the errors the browser meets, so none are sent.
|
|
83
|
-
exported?: boolean | undefined
|
|
84
|
-
staticImages?: { allowed: (src: string) => boolean, remote?: string[] } | undefined
|
|
85
|
-
// Measures what the browser loads for islands, `modules` breaking each chunk down by the modules it holds.
|
|
86
|
-
report?: 'sizes' | 'modules' | undefined
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface MetafileOutput {
|
|
90
|
-
entryPoint?: string
|
|
91
|
-
cssBundle?: string
|
|
92
|
-
imports: { path: string, kind: string }[]
|
|
93
|
-
inputs?: Record<string, { bytesInOutput?: number }>
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type Outputs = Record<string, MetafileOutput>
|
|
97
|
-
|
|
98
|
-
const LEADING_DOT_SLASH = /^\.\//
|
|
99
|
-
const JS_OUTPUT = /\.js$/
|
|
100
|
-
|
|
101
|
-
const COMPILES_WASM = /\bWebAssembly\./
|
|
102
|
-
const STARTS_WORKER = /\bnew\s+(?:Shared)?Worker\(/
|
|
103
|
-
const OBJECT_URL = /\bcreateObjectURL\(/
|
|
104
|
-
// A worker bundle, as kay names it from a chunk or from another worker.
|
|
105
|
-
const WORKER_URL = /["']\.\/(?:assets\/)?([\w.~-]+\.js)["']/g
|
|
106
|
-
// kay's own sources, when it runs from a checkout rather than from `node_modules`.
|
|
107
|
-
const KAY_SOURCE = `${resolve(import.meta.dir, '..')}${sep}`
|
|
108
|
-
const RUNTIME_DIR = resolve(import.meta.dir, '../runtime')
|
|
109
|
-
|
|
110
|
-
// What the components say before anything is bundled: the islands by id, the classes of the `.class` shorthand, what `kay check` would report of them, and the pages and layouts the stylesheets are gathered from.
|
|
111
|
-
export interface ClientSources {
|
|
112
|
-
islands: Map<string, string>
|
|
113
|
-
// What makes each island one, by id, as `onClick, line 4`; for a static component that may render as one, what may.
|
|
114
|
-
why: Map<string, IslandWhy>
|
|
115
|
-
classes: Set<string>
|
|
116
|
-
// Every word of the components, which the class table is read from.
|
|
117
|
-
words: Set<string>
|
|
118
|
-
// The classes each component writes as the `.class` shorthand, by file.
|
|
119
|
-
shorthand: Map<string, string[]>
|
|
120
|
-
problems: string[]
|
|
121
|
-
pages: string[]
|
|
122
|
-
libraries: KayLibrary[]
|
|
123
|
-
// Every `.kay` file the build compiled: the project's and the libraries' it reaches.
|
|
124
|
-
files: string[]
|
|
125
|
-
// Whether a component renders a form posting to an action: without one, no page loads the navigation-only entry.
|
|
126
|
-
actionForms: boolean
|
|
127
|
-
// Whether the app may hand an island an action: it declares one or uses a kay library. Without it the browser carries no code to revive one.
|
|
128
|
-
actionProps: boolean
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
// What each module imports, kept by the builds of this process: a module whose content is unchanged is not read for its imports again, as an incremental session does across its builds. Bun's resolver keeps a project's tsconfig.json and package.json for the process too, so a change to them is not seen by a process that built the project before.
|
|
132
|
-
const builtGraph: ImportGraph = new Map()
|
|
133
|
-
|
|
134
|
-
// Bundles what the browser needs: one entry hydrating the islands, each island in its own chunk, and a stylesheet per page and layout.
|
|
135
|
-
// Every component is compiled first, so all of the project's syntax errors come out together instead of one per bundler run. `stamps` takes what the build read, for the caller to tell later whether it is still current.
|
|
136
|
-
export async function buildClient(root: string, options: ClientOptions = {}, stamps?: BuildStamps): Promise<ClientBuild> {
|
|
137
|
-
const { sources, manifest, scripts, styles, images } = await clientSession(root, options, { graph: builtGraph, stamps }).build(null)
|
|
138
|
-
const built = Object.assign(fromManifest(root, manifest), { islandImages: images, unresolved: styles!.server })
|
|
139
|
-
const bundled = Object.values(scripts!.inputs).flatMap(inputs => Object.entries(inputs).filter(([, input]) => (input.bytesInOutput ?? 0) > 0).map(([input]) => variantFile(input)))
|
|
140
|
-
|
|
141
|
-
built.packages = packagesOf([...bundled, ...styles!.inputs])
|
|
142
|
-
|
|
143
|
-
if (options.report !== undefined)
|
|
144
|
-
built.report = await sizeReport(root, clientDir(root), scripts!.manifest, sources.islands, sources.why, options.report === 'modules' ? scripts!.inputs : undefined)
|
|
145
|
-
|
|
146
|
-
return built
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface SessionSettings {
|
|
150
|
-
// `kay dev`'s builder: the session keeps the last build, so one given the files changed bundles again only the islands or the stylesheets they reach, and points the island maps at `.kay` lines in the background. Without it every build is of everything.
|
|
151
|
-
incremental?: boolean | undefined
|
|
152
|
-
// The options the build is for, written into the manifest for the servers `kay dev` starts to compare with theirs.
|
|
153
|
-
key?: string | undefined
|
|
154
|
-
// What each module imports, kept across the sessions of a process when given; an incremental session reads it afresh for each build of everything.
|
|
155
|
-
graph?: ImportGraph | undefined
|
|
156
|
-
stamps?: BuildStamps | undefined
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
// What one build of a session wrote, `scripts` and `styles` being what it bundled again: both in a build of everything.
|
|
160
|
-
export interface SessionBuild {
|
|
161
|
-
sources: ClientSources
|
|
162
|
-
manifest: ClientManifest
|
|
163
|
-
scripts?: Awaited<ReturnType<typeof bundleIslands>> | undefined
|
|
164
|
-
styles?: Awaited<ReturnType<typeof bundleStyles>> | undefined
|
|
165
|
-
images?: Awaited<ReturnType<typeof exportedImages>>['images']
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface ClientSession {
|
|
169
|
-
// `changed` is the files changed since the last build, relative to the root, or null for a build of everything. A build that fails makes the next one build everything.
|
|
170
|
-
build: (changed: string[] | null) => Promise<SessionBuild>
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
// The one sequence every client build runs, for `kay build`, `kay dev`, `kay/test` and a server bundling its own: the sources, the classes and their tables, the islands and the stylesheets, then the manifest.
|
|
174
|
-
export function clientSession(root: string, options: ClientOptions, settings: SessionSettings = {}): ClientSession {
|
|
175
|
-
const { key, stamps } = settings
|
|
176
|
-
const graph: ImportGraph = settings.graph ?? new Map()
|
|
177
|
-
const increments = settings.incremental === true ? new Increments(root, options) : undefined
|
|
178
|
-
let last: Built | undefined
|
|
179
|
-
|
|
180
|
-
const run = async (changed: string[] | null): Promise<SessionBuild> => {
|
|
181
|
-
await stamps?.begin(changed)
|
|
182
|
-
rootMargin(options.client?.hydration?.visible, '200px', 'visible')
|
|
183
|
-
rootMargin(options.client?.hydration?.serverIslands, '100% 0px', 'serverIslands')
|
|
184
|
-
|
|
185
|
-
const references = referencesOf(options.extensions)
|
|
186
|
-
|
|
187
|
-
// A build of everything reads every module's imports afresh.
|
|
188
|
-
if (increments && changed === null) {
|
|
189
|
-
graph.clear()
|
|
190
|
-
increments.forgetSignatures()
|
|
191
|
-
forgetSources()
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
liftSources(await recipeLifter(root))
|
|
195
|
-
|
|
196
|
-
const sources = await readClientSources(root, options, graph)
|
|
197
|
-
|
|
198
|
-
if (increments)
|
|
199
|
-
keepSources()
|
|
200
|
-
|
|
201
|
-
const previous = increments && changed !== null && last !== undefined && await readText(join(outputDir(root), MANIFEST)) === last.manifest ? last : undefined
|
|
202
|
-
|
|
203
|
-
last = undefined
|
|
204
|
-
await previous?.read
|
|
205
|
-
|
|
206
|
-
const realRoot = realpathSync(root)
|
|
207
|
-
// By real path, as the bundler names its inputs.
|
|
208
|
-
const files = (changed ?? []).map(file => join(realRoot, file))
|
|
209
|
-
const texts = new Map(await Promise.all(files.map(async file => [file, await readText(file)] as const)))
|
|
210
|
-
|
|
211
|
-
// The tables come before the output is cleared, so a Tailwind failure there leaves the last build served.
|
|
212
|
-
const classTable = await classTableOf(root, sources, references)
|
|
213
|
-
const islandTable = await islandClassTableOf(root, sources, references, graph)
|
|
214
|
-
|
|
215
|
-
if (!previous) {
|
|
216
|
-
await increments?.stopMaps(true)
|
|
217
|
-
await clearClientOutput(root)
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
await writeClasses(root, sources.classes)
|
|
221
|
-
|
|
222
|
-
const classTableText = JSON.stringify([classTable, islandTable])
|
|
223
|
-
// `src/ui.ts` is written into the components it restyles, none of which imports it, so no chunk lists it among its inputs.
|
|
224
|
-
|
|
225
|
-
const islandsAgain = !previous || !sameEntries(previous.sources.islands, sources.islands) || files.some(file => previous.islandInputs.has(file) || uiPathsOf(realRoot).includes(file) || file === join(realRoot, AWAIT_ALERT_FILE)) || previous.classTable !== classTableText || (!options.hot && (previous.sources.actionForms !== sources.actionForms || previous.sources.actionProps !== sources.actionProps))
|
|
226
|
-
const stylesAgain = !previous || await increments!.stylesChanged(previous, sources, texts)
|
|
227
|
-
|
|
228
|
-
if (previous && islandsAgain)
|
|
229
|
-
await increments!.stopMaps(false)
|
|
230
|
-
|
|
231
|
-
const { images, bundled } = await exportedImages(root, sources, graph, options)
|
|
232
|
-
const [scripts, styles] = await bothBundles(islandsAgain ? bundleIslands(root, sources.islands, sources.files, sources.actionForms, sources.actionProps, bundled, classTable, islandTable, await iconSlotsOf(root, [...sources.files, ...sources.islands.values()], sources.libraries, graph)) : undefined, stylesAgain ? bundleStyles(root, sources, options) : undefined)
|
|
233
|
-
const styleUses = styles ? styles.uses : previous!.styleUses
|
|
234
|
-
const manifest: ClientManifest = { ...scripts?.manifest ?? previous!.islands, styles: styles?.styles ?? previous!.styles, ...classTable && { classTable }, ...styleUses && { styleUses }, ...options.hot && { problems: sources.problems }, ...key !== undefined && { options: key } }
|
|
235
|
-
|
|
236
|
-
if (scripts && options.sourcemap === 'external')
|
|
237
|
-
await keepMaps(root, scripts.maps)
|
|
238
|
-
|
|
239
|
-
const text = await writeManifest(root, manifest)
|
|
240
|
-
|
|
241
|
-
if (scripts)
|
|
242
|
-
await increments?.pointMaps(scripts)
|
|
243
|
-
|
|
244
|
-
if (increments || stamps) {
|
|
245
|
-
const styleInputs = styles ? realPaths([...styles.inputs, ...styles.followed]) : previous!.styleInputs
|
|
246
|
-
const islandInputs = scripts ? realPaths(inputsWatched(root, scripts.inputs)) : previous!.islandInputs
|
|
247
|
-
|
|
248
|
-
last = increments?.next(previous, { sources, islandInputs, styleInputs, classTable: classTableText, manifest: text }, scripts, styles, texts)
|
|
249
|
-
|
|
250
|
-
if (stamps) {
|
|
251
|
-
// The reads and the import graph are the process's, kept across the roots it builds: this build's are those of its root and its libraries, a module elsewhere counting only once the bundler took it in.
|
|
252
|
-
const own = (file: string) => file.startsWith(realRoot + sep) || file.startsWith(root + sep) || libraryOf(sources.libraries, file) !== undefined
|
|
253
|
-
|
|
254
|
-
await stamps.finish([...[...readSourcePaths(), ...graph.keys()].filter(own), ...styleInputs, ...islandInputs], text, increments?.mapsPointed)
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
return { sources, manifest, scripts, styles, images }
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
return {
|
|
262
|
-
build: async changed => inWalkScope(async () => inSignalsScope(async () => {
|
|
263
|
-
try {
|
|
264
|
-
return await run(changed)
|
|
265
|
-
}
|
|
266
|
-
catch (error) {
|
|
267
|
-
last = undefined
|
|
268
|
-
|
|
269
|
-
throw error
|
|
270
|
-
}
|
|
271
|
-
})),
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// A module that can render an island.
|
|
276
|
-
const RENDERING_FILE = /\.(?:kay|[cm]?[jt]sx?)$/
|
|
277
|
-
// The files besides components that write markup a page shows: scripts such as a Markdown plugin, Markdown and data.
|
|
278
|
-
const MARKUP_FILE = /\.(?:[cm]?[jt]sx?|html?|mdx?|json|ya?ml|txt)$/
|
|
279
|
-
const ROOT_MARGIN = /^-?\d+(?:\.\d+)?(?:px|%)(?: -?\d+(?:\.\d+)?(?:px|%)){0,3}$/
|
|
280
|
-
|
|
281
|
-
// A margin as an IntersectionObserver takes it; anything else makes the observer throw in the browser, where no island would then hydrate.
|
|
282
|
-
function rootMargin(value: string | undefined, fallback: string, what: string): string {
|
|
283
|
-
if (value === undefined)
|
|
284
|
-
return fallback
|
|
285
|
-
|
|
286
|
-
if (!ROOT_MARGIN.test(value))
|
|
287
|
-
throw new KayError('config-invalid', `kay: \`hydration.${what}\` is ${JSON.stringify(value)}; it takes one to four lengths in px or %, such as '200px' or '100% 0px'`)
|
|
288
|
-
|
|
289
|
-
return value
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
function sourcemapOf(option: ClientOptions['sourcemap']): 'linked' | 'external' | 'none' {
|
|
293
|
-
if (option === 'external')
|
|
294
|
-
return option
|
|
295
|
-
|
|
296
|
-
return option === true ? 'linked' : 'none'
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// A map that cannot be pointed at `.kay` lines is removed: the report then keeps its minified frames. One the last build kept as it is now is copied from the cache.
|
|
300
|
-
export async function keepMaps(root: string, maps: string[]): Promise<void> {
|
|
301
|
-
const dir = join(outputDir(root), MAPS_DIR)
|
|
302
|
-
const { cache } = projectPaths(root)
|
|
303
|
-
|
|
304
|
-
await rm(dir, { recursive: true, force: true })
|
|
305
|
-
|
|
306
|
-
for (const map of maps) {
|
|
307
|
-
try {
|
|
308
|
-
await keepBundleMapCached(map, root, dir, cache)
|
|
309
|
-
}
|
|
310
|
-
catch (error) {
|
|
311
|
-
kayLog('warn', `the source map of ${basename(map)} could not be kept, so island errors from it report minified frames`, error)
|
|
312
|
-
// Left behind, the map would be served and embedded with the island sources it holds.
|
|
313
|
-
|
|
314
|
-
try {
|
|
315
|
-
await rm(map, { force: true })
|
|
316
|
-
}
|
|
317
|
-
catch {
|
|
318
|
-
// The warning above already names the map; the rest are still tried.
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
await pruneKeptMaps(cache)
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
// Fails on either only once both stopped, so neither goes on writing into the output of the build after; failing both, it reports what each logged.
|
|
327
|
-
async function bothBundles<Islands extends Promise<unknown> | undefined, Styles extends Promise<unknown> | undefined>(islands: Islands, styles: Styles): Promise<[Awaited<Islands>, Awaited<Styles>]> {
|
|
328
|
-
const [scripts, sheets] = await Promise.allSettled([islands, styles])
|
|
329
|
-
|
|
330
|
-
if (scripts.status === 'rejected' && sheets.status === 'rejected')
|
|
331
|
-
throw Object.assign(new AggregateError([scripts.reason, sheets.reason].flatMap((reason: unknown): unknown[] => reason instanceof AggregateError ? reason.errors as unknown[] : [reason]), scripts.reason instanceof Error ? scripts.reason.message : String(scripts.reason)), { code: errorCodeOf(scripts.reason) ?? errorCodeOf(sheets.reason) })
|
|
332
|
-
|
|
333
|
-
if (scripts.status === 'rejected')
|
|
334
|
-
throw scripts.reason
|
|
335
|
-
|
|
336
|
-
if (sheets.status === 'rejected')
|
|
337
|
-
throw sheets.reason
|
|
338
|
-
|
|
339
|
-
return [scripts.value, sheets.value]
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
// The files an island build read, as the real files they are. With a variant among them, every `.kay` file of the project too: the call sites they hold decide which features that variant has.
|
|
343
|
-
function inputsWatched(root: string, inputs: ChunkInputs): string[] {
|
|
344
|
-
const read = Object.values(inputs).flatMap(each => Object.keys(each))
|
|
345
|
-
|
|
346
|
-
return [...read.map(variantFile), ...read.some(input => input.startsWith('kay-variant:')) ? kayFiles(root) : []]
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
// Compiles every component, throwing all of their errors at once. `graph` keeps what each module imports, across builds when given.
|
|
350
|
-
export async function readClientSources(root: string, options: ClientOptions = {}, graph: ImportGraph = new Map()): Promise<ClientSources> {
|
|
351
|
-
const islands = new Map<string, string>()
|
|
352
|
-
const why = new Map<string, IslandWhy>()
|
|
353
|
-
const classes = new Set<string>()
|
|
354
|
-
const words = new Set<string>()
|
|
355
|
-
const shorthand = new Map<string, string[]>()
|
|
356
|
-
const diagnostics: FileDiagnostic[] = []
|
|
357
|
-
let actionForms = false
|
|
358
|
-
const { files, own, mounted, editor, libraries, fromLibraries } = await buildFiles(root, options.extensions, graph)
|
|
359
|
-
const sources = files.map(file => readSource(file).text)
|
|
360
|
-
|
|
361
|
-
const cacheDir = projectPaths(root).cache
|
|
362
|
-
// A file beside the routes directory, outside it and the mounted pages, is a component, where a root `@block` has no layout to fill a slot of; one outside the app's source, as another project's pages under a root above it, is left alone, as are kay's own pages when the root is kay's checkout.
|
|
363
|
-
const routes = projectPaths(root, options).routes
|
|
364
|
-
const folders = [routes, ...routeMounts(root, options.extensions).map(mount => mount.dir)]
|
|
365
|
-
const isComponent = (file: string): boolean => file.startsWith(dirname(routes) + sep) && !folders.some(dir => file.startsWith(dir + sep)) && file !== editor && !mounted.includes(file) && !file.startsWith(KAY_SOURCE)
|
|
366
|
-
const pages = pageDirs(root, options)
|
|
367
|
-
const analyses = await Promise.all(files.map(async (file, index) => analyzeKayCached(sources[index]!, file, root, cacheDir, options.hot, options.lints, isComponent(file), isPageFile(file, pages))))
|
|
368
|
-
|
|
369
|
-
// What the files gone held, kept no longer.
|
|
370
|
-
keepAnalyses(new Set(files))
|
|
371
|
-
|
|
372
|
-
for (const file of graph.keys()) {
|
|
373
|
-
if (!existsSync(file))
|
|
374
|
-
graph.delete(file)
|
|
375
|
-
}
|
|
376
|
-
const problems: string[] = []
|
|
377
|
-
|
|
378
|
-
for (const [index, file] of files.entries()) {
|
|
379
|
-
const source = sources[index]!
|
|
380
|
-
const compiled = analyses[index]!
|
|
381
|
-
|
|
382
|
-
for (const diagnostic of compiled.diagnostics) {
|
|
383
|
-
if (!diagnostic.checkOnly)
|
|
384
|
-
diagnostics.push({ ...diagnostic, file, source })
|
|
385
|
-
else if (index < own.length)
|
|
386
|
-
problems.push(formatDiagnostic(source, relative(root, file), diagnostic))
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
if (compiled.island !== undefined) {
|
|
390
|
-
islands.set(compiled.island, file)
|
|
391
|
-
why.set(compiled.island, { cause: compiled.cause })
|
|
392
|
-
}
|
|
393
|
-
else if (file === editor) {
|
|
394
|
-
throw new KayError('inert-editor', `kay: the editor ${relative(root, file)} runs nothing in the browser, where an editor edits the page: give it a script reading signals, or \`island({ render: 'client' })\``)
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
for (const name of compiled.classes)
|
|
398
|
-
classes.add(name)
|
|
399
|
-
|
|
400
|
-
for (const word of fileWords(file))
|
|
401
|
-
words.add(word)
|
|
402
|
-
|
|
403
|
-
shorthand.set(file, [...compiled.classes])
|
|
404
|
-
actionForms ||= compiled.actionForm
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
// Tailwind reads the app's files itself, never a package's, so the words of the library files the app reaches go to it here: its components, and its scripts holding default classes.
|
|
408
|
-
for (const file of [...files.slice(own.length), ...fromLibraries.scripts]) {
|
|
409
|
-
for (const name of fileWords(file)) {
|
|
410
|
-
classes.add(name)
|
|
411
|
-
words.add(name)
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
if (diagnostics.length > 0)
|
|
416
|
-
throw new KayCompileError(diagnostics)
|
|
417
|
-
|
|
418
|
-
const routesDir = projectPaths(root, options).routes
|
|
419
|
-
|
|
420
|
-
// The editor gathers its stylesheet as a page does, an app's own file or not.
|
|
421
|
-
return { islands, why, classes, words, shorthand, problems, files, pages: [...new Set([...existsSync(routesDir) ? await findKayFiles(routesDir) : [], ...mounted, ...editor === undefined ? [] : [editor]])], libraries, actionForms, actionProps: libraries.length > 0 || await declaresActions(root, sources.slice(0, own.length)) }
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
// A failed build must not leave the previous manifest pointing at files that are gone.
|
|
425
|
-
async function clearClientOutput(root: string): Promise<void> {
|
|
426
|
-
const base = outputDir(root)
|
|
427
|
-
const dir = clientDir(root)
|
|
428
|
-
|
|
429
|
-
await Promise.all([rm(dir, { recursive: true, force: true }), rm(join(base, PRERENDERED_DIR), { recursive: true, force: true }), rm(join(base, MANIFEST), { force: true }), rm(join(base, BUILD_FAILURE), { force: true }), rm(join(base, MAPS_DIR), { recursive: true, force: true }), rm(join(base, DEV_MAPS_DIR), { recursive: true, force: true })])
|
|
430
|
-
await mkdir(dir, { recursive: true })
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
// The stylesheet build hands these to Tailwind, which cannot read the `.class` shorthand: see styleImports.
|
|
434
|
-
// `.kay` ignores itself, as Tailwind would otherwise scan all of it as soon as an app's `@source` names `.kay/classes.txt` (#2239), and read the classes of its own output back in; `scratch` stays seen, as the projects `kay/test` makes there are scanned as their own.
|
|
435
|
-
async function writeClasses(root: string, classes: Set<string>): Promise<void> {
|
|
436
|
-
const file = projectPaths(root).classes
|
|
437
|
-
|
|
438
|
-
await writeIfChanged(join(dirname(file), '.gitignore'), '*\n!/scratch/\n!/scratch/**\n')
|
|
439
|
-
await writeIfChanged(file, [...new Set([...classes, ...uiLayerClasses(root)])].sort().join('\n'))
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
// The table of Tailwind classes a later one overrides, from every word of the components and of the other files an app writes markup in; none when the app has no Tailwind.
|
|
443
|
-
// Only an app with Tailwind reads them, and only its sources: a test or a hidden file read here would be one more input a test edit makes `kay dev` build again for.
|
|
444
|
-
async function classTableOf(root: string, sources: Pick<ClientSources, 'words'>, references: string[]): Promise<ClassTable | undefined> {
|
|
445
|
-
if (await tailwindDesign(root, references) === undefined)
|
|
446
|
-
return undefined
|
|
447
|
-
|
|
448
|
-
return buildClassTable(root, (await markupFiles(root, sources)).flatMap(file => fileWords(file)).concat([...sources.words]), references)
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
// Both tables of a build read the same files, found once for the sources they are given.
|
|
452
|
-
const markupOf = new WeakMap<object, Promise<string[]>>()
|
|
453
|
-
|
|
454
|
-
async function markupFiles(root: string, sources: object): Promise<string[]> {
|
|
455
|
-
let found = markupOf.get(sources)
|
|
456
|
-
|
|
457
|
-
if (found === undefined) {
|
|
458
|
-
found = (async () => {
|
|
459
|
-
const ignored = gitIgnoredNames(root)
|
|
460
|
-
|
|
461
|
-
return (await findProjectFiles(root, MARKUP_FILE, { project: true, ownKayOnly: true })).filter(file => isSource(root, file, ignored, true))
|
|
462
|
-
})()
|
|
463
|
-
markupOf.set(sources, found)
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
return found
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
const SCRIPT_FILE = /\.[cm]?[jt]s$/
|
|
470
|
-
|
|
471
|
-
// Whether an own module of the app calls `action`, reads it as a value, imports it under another name or re-exports it: the `.kay` sources already read, and the scripts beside them.
|
|
472
|
-
async function declaresActions(root: string, kaySources: string[]): Promise<boolean> {
|
|
473
|
-
if (kaySources.some(source => declaresAction(source, true)))
|
|
474
|
-
return true
|
|
475
|
-
|
|
476
|
-
const scripts = await findProjectFiles(root, SCRIPT_FILE, { project: true, ownKayOnly: true })
|
|
477
|
-
|
|
478
|
-
return (await Promise.all(scripts.map(async file => declaresAction(await readText(file) ?? '', false)))).some(Boolean)
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
// The table the islands ship: the app-wide one cut to the classes a merge in the browser can meet, those written in a module an island bundles or in one that renders an island and hands it a class.
|
|
482
|
-
// The server keeps the whole table; none is sent when no island has two classes to merge, nor when the app has no island or no Tailwind.
|
|
483
|
-
export async function islandClassTableOf(root: string, sources: Pick<ClientSources, 'islands' | 'libraries' | 'shorthand'>, references: string[], graph?: ImportGraph): Promise<ClassTable | undefined> {
|
|
484
|
-
const { islands, libraries, shorthand } = sources
|
|
485
|
-
|
|
486
|
-
if (islands.size === 0 || await tailwindDesign(root, references) === undefined)
|
|
487
|
-
return undefined
|
|
488
|
-
|
|
489
|
-
const entries = new Set([...islands.values()].map(file => realpathSync(file)))
|
|
490
|
-
const edges = importEdges(root, libraries, graph)
|
|
491
|
-
const bundled = await reachedFrom([...entries], edges)
|
|
492
|
-
const renderers = new Set([...shorthand.keys(), ...(await markupFiles(root, sources)).filter(file => RENDERING_FILE.test(file))])
|
|
493
|
-
const outside = [...renderers].filter(file => !bundled.has(realpathSync(file)))
|
|
494
|
-
// `src/ui.ts` is written into the components it restyles, none of which imports it.
|
|
495
|
-
const reaching = await reachingAny(outside.map(file => realpathSync(file)), entries, edges)
|
|
496
|
-
const reachingOutside = outside.filter(file => reaching.has(realpathSync(file)))
|
|
497
|
-
const alert = join(root, AWAIT_ALERT_FILE)
|
|
498
|
-
const uiFiles = uiFilesOf(root)
|
|
499
|
-
const written = [...bundled, ...uiFiles, ...existsSync(alert) ? [alert] : [], ...reachingOutside]
|
|
500
|
-
|
|
501
|
-
// The browser merges classes only where a component writes a class that is not a literal, a spread or a part; two literals side by side were resolved while compiling.
|
|
502
|
-
if (!written.some(file => mergesAtRuntime(file, uiFiles)))
|
|
503
|
-
return undefined
|
|
504
|
-
|
|
505
|
-
const words = new Set(written.flatMap(file => fileWords(file)))
|
|
506
|
-
|
|
507
|
-
return buildClassTable(root, words, references)
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
// `inputs` holds the modules of each chunk, `maps` the source maps written.
|
|
511
|
-
interface Bundled { manifest: Omit<ClientManifest, 'styles'>, inputs: ChunkInputs, maps: string[] }
|
|
512
|
-
|
|
513
|
-
async function bundleIslands(root: string, islands: Map<string, string>, files: string[], actionForms: boolean, actionProps: boolean, options: ClientOptions, classTable?: ClassTable, islandTable?: ClassTable, iconSlots?: ReadonlySet<string>): Promise<Bundled> {
|
|
514
|
-
return inRounds(async last => bundleRound(root, islands, files, actionForms, actionProps, options, last, classTable, islandTable, iconSlots))
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
// One build of the islands, which `foldStubs` ends when lazy components that do not pay were left.
|
|
518
|
-
async function bundleRound(root: string, islands: Map<string, string>, files: string[], actionForms: boolean, actionProps: boolean, options: ClientOptions, last: boolean, classTable?: ClassTable, islandTable?: ClassTable, iconSlots?: ReadonlySet<string>): Promise<Bundled> {
|
|
519
|
-
const navigation = options.client?.navigation ?? true
|
|
520
|
-
|
|
521
|
-
if (islands.size === 0 && !navigation)
|
|
522
|
-
return { manifest: { entryImports: [], islands: {} }, inputs: {}, maps: [] }
|
|
523
|
-
|
|
524
|
-
const base = outputDir(root)
|
|
525
|
-
|
|
526
|
-
forgetBundleMaps()
|
|
527
|
-
|
|
528
|
-
const entryFile = join(base, 'entry.ts')
|
|
529
|
-
const bootFile = join(base, 'boot.ts')
|
|
530
|
-
const runtimeFile = join(base, 'runtime.ts')
|
|
531
|
-
const trees = apiTrees(root, options)
|
|
532
|
-
const api = apiStubs(trees)
|
|
533
|
-
// A page names its islands' chunks in their markup, so a production boot holds no loader of its own; development swaps islands in through the registry.
|
|
534
|
-
// An island that is a component with features is built as the variant the project's call sites need.
|
|
535
|
-
const variants = new VariantIndex(files)
|
|
536
|
-
const entries = new Map(await Promise.all([...islands].map(async ([id, file]) => [id, await variants.entry(file)] as const)))
|
|
537
|
-
const registry = options.hot ? [...entries].map(([id, file]) => ` ${JSON.stringify(id)}: () => import(${JSON.stringify(file)}),`).join('\n') : ''
|
|
538
|
-
|
|
539
|
-
// `hydrate` re-runs over a root whose markup was swapped in after load; a block a streamed page sends later calls it as `$kayHydrate`, after `$kayHydrate.dispose` took the islands it replaces.
|
|
540
|
-
const publicEnv = options.publicEnv ? `${options.base ?? ''}${PUBLIC_ENV_PATH}` : undefined
|
|
541
|
-
|
|
542
|
-
await Bun.write(bootFile, [
|
|
543
|
-
...publicEnv !== undefined ? [`import kayPublicEnv from ${JSON.stringify(publicEnv)}`] : [],
|
|
544
|
-
`import { ${['disposeIslands', ...options.hot ? ['enableHotSwap'] : [], 'hydrateIslands', ...options.hot && navigation ? ['refreshForEdit'] : [], ...navigation ? ['startNavigation'] : []].join(', ')} } from 'kay/client'`,
|
|
545
|
-
...searchOn(options) ? ['import { arrive } from \'kay/arrival\''] : [],
|
|
546
|
-
'',
|
|
547
|
-
...publicEnv !== undefined ? [`;(globalThis as Record<symbol, unknown>)[Symbol.for('kay.publicEnv')] = kayPublicEnv`, ''] : [],
|
|
548
|
-
// The merge of an island's classes reads the table the server sets for its own render.
|
|
549
|
-
...islandTable !== undefined && islands.size > 0 ? [`;(globalThis as Record<symbol, unknown>)[Symbol.for('kay.classTable')] = ${JSON.stringify(islandTable)}`, ''] : [],
|
|
550
|
-
`const islands = {${registry === '' ? '' : `\n${registry}\n`}}`,
|
|
551
|
-
'const hydrate = (root?: ParentNode) => hydrateIslands(islands, root)',
|
|
552
|
-
'',
|
|
553
|
-
// A lazy module of the runtime the page also loads up front, as `navigate`, imports the module importing this one, a cycle in which this one may run before a module it calls: what it starts waits until all of them have run.
|
|
554
|
-
'const ready = Promise.resolve().then(async () => {',
|
|
555
|
-
...options.hot ? [' enableHotSwap(islands)'] : [],
|
|
556
|
-
// Development: `kay dev`'s page script refreshes the page through the swap for an edit no island swap covers.
|
|
557
|
-
...options.hot && navigation ? [' ;(globalThis as { $kayRefresh?: () => Promise<void> }).$kayRefresh = refreshForEdit'] : [],
|
|
558
|
-
' const hydrated = hydrate()',
|
|
559
|
-
...searchOn(options) ? [' const at = scrollY'] : [],
|
|
560
|
-
'',
|
|
561
|
-
...navigation ? [` startNavigation({ hydrate, dispose: disposeIslands${searchOn(options) ? ', arrive' : ''} })`, ''] : [],
|
|
562
|
-
// A jump within the page, a search hit's to another of its sections among them, marks the words there too.
|
|
563
|
-
...searchOn(options) ? [' await hydrated', ' void arrive(location.search, at)', ' addEventListener(\'hashchange\', () => void arrive(location.search, scrollY))'] : [' return hydrated'],
|
|
564
|
-
'})',
|
|
565
|
-
'',
|
|
566
|
-
';(globalThis as { $kayHydrate?: unknown }).$kayHydrate = Object.assign(hydrate, { ready, dispose: disposeIslands })',
|
|
567
|
-
'',
|
|
568
|
-
].join('\n'))
|
|
569
|
-
|
|
570
|
-
// Bun resolves packages' `development` export condition unless NODE_ENV is defined as production, which would ship a package's dev build; a build for development, not NODE_ENV, asks for theirs.
|
|
571
|
-
const define: Record<string, string> = { 'KAY_BROWSER': 'true', 'process.env.NODE_ENV': JSON.stringify(options.hot === true ? 'development' : 'production'), 'KAY_STATIC_EXPORT': options.exported === true ? 'true' : 'undefined', 'KAY_STATIC_REMOTE': staticRemoteDefine(options), 'KAY_NAV_ENTRY': 'undefined', 'KAY_FRENCH': options.french === true ? 'true' : 'undefined', 'KAY_I18N': options.i18n === true ? 'true' : 'undefined', 'KAY_NO_ACTION_PROPS': options.hot !== true && !actionProps ? 'true' : 'undefined', 'KAY_VISIBLE_MARGIN': JSON.stringify(rootMargin(options.client?.hydration?.visible, '200px', 'visible')), 'KAY_NEAR_MARGIN': JSON.stringify(rootMargin(options.client?.hydration?.serverIslands, '100% 0px', 'serverIslands')) }
|
|
572
|
-
const external = publicEnv !== undefined ? [publicEnv] : []
|
|
573
|
-
const plugins = (anchor?: string, anchored?: ReadonlySet<string>, direct?: boolean) => [withoutStyles(), api, kay({ target: 'dom', root, variants, localeLinks: options.i18n === true, cacheDir: projectPaths(root).cache, settings: options.librarySettings, iconSlots, anchor, anchored, direct, inspect: options.inspect, api: trees, external, classTable }), ...options.plugins ?? []]
|
|
574
|
-
|
|
575
|
-
await Bun.write(entryFile, `import ${JSON.stringify(bootFile)}\n`)
|
|
576
|
-
|
|
577
|
-
// Without the registry in the boot, each island is an entry point of its own.
|
|
578
|
-
const islandFiles = options.hot ? [] : [...entries.values()]
|
|
579
|
-
const chunk = await runtimeChunk(entryFile, { plugins: plugins(), define, external, islands: islandFiles, cache: { file: join(projectPaths(root).cache, `runtime-search-${options.hot ? 'dev' : 'build'}.json`), key: `${JSON.stringify([options.librarySettings, slotsKey(iconSlots), options.inspect, options.client?.navigation, trees, islandFiles, eagerKeys(), staticRemoteDefine(options)])}\0${await Bun.file(bootFile).text()}` } })
|
|
580
|
-
|
|
581
|
-
// In development the entry keeps its own code, the islands it imports by their hashed names included: the runtime's chunk then stays as it was through an edit of an island, which swaps in alone.
|
|
582
|
-
// A second entry point importing the runtime alone has Bun give it that chunk of its own, which it would otherwise merge into the entry's.
|
|
583
|
-
if (chunk) {
|
|
584
|
-
await Bun.write(entryFile, `import ${JSON.stringify(ANCHOR)}\n${options.hot ? `import ${JSON.stringify(bootFile)}\n` : ''}`)
|
|
585
|
-
|
|
586
|
-
if (options.hot)
|
|
587
|
-
await Bun.write(runtimeFile, `import ${JSON.stringify(ANCHOR)}\n`)
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
const config = {
|
|
591
|
-
entrypoints: [entryFile, ...chunk && options.hot ? [runtimeFile] : [], ...islandFiles],
|
|
592
|
-
target: 'browser',
|
|
593
|
-
splitting: true,
|
|
594
|
-
// The pages preload the chunks of their islands themselves, and every island shares the one the page loads first, so Bun's own preloading would only weigh on it.
|
|
595
|
-
modulePreload: false,
|
|
596
|
-
minify: options.minify ?? false,
|
|
597
|
-
sourcemap: sourcemapOf(options.sourcemap),
|
|
598
|
-
metafile: true,
|
|
599
|
-
define,
|
|
600
|
-
naming: { entry: '[name]-[hash].[ext]', chunk: '[name]-[hash].[ext]' },
|
|
601
|
-
external,
|
|
602
|
-
plugins: chunk ? [runtimeAnchor(chunk, options.hot ? undefined : bootFile, !options.hot), ...plugins(ANCHOR, chunk.lazy, !options.hot)] : plugins(),
|
|
603
|
-
throw: false,
|
|
604
|
-
} satisfies Bun.BuildConfig
|
|
605
|
-
const since = raisedMark()
|
|
606
|
-
// A production page posting forms and holding no island loads navigation alone, from a build of its own: in the islands' build it would move the navigation code out of their runtime's chunk, adding a file to every page. A static export has no server to post to, and an app rendering no such form has no page loading it.
|
|
607
|
-
const [build, nav] = await Promise.all([Bun.build({ ...config, outdir: clientDir(root) }), navigation && actionForms && !options.hot && options.exported !== true ? bundleNavigation(root, options, { ...config, plugins: plugins() }) : undefined])
|
|
608
|
-
|
|
609
|
-
await foldStubs(build, nav, last, lazyEntryKey(root, new Set(islands.values())))
|
|
610
|
-
|
|
611
|
-
if (!build.success) {
|
|
612
|
-
await refuseBuiltinImports(root, build.logs, islands.values(), config)
|
|
613
|
-
|
|
614
|
-
throw buildFailure(build.logs, 'kay: client build failed', since)
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
if (nav && !nav.build.success)
|
|
618
|
-
throw buildFailure(nav.build.logs, 'kay: client build failed', since)
|
|
619
|
-
|
|
620
|
-
await refuseServerOnlyReads(root, clientDir(root), build.metafile!.outputs, projectPaths(root).cache)
|
|
621
|
-
|
|
622
|
-
const manifest = islandManifest(root, build.metafile!.outputs, islands, entryFile, options.hot === true)
|
|
623
|
-
|
|
624
|
-
// Preloaded with the entry's own chunks, as the entry waits for it before hydrating.
|
|
625
|
-
if (publicEnv !== undefined)
|
|
626
|
-
manifest.entryImports.push(PUBLIC_ENV_PATH)
|
|
627
|
-
|
|
628
|
-
if (nav) {
|
|
629
|
-
const { entry, imports } = entryChunks(root, nav.build.metafile!.outputs, nav.file)!
|
|
630
|
-
|
|
631
|
-
manifest.navEntry = entry
|
|
632
|
-
manifest.navEntryImports = imports
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
const outputs = [...build.outputs, ...nav?.build.outputs ?? []]
|
|
636
|
-
const inputs = Object.fromEntries([build, ...nav ? [nav.build] : []].flatMap(each => Object.entries(each.metafile!.outputs)).map(([output, meta]) => [output.replace(LEADING_DOT_SLASH, ''), meta.inputs]))
|
|
637
|
-
const directives = await islandDirectives(root, build.outputs)
|
|
638
|
-
|
|
639
|
-
// The names carry the content hashes, so the id changes with the code of the entry, the runtime or any island.
|
|
640
|
-
const buildId = options.hot ? undefined : Bun.hash(outputs.filter(output => JS_OUTPUT.test(output.path)).map(output => basename(output.path)).sort().join('\n')).toString(36).slice(0, 8)
|
|
641
|
-
|
|
642
|
-
return { manifest: { ...manifest, navigation, ...define.KAY_NO_ACTION_PROPS === 'true' && { actionless: true }, ...buildId !== undefined && { build: buildId }, ...directives && { directives } }, inputs, maps: outputs.filter(output => output.kind === 'sourcemap').map(output => output.path) }
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
// The entry of a page posting forms to actions and holding no island: navigation alone, its swap and form posting loaded as they are needed, with no island runtime. It never hydrates, as a page holding islands loads the islands' entry, which a swap from here loads in full.
|
|
646
|
-
async function bundleNavigation(root: string, options: ClientOptions, config: Bun.BuildConfig & { outdir?: never }): Promise<{ build: Bun.BuildOutput, file: string }> {
|
|
647
|
-
const file = join(outputDir(root), 'nav.ts')
|
|
648
|
-
|
|
649
|
-
await Bun.write(file, [
|
|
650
|
-
`import ${JSON.stringify(join(RUNTIME_DIR, 'page-errors.ts'))}`,
|
|
651
|
-
`import { listenToForms } from ${JSON.stringify(join(RUNTIME_DIR, 'form-submits.ts'))}`,
|
|
652
|
-
`import { startNavigation } from ${JSON.stringify(join(RUNTIME_DIR, 'navigate.ts'))}`,
|
|
653
|
-
...searchOn(options) ? [`import { arrive } from ${JSON.stringify(join(RUNTIME_DIR, 'arrival.ts'))}`] : [],
|
|
654
|
-
'',
|
|
655
|
-
...searchOn(options) ? ['const at = scrollY', ''] : [],
|
|
656
|
-
`startNavigation({ hydrate: () => undefined, dispose: () => undefined${searchOn(options) ? ', arrive' : ''} })`,
|
|
657
|
-
'listenToForms()',
|
|
658
|
-
...searchOn(options) ? ['void arrive(location.search, at)', 'addEventListener(\'hashchange\', () => void arrive(location.search, scrollY))'] : [],
|
|
659
|
-
'',
|
|
660
|
-
].join('\n'))
|
|
661
|
-
|
|
662
|
-
return { build: await Bun.build({ ...config, entrypoints: [file], define: { ...config.define, KAY_NAV_ENTRY: 'true' }, naming: { entry: '[name]-[hash].[ext]', chunk: 'nav-[name]-[hash].[ext]' }, outdir: clientDir(root) }), file }
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
// What kay's policy refuses and the islands' chunks or the workers they start need: `'wasm-unsafe-eval'` to compile wasm, `blob:` workers for a package building its worker in memory, as qr-scanner does.
|
|
666
|
-
// A worker is found through the URL its chunk names it by, as the assets also hold files a server or an earlier build wrote.
|
|
667
|
-
async function islandDirectives(root: string, outputs: Bun.BuildArtifact[]): Promise<Record<string, string[]> | undefined> {
|
|
668
|
-
const workers = join(clientDir(root), 'assets')
|
|
669
|
-
const code: string[] = []
|
|
670
|
-
const seen = new Set<string>()
|
|
671
|
-
const read = async (file: string) => {
|
|
672
|
-
const text = await Bun.file(file).text()
|
|
673
|
-
|
|
674
|
-
code.push(text)
|
|
675
|
-
for (const [, name] of text.matchAll(WORKER_URL)) {
|
|
676
|
-
const worker = join(workers, name!)
|
|
677
|
-
|
|
678
|
-
if (!seen.has(worker) && existsSync(worker)) {
|
|
679
|
-
seen.add(worker)
|
|
680
|
-
await read(worker)
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
for (const output of outputs.filter(output => JS_OUTPUT.test(output.path)))
|
|
686
|
-
await read(output.path)
|
|
687
|
-
|
|
688
|
-
const directives: Record<string, string[]> = {}
|
|
689
|
-
|
|
690
|
-
if (code.some(text => COMPILES_WASM.test(text)))
|
|
691
|
-
directives['script-src'] = ['\'wasm-unsafe-eval\'']
|
|
692
|
-
|
|
693
|
-
if (code.some(text => STARTS_WORKER.test(text) && OBJECT_URL.test(text)))
|
|
694
|
-
directives['worker-src'] = ['\'self\'', 'blob:']
|
|
695
|
-
|
|
696
|
-
return Object.keys(directives).length > 0 ? directives : undefined
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
// Each page and layout is an entry whose code shrinks to its imports, so what comes out is the stylesheet of everything it renders: each one's URL by the file relative to the root, and every module the build read, `followed` adding the ones it shrank to their imports, which the bundler's list of inputs leaves out.
|
|
700
|
-
// The rules of a kay library's stylesheets needing a class nothing names are left out, `unused` listing those classes.
|
|
701
|
-
// `uses` tells which of the classes the stylesheets style each page and layout names, for a production server to leave the rules of the rest out of a page's head; development links the stylesheets whole and compares what the page sets with it.
|
|
702
|
-
async function bundleStyles(root: string, { pages, files, libraries, classes, shorthand, islands }: Pick<ClientSources, 'pages' | 'files' | 'libraries' | 'classes' | 'shorthand' | 'islands'>, options: ClientOptions): Promise<{ styles: Record<string, string>, inputs: string[], followed: string[], unused: Set<string>, uses?: StyleUses, server: UnresolvedClass[] }> {
|
|
703
|
-
if (pages.length === 0)
|
|
704
|
-
return { styles: {}, inputs: [], followed: [], unused: new Set(), server: [] }
|
|
705
|
-
|
|
706
|
-
const shrunk = new Set<string>()
|
|
707
|
-
const reached: Reached = { edges: new Map(), open: new Set() }
|
|
708
|
-
// Read while Bun.build parses and bundles: a stylesheet waits for it only once it is loaded.
|
|
709
|
-
const unusedClasses = unusedLibraryClasses(root, libraries, classes)
|
|
710
|
-
|
|
711
|
-
await writeComponentStylesheets(root, files)
|
|
712
|
-
|
|
713
|
-
// Tailwind scans the raw sources, whose recipes still name the utilities they lifted: their rules are cut from its output.
|
|
714
|
-
const recipeOnlyNames = recipeOnlyUtilities(root, await recipeLifter(root), classes)
|
|
715
|
-
const since = raisedMark()
|
|
716
|
-
const [build, unused] = await Promise.all([Bun.build({
|
|
717
|
-
entrypoints: pages,
|
|
718
|
-
outdir: clientDir(root),
|
|
719
|
-
target: 'browser',
|
|
720
|
-
minify: options.minify ?? false,
|
|
721
|
-
metafile: true,
|
|
722
|
-
naming: { entry: '[name]-[hash].[ext]', chunk: '[name]-[hash].[ext]', asset: '[name]-[hash].[ext]' },
|
|
723
|
-
plugins: [styleImports(root, libraries, shrunk, reached), ...mergingSupports(options.plugins ?? [], async (nodes, tailwind) => pruneUtilityLayer(pruneNodes(nodes, await unusedClasses), tailwind ? await recipeOnlyNames : new Set()), { root, files: referencesOf(options.extensions) })],
|
|
724
|
-
}), unusedClasses, recipeOnlyNames])
|
|
725
|
-
|
|
726
|
-
if (!build.success)
|
|
727
|
-
throw buildFailure(build.logs, 'kay: stylesheet build failed', since)
|
|
728
|
-
|
|
729
|
-
const pageFiles = new Set(pages)
|
|
730
|
-
const styles: Record<string, string> = {}
|
|
731
|
-
|
|
732
|
-
for (const meta of Object.values(build.metafile!.outputs as Outputs)) {
|
|
733
|
-
const file = meta.cssBundle !== undefined && meta.entryPoint !== undefined ? entryFile(root, meta.entryPoint, pageFiles) : undefined
|
|
734
|
-
|
|
735
|
-
if (file !== undefined)
|
|
736
|
-
styles[relative(root, file)] = assetUrl(meta.cssBundle!)
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
const server: UnresolvedClass[] = []
|
|
740
|
-
const markup = reached.open.size > 0 ? await findProjectFiles(root, MARKUP_FILE, { project: true, ownKayOnly: true }) : []
|
|
741
|
-
const cssOutputs = await Promise.all(build.outputs.filter(output => CSS_FILE.test(output.path)).map(async output => ({ path: output.path, text: await Bun.file(output.path).text() })))
|
|
742
|
-
|
|
743
|
-
if (options.hot !== true)
|
|
744
|
-
await warnBuiltThemeVariables(root, cssOutputs.map(output => output.text))
|
|
745
|
-
|
|
746
|
-
const uses = styleUses(root, pages, cssOutputs.map(output => output.text), reached, shorthand, markup, {
|
|
747
|
-
// kay's own runtime sets the classes of the pages it swaps in, which the pages name.
|
|
748
|
-
own: file => !file.startsWith(KAY_SOURCE) && !file.includes(`${sep}node_modules${sep}`) && !libraries.some(library => file.startsWith(`${library.dir}${sep}`) || file.startsWith(`${library.realDir}${sep}`)),
|
|
749
|
-
islands: islands.values(),
|
|
750
|
-
// A development build links the whole stylesheet and warns in the browser instead. What runs on the server is the prerendered pages' to vouch for, which `kay build` weighs once they are rendered.
|
|
751
|
-
unresolved: options.hot === true || options.client?.lateStyles === true
|
|
752
|
-
? undefined
|
|
753
|
-
: (found) => {
|
|
754
|
-
warnUnresolved(root, found.filter(unresolved => unresolved.client), new Set(islands.values()))
|
|
755
|
-
server.push(...found.filter(unresolved => !unresolved.client))
|
|
756
|
-
},
|
|
757
|
-
})
|
|
758
|
-
|
|
759
|
-
// The code the entries shrank to is only a vehicle for their stylesheets.
|
|
760
|
-
await Promise.all(build.outputs.filter(output => output.kind === 'entry-point' && JS_OUTPUT.test(output.path)).map(async output => rm(output.path)))
|
|
761
|
-
|
|
762
|
-
const fallbacks = options.assets?.fonts === undefined ? new Map<string, FontFallback>() : fontFallbacks(root, options.assets.fonts)
|
|
763
|
-
const base = options.base ?? ''
|
|
764
|
-
|
|
765
|
-
await Promise.all(cssOutputs.map(async ({ path, text }) => {
|
|
766
|
-
const css = withFontFallbacks(hoistLayerOrder(text), fallbacks)
|
|
767
|
-
const rebased = base === '' ? css : rebaseCss(css, base)
|
|
768
|
-
|
|
769
|
-
if (rebased !== text)
|
|
770
|
-
await Bun.write(path, rebased)
|
|
771
|
-
}))
|
|
772
|
-
|
|
773
|
-
return { styles, inputs: Object.keys(build.metafile!.inputs).map(input => resolve(input)), followed: [...shrunk], unused, uses, server }
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
const PAGES_NAMED = 3
|
|
777
|
-
|
|
778
|
-
// Tells the app which classes it sets after load that no page carries the rule of, with the fix.
|
|
779
|
-
export function warnUnresolved(root: string, found: UnresolvedClass[], islands: ReadonlySet<string>): void {
|
|
780
|
-
for (const { file, line, how, part, expression, by } of found) {
|
|
781
|
-
const where = `${islands.has(file) ? 'island ' : ''}${relative(root, file)}:${line}`
|
|
782
|
-
const pages = by.length === 0 ? '' : ` (reached from ${by.slice(0, PAGES_NAMED).map(page => relative(root, page)).join(', ')}${by.length > PAGES_NAMED ? ` and ${by.length - PAGES_NAMED} more` : ''})`
|
|
783
|
-
|
|
784
|
-
kayLog('warn', `${where} sets a class from a value the build cannot read (${how} \`${expression}\`${part === '' ? '' : `, ${JSON.stringify(part)}`}), so no page carries its rule${pages}: write the classes out as literals, list them in your stylesheet with @source inline("..."), or set \`lateStyles: true\` in kay.config.ts to load the whole stylesheet after paint`)
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
// The source of `installPrompt`, whose islands' pages carry the script keeping the install offer.
|
|
789
|
-
const INSTALL_SOURCE = /(?:^|[/\\])runtime[/\\]install-prompt\.ts$/
|
|
790
|
-
// The source of the code waiting for an island to be visible or idle, whose chunk the pages holding such an island preload.
|
|
791
|
-
const HYDRATE_WHEN_SOURCE = /(?:^|[/\\])runtime[/\\]hydrate-when\.ts$/
|
|
792
|
-
|
|
793
|
-
export function islandManifest(root: string, outputs: Outputs, islands: Map<string, string>, entry: string, hot: boolean): Omit<ClientManifest, 'styles'> {
|
|
794
|
-
const idByFile = new Map([...islands].map(([id, file]) => [file, id]))
|
|
795
|
-
const files = new Set(islands.values())
|
|
796
|
-
const closure = (output: string) => staticClosure(outputs, output)
|
|
797
|
-
const manifest: Omit<ClientManifest, 'styles'> = { entryImports: [], islands: {} }
|
|
798
|
-
const whenOutput = Object.entries(outputs).find(([, meta]) => Object.keys(meta.inputs ?? {}).some(input => HYDRATE_WHEN_SOURCE.test(input)))?.[0]
|
|
799
|
-
|
|
800
|
-
if (whenOutput !== undefined)
|
|
801
|
-
manifest.hydrateWhen = [...closure(whenOutput)].map(assetUrl)
|
|
802
|
-
|
|
803
|
-
for (const [output, meta] of Object.entries(outputs)) {
|
|
804
|
-
if (meta.entryPoint === undefined)
|
|
805
|
-
continue
|
|
806
|
-
|
|
807
|
-
const file = entryFile(root, meta.entryPoint, files)
|
|
808
|
-
|
|
809
|
-
// A `.kay` entry, an island or not, is a component another island may load lazily, which the page preloads when its server drew it.
|
|
810
|
-
if (KAY_OUTPUT.test(meta.entryPoint))
|
|
811
|
-
noteLazy(manifest, lazyKey(root, resolve(variantFile(meta.entryPoint))), meta.entryPoint, [...closure(output)].map(assetUrl))
|
|
812
|
-
|
|
813
|
-
// Any other entry point is the entry, or a chunk some code imports dynamically, loaded when it asks for it.
|
|
814
|
-
if (file === undefined)
|
|
815
|
-
continue
|
|
816
|
-
|
|
817
|
-
const chunks = [...closure(output)]
|
|
818
|
-
const id = idByFile.get(file)!
|
|
819
|
-
|
|
820
|
-
manifest.islands[id] = chunks.map(assetUrl)
|
|
821
|
-
|
|
822
|
-
if (chunks.some(chunk => Object.keys(outputs[chunk]?.inputs ?? {}).some(input => INSTALL_SOURCE.test(input))))
|
|
823
|
-
(manifest.installs ??= []).push(id)
|
|
824
|
-
|
|
825
|
-
// Inputs are named relative to the working directory, the root in development.
|
|
826
|
-
if (hot) {
|
|
827
|
-
for (const chunk of chunks)
|
|
828
|
-
(manifest.chunkInputs ??= {})[assetUrl(chunk)] = Object.keys(outputs[chunk]?.inputs ?? {}).map(input => islandPath(root, variantFile(input)))
|
|
829
|
-
}
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
const loaded = entryChunks(root, outputs, entry)
|
|
833
|
-
|
|
834
|
-
if (loaded) {
|
|
835
|
-
manifest.entry = loaded.entry
|
|
836
|
-
manifest.entryImports = loaded.imports
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
return manifest
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
// The URL a page loads an entry by, and the chunks it imports statically, which the page preloads.
|
|
843
|
-
function entryChunks(root: string, outputs: Outputs, entry: string): { entry: string, imports: string[] } | undefined {
|
|
844
|
-
const entries = new Set([entry])
|
|
845
|
-
const found = Object.entries(outputs).find(([, meta]) => meta.entryPoint !== undefined && entryFile(root, meta.entryPoint, entries) !== undefined)
|
|
846
|
-
|
|
847
|
-
if (!found)
|
|
848
|
-
return undefined
|
|
849
|
-
|
|
850
|
-
const [output, meta] = found
|
|
851
|
-
// An entry holding nothing but the import of the runtime's chunk is a request the page saves by loading that chunk itself.
|
|
852
|
-
const statics = meta.imports.filter(imported => imported.kind === 'import-statement')
|
|
853
|
-
const loaded = statics.length === 1 && Object.values(meta.inputs ?? {}).every(input => (input.bytesInOutput ?? 0) === 0) ? statics[0]!.path : output
|
|
854
|
-
|
|
855
|
-
return { entry: assetUrl(loaded), imports: [...staticClosure(outputs, loaded)].filter(chunk => chunk !== loaded).map(assetUrl) }
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
function islandPath(root: string, input: string): string {
|
|
859
|
-
return relative(root, resolve(input)).replaceAll('\\', '/')
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
function assetUrl(output: string): string {
|
|
863
|
-
return `${ASSET_PREFIX}${output.replace(LEADING_DOT_SLASH, '')}`
|
|
864
|
-
}
|