polen 0.11.0-next.14 → 0.11.0-next.16
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/build/api/$$.d.ts +12 -0
- package/build/api/$$.d.ts.map +1 -0
- package/build/api/$$.js +13 -0
- package/build/api/$$.js.map +1 -0
- package/build/api/$.d.ts +2 -0
- package/build/api/$.d.ts.map +1 -0
- package/build/api/$.js +2 -0
- package/build/api/$.js.map +1 -0
- package/build/api/builder/builder.d.ts +5 -3
- package/build/api/builder/builder.d.ts.map +1 -1
- package/build/api/builder/builder.js +25 -12
- package/build/api/builder/builder.js.map +1 -1
- package/build/api/builder/ssg/generate.d.ts +5 -0
- package/build/api/builder/ssg/generate.d.ts.map +1 -0
- package/build/api/builder/ssg/generate.js +149 -0
- package/build/api/builder/ssg/generate.js.map +1 -0
- package/build/api/builder/ssg/page-generator.worker.d.ts +2 -0
- package/build/api/builder/ssg/page-generator.worker.d.ts.map +1 -0
- package/build/api/builder/ssg/page-generator.worker.js +80 -0
- package/build/api/builder/ssg/page-generator.worker.js.map +1 -0
- package/build/api/builder/ssg/server-runner.worker.d.ts +2 -0
- package/build/api/builder/ssg/server-runner.worker.d.ts.map +1 -0
- package/build/api/builder/ssg/server-runner.worker.js +127 -0
- package/build/api/builder/ssg/server-runner.worker.js.map +1 -0
- package/build/api/builder/ssg/worker-messages.d.ts +43 -0
- package/build/api/builder/ssg/worker-messages.d.ts.map +1 -0
- package/build/api/builder/ssg/worker-messages.js +49 -0
- package/build/api/builder/ssg/worker-messages.js.map +1 -0
- package/build/api/builder/ssg/worker-spawners.d.ts +11 -0
- package/build/api/builder/ssg/worker-spawners.d.ts.map +1 -0
- package/build/api/builder/ssg/worker-spawners.js +64 -0
- package/build/api/builder/ssg/worker-spawners.js.map +1 -0
- package/build/api/cache/cache.d.ts +9 -8
- package/build/api/cache/cache.d.ts.map +1 -1
- package/build/api/cache/cache.js +109 -110
- package/build/api/cache/cache.js.map +1 -1
- package/build/api/config/$$.d.ts +5 -0
- package/build/api/config/$$.d.ts.map +1 -0
- package/build/api/config/$$.js +5 -0
- package/build/api/config/$$.js.map +1 -0
- package/build/api/config/$.d.ts +2 -0
- package/build/api/config/$.d.ts.map +1 -0
- package/build/api/config/$.js +2 -0
- package/build/api/config/$.js.map +1 -0
- package/build/api/config/home.d.ts +639 -0
- package/build/api/config/home.d.ts.map +1 -0
- package/build/api/config/home.js +487 -0
- package/build/api/config/home.js.map +1 -0
- package/build/api/config/input.d.ts +1944 -0
- package/build/api/config/input.d.ts.map +1 -0
- package/build/api/config/input.js +363 -0
- package/build/api/config/input.js.map +1 -0
- package/build/api/config/load.d.ts +4 -2
- package/build/api/config/load.d.ts.map +1 -1
- package/build/api/config/load.js +33 -22
- package/build/api/config/load.js.map +1 -1
- package/build/api/config/normalized.d.ts +3546 -0
- package/build/api/config/normalized.d.ts.map +1 -0
- package/build/api/config/normalized.js +761 -0
- package/build/api/config/normalized.js.map +1 -0
- package/build/api/config-resolver/config-resolver.d.ts +0 -1
- package/build/api/config-resolver/config-resolver.d.ts.map +1 -1
- package/build/api/config-resolver/config-resolver.js +0 -1
- package/build/api/config-resolver/config-resolver.js.map +1 -1
- package/build/api/config-resolver/resolve.d.ts +7 -5
- package/build/api/config-resolver/resolve.d.ts.map +1 -1
- package/build/api/config-resolver/resolve.js +10 -11
- package/build/api/config-resolver/resolve.js.map +1 -1
- package/build/api/config-template/template.d.ts +2991 -0
- package/build/api/config-template/template.d.ts.map +1 -0
- package/build/api/config-template/template.js +53 -0
- package/build/api/config-template/template.js.map +1 -0
- package/build/api/content/$$.d.ts +1 -0
- package/build/api/content/$$.d.ts.map +1 -1
- package/build/api/content/$$.js +1 -0
- package/build/api/content/$$.js.map +1 -1
- package/build/api/content/mdx-compiler.d.ts +54 -0
- package/build/api/content/mdx-compiler.d.ts.map +1 -0
- package/build/api/content/mdx-compiler.js +68 -0
- package/build/api/content/mdx-compiler.js.map +1 -0
- package/build/api/content/metadata.d.ts +7 -11
- package/build/api/content/metadata.d.ts.map +1 -1
- package/build/api/content/metadata.js +4 -4
- package/build/api/content/metadata.js.map +1 -1
- package/build/api/content/navbar.js +1 -1
- package/build/api/content/navbar.js.map +1 -1
- package/build/api/content/scan.d.ts +3 -1
- package/build/api/content/scan.d.ts.map +1 -1
- package/build/api/content/scan.js +15 -11
- package/build/api/content/scan.js.map +1 -1
- package/build/api/content/sidebar.d.ts +1 -1
- package/build/api/content/sidebar.js +1 -1
- package/build/api/examples/$$.d.ts +8 -0
- package/build/api/examples/$$.d.ts.map +1 -0
- package/build/api/examples/$$.js +8 -0
- package/build/api/examples/$$.js.map +1 -0
- package/build/api/examples/$.d.ts +2 -0
- package/build/api/examples/$.d.ts.map +1 -0
- package/build/api/examples/$.js +2 -0
- package/build/api/examples/$.js.map +1 -0
- package/build/api/examples/config.d.ts +709 -0
- package/build/api/examples/config.d.ts.map +1 -0
- package/build/api/examples/config.js +169 -0
- package/build/api/examples/config.js.map +1 -0
- package/build/api/examples/diagnostic/diagnostic.d.ts +152 -0
- package/build/api/examples/diagnostic/diagnostic.d.ts.map +1 -0
- package/build/api/examples/diagnostic/diagnostic.js +20 -0
- package/build/api/examples/diagnostic/diagnostic.js.map +1 -0
- package/build/api/examples/diagnostic/duplicate-content.d.ts +55 -0
- package/build/api/examples/diagnostic/duplicate-content.d.ts.map +1 -0
- package/build/api/examples/diagnostic/duplicate-content.js +22 -0
- package/build/api/examples/diagnostic/duplicate-content.js.map +1 -0
- package/build/api/examples/diagnostic/invalid-filename.d.ts +43 -0
- package/build/api/examples/diagnostic/invalid-filename.d.ts.map +1 -0
- package/build/api/examples/diagnostic/invalid-filename.js +16 -0
- package/build/api/examples/diagnostic/invalid-filename.js.map +1 -0
- package/build/api/examples/diagnostic/missing-versions.d.ts +51 -0
- package/build/api/examples/diagnostic/missing-versions.d.ts.map +1 -0
- package/build/api/examples/diagnostic/missing-versions.js +20 -0
- package/build/api/examples/diagnostic/missing-versions.js.map +1 -0
- package/build/api/examples/diagnostic/unknown-version.d.ts +51 -0
- package/build/api/examples/diagnostic/unknown-version.d.ts.map +1 -0
- package/build/api/examples/diagnostic/unknown-version.js +20 -0
- package/build/api/examples/diagnostic/unknown-version.js.map +1 -0
- package/build/api/examples/diagnostic/unused-default.d.ts +49 -0
- package/build/api/examples/diagnostic/unused-default.d.ts.map +1 -0
- package/build/api/examples/diagnostic/unused-default.js +19 -0
- package/build/api/examples/diagnostic/unused-default.js.map +1 -0
- package/build/api/examples/diagnostic/validation-error.d.ts +63 -0
- package/build/api/examples/diagnostic/validation-error.d.ts.map +1 -0
- package/build/api/examples/diagnostic/validation-error.js +21 -0
- package/build/api/examples/diagnostic/validation-error.js.map +1 -0
- package/build/api/examples/diagnostic/validator.d.ts +13 -0
- package/build/api/examples/diagnostic/validator.d.ts.map +1 -0
- package/build/api/examples/diagnostic/validator.js +116 -0
- package/build/api/examples/diagnostic/validator.js.map +1 -0
- package/build/api/examples/filter.d.ts +19 -0
- package/build/api/examples/filter.d.ts.map +1 -0
- package/build/api/examples/filter.js +64 -0
- package/build/api/examples/filter.js.map +1 -0
- package/build/api/examples/scanner.d.ts +18 -0
- package/build/api/examples/scanner.d.ts.map +1 -0
- package/build/api/examples/scanner.js +264 -0
- package/build/api/examples/scanner.js.map +1 -0
- package/build/api/examples/schemas/catalog.d.ts +248 -0
- package/build/api/examples/schemas/catalog.d.ts.map +1 -0
- package/build/api/examples/schemas/catalog.js +42 -0
- package/build/api/examples/schemas/catalog.js.map +1 -0
- package/build/api/examples/schemas/example/$$.d.ts +2 -0
- package/build/api/examples/schemas/example/$$.d.ts.map +1 -0
- package/build/api/examples/schemas/example/$$.js +2 -0
- package/build/api/examples/schemas/example/$$.js.map +1 -0
- package/build/api/examples/schemas/example/$.d.ts +2 -0
- package/build/api/examples/schemas/example/$.d.ts.map +1 -0
- package/build/api/examples/schemas/example/$.js +2 -0
- package/build/api/examples/schemas/example/$.js.map +1 -0
- package/build/api/examples/schemas/example/example.d.ts +134 -0
- package/build/api/examples/schemas/example/example.d.ts.map +1 -0
- package/build/api/examples/schemas/example/example.js +51 -0
- package/build/api/examples/schemas/example/example.js.map +1 -0
- package/build/api/examples/schemas/type-usage-index.d.ts +72 -0
- package/build/api/examples/schemas/type-usage-index.d.ts.map +1 -0
- package/build/api/examples/schemas/type-usage-index.js +64 -0
- package/build/api/examples/schemas/type-usage-index.js.map +1 -0
- package/build/api/examples/type-generator.d.ts +8 -0
- package/build/api/examples/type-generator.d.ts.map +1 -0
- package/build/api/examples/type-generator.js +36 -0
- package/build/api/examples/type-generator.js.map +1 -0
- package/build/api/examples/type-usage-indexer.d.ts +18 -0
- package/build/api/examples/type-usage-indexer.d.ts.map +1 -0
- package/build/api/examples/type-usage-indexer.js +220 -0
- package/build/api/examples/type-usage-indexer.js.map +1 -0
- package/build/api/iso/schema/constants.d.ts +1 -0
- package/build/api/iso/schema/constants.d.ts.map +1 -1
- package/build/api/iso/schema/constants.js +1 -0
- package/build/api/iso/schema/constants.js.map +1 -1
- package/build/api/iso/schema/routing.d.ts +14 -4
- package/build/api/iso/schema/routing.d.ts.map +1 -1
- package/build/api/iso/schema/routing.js +22 -5
- package/build/api/iso/schema/routing.js.map +1 -1
- package/build/api/project/$$.d.ts +2 -0
- package/build/api/project/$$.d.ts.map +1 -0
- package/build/api/project/$$.js +2 -0
- package/build/api/project/$$.js.map +1 -0
- package/build/api/project/$.d.ts +2 -0
- package/build/api/project/$.d.ts.map +1 -0
- package/build/api/project/$.js +2 -0
- package/build/api/project/$.js.map +1 -0
- package/build/api/routes/$$.d.ts +2 -0
- package/build/api/routes/$$.d.ts.map +1 -0
- package/build/api/routes/$$.js +2 -0
- package/build/api/routes/$$.js.map +1 -0
- package/build/api/routes/$.d.ts +2 -0
- package/build/api/routes/$.d.ts.map +1 -0
- package/build/api/routes/$.js +2 -0
- package/build/api/routes/$.js.map +1 -0
- package/build/api/routes/manifest/$$.d.ts +2 -0
- package/build/api/routes/manifest/$$.d.ts.map +1 -0
- package/build/api/routes/manifest/$$.js +2 -0
- package/build/api/routes/manifest/$$.js.map +1 -0
- package/build/api/routes/manifest/$.d.ts +2 -0
- package/build/api/routes/manifest/$.d.ts.map +1 -0
- package/build/api/routes/manifest/$.js +2 -0
- package/build/api/routes/manifest/$.js.map +1 -0
- package/build/api/routes/manifest/manifest.d.ts +29 -0
- package/build/api/routes/manifest/manifest.d.ts.map +1 -0
- package/build/api/routes/manifest/manifest.js +43 -0
- package/build/api/routes/manifest/manifest.js.map +1 -0
- package/build/api/schema/$$.d.ts +8 -0
- package/build/api/schema/$$.d.ts.map +1 -0
- package/build/api/schema/$$.js +8 -0
- package/build/api/schema/$$.js.map +1 -0
- package/build/api/schema/$.d.ts +2 -0
- package/build/api/schema/$.d.ts.map +1 -0
- package/build/api/schema/$.js +2 -0
- package/build/api/schema/$.js.map +1 -0
- package/build/api/schema/augmentations/$.d.ts +2 -0
- package/build/api/schema/augmentations/$.d.ts.map +1 -0
- package/build/api/schema/augmentations/$.js +2 -0
- package/build/api/schema/augmentations/$.js.map +1 -0
- package/build/api/schema/augmentations/augmentations/description.d.ts +26 -0
- package/build/api/schema/augmentations/augmentations/description.d.ts.map +1 -0
- package/build/api/schema/augmentations/augmentations/description.js +55 -0
- package/build/api/schema/augmentations/augmentations/description.js.map +1 -0
- package/build/api/schema/augmentations/schema-augmentation.d.ts +20 -0
- package/build/api/schema/augmentations/schema-augmentation.d.ts.map +1 -0
- package/build/api/schema/augmentations/schema-augmentation.js +22 -0
- package/build/api/schema/augmentations/schema-augmentation.js.map +1 -0
- package/build/api/schema/augmentations/target.d.ts +25 -0
- package/build/api/schema/augmentations/target.d.ts.map +1 -0
- package/build/api/schema/augmentations/target.js +39 -0
- package/build/api/schema/augmentations/target.js.map +1 -0
- package/build/api/schema/config-schema.d.ts +555 -0
- package/build/api/schema/config-schema.d.ts.map +1 -0
- package/build/api/schema/config-schema.js +388 -0
- package/build/api/schema/config-schema.js.map +1 -0
- package/build/api/schema/config.d.ts +5 -0
- package/build/api/schema/config.d.ts.map +1 -0
- package/build/api/schema/config.js +2 -0
- package/build/api/schema/config.js.map +1 -0
- package/build/api/schema/input-source/$$.d.ts +3 -0
- package/build/api/schema/input-source/$$.d.ts.map +1 -0
- package/build/api/schema/input-source/$$.js +3 -0
- package/build/api/schema/input-source/$$.js.map +1 -0
- package/build/api/schema/input-source/$.d.ts +2 -0
- package/build/api/schema/input-source/$.d.ts.map +1 -0
- package/build/api/schema/input-source/$.js +2 -0
- package/build/api/schema/input-source/$.js.map +1 -0
- package/build/api/schema/input-source/input-source.d.ts +39 -0
- package/build/api/schema/input-source/input-source.d.ts.map +1 -0
- package/build/api/schema/input-source/input-source.js +35 -0
- package/build/api/schema/input-source/input-source.js.map +1 -0
- package/build/api/schema/input-source/load.d.ts +23 -0
- package/build/api/schema/input-source/load.d.ts.map +1 -0
- package/build/api/schema/input-source/load.js +39 -0
- package/build/api/schema/input-source/load.js.map +1 -0
- package/build/api/schema/input-sources/$$.d.ts +7 -0
- package/build/api/schema/input-sources/$$.d.ts.map +1 -0
- package/build/api/schema/input-sources/$$.js +7 -0
- package/build/api/schema/input-sources/$$.js.map +1 -0
- package/build/api/schema/input-sources/$.d.ts +2 -0
- package/build/api/schema/input-sources/$.d.ts.map +1 -0
- package/build/api/schema/input-sources/$.js +2 -0
- package/build/api/schema/input-sources/$.js.map +1 -0
- package/build/api/schema/input-sources/directory.d.ts +646 -0
- package/build/api/schema/input-sources/directory.d.ts.map +1 -0
- package/build/api/schema/input-sources/directory.js +148 -0
- package/build/api/schema/input-sources/directory.js.map +1 -0
- package/build/api/schema/input-sources/file.d.ts +627 -0
- package/build/api/schema/input-sources/file.d.ts.map +1 -0
- package/build/api/schema/input-sources/file.js +62 -0
- package/build/api/schema/input-sources/file.js.map +1 -0
- package/build/api/schema/input-sources/introspection-file.d.ts +645 -0
- package/build/api/schema/input-sources/introspection-file.d.ts.map +1 -0
- package/build/api/schema/input-sources/introspection-file.js +90 -0
- package/build/api/schema/input-sources/introspection-file.js.map +1 -0
- package/build/api/schema/input-sources/introspection.d.ts +651 -0
- package/build/api/schema/input-sources/introspection.d.ts.map +1 -0
- package/build/api/schema/input-sources/introspection.js +123 -0
- package/build/api/schema/input-sources/introspection.js.map +1 -0
- package/build/api/schema/input-sources/memory.d.ts +671 -0
- package/build/api/schema/input-sources/memory.d.ts.map +1 -0
- package/build/api/schema/input-sources/memory.js +133 -0
- package/build/api/schema/input-sources/memory.js.map +1 -0
- package/build/api/schema/input-sources/versioned-directory.d.ts +1246 -0
- package/build/api/schema/input-sources/versioned-directory.d.ts.map +1 -0
- package/build/api/schema/input-sources/versioned-directory.js +352 -0
- package/build/api/schema/input-sources/versioned-directory.js.map +1 -0
- package/build/api/schema/load.d.ts +29 -0
- package/build/api/schema/load.d.ts.map +1 -0
- package/build/api/schema/load.js +132 -0
- package/build/api/schema/load.js.map +1 -0
- package/build/api/server/report-error.js +4 -1
- package/build/api/server/report-error.js.map +1 -1
- package/build/api/singletons/markdown/markdown.d.ts +2 -1
- package/build/api/singletons/markdown/markdown.d.ts.map +1 -1
- package/build/api/singletons/markdown/markdown.js +4 -3
- package/build/api/singletons/markdown/markdown.js.map +1 -1
- package/build/api/static/manifest.d.ts +30 -15
- package/build/api/static/manifest.d.ts.map +1 -1
- package/build/api/static/manifest.js +35 -10
- package/build/api/static/manifest.js.map +1 -1
- package/build/api/static/rebase.d.ts.map +1 -1
- package/build/api/static/rebase.js +89 -58
- package/build/api/static/rebase.js.map +1 -1
- package/build/api/typings/$$.d.ts +2 -0
- package/build/api/typings/$$.d.ts.map +1 -0
- package/build/api/typings/$$.js +2 -0
- package/build/api/typings/$$.js.map +1 -0
- package/build/api/typings/$.d.ts +2 -0
- package/build/api/typings/$.d.ts.map +1 -0
- package/build/api/typings/$.js +2 -0
- package/build/api/typings/$.js.map +1 -0
- package/build/api/typings/typings.d.ts +88 -0
- package/build/api/typings/typings.d.ts.map +1 -0
- package/build/api/typings/typings.js +180 -0
- package/build/api/typings/typings.js.map +1 -0
- package/build/cli/_/parameters.d.ts +4 -3
- package/build/cli/_/parameters.d.ts.map +1 -1
- package/build/cli/_/parameters.js +4 -6
- package/build/cli/_/parameters.js.map +1 -1
- package/build/cli/commands/build.d.ts +10 -1
- package/build/cli/commands/build.d.ts.map +1 -1
- package/build/cli/commands/build.js +36 -40
- package/build/cli/commands/build.js.map +1 -1
- package/build/cli/commands/cache/delete.d.ts +6 -1
- package/build/cli/commands/cache/delete.d.ts.map +1 -1
- package/build/cli/commands/cache/delete.js +12 -19
- package/build/cli/commands/cache/delete.js.map +1 -1
- package/build/cli/commands/cache/show.d.ts +5 -1
- package/build/cli/commands/cache/show.d.ts.map +1 -1
- package/build/cli/commands/cache/show.js +51 -57
- package/build/cli/commands/cache/show.js.map +1 -1
- package/build/cli/commands/cache.d.ts +10 -2
- package/build/cli/commands/cache.d.ts.map +1 -1
- package/build/cli/commands/cache.js +17 -6
- package/build/cli/commands/cache.js.map +1 -1
- package/build/cli/commands/config/create.d.ts +6 -1
- package/build/cli/commands/config/create.d.ts.map +1 -1
- package/build/cli/commands/config/create.js +27 -23
- package/build/cli/commands/config/create.js.map +1 -1
- package/build/cli/commands/config.d.ts +7 -2
- package/build/cli/commands/config.d.ts.map +1 -1
- package/build/cli/commands/config.js +15 -6
- package/build/cli/commands/config.js.map +1 -1
- package/build/cli/commands/create.d.ts +9 -1
- package/build/cli/commands/create.d.ts.map +1 -1
- package/build/cli/commands/create.js +63 -61
- package/build/cli/commands/create.js.map +1 -1
- package/build/cli/commands/dev.d.ts +9 -1
- package/build/cli/commands/dev.d.ts.map +1 -1
- package/build/cli/commands/dev.js +42 -47
- package/build/cli/commands/dev.js.map +1 -1
- package/build/cli/commands/hero-image.d.ts +8 -0
- package/build/cli/commands/hero-image.d.ts.map +1 -0
- package/build/cli/commands/hero-image.js +235 -0
- package/build/cli/commands/hero-image.js.map +1 -0
- package/build/cli/commands/open.d.ts +10 -1
- package/build/cli/commands/open.d.ts.map +1 -1
- package/build/cli/commands/open.js +94 -104
- package/build/cli/commands/open.js.map +1 -1
- package/build/cli/commands/static/rebase.d.ts +8 -1
- package/build/cli/commands/static/rebase.d.ts.map +1 -1
- package/build/cli/commands/static/rebase.js +43 -24
- package/build/cli/commands/static/rebase.js.map +1 -1
- package/build/cli/commands/static.d.ts +9 -2
- package/build/cli/commands/static.d.ts.map +1 -1
- package/build/cli/commands/static.js +28 -6
- package/build/cli/commands/static.js.map +1 -1
- package/build/cli/index.d.ts +54 -1
- package/build/cli/index.d.ts.map +1 -1
- package/build/cli/index.js +100 -5
- package/build/cli/index.js.map +1 -1
- package/build/dep/tiny-globby/index.d.ts +1 -0
- package/build/dep/tiny-globby/index.d.ts.map +1 -1
- package/build/dep/tiny-globby/index.js +1 -0
- package/build/dep/tiny-globby/index.js.map +1 -1
- package/build/dep/tiny-globby/tiny-globby.d.ts +12 -0
- package/build/dep/tiny-globby/tiny-globby.d.ts.map +1 -1
- package/build/dep/tiny-globby/tiny-globby.js +18 -0
- package/build/dep/tiny-globby/tiny-globby.js.map +1 -1
- package/build/exports/polen.d.ts +2 -3
- package/build/exports/polen.d.ts.map +1 -1
- package/build/exports/polen.js +2 -3
- package/build/exports/polen.js.map +1 -1
- package/build/lib/ai-image-generation/$$.d.ts +3 -0
- package/build/lib/ai-image-generation/$$.d.ts.map +1 -0
- package/build/lib/ai-image-generation/$$.js +3 -0
- package/build/lib/ai-image-generation/$$.js.map +1 -0
- package/build/lib/ai-image-generation/$.d.ts +2 -0
- package/build/lib/ai-image-generation/$.d.ts.map +1 -0
- package/build/lib/ai-image-generation/$.js +2 -0
- package/build/lib/ai-image-generation/$.js.map +1 -0
- package/build/lib/ai-image-generation/ai-image-generation.d.ts +132 -0
- package/build/lib/ai-image-generation/ai-image-generation.d.ts.map +1 -0
- package/build/lib/ai-image-generation/ai-image-generation.js +170 -0
- package/build/lib/ai-image-generation/ai-image-generation.js.map +1 -0
- package/build/lib/ai-image-generation/providers/pollinations.d.ts +22 -0
- package/build/lib/ai-image-generation/providers/pollinations.d.ts.map +1 -0
- package/build/lib/ai-image-generation/providers/pollinations.js +45 -0
- package/build/lib/ai-image-generation/providers/pollinations.js.map +1 -0
- package/build/lib/ai-image-generation/service.d.ts +42 -0
- package/build/lib/ai-image-generation/service.d.ts.map +1 -0
- package/build/lib/ai-image-generation/service.js +147 -0
- package/build/lib/ai-image-generation/service.js.map +1 -0
- package/build/lib/catalog/$.d.ts +2 -0
- package/build/lib/catalog/$.d.ts.map +1 -0
- package/build/lib/catalog/$.js +2 -0
- package/build/lib/catalog/$.js.map +1 -0
- package/build/lib/catalog/catalog.d.ts +19560 -0
- package/build/lib/catalog/catalog.d.ts.map +1 -0
- package/build/lib/catalog/catalog.js +79 -0
- package/build/lib/catalog/catalog.js.map +1 -0
- package/build/lib/catalog/unversioned.d.ts +5331 -0
- package/build/lib/catalog/unversioned.d.ts.map +1 -0
- package/build/lib/catalog/unversioned.js +31 -0
- package/build/lib/catalog/unversioned.js.map +1 -0
- package/build/lib/catalog/versioned.d.ts +10641 -0
- package/build/lib/catalog/versioned.d.ts.map +1 -0
- package/build/lib/catalog/versioned.js +49 -0
- package/build/lib/catalog/versioned.js.map +1 -0
- package/build/lib/catalog-statistics/$$.d.ts +5 -0
- package/build/lib/catalog-statistics/$$.d.ts.map +1 -0
- package/build/lib/catalog-statistics/$$.js +5 -0
- package/build/lib/catalog-statistics/$$.js.map +1 -0
- package/build/lib/catalog-statistics/$.d.ts +2 -0
- package/build/lib/catalog-statistics/$.d.ts.map +1 -0
- package/build/lib/catalog-statistics/$.js +2 -0
- package/build/lib/catalog-statistics/$.js.map +1 -0
- package/build/lib/catalog-statistics/analyze-catalog.d.ts +8 -0
- package/build/lib/catalog-statistics/analyze-catalog.d.ts.map +1 -0
- package/build/lib/catalog-statistics/analyze-catalog.js +132 -0
- package/build/lib/catalog-statistics/analyze-catalog.js.map +1 -0
- package/build/lib/catalog-statistics/analyze-options.d.ts +16 -0
- package/build/lib/catalog-statistics/analyze-options.d.ts.map +1 -0
- package/build/lib/catalog-statistics/analyze-options.js +2 -0
- package/build/lib/catalog-statistics/analyze-options.js.map +1 -0
- package/build/lib/catalog-statistics/analyze-schema.d.ts +8 -0
- package/build/lib/catalog-statistics/analyze-schema.d.ts.map +1 -0
- package/build/lib/catalog-statistics/analyze-schema.js +185 -0
- package/build/lib/catalog-statistics/analyze-schema.js.map +1 -0
- package/build/lib/catalog-statistics/data.d.ts +195 -0
- package/build/lib/catalog-statistics/data.d.ts.map +1 -0
- package/build/lib/catalog-statistics/data.js +176 -0
- package/build/lib/catalog-statistics/data.js.map +1 -0
- package/build/lib/catalog-statistics/report.d.ts +841 -0
- package/build/lib/catalog-statistics/report.d.ts.map +1 -0
- package/build/lib/catalog-statistics/report.js +37 -0
- package/build/lib/catalog-statistics/report.js.map +1 -0
- package/build/lib/change/$$.d.ts +4 -0
- package/build/lib/change/$$.d.ts.map +1 -0
- package/build/lib/change/$$.js +4 -0
- package/build/lib/change/$$.js.map +1 -0
- package/build/lib/change/$.d.ts +2 -0
- package/build/lib/change/$.d.ts.map +1 -0
- package/build/lib/change/$.js +2 -0
- package/build/lib/change/$.js.map +1 -0
- package/build/lib/change/calc-changeset.d.ts +11 -0
- package/build/lib/change/calc-changeset.d.ts.map +1 -0
- package/build/lib/change/calc-changeset.js +584 -0
- package/build/lib/change/calc-changeset.js.map +1 -0
- package/build/lib/change/change.d.ts +4709 -0
- package/build/lib/change/change.d.ts.map +1 -0
- package/build/lib/change/change.js +545 -0
- package/build/lib/change/change.js.map +1 -0
- package/build/lib/change/criticality.d.ts +41 -0
- package/build/lib/change/criticality.d.ts.map +1 -0
- package/build/lib/change/criticality.js +37 -0
- package/build/lib/change/criticality.js.map +1 -0
- package/build/lib/change/level.d.ts +3 -0
- package/build/lib/change/level.d.ts.map +1 -0
- package/build/lib/change/level.js +3 -0
- package/build/lib/change/level.js.map +1 -0
- package/build/lib/date-only/$.d.ts +2 -0
- package/build/lib/date-only/$.d.ts.map +1 -0
- package/build/lib/date-only/$.js +2 -0
- package/build/lib/date-only/$.js.map +1 -0
- package/build/lib/date-only/date-only.d.ts +49 -0
- package/build/lib/date-only/date-only.d.ts.map +1 -0
- package/build/lib/date-only/date-only.js +76 -0
- package/build/lib/date-only/date-only.js.map +1 -0
- package/build/lib/diagnostic/$$.d.ts +6 -0
- package/build/lib/diagnostic/$$.d.ts.map +1 -0
- package/build/lib/diagnostic/$$.js +6 -0
- package/build/lib/diagnostic/$$.js.map +1 -0
- package/build/lib/diagnostic/$.d.ts +2 -0
- package/build/lib/diagnostic/$.d.ts.map +1 -0
- package/build/lib/diagnostic/$.js +2 -0
- package/build/lib/diagnostic/$.js.map +1 -0
- package/build/lib/diagnostic/control.d.ts +79 -0
- package/build/lib/diagnostic/control.d.ts.map +1 -0
- package/build/lib/diagnostic/control.js +107 -0
- package/build/lib/diagnostic/control.js.map +1 -0
- package/build/lib/diagnostic/diagnostic.d.ts +130 -0
- package/build/lib/diagnostic/diagnostic.d.ts.map +1 -0
- package/build/lib/diagnostic/diagnostic.js +106 -0
- package/build/lib/diagnostic/diagnostic.js.map +1 -0
- package/build/lib/diagnostic/filter.d.ts +11 -0
- package/build/lib/diagnostic/filter.d.ts.map +1 -0
- package/build/lib/diagnostic/filter.js +16 -0
- package/build/lib/diagnostic/filter.js.map +1 -0
- package/build/lib/diagnostic/reporter.d.ts +22 -0
- package/build/lib/diagnostic/reporter.d.ts.map +1 -0
- package/build/lib/diagnostic/reporter.js +66 -0
- package/build/lib/diagnostic/reporter.js.map +1 -0
- package/build/lib/diagnostic/severity.d.ts +32 -0
- package/build/lib/diagnostic/severity.d.ts.map +1 -0
- package/build/lib/diagnostic/severity.js +73 -0
- package/build/lib/diagnostic/severity.js.map +1 -0
- package/build/lib/directed-filter/$$.d.ts +2 -0
- package/build/lib/directed-filter/$$.d.ts.map +1 -0
- package/build/lib/directed-filter/$$.js +2 -0
- package/build/lib/directed-filter/$$.js.map +1 -0
- package/build/lib/directed-filter/$.d.ts +2 -0
- package/build/lib/directed-filter/$.d.ts.map +1 -0
- package/build/lib/directed-filter/$.js +2 -0
- package/build/lib/directed-filter/$.js.map +1 -0
- package/build/lib/directed-filter/directed-filter.d.ts +127 -0
- package/build/lib/directed-filter/directed-filter.d.ts.map +1 -0
- package/build/lib/directed-filter/directed-filter.js +153 -0
- package/build/lib/directed-filter/directed-filter.js.map +1 -0
- package/build/lib/document/$$.d.ts +4 -0
- package/build/lib/document/$$.d.ts.map +1 -0
- package/build/lib/document/$$.js +4 -0
- package/build/lib/document/$$.js.map +1 -0
- package/build/lib/document/$.d.ts +2 -0
- package/build/lib/document/$.d.ts.map +1 -0
- package/build/lib/document/$.js +2 -0
- package/build/lib/document/$.js.map +1 -0
- package/build/lib/document/document.d.ts +59 -0
- package/build/lib/document/document.d.ts.map +1 -0
- package/build/lib/document/document.js +23 -0
- package/build/lib/document/document.js.map +1 -0
- package/build/lib/document/unversioned.d.ts +38 -0
- package/build/lib/document/unversioned.d.ts.map +1 -0
- package/build/lib/document/unversioned.js +22 -0
- package/build/lib/document/unversioned.js.map +1 -0
- package/build/lib/document/versioned.d.ts +58 -0
- package/build/lib/document/versioned.d.ts.map +1 -0
- package/build/lib/document/versioned.js +82 -0
- package/build/lib/document/versioned.js.map +1 -0
- package/build/lib/effect-cli-help-markdown/$$.d.ts +2 -0
- package/build/lib/effect-cli-help-markdown/$$.d.ts.map +1 -0
- package/build/lib/effect-cli-help-markdown/$$.js +2 -0
- package/build/lib/effect-cli-help-markdown/$$.js.map +1 -0
- package/build/lib/effect-cli-help-markdown/$.d.ts +2 -0
- package/build/lib/effect-cli-help-markdown/$.d.ts.map +1 -0
- package/build/lib/effect-cli-help-markdown/$.js +2 -0
- package/build/lib/effect-cli-help-markdown/$.js.map +1 -0
- package/build/lib/effect-cli-help-markdown/effect-cli-help-markdown.d.ts +32 -0
- package/build/lib/effect-cli-help-markdown/effect-cli-help-markdown.d.ts.map +1 -0
- package/build/lib/effect-cli-help-markdown/effect-cli-help-markdown.js +477 -0
- package/build/lib/effect-cli-help-markdown/effect-cli-help-markdown.js.map +1 -0
- package/build/lib/effect-glob/$$.d.ts +2 -0
- package/build/lib/effect-glob/$$.d.ts.map +1 -0
- package/build/lib/effect-glob/$$.js +2 -0
- package/build/lib/effect-glob/$$.js.map +1 -0
- package/build/lib/effect-glob/$.d.ts +2 -0
- package/build/lib/effect-glob/$.d.ts.map +1 -0
- package/build/lib/effect-glob/$.js +2 -0
- package/build/lib/effect-glob/$.js.map +1 -0
- package/build/lib/effect-glob/effect-glob.d.ts +13 -0
- package/build/lib/effect-glob/effect-glob.d.ts.map +1 -0
- package/build/lib/effect-glob/effect-glob.js +18 -0
- package/build/lib/effect-glob/effect-glob.js.map +1 -0
- package/build/lib/file-path/$$.d.ts +5 -0
- package/build/lib/file-path/$$.d.ts.map +1 -0
- package/build/lib/file-path/$$.js +5 -0
- package/build/lib/file-path/$$.js.map +1 -0
- package/build/lib/file-path/$.d.ts +2 -0
- package/build/lib/file-path/$.d.ts.map +1 -0
- package/build/lib/file-path/$.js +5 -0
- package/build/lib/file-path/$.js.map +1 -0
- package/build/lib/file-path/absolute.d.ts +38 -0
- package/build/lib/file-path/absolute.d.ts.map +1 -0
- package/build/lib/file-path/absolute.js +47 -0
- package/build/lib/file-path/absolute.js.map +1 -0
- package/build/lib/file-path/file-path.d.ts +43 -0
- package/build/lib/file-path/file-path.d.ts.map +1 -0
- package/build/lib/file-path/file-path.js +24 -0
- package/build/lib/file-path/file-path.js.map +1 -0
- package/build/lib/file-path/relative.d.ts +38 -0
- package/build/lib/file-path/relative.d.ts.map +1 -0
- package/build/lib/file-path/relative.js +51 -0
- package/build/lib/file-path/relative.js.map +1 -0
- package/build/lib/file-path/segment/$.d.ts +2 -0
- package/build/lib/file-path/segment/$.d.ts.map +1 -0
- package/build/lib/file-path/segment/$.js +2 -0
- package/build/lib/file-path/segment/$.js.map +1 -0
- package/build/lib/file-path/segment/segment.d.ts +45 -0
- package/build/lib/file-path/segment/segment.d.ts.map +1 -0
- package/build/lib/file-path/segment/segment.js +96 -0
- package/build/lib/file-path/segment/segment.js.map +1 -0
- package/build/lib/file-router/linter.d.ts +214 -34
- package/build/lib/file-router/linter.d.ts.map +1 -1
- package/build/lib/file-router/linter.js +66 -12
- package/build/lib/file-router/linter.js.map +1 -1
- package/build/lib/file-router/route.d.ts +1 -1
- package/build/lib/file-router/route.d.ts.map +1 -1
- package/build/lib/file-router/scan.d.ts +2 -1
- package/build/lib/file-router/scan.d.ts.map +1 -1
- package/build/lib/file-router/scan.js +10 -6
- package/build/lib/file-router/scan.js.map +1 -1
- package/build/lib/grafaid/schema/ast.d.ts +2 -1
- package/build/lib/grafaid/schema/ast.d.ts.map +1 -1
- package/build/lib/grafaid/schema/ast.js +7 -2
- package/build/lib/grafaid/schema/ast.js.map +1 -1
- package/build/lib/grafaid/schema/read.d.ts +3 -1
- package/build/lib/grafaid/schema/read.d.ts.map +1 -1
- package/build/lib/grafaid/schema/read.js +17 -7
- package/build/lib/grafaid/schema/read.js.map +1 -1
- package/build/lib/grafaid/schema/schema.d.ts +4 -1
- package/build/lib/grafaid/schema/schema.d.ts.map +1 -1
- package/build/lib/grafaid/schema/schema.js +7 -1
- package/build/lib/grafaid/schema/schema.js.map +1 -1
- package/build/lib/grafaid/schema/type-class-name.d.ts +1 -1
- package/build/lib/grafaid/schema/type-class-name.d.ts.map +1 -1
- package/build/lib/grafaid-old/grafaid.d.ts +2 -2
- package/build/lib/grafaid-old/grafaid.d.ts.map +1 -1
- package/build/lib/graph/$$.d.ts +2 -0
- package/build/lib/graph/$$.d.ts.map +1 -0
- package/build/lib/graph/$$.js +2 -0
- package/build/lib/graph/$$.js.map +1 -0
- package/build/lib/graph/$.d.ts +2 -0
- package/build/lib/graph/$.d.ts.map +1 -0
- package/build/lib/graph/$.js +2 -0
- package/build/lib/graph/$.js.map +1 -0
- package/build/lib/graph/graph.d.ts +127 -0
- package/build/lib/graph/graph.d.ts.map +1 -0
- package/build/lib/graph/graph.js +152 -0
- package/build/lib/graph/graph.js.map +1 -0
- package/build/lib/graphql-error/$$.d.ts +2 -0
- package/build/lib/graphql-error/$$.d.ts.map +1 -0
- package/build/lib/graphql-error/$$.js +2 -0
- package/build/lib/graphql-error/$$.js.map +1 -0
- package/build/lib/graphql-error/$.d.ts +2 -0
- package/build/lib/graphql-error/$.d.ts.map +1 -0
- package/build/lib/graphql-error/$.js +2 -0
- package/build/lib/graphql-error/$.js.map +1 -0
- package/build/lib/graphql-error/graphql-error.d.ts +150 -0
- package/build/lib/graphql-error/graphql-error.d.ts.map +1 -0
- package/build/lib/graphql-error/graphql-error.js +57 -0
- package/build/lib/graphql-error/graphql-error.js.map +1 -0
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts +4 -2
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js +29 -28
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js.map +1 -1
- package/build/lib/helpers.d.ts +30 -1
- package/build/lib/helpers.d.ts.map +1 -1
- package/build/lib/helpers.js +53 -9
- package/build/lib/helpers.js.map +1 -1
- package/build/lib/kit-temp/$$.d.ts +7 -0
- package/build/lib/kit-temp/$$.d.ts.map +1 -0
- package/build/lib/kit-temp/$$.js +7 -0
- package/build/lib/kit-temp/$$.js.map +1 -0
- package/build/lib/kit-temp/$.d.ts +2 -0
- package/build/lib/kit-temp/$.d.ts.map +1 -0
- package/build/lib/kit-temp/$.js +3 -0
- package/build/lib/kit-temp/$.js.map +1 -0
- package/build/lib/kit-temp/array.d.ts +2 -0
- package/build/lib/kit-temp/array.d.ts.map +1 -0
- package/build/lib/kit-temp/array.js +23 -0
- package/build/lib/kit-temp/array.js.map +1 -0
- package/build/lib/kit-temp/effect.d.ts +285 -0
- package/build/lib/kit-temp/effect.d.ts.map +1 -0
- package/build/lib/kit-temp/effect.js +412 -0
- package/build/lib/kit-temp/effect.js.map +1 -0
- package/build/lib/kit-temp/global-local-check.d.ts +51 -0
- package/build/lib/kit-temp/global-local-check.d.ts.map +1 -0
- package/build/lib/kit-temp/global-local-check.js +115 -0
- package/build/lib/kit-temp/global-local-check.js.map +1 -0
- package/build/lib/kit-temp/ob.d.ts +17 -0
- package/build/lib/kit-temp/ob.d.ts.map +1 -0
- package/build/lib/kit-temp/ob.js +4 -0
- package/build/lib/kit-temp/ob.js.map +1 -0
- package/build/lib/kit-temp/other.d.ts +341 -0
- package/build/lib/kit-temp/other.d.ts.map +1 -0
- package/build/lib/kit-temp/other.js +584 -0
- package/build/lib/kit-temp/other.js.map +1 -0
- package/build/lib/kit-temp/other.test-d.d.ts +2 -0
- package/build/lib/kit-temp/other.test-d.d.ts.map +1 -0
- package/build/lib/kit-temp/other.test-d.js +75 -0
- package/build/lib/kit-temp/other.test-d.js.map +1 -0
- package/build/lib/kit-temp/resource.d.ts +138 -0
- package/build/lib/kit-temp/resource.d.ts.map +1 -0
- package/build/lib/kit-temp/resource.js +154 -0
- package/build/lib/kit-temp/resource.js.map +1 -0
- package/build/lib/lifecycles/$$.d.ts +2 -0
- package/build/lib/lifecycles/$$.d.ts.map +1 -0
- package/build/lib/lifecycles/$$.js +2 -0
- package/build/lib/lifecycles/$$.js.map +1 -0
- package/build/lib/lifecycles/$.d.ts +2 -0
- package/build/lib/lifecycles/$.d.ts.map +1 -0
- package/build/lib/lifecycles/$.js +2 -0
- package/build/lib/lifecycles/$.js.map +1 -0
- package/build/lib/lifecycles/lifecycles.d.ts +91 -0
- package/build/lib/lifecycles/lifecycles.d.ts.map +1 -0
- package/build/lib/lifecycles/lifecycles.js +393 -0
- package/build/lib/lifecycles/lifecycles.js.map +1 -0
- package/build/lib/mask/apply.d.ts +3 -3
- package/build/lib/mask/apply.d.ts.map +1 -1
- package/build/lib/memory-filesystem/$$.d.ts +2 -0
- package/build/lib/memory-filesystem/$$.d.ts.map +1 -0
- package/build/lib/memory-filesystem/$$.js +2 -0
- package/build/lib/memory-filesystem/$$.js.map +1 -0
- package/build/lib/memory-filesystem/$.d.ts +2 -0
- package/build/lib/memory-filesystem/$.d.ts.map +1 -0
- package/build/lib/memory-filesystem/$.js +2 -0
- package/build/lib/memory-filesystem/$.js.map +1 -0
- package/build/lib/memory-filesystem/memory-filesystem.d.ts +26 -0
- package/build/lib/memory-filesystem/memory-filesystem.d.ts.map +1 -0
- package/build/lib/memory-filesystem/memory-filesystem.js +122 -0
- package/build/lib/memory-filesystem/memory-filesystem.js.map +1 -0
- package/build/lib/path-map/path-map.d.ts +11 -11
- package/build/lib/path-map/path-map.d.ts.map +1 -1
- package/build/lib/path-map/path-map.js.map +1 -1
- package/build/lib/react-router-effect/$$.d.ts +5 -0
- package/build/lib/react-router-effect/$$.d.ts.map +1 -0
- package/build/lib/react-router-effect/$$.js +6 -0
- package/build/lib/react-router-effect/$$.js.map +1 -0
- package/build/lib/react-router-effect/$.d.ts +2 -0
- package/build/lib/react-router-effect/$.d.ts.map +1 -0
- package/build/lib/react-router-effect/$.js +2 -0
- package/build/lib/react-router-effect/$.js.map +1 -0
- package/build/lib/react-router-effect/create-loader.d.ts +2 -0
- package/build/lib/react-router-effect/create-loader.d.ts.map +1 -0
- package/build/lib/react-router-effect/create-loader.js +57 -0
- package/build/lib/react-router-effect/create-loader.js.map +1 -0
- package/build/lib/react-router-effect/route-helpers.d.ts +17 -0
- package/build/lib/react-router-effect/route-helpers.d.ts.map +1 -0
- package/build/lib/react-router-effect/route-helpers.js +65 -0
- package/build/lib/react-router-effect/route-helpers.js.map +1 -0
- package/build/lib/react-router-effect/route.d.ts +30 -0
- package/build/lib/react-router-effect/route.d.ts.map +1 -0
- package/build/lib/react-router-effect/route.js +78 -0
- package/build/lib/react-router-effect/route.js.map +1 -0
- package/build/lib/react-router-effect/types.d.ts +80 -0
- package/build/lib/react-router-effect/types.d.ts.map +1 -0
- package/build/lib/react-router-effect/types.js +2 -0
- package/build/lib/react-router-effect/types.js.map +1 -0
- package/build/lib/react-router-effect/use-loader-data.d.ts +59 -0
- package/build/lib/react-router-effect/use-loader-data.d.ts.map +1 -0
- package/build/lib/react-router-effect/use-loader-data.js +107 -0
- package/build/lib/react-router-effect/use-loader-data.js.map +1 -0
- package/build/lib/revision/$.d.ts +2 -0
- package/build/lib/revision/$.d.ts.map +1 -0
- package/build/lib/revision/$.js +2 -0
- package/build/lib/revision/$.js.map +1 -0
- package/build/lib/revision/revision.d.ts +18268 -0
- package/build/lib/revision/revision.d.ts.map +1 -0
- package/build/lib/revision/revision.js +45 -0
- package/build/lib/revision/revision.js.map +1 -0
- package/build/lib/schema/$.d.ts +2 -0
- package/build/lib/schema/$.d.ts.map +1 -0
- package/build/lib/schema/$.js +2 -0
- package/build/lib/schema/$.js.map +1 -0
- package/build/lib/schema/schema.d.ts +12334 -0
- package/build/lib/schema/schema.d.ts.map +1 -0
- package/build/lib/schema/schema.js +34 -0
- package/build/lib/schema/schema.js.map +1 -0
- package/build/lib/schema/unversioned.d.ts +17204 -0
- package/build/lib/schema/unversioned.d.ts.map +1 -0
- package/build/lib/schema/unversioned.js +45 -0
- package/build/lib/schema/unversioned.js.map +1 -0
- package/build/lib/schema/versioned.d.ts +10646 -0
- package/build/lib/schema/versioned.d.ts.map +1 -0
- package/build/lib/schema/versioned.js +40 -0
- package/build/lib/schema/versioned.js.map +1 -0
- package/build/lib/schema-definition/$.d.ts +2 -0
- package/build/lib/schema-definition/$.d.ts.map +1 -0
- package/build/lib/schema-definition/$.js +2 -0
- package/build/lib/schema-definition/$.js.map +1 -0
- package/build/lib/schema-definition/graphql-ast.d.ts +4 -0
- package/build/lib/schema-definition/graphql-ast.d.ts.map +1 -0
- package/build/lib/schema-definition/graphql-ast.js +12 -0
- package/build/lib/schema-definition/graphql-ast.js.map +1 -0
- package/build/lib/schema-definition/schema-definition.d.ts +16 -0
- package/build/lib/schema-definition/schema-definition.d.ts.map +1 -0
- package/build/lib/schema-definition/schema-definition.js +85 -0
- package/build/lib/schema-definition/schema-definition.js.map +1 -0
- package/build/lib/semver/$$.d.ts +2 -0
- package/build/lib/semver/$$.d.ts.map +1 -0
- package/build/lib/semver/$$.js +2 -0
- package/build/lib/semver/$$.js.map +1 -0
- package/build/lib/semver/$.d.ts +2 -0
- package/build/lib/semver/$.d.ts.map +1 -0
- package/build/lib/semver/$.js +2 -0
- package/build/lib/semver/$.js.map +1 -0
- package/build/lib/semver/official-release.d.ts +89 -0
- package/build/lib/semver/official-release.d.ts.map +1 -0
- package/build/lib/semver/official-release.js +35 -0
- package/build/lib/semver/official-release.js.map +1 -0
- package/build/lib/semver/pre-release.d.ts +100 -0
- package/build/lib/semver/pre-release.d.ts.map +1 -0
- package/build/lib/semver/pre-release.js +36 -0
- package/build/lib/semver/pre-release.js.map +1 -0
- package/build/lib/semver/semver.d.ts +463 -0
- package/build/lib/semver/semver.d.ts.map +1 -0
- package/build/lib/semver/semver.js +142 -0
- package/build/lib/semver/semver.js.map +1 -0
- package/build/lib/services-crud/$$.d.ts +5 -0
- package/build/lib/services-crud/$$.d.ts.map +1 -0
- package/build/lib/services-crud/$$.js +5 -0
- package/build/lib/services-crud/$$.js.map +1 -0
- package/build/lib/services-crud/$.d.ts +2 -0
- package/build/lib/services-crud/$.d.ts.map +1 -0
- package/build/lib/services-crud/$.js +2 -0
- package/build/lib/services-crud/$.js.map +1 -0
- package/build/lib/services-crud/browser-ro.d.ts +51 -0
- package/build/lib/services-crud/browser-ro.d.ts.map +1 -0
- package/build/lib/services-crud/browser-ro.js +69 -0
- package/build/lib/services-crud/browser-ro.js.map +1 -0
- package/build/lib/services-crud/filesystem.d.ts +17 -0
- package/build/lib/services-crud/filesystem.d.ts.map +1 -0
- package/build/lib/services-crud/filesystem.js +36 -0
- package/build/lib/services-crud/filesystem.js.map +1 -0
- package/build/lib/services-crud/memory.d.ts +31 -0
- package/build/lib/services-crud/memory.d.ts.map +1 -0
- package/build/lib/services-crud/memory.js +61 -0
- package/build/lib/services-crud/memory.js.map +1 -0
- package/build/lib/services-crud/service.d.ts +45 -0
- package/build/lib/services-crud/service.d.ts.map +1 -0
- package/build/lib/services-crud/service.js +6 -0
- package/build/lib/services-crud/service.js.map +1 -0
- package/build/lib/stack-processor/stack-processor.d.ts +17 -0
- package/build/lib/stack-processor/stack-processor.d.ts.map +1 -1
- package/build/lib/stack-processor/stack-processor.js +24 -0
- package/build/lib/stack-processor/stack-processor.js.map +1 -1
- package/build/lib/swiss/$$.d.ts +5 -0
- package/build/lib/swiss/$$.d.ts.map +1 -0
- package/build/lib/swiss/$$.js +6 -0
- package/build/lib/swiss/$$.js.map +1 -0
- package/build/lib/swiss/$.d.ts +2 -0
- package/build/lib/swiss/$.d.ts.map +1 -0
- package/build/lib/swiss/$.js +3 -0
- package/build/lib/swiss/$.js.map +1 -0
- package/build/lib/swiss/grid.d.ts +17 -0
- package/build/lib/swiss/grid.d.ts.map +1 -0
- package/build/lib/swiss/grid.js +30 -0
- package/build/lib/swiss/grid.js.map +1 -0
- package/build/lib/swiss/items.d.ts +53 -0
- package/build/lib/swiss/items.d.ts.map +1 -0
- package/build/lib/swiss/items.js +188 -0
- package/build/lib/swiss/items.js.map +1 -0
- package/build/lib/swiss/styles.css +298 -0
- package/build/lib/swiss/subgrid.d.ts +25 -0
- package/build/lib/swiss/subgrid.d.ts.map +1 -0
- package/build/lib/swiss/subgrid.js +48 -0
- package/build/lib/swiss/subgrid.js.map +1 -0
- package/build/lib/swiss/types.d.ts +340 -0
- package/build/lib/swiss/types.d.ts.map +1 -0
- package/build/lib/swiss/types.js +2 -0
- package/build/lib/swiss/types.js.map +1 -0
- package/build/lib/swiss/utils.d.ts +37 -0
- package/build/lib/swiss/utils.d.ts.map +1 -0
- package/build/lib/swiss/utils.js +163 -0
- package/build/lib/swiss/utils.js.map +1 -0
- package/build/lib/version/$$.d.ts +2 -0
- package/build/lib/version/$$.d.ts.map +1 -0
- package/build/lib/version/$$.js +2 -0
- package/build/lib/version/$$.js.map +1 -0
- package/build/lib/version/$.d.ts +2 -0
- package/build/lib/version/$.d.ts.map +1 -0
- package/build/lib/version/$.js +2 -0
- package/build/lib/version/$.js.map +1 -0
- package/build/lib/version/custom.d.ts +25 -0
- package/build/lib/version/custom.d.ts.map +1 -0
- package/build/lib/version/custom.js +27 -0
- package/build/lib/version/custom.js.map +1 -0
- package/build/lib/version/date.d.ts +25 -0
- package/build/lib/version/date.d.ts.map +1 -0
- package/build/lib/version/date.js +28 -0
- package/build/lib/version/date.js.map +1 -0
- package/build/lib/version/integer.d.ts +25 -0
- package/build/lib/version/integer.d.ts.map +1 -0
- package/build/lib/version/integer.js +27 -0
- package/build/lib/version/integer.js.map +1 -0
- package/build/lib/version/semver.d.ts +25 -0
- package/build/lib/version/semver.d.ts.map +1 -0
- package/build/lib/version/semver.js +27 -0
- package/build/lib/version/semver.js.map +1 -0
- package/build/lib/version/version.d.ts +70 -0
- package/build/lib/version/version.d.ts.map +1 -0
- package/build/lib/version/version.js +181 -0
- package/build/lib/version/version.js.map +1 -0
- package/build/lib/version-selection/$$.d.ts +2 -0
- package/build/lib/version-selection/$$.d.ts.map +1 -0
- package/build/lib/version-selection/$$.js +2 -0
- package/build/lib/version-selection/$$.js.map +1 -0
- package/build/lib/version-selection/$.d.ts +2 -0
- package/build/lib/version-selection/$.d.ts.map +1 -0
- package/build/lib/version-selection/$.js +2 -0
- package/build/lib/version-selection/$.js.map +1 -0
- package/build/lib/version-selection/version-selection.d.ts +42 -0
- package/build/lib/version-selection/version-selection.d.ts.map +1 -0
- package/build/lib/version-selection/version-selection.js +86 -0
- package/build/lib/version-selection/version-selection.js.map +1 -0
- package/build/lib/vite-plugin-json/vite-plugin-json.d.ts +1 -1
- package/build/lib/vite-plugin-json/vite-plugin-json.d.ts.map +1 -1
- package/build/lib/vite-plugin-json/vite-plugin-json.js +1 -2
- package/build/lib/vite-plugin-json/vite-plugin-json.js.map +1 -1
- package/build/lib/vite-plugin-mdx/vite-plugin-mdx.d.ts.map +1 -1
- package/build/lib/vite-plugin-mdx/vite-plugin-mdx.js +2 -0
- package/build/lib/vite-plugin-mdx/vite-plugin-mdx.js.map +1 -1
- package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +1 -1
- package/build/lib/vite-reactive/$$.d.ts +2 -0
- package/build/lib/vite-reactive/$$.d.ts.map +1 -0
- package/build/lib/vite-reactive/$$.js +2 -0
- package/build/lib/vite-reactive/$$.js.map +1 -0
- package/build/lib/vite-reactive/$.d.ts +2 -0
- package/build/lib/vite-reactive/$.d.ts.map +1 -0
- package/build/lib/vite-reactive/$.js +2 -0
- package/build/lib/vite-reactive/$.js.map +1 -0
- package/build/lib/vite-reactive/reactive-asset-plugin.d.ts +71 -0
- package/build/lib/vite-reactive/reactive-asset-plugin.d.ts.map +1 -0
- package/build/lib/vite-reactive/reactive-asset-plugin.js +155 -0
- package/build/lib/vite-reactive/reactive-asset-plugin.js.map +1 -0
- package/build/sandbox.js +15 -1
- package/build/sandbox.js.map +1 -1
- package/build/template/components/Carousel.d.ts +25 -0
- package/build/template/components/Carousel.d.ts.map +1 -0
- package/build/template/components/Carousel.js +134 -0
- package/build/template/components/Carousel.js.map +1 -0
- package/build/template/components/CarouselPill.d.ts +19 -0
- package/build/template/components/CarouselPill.d.ts.map +1 -0
- package/build/template/components/CarouselPill.js +31 -0
- package/build/template/components/CarouselPill.js.map +1 -0
- package/build/template/components/Changelog/ChangeBase.d.ts +1 -1
- package/build/template/components/Changelog/ChangeBase.d.ts.map +1 -1
- package/build/template/components/Changelog/ChangeBase.js +1 -0
- package/build/template/components/Changelog/ChangeBase.js.map +1 -1
- package/build/template/components/Changelog/Changelog.d.ts +8 -0
- package/build/template/components/Changelog/Changelog.d.ts.map +1 -0
- package/build/template/components/Changelog/Changelog.js +111 -0
- package/build/template/components/Changelog/Changelog.js.map +1 -0
- package/build/template/components/Changelog/ChangelogVersionPicker.d.ts +8 -0
- package/build/template/components/Changelog/ChangelogVersionPicker.d.ts.map +1 -0
- package/build/template/components/Changelog/ChangelogVersionPicker.js +16 -0
- package/build/template/components/Changelog/ChangelogVersionPicker.js.map +1 -0
- package/build/template/components/Changelog/CriticalitySection.d.ts +2 -2
- package/build/template/components/Changelog/CriticalitySection.d.ts.map +1 -1
- package/build/template/components/Changelog/CriticalitySection.js +15 -1
- package/build/template/components/Changelog/CriticalitySection.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgument.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveArgument.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgument.js +4 -3
- package/build/template/components/Changelog/groups/DirectiveArgument.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.js +2 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.js +4 -3
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveDescription.js +2 -1
- package/build/template/components/Changelog/groups/DirectiveDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.js +4 -3
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/DirectiveOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveOperation.js +4 -3
- package/build/template/components/Changelog/groups/DirectiveOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts +1 -2
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.js +5 -4
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.js.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/EnumValueDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDescription.js +2 -1
- package/build/template/components/Changelog/groups/EnumValueDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/EnumValueOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueOperation.js +4 -3
- package/build/template/components/Changelog/groups/EnumValueOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgument.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldArgument.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgument.js +4 -3
- package/build/template/components/Changelog/groups/FieldArgument.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentDescription.js +2 -1
- package/build/template/components/Changelog/groups/FieldArgumentDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentOperation.js +4 -3
- package/build/template/components/Changelog/groups/FieldArgumentOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecation.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldDeprecation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecation.js +4 -3
- package/build/template/components/Changelog/groups/FieldDeprecation.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecationReason.js +5 -4
- package/build/template/components/Changelog/groups/FieldDeprecationReason.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDescription.js +5 -4
- package/build/template/components/Changelog/groups/FieldDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/FieldOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/FieldOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldOperation.js +5 -4
- package/build/template/components/Changelog/groups/FieldOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts +1 -2
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.js +2 -1
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.js.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/InputFieldDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDescription.js +5 -4
- package/build/template/components/Changelog/groups/InputFieldDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/InputFieldOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldOperation.js +5 -4
- package/build/template/components/Changelog/groups/InputFieldOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.js +4 -3
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/SchemaRootType.d.ts +1 -2
- package/build/template/components/Changelog/groups/SchemaRootType.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/SchemaRootType.js +5 -4
- package/build/template/components/Changelog/groups/SchemaRootType.js.map +1 -1
- package/build/template/components/Changelog/groups/TypeDescription.d.ts +1 -2
- package/build/template/components/Changelog/groups/TypeDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/TypeDescription.js +5 -4
- package/build/template/components/Changelog/groups/TypeDescription.js.map +1 -1
- package/build/template/components/Changelog/groups/TypeOperation.d.ts +3 -2
- package/build/template/components/Changelog/groups/TypeOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/TypeOperation.js +33 -6
- package/build/template/components/Changelog/groups/TypeOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts +1 -2
- package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/UnionMemberOperation.js +4 -3
- package/build/template/components/Changelog/groups/UnionMemberOperation.js.map +1 -1
- package/build/template/components/Changelog/groups/index.d.ts +0 -1
- package/build/template/components/Changelog/groups/index.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/index.js +1 -1
- package/build/template/components/Changelog/groups/index.js.map +1 -1
- package/build/template/components/CodeBlock.d.ts.map +1 -1
- package/build/template/components/CodeBlock.js +6 -2
- package/build/template/components/CodeBlock.js.map +1 -1
- package/build/template/components/DevelopmentTip.d.ts +13 -0
- package/build/template/components/DevelopmentTip.d.ts.map +1 -0
- package/build/template/components/DevelopmentTip.js +16 -0
- package/build/template/components/DevelopmentTip.js.map +1 -0
- package/build/template/components/ExampleLink.d.ts +11 -0
- package/build/template/components/ExampleLink.d.ts.map +1 -0
- package/build/template/components/ExampleLink.js +13 -0
- package/build/template/components/ExampleLink.js.map +1 -0
- package/build/template/components/Field.d.ts.map +1 -1
- package/build/template/components/Field.js +19 -19
- package/build/template/components/Field.js.map +1 -1
- package/build/template/components/GraphQLDocument.d.ts +25 -0
- package/build/template/components/GraphQLDocument.d.ts.map +1 -0
- package/build/template/components/GraphQLDocument.js +67 -0
- package/build/template/components/GraphQLDocument.js.map +1 -0
- package/build/template/components/GraphQLInteractive/GraphQLInteractive.d.ts +6 -2
- package/build/template/components/GraphQLInteractive/GraphQLInteractive.d.ts.map +1 -1
- package/build/template/components/GraphQLInteractive/GraphQLInteractive.js +9 -3
- package/build/template/components/GraphQLInteractive/GraphQLInteractive.js.map +1 -1
- package/build/template/components/GraphQLInteractive/lib/parser.d.ts +1 -1
- package/build/template/components/GraphQLInteractive/lib/parser.d.ts.map +1 -1
- package/build/template/components/HamburgerMenu.d.ts +11 -1
- package/build/template/components/HamburgerMenu.d.ts.map +1 -1
- package/build/template/components/HamburgerMenu.js +1 -1
- package/build/template/components/HamburgerMenu.js.map +1 -1
- package/build/template/components/Link.js +1 -1
- package/build/template/components/Link.js.map +1 -1
- package/build/template/components/Logo.d.ts +8 -1
- package/build/template/components/Logo.d.ts.map +1 -1
- package/build/template/components/Logo.js +27 -12
- package/build/template/components/Logo.js.map +1 -1
- package/build/template/components/NamedType.d.ts.map +1 -1
- package/build/template/components/NamedType.js +23 -9
- package/build/template/components/NamedType.js.map +1 -1
- package/build/template/components/SimpleVersionPicker.d.ts +15 -0
- package/build/template/components/SimpleVersionPicker.d.ts.map +1 -0
- package/build/template/components/SimpleVersionPicker.js +15 -0
- package/build/template/components/SimpleVersionPicker.js.map +1 -0
- package/build/template/components/TypeAnnotation.d.ts.map +1 -1
- package/build/template/components/TypeAnnotation.js +8 -15
- package/build/template/components/TypeAnnotation.js.map +1 -1
- package/build/template/components/VersionCoveragePicker.d.ts +17 -0
- package/build/template/components/VersionCoveragePicker.d.ts.map +1 -0
- package/build/template/components/VersionCoveragePicker.js +28 -0
- package/build/template/components/VersionCoveragePicker.js.map +1 -0
- package/build/template/components/VersionPicker.d.ts +3 -2
- package/build/template/components/VersionPicker.d.ts.map +1 -1
- package/build/template/components/VersionPicker.js +32 -21
- package/build/template/components/VersionPicker.js.map +1 -1
- package/build/template/components/home/ExamplesSection.d.ts +13 -0
- package/build/template/components/home/ExamplesSection.d.ts.map +1 -0
- package/build/template/components/home/ExamplesSection.js +15 -0
- package/build/template/components/home/ExamplesSection.js.map +1 -0
- package/build/template/components/home/FeaturesGrid.d.ts +12 -0
- package/build/template/components/home/FeaturesGrid.d.ts.map +1 -0
- package/build/template/components/home/FeaturesGrid.js +73 -0
- package/build/template/components/home/FeaturesGrid.js.map +1 -0
- package/build/template/components/home/HeroSection.d.ts +16 -0
- package/build/template/components/home/HeroSection.d.ts.map +1 -0
- package/build/template/components/home/HeroSection.js +178 -0
- package/build/template/components/home/HeroSection.js.map +1 -0
- package/build/template/components/home/PlaygroundPreview.d.ts +9 -0
- package/build/template/components/home/PlaygroundPreview.d.ts.map +1 -0
- package/build/template/components/home/PlaygroundPreview.js +38 -0
- package/build/template/components/home/PlaygroundPreview.js.map +1 -0
- package/build/template/components/home/QuickStart.d.ts +11 -0
- package/build/template/components/home/QuickStart.d.ts.map +1 -0
- package/build/template/components/home/QuickStart.js +74 -0
- package/build/template/components/home/QuickStart.js.map +1 -0
- package/build/template/components/home/RecentChanges.d.ts +8 -0
- package/build/template/components/home/RecentChanges.d.ts.map +1 -0
- package/build/template/components/home/RecentChanges.js +60 -0
- package/build/template/components/home/RecentChanges.js.map +1 -0
- package/build/template/components/home/Resources.d.ts +24 -0
- package/build/template/components/home/Resources.d.ts.map +1 -0
- package/build/template/components/home/Resources.js +53 -0
- package/build/template/components/home/Resources.js.map +1 -0
- package/build/template/components/home/SocialProof.d.ts +13 -0
- package/build/template/components/home/SocialProof.d.ts.map +1 -0
- package/build/template/components/home/SocialProof.js +47 -0
- package/build/template/components/home/SocialProof.js.map +1 -0
- package/build/template/components/navbar/DefaultNavbar.d.ts.map +1 -1
- package/build/template/components/navbar/DefaultNavbar.js +5 -6
- package/build/template/components/navbar/DefaultNavbar.js.map +1 -1
- package/build/template/components/sidebar/Sidebar.d.ts +10 -1
- package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
- package/build/template/components/sidebar/Sidebar.js +1 -1
- package/build/template/components/sidebar/Sidebar.js.map +1 -1
- package/build/template/components/sidebar/SidebarItem.d.ts +11 -2
- package/build/template/components/sidebar/SidebarItem.d.ts.map +1 -1
- package/build/template/components/sidebar/SidebarItem.js.map +1 -1
- package/build/template/components/swiss/SwissHeading.d.ts +10 -0
- package/build/template/components/swiss/SwissHeading.d.ts.map +1 -0
- package/build/template/components/swiss/SwissHeading.js +26 -0
- package/build/template/components/swiss/SwissHeading.js.map +1 -0
- package/build/template/components/swiss/index.d.ts +2 -0
- package/build/template/components/swiss/index.d.ts.map +1 -0
- package/build/template/components/swiss/index.js +2 -0
- package/build/template/components/swiss/index.js.map +1 -0
- package/build/template/contexts/GraphqlLifecycleContext.d.ts +19 -0
- package/build/template/contexts/GraphqlLifecycleContext.d.ts.map +1 -0
- package/build/template/contexts/GraphqlLifecycleContext.js +27 -0
- package/build/template/contexts/GraphqlLifecycleContext.js.map +1 -0
- package/build/template/contexts/ThemeContext.js.map +1 -1
- package/build/template/entry.client.js +7 -3
- package/build/template/entry.client.js.map +1 -1
- package/build/template/hooks/use-examples.d.ts +38 -0
- package/build/template/hooks/use-examples.d.ts.map +1 -0
- package/build/template/hooks/use-examples.js +37 -0
- package/build/template/hooks/use-examples.js.map +1 -0
- package/build/template/hooks/use-highlighted.d.ts +14 -0
- package/build/template/hooks/use-highlighted.d.ts.map +1 -0
- package/build/template/hooks/use-highlighted.js +41 -0
- package/build/template/hooks/use-highlighted.js.map +1 -0
- package/build/template/hooks/useVersionPath.d.ts.map +1 -1
- package/build/template/hooks/useVersionPath.js +6 -1
- package/build/template/hooks/useVersionPath.js.map +1 -1
- package/build/template/layouts/SidebarLayout.d.ts +9 -1
- package/build/template/layouts/SidebarLayout.d.ts.map +1 -1
- package/build/template/layouts/SidebarLayout.js +4 -7
- package/build/template/layouts/SidebarLayout.js.map +1 -1
- package/build/template/layouts/index.d.ts +0 -1
- package/build/template/layouts/index.d.ts.map +1 -1
- package/build/template/layouts/index.js +0 -1
- package/build/template/layouts/index.js.map +1 -1
- package/build/template/lib/polen-url.js +3 -3
- package/build/template/lib/polen-url.js.map +1 -1
- package/build/template/providers/mdx.d.ts +8 -0
- package/build/template/providers/mdx.d.ts.map +1 -0
- package/build/template/providers/mdx.js +44 -0
- package/build/template/providers/mdx.js.map +1 -0
- package/build/template/routes/changelog.d.ts +1633 -9
- package/build/template/routes/changelog.d.ts.map +1 -1
- package/build/template/routes/changelog.js +160 -25
- package/build/template/routes/changelog.js.map +1 -1
- package/build/template/routes/examples/_.d.ts +65 -0
- package/build/template/routes/examples/_.d.ts.map +1 -0
- package/build/template/routes/examples/_.js +56 -0
- package/build/template/routes/examples/_.js.map +1 -0
- package/build/template/routes/examples/_index.d.ts +39 -0
- package/build/template/routes/examples/_index.d.ts.map +1 -0
- package/build/template/routes/examples/_index.js +54 -0
- package/build/template/routes/examples/_index.js.map +1 -0
- package/build/template/routes/examples/name.d.ts +31 -0
- package/build/template/routes/examples/name.d.ts.map +1 -0
- package/build/template/routes/examples/name.js +50 -0
- package/build/template/routes/examples/name.js.map +1 -0
- package/build/template/routes/index.d.ts +1 -1
- package/build/template/routes/index.d.ts.map +1 -1
- package/build/template/routes/index.js +24 -4
- package/build/template/routes/index.js.map +1 -1
- package/build/template/routes/pages.d.ts +1 -9
- package/build/template/routes/pages.d.ts.map +1 -1
- package/build/template/routes/pages.js +5 -58
- package/build/template/routes/pages.js.map +1 -1
- package/build/template/routes/reference.d.ts +1 -56
- package/build/template/routes/reference.d.ts.map +1 -1
- package/build/template/routes/reference.js +107 -52
- package/build/template/routes/reference.js.map +1 -1
- package/build/template/routes/root.d.ts +3 -7
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +65 -22
- package/build/template/routes/root.js.map +1 -1
- package/build/template/server/create-page-html-response.js +2 -2
- package/build/template/server/create-page-html-response.js.map +1 -1
- package/build/template/server/main.js +7 -10
- package/build/template/server/main.js.map +1 -1
- package/build/template/server/view.d.ts.map +1 -1
- package/build/template/server/view.js +4 -2
- package/build/template/server/view.js.map +1 -1
- package/build/template/stores/$$.d.ts +2 -0
- package/build/template/stores/$$.d.ts.map +1 -1
- package/build/template/stores/$$.js +2 -0
- package/build/template/stores/$$.js.map +1 -1
- package/build/template/stores/changelog.d.ts +1714 -0
- package/build/template/stores/changelog.d.ts.map +1 -0
- package/build/template/stores/changelog.js +73 -0
- package/build/template/stores/changelog.js.map +1 -0
- package/build/template/stores/schema.d.ts +10 -15
- package/build/template/stores/schema.d.ts.map +1 -1
- package/build/template/stores/schema.js +19 -2
- package/build/template/stores/schema.js.map +1 -1
- package/build/template/stores/toast.d.ts +76 -29
- package/build/template/stores/toast.d.ts.map +1 -1
- package/build/template/stores/toast.js +53 -16
- package/build/template/stores/toast.js.map +1 -1
- package/build/template/theme/swiss-sharp.css +117 -0
- package/build/template/theme/swiss-sharp.d.ts +9 -0
- package/build/template/theme/swiss-sharp.d.ts.map +1 -0
- package/build/template/theme/swiss-sharp.js +13 -0
- package/build/template/theme/swiss-sharp.js.map +1 -0
- package/build/vite/config.d.ts +10 -0
- package/build/vite/config.d.ts.map +1 -0
- package/build/vite/config.js +17 -0
- package/build/vite/config.js.map +1 -0
- package/build/vite/index.d.ts +6 -0
- package/build/vite/index.d.ts.map +1 -0
- package/build/vite/index.js +6 -0
- package/build/vite/index.js.map +1 -0
- package/build/vite/log-filters.d.ts.map +1 -0
- package/build/vite/log-filters.js.map +1 -0
- package/build/vite/logger.d.ts +27 -0
- package/build/vite/logger.d.ts.map +1 -0
- package/build/vite/logger.js +66 -0
- package/build/vite/logger.js.map +1 -0
- package/build/vite/plugins/branding.d.ts +4 -0
- package/build/vite/plugins/branding.d.ts.map +1 -0
- package/build/vite/plugins/branding.js +195 -0
- package/build/vite/plugins/branding.js.map +1 -0
- package/build/vite/plugins/build.d.ts +4 -0
- package/build/vite/plugins/build.d.ts.map +1 -0
- package/build/vite/plugins/build.js +144 -0
- package/build/vite/plugins/build.js.map +1 -0
- package/build/vite/plugins/config.d.ts +17 -0
- package/build/vite/plugins/config.d.ts.map +1 -0
- package/build/vite/plugins/config.js +33 -0
- package/build/vite/plugins/config.js.map +1 -0
- package/build/vite/plugins/core.d.ts +8 -0
- package/build/vite/plugins/core.d.ts.map +1 -0
- package/build/vite/plugins/core.js +142 -0
- package/build/vite/plugins/core.js.map +1 -0
- package/build/vite/plugins/examples.d.ts +23 -0
- package/build/vite/plugins/examples.d.ts.map +1 -0
- package/build/vite/plugins/examples.js +149 -0
- package/build/vite/plugins/examples.js.map +1 -0
- package/build/vite/plugins/hooks.d.ts +12 -0
- package/build/vite/plugins/hooks.d.ts.map +1 -0
- package/build/vite/plugins/hooks.js +41 -0
- package/build/vite/plugins/hooks.js.map +1 -0
- package/build/vite/plugins/index.d.ts +9 -0
- package/build/vite/plugins/index.d.ts.map +1 -0
- package/build/vite/plugins/index.js +9 -0
- package/build/vite/plugins/index.js.map +1 -0
- package/build/vite/plugins/main.d.ts +4 -0
- package/build/vite/plugins/main.d.ts.map +1 -0
- package/build/vite/plugins/main.js +26 -0
- package/build/vite/plugins/main.js.map +1 -0
- package/build/vite/plugins/manifest.d.ts +4 -0
- package/build/vite/plugins/manifest.d.ts.map +1 -0
- package/build/vite/plugins/manifest.js +27 -0
- package/build/vite/plugins/manifest.js.map +1 -0
- package/build/vite/plugins/navbar.d.ts +16 -0
- package/build/vite/plugins/navbar.d.ts.map +1 -0
- package/build/vite/plugins/navbar.js +60 -0
- package/build/vite/plugins/navbar.js.map +1 -0
- package/build/vite/plugins/pages.d.ts +23 -0
- package/build/vite/plugins/pages.d.ts.map +1 -0
- package/build/vite/plugins/pages.js +138 -0
- package/build/vite/plugins/pages.js.map +1 -0
- package/build/vite/plugins/routes-manifest.d.ts +9 -0
- package/build/vite/plugins/routes-manifest.d.ts.map +1 -0
- package/build/vite/plugins/routes-manifest.js +96 -0
- package/build/vite/plugins/routes-manifest.js.map +1 -0
- package/build/vite/plugins/schemas.d.ts +30 -0
- package/build/vite/plugins/schemas.d.ts.map +1 -0
- package/build/vite/plugins/schemas.js +116 -0
- package/build/vite/plugins/schemas.js.map +1 -0
- package/build/vite/plugins/serve.d.ts +4 -0
- package/build/vite/plugins/serve.d.ts.map +1 -0
- package/build/vite/plugins/serve.js +160 -0
- package/build/vite/plugins/serve.js.map +1 -0
- package/build/vite/vi.d.ts.map +1 -0
- package/build/vite/vi.js.map +1 -0
- package/package.json +142 -56
- package/src/api/$$.ts +12 -0
- package/src/api/$.ts +1 -0
- package/src/api/builder/builder.ts +44 -26
- package/src/api/builder/ssg/generate.ts +224 -0
- package/src/api/builder/ssg/page-generator.worker.ts +110 -0
- package/src/api/builder/ssg/server-runner.worker.ts +158 -0
- package/src/api/builder/ssg/worker-messages.ts +69 -0
- package/src/api/builder/ssg/worker-spawners.ts +69 -0
- package/src/api/cache/cache.ts +180 -134
- package/src/api/config/$$.ts +4 -0
- package/src/api/config/$.ts +1 -0
- package/src/api/config/home.ts +542 -0
- package/src/api/config/input.ts +423 -0
- package/src/api/config/load.ts +94 -70
- package/src/api/config/normalized.ts +877 -0
- package/src/api/config-resolver/config-resolver.ts +0 -1
- package/src/api/config-resolver/resolve.ts +18 -16
- package/src/api/config-template/template.ts +77 -0
- package/src/api/content/$$.ts +1 -0
- package/src/api/content/$.test.ts +28 -32
- package/src/api/content/mdx-compiler.ts +74 -0
- package/src/api/content/metadata.ts +5 -5
- package/src/api/content/navbar.test.ts +3 -3
- package/src/api/content/navbar.ts +1 -1
- package/src/api/content/scan.ts +91 -83
- package/src/api/content/sidebar.ts +1 -1
- package/src/api/examples/$$.ts +7 -0
- package/src/api/examples/$.test.ts +201 -0
- package/src/api/examples/$.ts +1 -0
- package/src/api/examples/config.test.ts +92 -0
- package/src/api/examples/config.ts +242 -0
- package/src/api/examples/diagnostic/diagnostic.ts +30 -0
- package/src/api/examples/diagnostic/duplicate-content.ts +25 -0
- package/src/api/examples/diagnostic/invalid-filename.ts +19 -0
- package/src/api/examples/diagnostic/missing-versions.ts +23 -0
- package/src/api/examples/diagnostic/unknown-version.ts +23 -0
- package/src/api/examples/diagnostic/unused-default.ts +22 -0
- package/src/api/examples/diagnostic/validation-error.ts +24 -0
- package/src/api/examples/diagnostic/validator.test.ts +277 -0
- package/src/api/examples/diagnostic/validator.ts +178 -0
- package/src/api/examples/filter.test.ts +56 -0
- package/src/api/examples/filter.ts +82 -0
- package/src/api/examples/scanner.ts +341 -0
- package/src/api/examples/schemas/catalog.ts +51 -0
- package/src/api/examples/schemas/example/$$.ts +1 -0
- package/src/api/examples/schemas/example/$.ts +1 -0
- package/src/api/examples/schemas/example/example.ts +73 -0
- package/src/api/examples/schemas/type-usage-index.ts +75 -0
- package/src/api/examples/type-generator.ts +49 -0
- package/src/api/examples/type-usage-indexer.test.ts +265 -0
- package/src/api/examples/type-usage-indexer.ts +294 -0
- package/src/api/iso/schema/constants.ts +1 -0
- package/src/api/iso/schema/routing.ts +28 -9
- package/src/api/project/$.ts +1 -0
- package/src/api/routes/$$.ts +1 -0
- package/src/api/routes/$.ts +1 -0
- package/src/api/routes/manifest/$$.ts +1 -0
- package/src/api/routes/manifest/$.ts +1 -0
- package/src/api/routes/manifest/manifest.ts +61 -0
- package/src/api/schema/$$.ts +7 -0
- package/src/api/schema/$.test.ts +504 -0
- package/src/api/schema/$.ts +1 -0
- package/src/api/schema/augmentations/$.ts +1 -0
- package/src/api/schema/augmentations/augmentations/description.ts +69 -0
- package/src/api/schema/augmentations/schema-augmentation.ts +32 -0
- package/src/api/schema/augmentations/target.ts +61 -0
- package/src/api/schema/config-schema.ts +415 -0
- package/src/api/schema/config.ts +7 -0
- package/src/api/schema/input-source/$$.ts +2 -0
- package/src/api/schema/input-source/$.ts +1 -0
- package/src/api/schema/input-source/input-source.ts +134 -0
- package/src/api/schema/input-source/load.ts +75 -0
- package/src/api/schema/input-sources/$$.ts +6 -0
- package/src/api/schema/input-sources/$.ts +1 -0
- package/src/api/schema/input-sources/directory.ts +259 -0
- package/src/api/schema/input-sources/file.ts +113 -0
- package/src/api/schema/input-sources/introspection-file.ts +179 -0
- package/src/api/schema/input-sources/introspection.ts +222 -0
- package/src/api/schema/input-sources/memory.ts +241 -0
- package/src/api/schema/input-sources/versioned-directory.ts +535 -0
- package/src/api/schema/load.ts +186 -0
- package/src/api/server/report-error.ts +4 -1
- package/src/api/singletons/markdown/markdown.test.ts +7 -6
- package/src/api/singletons/markdown/markdown.ts +6 -4
- package/src/api/static/manifest.test.ts +11 -8
- package/src/api/static/manifest.ts +46 -11
- package/src/api/static/rebase.ts +171 -82
- package/src/api/typings/$$.ts +1 -0
- package/src/api/typings/$.ts +1 -0
- package/src/api/typings/typings.ts +273 -0
- package/src/cli/_/parameters.ts +13 -6
- package/src/cli/commands/build.ts +60 -53
- package/src/cli/commands/cache/delete.ts +17 -23
- package/src/cli/commands/cache/show.ts +70 -70
- package/src/cli/commands/cache.ts +24 -6
- package/src/cli/commands/config/create.ts +37 -30
- package/src/cli/commands/config.ts +22 -6
- package/src/cli/commands/create.ts +104 -84
- package/src/cli/commands/dev.ts +60 -56
- package/src/cli/commands/hero-image.ts +282 -0
- package/src/cli/commands/open.ts +140 -137
- package/src/cli/commands/static/rebase.ts +63 -33
- package/src/cli/commands/static.ts +36 -6
- package/src/cli/index.ts +128 -5
- package/src/dep/tiny-globby/index.ts +1 -0
- package/src/dep/tiny-globby/tiny-globby.ts +27 -0
- package/src/exports/polen.ts +2 -3
- package/src/lib/ai-image-generation/$$.ts +2 -0
- package/src/lib/ai-image-generation/$.test.ts +344 -0
- package/src/lib/ai-image-generation/$.ts +1 -0
- package/src/lib/ai-image-generation/ai-image-generation.ts +231 -0
- package/src/lib/ai-image-generation/providers/pollinations.ts +65 -0
- package/src/lib/ai-image-generation/service.ts +185 -0
- package/src/lib/catalog/$.ts +1 -0
- package/src/lib/catalog/catalog.ts +106 -0
- package/src/lib/catalog/unversioned.ts +42 -0
- package/src/lib/catalog/versioned.ts +62 -0
- package/src/lib/catalog-statistics/$$.ts +4 -0
- package/src/lib/catalog-statistics/$.test.ts +151 -0
- package/src/lib/catalog-statistics/$.ts +1 -0
- package/src/lib/catalog-statistics/analyze-catalog.ts +158 -0
- package/src/lib/catalog-statistics/analyze-options.ts +15 -0
- package/src/lib/catalog-statistics/analyze-schema.ts +226 -0
- package/src/lib/catalog-statistics/data.ts +196 -0
- package/src/lib/catalog-statistics/report.ts +45 -0
- package/src/lib/change/$$.ts +3 -0
- package/src/lib/change/$.ts +1 -0
- package/src/lib/change/calc-changeset.ts +650 -0
- package/src/lib/change/change.ts +718 -0
- package/src/lib/change/criticality.ts +53 -0
- package/src/lib/change/level.ts +3 -0
- package/src/lib/date-only/$.ts +1 -0
- package/src/lib/date-only/date-only.ts +112 -0
- package/src/lib/diagnostic/$$.ts +5 -0
- package/src/lib/diagnostic/$.test.ts +109 -0
- package/src/lib/diagnostic/$.ts +1 -0
- package/src/lib/diagnostic/control.test.ts +75 -0
- package/src/lib/diagnostic/control.ts +140 -0
- package/src/lib/diagnostic/diagnostic.ts +144 -0
- package/src/lib/diagnostic/filter.ts +21 -0
- package/src/lib/diagnostic/reporter.ts +74 -0
- package/src/lib/diagnostic/severity.ts +93 -0
- package/src/lib/directed-filter/$$.ts +1 -0
- package/src/lib/directed-filter/$.test.ts +169 -0
- package/src/lib/directed-filter/$.ts +1 -0
- package/src/lib/directed-filter/directed-filter.ts +241 -0
- package/src/lib/document/$$.ts +3 -0
- package/src/lib/document/$.ts +1 -0
- package/src/lib/document/document.ts +37 -0
- package/src/lib/document/unversioned.ts +35 -0
- package/src/lib/document/versioned.ts +106 -0
- package/src/lib/effect-cli-help-markdown/$$.ts +1 -0
- package/src/lib/effect-cli-help-markdown/$.test.ts +49 -0
- package/src/lib/effect-cli-help-markdown/$.ts +1 -0
- package/src/lib/effect-cli-help-markdown/effect-cli-help-markdown.ts +699 -0
- package/src/lib/effect-glob/$$.ts +1 -0
- package/src/lib/effect-glob/$.ts +1 -0
- package/src/lib/effect-glob/effect-glob.ts +33 -0
- package/src/lib/file-path/$$.ts +4 -0
- package/src/lib/file-path/$.test.ts +45 -0
- package/src/lib/file-path/$.ts +5 -0
- package/src/lib/file-path/absolute.ts +66 -0
- package/src/lib/file-path/file-path.ts +34 -0
- package/src/lib/file-path/relative.ts +72 -0
- package/src/lib/file-path/segment/$.ts +1 -0
- package/src/lib/file-path/segment/segment.test.ts +80 -0
- package/src/lib/file-path/segment/segment.ts +134 -0
- package/src/lib/file-router/index.test.ts +3 -2
- package/src/lib/file-router/linter.test.ts +95 -79
- package/src/lib/file-router/linter.ts +82 -49
- package/src/lib/file-router/route.ts +1 -1
- package/src/lib/file-router/scan.ts +22 -17
- package/src/lib/grafaid/schema/ast.ts +8 -2
- package/src/lib/grafaid/schema/read.ts +28 -12
- package/src/lib/grafaid/schema/schema.ts +8 -1
- package/src/lib/grafaid/schema/type-class-name.ts +9 -9
- package/src/lib/grafaid-old/grafaid.ts +6 -6
- package/src/lib/graph/$$.ts +1 -0
- package/src/lib/graph/$.ts +1 -0
- package/src/lib/graph/graph.ts +197 -0
- package/src/lib/graphql-error/$$.ts +1 -0
- package/src/lib/graphql-error/$.ts +1 -0
- package/src/lib/graphql-error/graphql-error.ts +74 -0
- package/src/lib/graphql-schema-loader/graphql-schema-loader.ts +66 -51
- package/src/lib/helpers.ts +78 -14
- package/src/lib/html-utils/inject-global-data.test.ts +63 -66
- package/src/lib/kit-temp/$$.ts +6 -0
- package/src/lib/kit-temp/$.ts +2 -0
- package/src/lib/kit-temp/array.ts +30 -0
- package/src/lib/kit-temp/effect.test.ts +124 -0
- package/src/lib/kit-temp/effect.ts +725 -0
- package/src/lib/kit-temp/effect.union-adt.test.ts +81 -0
- package/src/lib/kit-temp/global-local-check.ts +179 -0
- package/src/lib/kit-temp/ob.ts +32 -0
- package/src/lib/kit-temp/other.test-d.ts +120 -0
- package/src/lib/kit-temp/other.test.ts +256 -0
- package/src/lib/kit-temp/other.ts +835 -0
- package/src/lib/kit-temp/resource.test.ts +365 -0
- package/src/lib/kit-temp/resource.ts +254 -0
- package/src/lib/lifecycles/$$.ts +1 -0
- package/src/lib/lifecycles/$.ts +1 -0
- package/src/lib/lifecycles/lifecycles.ts +521 -0
- package/src/lib/mask/$.test.ts +60 -82
- package/src/lib/mask/apply.ts +9 -9
- package/src/lib/mask/mask.test-d.ts +1 -1
- package/src/lib/memory-filesystem/$$.ts +1 -0
- package/src/lib/memory-filesystem/$.ts +1 -0
- package/src/lib/memory-filesystem/memory-filesystem.ts +162 -0
- package/src/lib/path-map/path-map.ts +15 -15
- package/src/lib/react-router-effect/$$.ts +5 -0
- package/src/lib/react-router-effect/$.ts +1 -0
- package/src/lib/react-router-effect/README.md +178 -0
- package/src/lib/react-router-effect/create-loader.ts +57 -0
- package/src/lib/react-router-effect/route-helpers.ts +88 -0
- package/src/lib/react-router-effect/route.ts +91 -0
- package/src/lib/react-router-effect/types.ts +90 -0
- package/src/lib/react-router-effect/use-loader-data.ts +133 -0
- package/src/lib/revision/$.ts +1 -0
- package/src/lib/revision/revision.ts +64 -0
- package/src/lib/schema/$.test.ts +54 -0
- package/src/lib/schema/schema.ts +50 -0
- package/src/lib/schema/unversioned.ts +59 -0
- package/src/lib/schema/versioned.ts +83 -0
- package/src/lib/schema-definition/$.test.ts +58 -0
- package/src/lib/schema-definition/$.ts +1 -0
- package/src/lib/schema-definition/graphql-ast.ts +14 -0
- package/src/lib/schema-definition/schema-definition.ts +115 -0
- package/src/lib/semver/$$.ts +1 -0
- package/src/lib/semver/$.test.ts +179 -0
- package/src/lib/semver/$.ts +1 -0
- package/src/lib/semver/official-release.ts +50 -0
- package/src/lib/semver/pre-release.ts +51 -0
- package/src/lib/semver/semver.ts +200 -0
- package/src/lib/services-crud/$$.ts +4 -0
- package/src/lib/services-crud/$.ts +1 -0
- package/src/lib/services-crud/browser-ro.ts +98 -0
- package/src/lib/services-crud/filesystem.ts +63 -0
- package/src/lib/services-crud/memory.ts +86 -0
- package/src/lib/services-crud/service.ts +49 -0
- package/src/lib/stack-processor/stack-processor.ts +32 -0
- package/src/lib/swiss/$$.ts +5 -0
- package/src/lib/swiss/$.test.ts +89 -0
- package/src/lib/swiss/$.ts +2 -0
- package/src/lib/swiss/grid.tsx +61 -0
- package/src/lib/swiss/items.tsx +288 -0
- package/src/lib/swiss/styles.css +298 -0
- package/src/lib/swiss/subgrid.tsx +83 -0
- package/src/lib/swiss/types.ts +353 -0
- package/src/lib/swiss/utils.ts +144 -0
- package/src/lib/theme/theme.test.ts +40 -74
- package/src/lib/version/$$.ts +1 -0
- package/src/lib/version/$.test.ts +101 -0
- package/src/lib/version/$.ts +1 -0
- package/src/lib/version/custom.ts +35 -0
- package/src/lib/version/date.ts +36 -0
- package/src/lib/version/integer.ts +35 -0
- package/src/lib/version/semver.ts +35 -0
- package/src/lib/version/version.ts +225 -0
- package/src/lib/version-selection/$$.ts +1 -0
- package/src/lib/version-selection/$.ts +1 -0
- package/src/lib/version-selection/version-selection.ts +117 -0
- package/src/lib/vite-plugin-json/vite-plugin-json.ts +2 -3
- package/src/lib/vite-plugin-mdx/vite-plugin-mdx.ts +3 -1
- package/src/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.ts +1 -1
- package/src/lib/vite-reactive/$$.ts +1 -0
- package/src/lib/vite-reactive/$.ts +1 -0
- package/src/lib/vite-reactive/reactive-asset-plugin.ts +280 -0
- package/src/sandbox.ts +15 -1
- package/src/template/components/Carousel.tsx +224 -0
- package/src/template/components/CarouselPill.tsx +101 -0
- package/src/template/components/Changelog/ChangeBase.tsx +1 -1
- package/src/template/components/Changelog/Changelog.tsx +154 -0
- package/src/template/components/Changelog/ChangelogVersionPicker.tsx +36 -0
- package/src/template/components/Changelog/CriticalitySection.tsx +18 -2
- package/src/template/components/Changelog/groups/DirectiveArgument.tsx +7 -8
- package/src/template/components/Changelog/groups/DirectiveArgumentDescription.tsx +3 -4
- package/src/template/components/Changelog/groups/DirectiveArgumentOperation.tsx +5 -7
- package/src/template/components/Changelog/groups/DirectiveDescription.tsx +3 -3
- package/src/template/components/Changelog/groups/DirectiveLocationOperation.tsx +5 -7
- package/src/template/components/Changelog/groups/DirectiveOperation.tsx +5 -5
- package/src/template/components/Changelog/groups/EnumValueDeprecationReason.tsx +7 -9
- package/src/template/components/Changelog/groups/EnumValueDescription.tsx +3 -3
- package/src/template/components/Changelog/groups/EnumValueOperation.tsx +5 -5
- package/src/template/components/Changelog/groups/FieldArgument.tsx +8 -10
- package/src/template/components/Changelog/groups/FieldArgumentDescription.tsx +5 -4
- package/src/template/components/Changelog/groups/FieldArgumentOperation.tsx +7 -8
- package/src/template/components/Changelog/groups/FieldDeprecation.tsx +5 -5
- package/src/template/components/Changelog/groups/FieldDeprecationReason.tsx +9 -10
- package/src/template/components/Changelog/groups/FieldDescription.tsx +6 -6
- package/src/template/components/Changelog/groups/FieldOperation.tsx +7 -7
- package/src/template/components/Changelog/groups/InputFieldDefaultValue.tsx +4 -5
- package/src/template/components/Changelog/groups/InputFieldDescription.tsx +6 -9
- package/src/template/components/Changelog/groups/InputFieldOperation.tsx +7 -8
- package/src/template/components/Changelog/groups/ObjectTypeInterfaceOperation.tsx +5 -7
- package/src/template/components/Changelog/groups/SchemaRootType.tsx +8 -10
- package/src/template/components/Changelog/groups/TypeDescription.tsx +6 -6
- package/src/template/components/Changelog/groups/TypeOperation.tsx +55 -7
- package/src/template/components/Changelog/groups/UnionMemberOperation.tsx +5 -5
- package/src/template/components/Changelog/groups/index.ts +1 -1
- package/src/template/components/CodeBlock.tsx +6 -2
- package/src/template/components/DevelopmentTip.tsx +43 -0
- package/src/template/components/ExampleLink.tsx +25 -0
- package/src/template/components/Field.tsx +38 -28
- package/src/template/components/GraphQLDocument.tsx +145 -0
- package/src/template/components/GraphQLInteractive/GraphQLInteractive.tsx +26 -4
- package/src/template/components/GraphQLInteractive/components/GraphQLTokenPopover.tsx +8 -8
- package/src/template/components/GraphQLInteractive/lib/parser.ts +1 -1
- package/src/template/components/GraphQLInteractive/tests/parser-error-hint.test.ts +3 -3
- package/src/template/components/GraphQLInteractive/tests/parser.test.ts +76 -65
- package/src/template/components/HamburgerMenu.tsx +19 -2
- package/src/template/components/Link.tsx +1 -1
- package/src/template/components/Logo.tsx +35 -15
- package/src/template/components/NamedType.tsx +59 -18
- package/src/template/components/SimpleVersionPicker.tsx +48 -0
- package/src/template/components/TypeAnnotation.tsx +8 -26
- package/src/template/components/VersionCoveragePicker.tsx +57 -0
- package/src/template/components/VersionPicker.tsx +41 -34
- package/src/template/components/home/ExamplesSection.tsx +49 -0
- package/src/template/components/home/FeaturesGrid.tsx +135 -0
- package/src/template/components/home/HeroSection.tsx +379 -0
- package/src/template/components/home/PlaygroundPreview.tsx +138 -0
- package/src/template/components/home/QuickStart.tsx +132 -0
- package/src/template/components/home/RecentChanges.tsx +152 -0
- package/src/template/components/home/Resources.tsx +207 -0
- package/src/template/components/home/SocialProof.tsx +109 -0
- package/src/template/components/navbar/DefaultNavbar.tsx +23 -12
- package/src/template/components/sidebar/Sidebar.tsx +15 -2
- package/src/template/components/sidebar/SidebarItem.tsx +18 -6
- package/src/template/components/swiss/SwissHeading.tsx +44 -0
- package/src/template/components/swiss/index.ts +1 -0
- package/src/template/contexts/GraphqlLifecycleContext.tsx +43 -0
- package/src/template/contexts/ThemeContext.tsx +2 -2
- package/src/template/entry.client.tsx +7 -3
- package/src/template/env.d.ts +3 -0
- package/src/template/hooks/use-examples.ts +46 -0
- package/src/template/hooks/use-highlighted.ts +57 -0
- package/src/template/hooks/useVersionPath.ts +6 -1
- package/src/template/layouts/SidebarLayout.tsx +36 -25
- package/src/template/layouts/index.ts +0 -1
- package/src/template/lib/polen-url.ts +3 -3
- package/src/template/providers/mdx.tsx +75 -0
- package/src/template/routes/changelog.tsx +249 -30
- package/src/template/routes/examples/_.tsx +90 -0
- package/src/template/routes/examples/_index.tsx +93 -0
- package/src/template/routes/examples/name.tsx +69 -0
- package/src/template/routes/index.tsx +49 -3
- package/src/template/routes/pages.tsx +6 -83
- package/src/template/routes/reference.tsx +131 -62
- package/src/template/routes/root.tsx +102 -42
- package/src/template/server/create-page-html-response.ts +4 -4
- package/src/template/server/main.ts +10 -10
- package/src/template/server/view.ts +4 -2
- package/src/template/stores/$$.ts +3 -0
- package/src/template/stores/changelog.ts +87 -0
- package/src/template/stores/schema.ts +21 -10
- package/src/template/stores/toast.ts +56 -37
- package/src/template/theme/swiss-sharp.css +117 -0
- package/src/template/theme/swiss-sharp.ts +14 -0
- package/src/types/global-constants.d.ts +36 -0
- package/src/types/global.d.ts +17 -0
- package/src/types/virtual-modules.d.ts +48 -0
- package/src/vite/config.ts +27 -0
- package/src/vite/index.ts +5 -0
- package/src/vite/logger.ts +89 -0
- package/src/vite/plugins/branding.ts +237 -0
- package/src/vite/plugins/build.ts +147 -0
- package/src/vite/plugins/config.ts +57 -0
- package/src/vite/plugins/core.ts +157 -0
- package/src/vite/plugins/examples.ts +201 -0
- package/src/vite/plugins/hooks.ts +49 -0
- package/src/vite/plugins/index.ts +8 -0
- package/src/vite/plugins/main.ts +42 -0
- package/src/vite/plugins/manifest.ts +36 -0
- package/src/vite/plugins/navbar.ts +102 -0
- package/src/vite/plugins/pages.ts +181 -0
- package/src/vite/plugins/routes-manifest.ts +147 -0
- package/src/vite/plugins/schemas.ts +145 -0
- package/src/vite/plugins/serve.ts +201 -0
- package/build/api/api.d.ts +0 -9
- package/build/api/api.d.ts.map +0 -1
- package/build/api/api.js +0 -12
- package/build/api/api.js.map +0 -1
- package/build/api/config/config.d.ts +0 -5
- package/build/api/config/config.d.ts.map +0 -1
- package/build/api/config/config.js +0 -5
- package/build/api/config/config.js.map +0 -1
- package/build/api/config/configurator.d.ts +0 -380
- package/build/api/config/configurator.d.ts.map +0 -1
- package/build/api/config/configurator.js +0 -177
- package/build/api/config/configurator.js.map +0 -1
- package/build/api/config/define.d.ts +0 -7
- package/build/api/config/define.d.ts.map +0 -1
- package/build/api/config/define.js +0 -7
- package/build/api/config/define.js.map +0 -1
- package/build/api/config/index.d.ts +0 -2
- package/build/api/config/index.d.ts.map +0 -1
- package/build/api/config/index.js +0 -2
- package/build/api/config/index.js.map +0 -1
- package/build/api/config/merge.d.ts +0 -7
- package/build/api/config/merge.d.ts.map +0 -1
- package/build/api/config/merge.js +0 -42
- package/build/api/config/merge.js.map +0 -1
- package/build/api/config-resolver/vite.d.ts +0 -10
- package/build/api/config-resolver/vite.d.ts.map +0 -1
- package/build/api/config-resolver/vite.js +0 -19
- package/build/api/config-resolver/vite.js.map +0 -1
- package/build/api/index.d.ts +0 -2
- package/build/api/index.d.ts.map +0 -1
- package/build/api/index.js +0 -2
- package/build/api/index.js.map +0 -1
- package/build/api/project/index.d.ts +0 -2
- package/build/api/project/index.d.ts.map +0 -1
- package/build/api/project/index.js +0 -2
- package/build/api/project/index.js.map +0 -1
- package/build/api/schema/data-sources/data-sources.d.ts +0 -5
- package/build/api/schema/data-sources/data-sources.d.ts.map +0 -1
- package/build/api/schema/data-sources/data-sources.js +0 -5
- package/build/api/schema/data-sources/data-sources.js.map +0 -1
- package/build/api/schema/data-sources/index.d.ts +0 -2
- package/build/api/schema/data-sources/index.d.ts.map +0 -1
- package/build/api/schema/data-sources/index.js +0 -2
- package/build/api/schema/data-sources/index.js.map +0 -1
- package/build/api/schema/data-sources/introspection/introspection.d.ts +0 -84
- package/build/api/schema/data-sources/introspection/introspection.d.ts.map +0 -1
- package/build/api/schema/data-sources/introspection/introspection.js +0 -111
- package/build/api/schema/data-sources/introspection/introspection.js.map +0 -1
- package/build/api/schema/data-sources/memory/memory.d.ts +0 -51
- package/build/api/schema/data-sources/memory/memory.d.ts.map +0 -1
- package/build/api/schema/data-sources/memory/memory.js +0 -63
- package/build/api/schema/data-sources/memory/memory.js.map +0 -1
- package/build/api/schema/data-sources/schema-directory/file-name-expression/file-name-expression.d.ts +0 -13
- package/build/api/schema/data-sources/schema-directory/file-name-expression/file-name-expression.d.ts.map +0 -1
- package/build/api/schema/data-sources/schema-directory/file-name-expression/file-name-expression.js +0 -49
- package/build/api/schema/data-sources/schema-directory/file-name-expression/file-name-expression.js.map +0 -1
- package/build/api/schema/data-sources/schema-directory/file-name-expression/index.d.ts +0 -2
- package/build/api/schema/data-sources/schema-directory/file-name-expression/index.d.ts.map +0 -1
- package/build/api/schema/data-sources/schema-directory/file-name-expression/index.js +0 -2
- package/build/api/schema/data-sources/schema-directory/file-name-expression/index.js.map +0 -1
- package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts +0 -49
- package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts.map +0 -1
- package/build/api/schema/data-sources/schema-directory/schema-directory.js +0 -100
- package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +0 -1
- package/build/api/schema/data-sources/schema-file/schema-file.d.ts +0 -35
- package/build/api/schema/data-sources/schema-file/schema-file.d.ts.map +0 -1
- package/build/api/schema/data-sources/schema-file/schema-file.js +0 -45
- package/build/api/schema/data-sources/schema-file/schema-file.js.map +0 -1
- package/build/api/schema/index.d.ts +0 -2
- package/build/api/schema/index.d.ts.map +0 -1
- package/build/api/schema/index.js +0 -2
- package/build/api/schema/index.js.map +0 -1
- package/build/api/schema/metadata.d.ts +0 -16
- package/build/api/schema/metadata.d.ts.map +0 -1
- package/build/api/schema/metadata.js +0 -19
- package/build/api/schema/metadata.js.map +0 -1
- package/build/api/schema/read.d.ts +0 -135
- package/build/api/schema/read.d.ts.map +0 -1
- package/build/api/schema/read.js +0 -50
- package/build/api/schema/read.js.map +0 -1
- package/build/api/schema/schema.d.ts +0 -6
- package/build/api/schema/schema.d.ts.map +0 -1
- package/build/api/schema/schema.js +0 -8
- package/build/api/schema/schema.js.map +0 -1
- package/build/api/schema-augmentation/augmentations/description.d.ts +0 -17
- package/build/api/schema-augmentation/augmentations/description.d.ts.map +0 -1
- package/build/api/schema-augmentation/augmentations/description.js +0 -40
- package/build/api/schema-augmentation/augmentations/description.js.map +0 -1
- package/build/api/schema-augmentation/index.d.ts +0 -2
- package/build/api/schema-augmentation/index.d.ts.map +0 -1
- package/build/api/schema-augmentation/index.js +0 -2
- package/build/api/schema-augmentation/index.js.map +0 -1
- package/build/api/schema-augmentation/schema-augmentation.d.ts +0 -6
- package/build/api/schema-augmentation/schema-augmentation.d.ts.map +0 -1
- package/build/api/schema-augmentation/schema-augmentation.js +0 -17
- package/build/api/schema-augmentation/schema-augmentation.js.map +0 -1
- package/build/api/schema-augmentation/target.d.ts +0 -14
- package/build/api/schema-augmentation/target.d.ts.map +0 -1
- package/build/api/schema-augmentation/target.js +0 -25
- package/build/api/schema-augmentation/target.js.map +0 -1
- package/build/api/schema-source/index.d.ts +0 -2
- package/build/api/schema-source/index.d.ts.map +0 -1
- package/build/api/schema-source/index.js +0 -2
- package/build/api/schema-source/index.js.map +0 -1
- package/build/api/schema-source/schema-source.d.ts +0 -37
- package/build/api/schema-source/schema-source.d.ts.map +0 -1
- package/build/api/schema-source/schema-source.js +0 -150
- package/build/api/schema-source/schema-source.js.map +0 -1
- package/build/api/vite/log-filters.d.ts.map +0 -1
- package/build/api/vite/log-filters.js.map +0 -1
- package/build/api/vite/logger.d.ts +0 -4
- package/build/api/vite/logger.d.ts.map +0 -1
- package/build/api/vite/logger.js +0 -29
- package/build/api/vite/logger.js.map +0 -1
- package/build/api/vite/plugins/branding.d.ts +0 -4
- package/build/api/vite/plugins/branding.d.ts.map +0 -1
- package/build/api/vite/plugins/branding.js +0 -80
- package/build/api/vite/plugins/branding.js.map +0 -1
- package/build/api/vite/plugins/build.d.ts +0 -4
- package/build/api/vite/plugins/build.d.ts.map +0 -1
- package/build/api/vite/plugins/build.js +0 -167
- package/build/api/vite/plugins/build.js.map +0 -1
- package/build/api/vite/plugins/core.d.ts +0 -12
- package/build/api/vite/plugins/core.d.ts.map +0 -1
- package/build/api/vite/plugins/core.js +0 -237
- package/build/api/vite/plugins/core.js.map +0 -1
- package/build/api/vite/plugins/main.d.ts +0 -4
- package/build/api/vite/plugins/main.d.ts.map +0 -1
- package/build/api/vite/plugins/main.js +0 -25
- package/build/api/vite/plugins/main.js.map +0 -1
- package/build/api/vite/plugins/pages.d.ts +0 -17
- package/build/api/vite/plugins/pages.d.ts.map +0 -1
- package/build/api/vite/plugins/pages.js +0 -209
- package/build/api/vite/plugins/pages.js.map +0 -1
- package/build/api/vite/plugins/schema-assets.d.ts +0 -22
- package/build/api/vite/plugins/schema-assets.d.ts.map +0 -1
- package/build/api/vite/plugins/schema-assets.js +0 -319
- package/build/api/vite/plugins/schema-assets.js.map +0 -1
- package/build/api/vite/plugins/serve.d.ts +0 -4
- package/build/api/vite/plugins/serve.d.ts.map +0 -1
- package/build/api/vite/plugins/serve.js +0 -134
- package/build/api/vite/plugins/serve.js.map +0 -1
- package/build/api/vite/vi.d.ts.map +0 -1
- package/build/api/vite/vi.js.map +0 -1
- package/build/cli/commands/$default.d.ts +0 -3
- package/build/cli/commands/$default.d.ts.map +0 -1
- package/build/cli/commands/$default.js +0 -89
- package/build/cli/commands/$default.js.map +0 -1
- package/build/cli/commands/cache/$default.d.ts +0 -3
- package/build/cli/commands/cache/$default.d.ts.map +0 -1
- package/build/cli/commands/cache/$default.js +0 -10
- package/build/cli/commands/cache/$default.js.map +0 -1
- package/build/cli/commands/config/$default.d.ts +0 -2
- package/build/cli/commands/config/$default.d.ts.map +0 -1
- package/build/cli/commands/config/$default.js +0 -7
- package/build/cli/commands/config/$default.js.map +0 -1
- package/build/cli/commands/static/$default.d.ts +0 -3
- package/build/cli/commands/static/$default.d.ts.map +0 -1
- package/build/cli/commands/static/$default.js +0 -38
- package/build/cli/commands/static/$default.js.map +0 -1
- package/build/dep/superjson/index.d.ts +0 -2
- package/build/dep/superjson/index.d.ts.map +0 -1
- package/build/dep/superjson/index.js +0 -2
- package/build/dep/superjson/index.js.map +0 -1
- package/build/dep/superjson/superjson.d.ts +0 -5
- package/build/dep/superjson/superjson.d.ts.map +0 -1
- package/build/dep/superjson/superjson.js +0 -2
- package/build/dep/superjson/superjson.js.map +0 -1
- package/build/lib/file-router/diagnostic-reporter.d.ts +0 -3
- package/build/lib/file-router/diagnostic-reporter.d.ts.map +0 -1
- package/build/lib/file-router/diagnostic-reporter.js +0 -18
- package/build/lib/file-router/diagnostic-reporter.js.map +0 -1
- package/build/lib/graphql-change/$$.d.ts +0 -11
- package/build/lib/graphql-change/$$.d.ts.map +0 -1
- package/build/lib/graphql-change/$$.js +0 -10
- package/build/lib/graphql-change/$$.js.map +0 -1
- package/build/lib/graphql-change/$.d.ts +0 -2
- package/build/lib/graphql-change/$.d.ts.map +0 -1
- package/build/lib/graphql-change/$.js +0 -2
- package/build/lib/graphql-change/$.js.map +0 -1
- package/build/lib/graphql-change/change-groups.d.ts +0 -58
- package/build/lib/graphql-change/change-groups.d.ts.map +0 -1
- package/build/lib/graphql-change/change-groups.js +0 -87
- package/build/lib/graphql-change/change-groups.js.map +0 -1
- package/build/lib/graphql-change/change-types.d.ts +0 -170
- package/build/lib/graphql-change/change-types.d.ts.map +0 -1
- package/build/lib/graphql-change/change-types.js +0 -11
- package/build/lib/graphql-change/change-types.js.map +0 -1
- package/build/lib/graphql-change/criticality.d.ts +0 -26
- package/build/lib/graphql-change/criticality.d.ts.map +0 -1
- package/build/lib/graphql-change/criticality.js +0 -30
- package/build/lib/graphql-change/criticality.js.map +0 -1
- package/build/lib/graphql-change/old.d.ts +0 -2
- package/build/lib/graphql-change/old.d.ts.map +0 -1
- package/build/lib/graphql-change/old.js +0 -130
- package/build/lib/graphql-change/old.js.map +0 -1
- package/build/lib/graphql-changeset/$$.d.ts +0 -4
- package/build/lib/graphql-changeset/$$.d.ts.map +0 -1
- package/build/lib/graphql-changeset/$$.js +0 -4
- package/build/lib/graphql-changeset/$$.js.map +0 -1
- package/build/lib/graphql-changeset/$.d.ts +0 -2
- package/build/lib/graphql-changeset/$.d.ts.map +0 -1
- package/build/lib/graphql-changeset/$.js +0 -2
- package/build/lib/graphql-changeset/$.js.map +0 -1
- package/build/lib/graphql-changeset/changelog.d.ts +0 -4
- package/build/lib/graphql-changeset/changelog.d.ts.map +0 -1
- package/build/lib/graphql-changeset/changelog.js +0 -2
- package/build/lib/graphql-changeset/changelog.js.map +0 -1
- package/build/lib/graphql-changeset/changeset.d.ts +0 -66
- package/build/lib/graphql-changeset/changeset.d.ts.map +0 -1
- package/build/lib/graphql-changeset/changeset.js +0 -139
- package/build/lib/graphql-changeset/changeset.js.map +0 -1
- package/build/lib/graphql-changeset/versioned-schema.d.ts +0 -31
- package/build/lib/graphql-changeset/versioned-schema.d.ts.map +0 -1
- package/build/lib/graphql-changeset/versioned-schema.js +0 -14
- package/build/lib/graphql-changeset/versioned-schema.js.map +0 -1
- package/build/lib/kit-temp.d.ts +0 -285
- package/build/lib/kit-temp.d.ts.map +0 -1
- package/build/lib/kit-temp.js +0 -486
- package/build/lib/kit-temp.js.map +0 -1
- package/build/lib/kit-temp.test-d.d.ts +0 -2
- package/build/lib/kit-temp.test-d.d.ts.map +0 -1
- package/build/lib/kit-temp.test-d.js +0 -75
- package/build/lib/kit-temp.test-d.js.map +0 -1
- package/build/lib/react-router-loader/$$.d.ts +0 -6
- package/build/lib/react-router-loader/$$.d.ts.map +0 -1
- package/build/lib/react-router-loader/$$.js +0 -24
- package/build/lib/react-router-loader/$$.js.map +0 -1
- package/build/lib/react-router-loader/$.d.ts +0 -2
- package/build/lib/react-router-loader/$.d.ts.map +0 -1
- package/build/lib/react-router-loader/$.js +0 -2
- package/build/lib/react-router-loader/$.js.map +0 -1
- package/build/lib/schema-lifecycle/$$.d.ts +0 -6
- package/build/lib/schema-lifecycle/$$.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/$$.js +0 -6
- package/build/lib/schema-lifecycle/$$.js.map +0 -1
- package/build/lib/schema-lifecycle/$.d.ts +0 -2
- package/build/lib/schema-lifecycle/$.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/$.js +0 -2
- package/build/lib/schema-lifecycle/$.js.map +0 -1
- package/build/lib/schema-lifecycle/FieldLifecycle.d.ts +0 -17
- package/build/lib/schema-lifecycle/FieldLifecycle.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/FieldLifecycle.js +0 -2
- package/build/lib/schema-lifecycle/FieldLifecycle.js.map +0 -1
- package/build/lib/schema-lifecycle/LifecycleEvent.d.ts +0 -25
- package/build/lib/schema-lifecycle/LifecycleEvent.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/LifecycleEvent.js +0 -2
- package/build/lib/schema-lifecycle/LifecycleEvent.js.map +0 -1
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts +0 -59
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.js +0 -24
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.js.map +0 -1
- package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts +0 -25
- package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/SchemaLifecycle.js +0 -59
- package/build/lib/schema-lifecycle/SchemaLifecycle.js.map +0 -1
- package/build/lib/schema-lifecycle/SchemaLink.d.ts +0 -2
- package/build/lib/schema-lifecycle/SchemaLink.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/SchemaLink.js +0 -38
- package/build/lib/schema-lifecycle/SchemaLink.js.map +0 -1
- package/build/lib/schema-lifecycle/handlers.d.ts +0 -20
- package/build/lib/schema-lifecycle/handlers.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/handlers.js +0 -168
- package/build/lib/schema-lifecycle/handlers.js.map +0 -1
- package/build/lib/schema-lifecycle/utils.d.ts +0 -53
- package/build/lib/schema-lifecycle/utils.d.ts.map +0 -1
- package/build/lib/schema-lifecycle/utils.js +0 -160
- package/build/lib/schema-lifecycle/utils.js.map +0 -1
- package/build/lib/superjson-codec/$$.d.ts +0 -3
- package/build/lib/superjson-codec/$$.d.ts.map +0 -1
- package/build/lib/superjson-codec/$$.js +0 -3
- package/build/lib/superjson-codec/$$.js.map +0 -1
- package/build/lib/superjson-codec/$.d.ts +0 -2
- package/build/lib/superjson-codec/$.d.ts.map +0 -1
- package/build/lib/superjson-codec/$.js +0 -2
- package/build/lib/superjson-codec/$.js.map +0 -1
- package/build/lib/superjson-codec/codec.d.ts +0 -9
- package/build/lib/superjson-codec/codec.d.ts.map +0 -1
- package/build/lib/superjson-codec/codec.js +0 -7
- package/build/lib/superjson-codec/codec.js.map +0 -1
- package/build/lib/superjson-codec/codecs/graphql-schema.d.ts +0 -3
- package/build/lib/superjson-codec/codecs/graphql-schema.d.ts.map +0 -1
- package/build/lib/superjson-codec/codecs/graphql-schema.js +0 -22
- package/build/lib/superjson-codec/codecs/graphql-schema.js.map +0 -1
- package/build/lib/task/$$.d.ts +0 -3
- package/build/lib/task/$$.d.ts.map +0 -1
- package/build/lib/task/$$.js +0 -3
- package/build/lib/task/$$.js.map +0 -1
- package/build/lib/task/$.d.ts +0 -2
- package/build/lib/task/$.d.ts.map +0 -1
- package/build/lib/task/$.js +0 -2
- package/build/lib/task/$.js.map +0 -1
- package/build/lib/task/report.d.ts +0 -28
- package/build/lib/task/report.d.ts.map +0 -1
- package/build/lib/task/report.js +0 -33
- package/build/lib/task/report.js.map +0 -1
- package/build/lib/task/task.d.ts +0 -44
- package/build/lib/task/task.d.ts.map +0 -1
- package/build/lib/task/task.js +0 -63
- package/build/lib/task/task.js.map +0 -1
- package/build/project-data.d.ts +0 -10
- package/build/project-data.d.ts.map +0 -1
- package/build/project-data.js +0 -2
- package/build/project-data.js.map +0 -1
- package/build/singletons/superjson.d.ts +0 -4
- package/build/singletons/superjson.d.ts.map +0 -1
- package/build/singletons/superjson.js +0 -6
- package/build/singletons/superjson.js.map +0 -1
- package/build/template/components/Changelog/groups/DirectiveUsage.d.ts +0 -6
- package/build/template/components/Changelog/groups/DirectiveUsage.d.ts.map +0 -1
- package/build/template/components/Changelog/groups/DirectiveUsage.js +0 -59
- package/build/template/components/Changelog/groups/DirectiveUsage.js.map +0 -1
- package/build/template/components/Changelog.d.ts +0 -7
- package/build/template/components/Changelog.d.ts.map +0 -1
- package/build/template/components/Changelog.js +0 -52
- package/build/template/components/Changelog.js.map +0 -1
- package/build/template/contexts/SchemaLifecycleContext.d.ts +0 -14
- package/build/template/contexts/SchemaLifecycleContext.d.ts.map +0 -1
- package/build/template/contexts/SchemaLifecycleContext.js +0 -15
- package/build/template/contexts/SchemaLifecycleContext.js.map +0 -1
- package/build/template/layouts/ChangelogLayout.d.ts +0 -9
- package/build/template/layouts/ChangelogLayout.d.ts.map +0 -1
- package/build/template/layouts/ChangelogLayout.js +0 -79
- package/build/template/layouts/ChangelogLayout.js.map +0 -1
- package/build/template/server/ssg/generate.d.ts +0 -3
- package/build/template/server/ssg/generate.d.ts.map +0 -1
- package/build/template/server/ssg/generate.js +0 -79
- package/build/template/server/ssg/generate.js.map +0 -1
- package/build/template/server/ssg/get-route-paths.d.ts +0 -2
- package/build/template/server/ssg/get-route-paths.d.ts.map +0 -1
- package/build/template/server/ssg/get-route-paths.js +0 -149
- package/build/template/server/ssg/get-route-paths.js.map +0 -1
- package/build/template/sources/schema-source.d.ts +0 -17
- package/build/template/sources/schema-source.d.ts.map +0 -1
- package/build/template/sources/schema-source.js +0 -64
- package/build/template/sources/schema-source.js.map +0 -1
- package/src/api/api.ts +0 -13
- package/src/api/config/config.ts +0 -4
- package/src/api/config/configurator.ts +0 -566
- package/src/api/config/define.ts +0 -8
- package/src/api/config/index.ts +0 -1
- package/src/api/config/merge.ts +0 -61
- package/src/api/config-resolver/vite.ts +0 -28
- package/src/api/index.ts +0 -1
- package/src/api/schema/data-sources/data-sources.ts +0 -4
- package/src/api/schema/data-sources/index.ts +0 -1
- package/src/api/schema/data-sources/introspection/introspection.ts +0 -216
- package/src/api/schema/data-sources/memory/memory.ts +0 -125
- package/src/api/schema/data-sources/schema-directory/file-name-expression/file-name-expression.ts +0 -84
- package/src/api/schema/data-sources/schema-directory/file-name-expression/index.ts +0 -1
- package/src/api/schema/data-sources/schema-directory/schema-directory.ts +0 -178
- package/src/api/schema/data-sources/schema-file/schema-file.ts +0 -84
- package/src/api/schema/metadata.ts +0 -23
- package/src/api/schema/read.ts +0 -196
- package/src/api/schema/schema.ts +0 -8
- package/src/api/schema-augmentation/augmentations/description.ts +0 -57
- package/src/api/schema-augmentation/index.ts +0 -1
- package/src/api/schema-augmentation/schema-augmentation.ts +0 -25
- package/src/api/schema-augmentation/target.ts +0 -50
- package/src/api/schema-source/index.ts +0 -1
- package/src/api/schema-source/schema-source.ts +0 -216
- package/src/api/vite/logger.ts +0 -33
- package/src/api/vite/plugins/branding.ts +0 -108
- package/src/api/vite/plugins/build.ts +0 -179
- package/src/api/vite/plugins/core.ts +0 -274
- package/src/api/vite/plugins/main.ts +0 -40
- package/src/api/vite/plugins/pages.ts +0 -261
- package/src/api/vite/plugins/schema-assets.ts +0 -378
- package/src/api/vite/plugins/serve.ts +0 -161
- package/src/cli/commands/$default.ts +0 -102
- package/src/cli/commands/cache/$default.ts +0 -10
- package/src/cli/commands/config/$default.ts +0 -7
- package/src/cli/commands/static/$default.ts +0 -43
- package/src/dep/superjson/index.ts +0 -1
- package/src/dep/superjson/superjson.ts +0 -8
- package/src/lib/file-router/diagnostic-reporter.ts +0 -22
- package/src/lib/graphql-change/$$.ts +0 -18
- package/src/lib/graphql-change/$.ts +0 -1
- package/src/lib/graphql-change/change-groups.ts +0 -337
- package/src/lib/graphql-change/change-types.ts +0 -203
- package/src/lib/graphql-change/criticality.ts +0 -45
- package/src/lib/graphql-change/old.ts +0 -163
- package/src/lib/graphql-changeset/$$.ts +0 -3
- package/src/lib/graphql-changeset/$.ts +0 -1
- package/src/lib/graphql-changeset/changelog.ts +0 -9
- package/src/lib/graphql-changeset/changeset.ts +0 -190
- package/src/lib/graphql-changeset/versioned-schema.ts +0 -43
- package/src/lib/kit-temp.test-d.ts +0 -120
- package/src/lib/kit-temp.test.ts +0 -232
- package/src/lib/kit-temp.ts +0 -661
- package/src/lib/react-router-loader/$$.ts +0 -40
- package/src/lib/react-router-loader/$.ts +0 -1
- package/src/lib/schema-lifecycle/$$.ts +0 -19
- package/src/lib/schema-lifecycle/$.test.ts +0 -222
- package/src/lib/schema-lifecycle/$.ts +0 -1
- package/src/lib/schema-lifecycle/FieldLifecycle.ts +0 -18
- package/src/lib/schema-lifecycle/LifecycleEvent.ts +0 -27
- package/src/lib/schema-lifecycle/NamedTypeLifecycle.ts +0 -96
- package/src/lib/schema-lifecycle/SchemaLifecycle.ts +0 -85
- package/src/lib/schema-lifecycle/SchemaLink.ts +0 -40
- package/src/lib/schema-lifecycle/handlers.ts +0 -215
- package/src/lib/schema-lifecycle/utils.ts +0 -234
- package/src/lib/superjson-codec/$$.ts +0 -2
- package/src/lib/superjson-codec/$.ts +0 -1
- package/src/lib/superjson-codec/codec.ts +0 -18
- package/src/lib/superjson-codec/codecs/graphql-schema.ts +0 -24
- package/src/lib/task/$$.ts +0 -2
- package/src/lib/task/$.test.ts +0 -209
- package/src/lib/task/$.ts +0 -1
- package/src/lib/task/report.ts +0 -72
- package/src/lib/task/task.ts +0 -112
- package/src/project-data.ts +0 -10
- package/src/singletons/superjson.ts +0 -11
- package/src/template/components/Changelog/groups/DirectiveUsage.tsx +0 -137
- package/src/template/components/Changelog.tsx +0 -80
- package/src/template/contexts/SchemaLifecycleContext.tsx +0 -30
- package/src/template/global.d.ts +0 -7
- package/src/template/layouts/ChangelogLayout.tsx +0 -164
- package/src/template/server/ssg/generate.ts +0 -101
- package/src/template/server/ssg/get-route-paths.test.ts +0 -145
- package/src/template/server/ssg/get-route-paths.ts +0 -151
- package/src/template/sources/schema-source.ts +0 -69
- package/src/vite-env.d.ts +0 -5
- /package/build/{api/vite → vite}/log-filters.d.ts +0 -0
- /package/build/{api/vite → vite}/log-filters.js +0 -0
- /package/build/{api/vite → vite}/vi.d.ts +0 -0
- /package/build/{api/vite → vite}/vi.js +0 -0
- /package/src/api/project/{index.ts → $$.ts} +0 -0
- /package/src/{api/schema/index.ts → lib/schema/$.ts} +0 -0
- /package/src/{api/vite → vite}/log-filters.ts +0 -0
- /package/src/{api/vite → vite}/vi.ts +0 -0
package/src/lib/kit-temp.ts
DELETED
@@ -1,661 +0,0 @@
|
|
1
|
-
//
|
2
|
-
//
|
3
|
-
//
|
4
|
-
//
|
5
|
-
//
|
6
|
-
// Holding Module for Missing @wollybeard/kit Functionality
|
7
|
-
//
|
8
|
-
// ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
9
|
-
//
|
10
|
-
// Code here is meant to be migrated eventually to @wollybeard/kit.
|
11
|
-
//
|
12
|
-
//
|
13
|
-
//
|
14
|
-
|
15
|
-
import { Arr, Err, Fs, Http, Path, Undefined } from '@wollybeard/kit'
|
16
|
-
import type { ResolveHookContext } from 'node:module'
|
17
|
-
|
18
|
-
export const arrayEquals = (a: any[], b: any[]) => {
|
19
|
-
if (a.length !== b.length) return false
|
20
|
-
for (let i = 0; i < a.length; i++) {
|
21
|
-
if (a[i] !== b[i]) return false
|
22
|
-
}
|
23
|
-
return true
|
24
|
-
}
|
25
|
-
|
26
|
-
export const ensureOptionalAbsoluteWithCwd = (pathExp: string | undefined): string => {
|
27
|
-
if (Undefined.is(pathExp)) return process.cwd()
|
28
|
-
return Path.ensureAbsolute(pathExp, process.cwd())
|
29
|
-
}
|
30
|
-
|
31
|
-
export const ensureOptionalAbsolute = (pathExp: string | undefined, basePathExp: string): string => {
|
32
|
-
assertPathAbsolute(basePathExp)
|
33
|
-
if (Undefined.is(pathExp)) return basePathExp
|
34
|
-
return Path.ensureAbsolute(pathExp, basePathExp)
|
35
|
-
}
|
36
|
-
|
37
|
-
export const assertPathAbsolute = (pathExpression: string): void => {
|
38
|
-
if (Path.isAbsolute(pathExpression)) return
|
39
|
-
throw new Error(`Path must be absolute: ${pathExpression}`)
|
40
|
-
}
|
41
|
-
|
42
|
-
export const assertOptionalPathAbsolute = (pathExpression: string | undefined, message?: string): void => {
|
43
|
-
if (Undefined.is(pathExpression)) return
|
44
|
-
if (Path.isAbsolute(pathExpression)) return
|
45
|
-
const message_ = message ?? `Path must be absolute: ${pathExpression}`
|
46
|
-
throw new Error(message_)
|
47
|
-
}
|
48
|
-
|
49
|
-
export const pickFirstPathExisting = async (paths: string[]): Promise<string | undefined> => {
|
50
|
-
const checks = await Promise.all(paths.map(path => Fs.exists(path).then(exists => exists ? path : undefined)))
|
51
|
-
return checks.find(maybePath => maybePath !== undefined)
|
52
|
-
}
|
53
|
-
|
54
|
-
export const isSpecifierFromPackage = (specifier: string, packageName: string): boolean => {
|
55
|
-
return specifier === packageName || specifier.startsWith(packageName + `/`)
|
56
|
-
}
|
57
|
-
|
58
|
-
export interface ImportEvent {
|
59
|
-
specifier: string
|
60
|
-
context: ResolveHookContext
|
61
|
-
}
|
62
|
-
|
63
|
-
// dprint-ignore
|
64
|
-
export type ObjPolicyFilter<
|
65
|
-
$Object extends object,
|
66
|
-
$Key extends Keyof<$Object>,
|
67
|
-
Mode extends `allow` | `deny`,
|
68
|
-
> = Mode extends `allow`
|
69
|
-
? Pick<$Object, Extract<$Key, keyof $Object>>
|
70
|
-
: Omit<$Object, Extract<$Key, keyof $Object>>
|
71
|
-
|
72
|
-
/**
|
73
|
-
* Like keyof but returns PropertyKey for object
|
74
|
-
*/
|
75
|
-
type Keyof<$Object extends object> = object extends $Object ? PropertyKey : (keyof $Object)
|
76
|
-
|
77
|
-
/**
|
78
|
-
* Filter object properties based on a policy mode and set of keys
|
79
|
-
*
|
80
|
-
* @param mode - 'allow' to keep only specified keys, 'deny' to remove specified keys
|
81
|
-
* @param obj - The object to filter
|
82
|
-
* @param keys - The keys to process
|
83
|
-
* @returns A filtered object with proper type inference
|
84
|
-
*
|
85
|
-
* @example
|
86
|
-
* ```ts
|
87
|
-
* const obj = { a: 1, b: 2, c: 3 }
|
88
|
-
*
|
89
|
-
* // Allow mode: keep only 'a' and 'c'
|
90
|
-
* objPolicyFilter('allow', obj, ['a', 'c']) // { a: 1, c: 3 }
|
91
|
-
*
|
92
|
-
* // Deny mode: remove 'a' and 'c'
|
93
|
-
* objPolicyFilter('deny', obj, ['a', 'c']) // { b: 2 }
|
94
|
-
* ```
|
95
|
-
*/
|
96
|
-
export const objPolicyFilter = <
|
97
|
-
obj extends object,
|
98
|
-
keyUnion extends Keyof<obj>,
|
99
|
-
mode extends `allow` | `deny`,
|
100
|
-
>(
|
101
|
-
mode: mode,
|
102
|
-
obj: obj,
|
103
|
-
keys: readonly keyUnion[],
|
104
|
-
): ObjPolicyFilter<obj, keyUnion, mode> => {
|
105
|
-
const result: any = mode === `deny` ? { ...obj } : {}
|
106
|
-
|
107
|
-
if (mode === `allow`) {
|
108
|
-
// For allow mode, only add specified keys that are own properties
|
109
|
-
for (const key of keys) {
|
110
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
111
|
-
// @ts-expect-error
|
112
|
-
result[key] = obj[key]
|
113
|
-
}
|
114
|
-
}
|
115
|
-
} else {
|
116
|
-
// For deny mode, remove specified keys
|
117
|
-
for (const key of keys) {
|
118
|
-
delete result[key]
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
return result
|
123
|
-
}
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Filter an object using a predicate function
|
127
|
-
*
|
128
|
-
* @param obj - The object to filter
|
129
|
-
* @param predicate - Function that returns true to keep a key/value pair
|
130
|
-
* @returns A new object with only the key/value pairs where predicate returned true
|
131
|
-
*
|
132
|
-
* @example
|
133
|
-
* ```ts
|
134
|
-
* const obj = { a: 1, b: 2, c: 3 }
|
135
|
-
* objFilter(obj, (k, v) => v > 1) // { b: 2, c: 3 }
|
136
|
-
* objFilter(obj, k => k !== 'b') // { a: 1, c: 3 }
|
137
|
-
* ```
|
138
|
-
*/
|
139
|
-
export const objFilter = <T extends object>(
|
140
|
-
obj: T,
|
141
|
-
predicate: (key: keyof T, value: T[keyof T], obj: T) => boolean,
|
142
|
-
): Partial<T> => {
|
143
|
-
const result = {} as Partial<T>
|
144
|
-
// Use Object.keys to get all enumerable own properties
|
145
|
-
// This matches the behavior of for...in but only for own properties
|
146
|
-
for (const key of Object.keys(obj) as (keyof T)[]) {
|
147
|
-
if (predicate(key, obj[key], obj)) {
|
148
|
-
result[key] = obj[key]
|
149
|
-
}
|
150
|
-
}
|
151
|
-
return result
|
152
|
-
}
|
153
|
-
|
154
|
-
export const ObjPick = <T extends object, K extends keyof T>(obj: T, keys: readonly K[]): Pick<T, K> => {
|
155
|
-
return objPolicyFilter(`allow`, obj, keys) as any
|
156
|
-
}
|
157
|
-
|
158
|
-
export const ObjOmit = <T extends object, K extends keyof T>(obj: T, keys: readonly K[]): Omit<T, K> => {
|
159
|
-
return objPolicyFilter(`deny`, obj, keys) as any
|
160
|
-
}
|
161
|
-
|
162
|
-
export const ObjPartition = <T extends object, K extends keyof T>(
|
163
|
-
obj: T,
|
164
|
-
keys: readonly K[],
|
165
|
-
): { omitted: Omit<T, K>; picked: Pick<T, K> } => {
|
166
|
-
return keys.reduce((acc, key) => {
|
167
|
-
if (key in acc.omitted) {
|
168
|
-
// @ts-expect-error omitted already at type level
|
169
|
-
delete acc.omitted[key]
|
170
|
-
acc.picked[key] = obj[key]
|
171
|
-
}
|
172
|
-
return acc
|
173
|
-
}, {
|
174
|
-
omitted: { ...obj } as Omit<T, K>,
|
175
|
-
picked: {} as Pick<T, K>,
|
176
|
-
})
|
177
|
-
}
|
178
|
-
|
179
|
-
export const ensureEnd = (string: string, ending: string) => {
|
180
|
-
if (string.endsWith(ending)) return string
|
181
|
-
return string + ending
|
182
|
-
}
|
183
|
-
|
184
|
-
/**
|
185
|
-
* Create a generic cache with clear interface
|
186
|
-
*/
|
187
|
-
export const createCache = <T>() => {
|
188
|
-
const cache = new Map<string, T>()
|
189
|
-
return {
|
190
|
-
has: (key: string) => cache.has(key),
|
191
|
-
get: (key: string) => cache.get(key),
|
192
|
-
set: (key: string, value: T) => cache.set(key, value),
|
193
|
-
clear: () => cache.clear(),
|
194
|
-
}
|
195
|
-
}
|
196
|
-
|
197
|
-
export const ResponseInternalServerError = () =>
|
198
|
-
new Response(null, {
|
199
|
-
status: Http.Status.InternalServerError.code,
|
200
|
-
statusText: Http.Status.InternalServerError.description,
|
201
|
-
})
|
202
|
-
|
203
|
-
/**
|
204
|
-
* Execute an operation on multiple items, continuing even if some fail
|
205
|
-
*/
|
206
|
-
export async function tryCatchMany<item, result>(
|
207
|
-
items: item[],
|
208
|
-
operation: (item: item) => Promise<result>,
|
209
|
-
): Promise<[result[], (Error & { context: { item: item } })[]]> {
|
210
|
-
const partitionedResults = await Promise.all(items.map(async (item) => {
|
211
|
-
const result = await Err.tryCatch(() => operation(item))
|
212
|
-
if (Err.is(result)) {
|
213
|
-
const error = result as Error & { context: { item: item } }
|
214
|
-
error.context = { item }
|
215
|
-
return error
|
216
|
-
}
|
217
|
-
return result
|
218
|
-
})).then(Arr.partitionErrors)
|
219
|
-
return partitionedResults as any
|
220
|
-
}
|
221
|
-
|
222
|
-
/**
|
223
|
-
* Type-level helper to check if two types are exactly the same (invariant).
|
224
|
-
*/
|
225
|
-
export type IsExact<T, U> = T extends U ? U extends T ? true : false : false
|
226
|
-
|
227
|
-
// dprint-ignore
|
228
|
-
export type ExtendsExact<$Input, $Constraint> =
|
229
|
-
$Input extends $Constraint
|
230
|
-
? $Constraint extends $Input
|
231
|
-
? $Input
|
232
|
-
: never
|
233
|
-
: never
|
234
|
-
|
235
|
-
/**
|
236
|
-
* Split an array into chunks of specified size
|
237
|
-
*
|
238
|
-
* @param array - The array to chunk
|
239
|
-
* @param size - The size of each chunk
|
240
|
-
* @returns Array of chunks
|
241
|
-
*
|
242
|
-
* @example
|
243
|
-
* ```ts
|
244
|
-
* chunk([1, 2, 3, 4, 5], 2) // [[1, 2], [3, 4], [5]]
|
245
|
-
* chunk(['a', 'b', 'c'], 3) // [['a', 'b', 'c']]
|
246
|
-
* ```
|
247
|
-
*/
|
248
|
-
export const chunk = <T>(array: readonly T[], size: number): T[][] => {
|
249
|
-
if (size <= 0) throw new Error(`Chunk size must be greater than 0`)
|
250
|
-
if (array.length === 0) return []
|
251
|
-
|
252
|
-
const chunks: T[][] = []
|
253
|
-
for (let i = 0; i < array.length; i += size) {
|
254
|
-
chunks.push(array.slice(i, i + size))
|
255
|
-
}
|
256
|
-
return chunks
|
257
|
-
}
|
258
|
-
|
259
|
-
export interface AsyncParallelOptions {
|
260
|
-
/**
|
261
|
-
* Maximum number of items to process concurrently
|
262
|
-
* @default 10
|
263
|
-
*/
|
264
|
-
concurrency?: number
|
265
|
-
|
266
|
-
/**
|
267
|
-
* If true, stops processing on first error
|
268
|
-
* If false, continues processing all items even if some fail
|
269
|
-
* @default false
|
270
|
-
*/
|
271
|
-
failFast?: boolean
|
272
|
-
|
273
|
-
/**
|
274
|
-
* Size of batches to process items in
|
275
|
-
* If not specified, all items are processed with the specified concurrency
|
276
|
-
*/
|
277
|
-
batchSize?: number
|
278
|
-
}
|
279
|
-
|
280
|
-
export interface AsyncParallelResult<T, R> {
|
281
|
-
/** Successfully processed results */
|
282
|
-
results: R[]
|
283
|
-
/** Errors that occurred during processing */
|
284
|
-
errors: (Error & { item: T })[]
|
285
|
-
/** Whether all items were processed successfully */
|
286
|
-
success: boolean
|
287
|
-
}
|
288
|
-
|
289
|
-
/**
|
290
|
-
* Process items in parallel with configurable options
|
291
|
-
*
|
292
|
-
* @param items - Items to process
|
293
|
-
* @param operation - Async function to apply to each item (with optional index)
|
294
|
-
* @param options - Configuration options
|
295
|
-
* @returns Results and errors from processing
|
296
|
-
*
|
297
|
-
* @example
|
298
|
-
* ```ts
|
299
|
-
* const items = [1, 2, 3, 4, 5]
|
300
|
-
* const result = await asyncParallel(items, async (n, index) => n * 2, {
|
301
|
-
* concurrency: 2,
|
302
|
-
* batchSize: 3,
|
303
|
-
* failFast: false
|
304
|
-
* })
|
305
|
-
* // result.results: [2, 4, 6, 8, 10]
|
306
|
-
* // result.errors: []
|
307
|
-
* // result.success: true
|
308
|
-
* ```
|
309
|
-
*/
|
310
|
-
export const asyncParallel = async <T, R>(
|
311
|
-
items: readonly T[],
|
312
|
-
operation: (item: T, index: number) => Promise<R>,
|
313
|
-
options: AsyncParallelOptions = {},
|
314
|
-
): Promise<AsyncParallelResult<T, R>> => {
|
315
|
-
const { concurrency = 10, failFast = false, batchSize } = options
|
316
|
-
|
317
|
-
if (items.length === 0) {
|
318
|
-
return { results: [], errors: [], success: true }
|
319
|
-
}
|
320
|
-
|
321
|
-
const allResults: R[] = []
|
322
|
-
const allErrors: (Error & { item: T })[] = []
|
323
|
-
|
324
|
-
// If batchSize is specified, process in batches
|
325
|
-
if (batchSize !== undefined) {
|
326
|
-
const batches = chunk(items, batchSize)
|
327
|
-
let globalIndex = 0
|
328
|
-
|
329
|
-
for (const batch of batches) {
|
330
|
-
const batchResult = await processBatch(batch, operation, concurrency, failFast, globalIndex)
|
331
|
-
allResults.push(...batchResult.results)
|
332
|
-
allErrors.push(...batchResult.errors)
|
333
|
-
globalIndex += batch.length
|
334
|
-
|
335
|
-
if (failFast && batchResult.errors.length > 0) {
|
336
|
-
break
|
337
|
-
}
|
338
|
-
}
|
339
|
-
} else {
|
340
|
-
// Process all items with specified concurrency
|
341
|
-
const result = await processBatch(items, operation, concurrency, failFast, 0)
|
342
|
-
allResults.push(...result.results)
|
343
|
-
allErrors.push(...result.errors)
|
344
|
-
}
|
345
|
-
|
346
|
-
return {
|
347
|
-
results: allResults,
|
348
|
-
errors: allErrors,
|
349
|
-
success: allErrors.length === 0,
|
350
|
-
}
|
351
|
-
}
|
352
|
-
|
353
|
-
/**
|
354
|
-
* Process a batch of items with limited concurrency
|
355
|
-
*/
|
356
|
-
const processBatch = async <T, R>(
|
357
|
-
items: readonly T[],
|
358
|
-
operation: (item: T, index: number) => Promise<R>,
|
359
|
-
concurrency: number,
|
360
|
-
failFast: boolean,
|
361
|
-
startIndex = 0,
|
362
|
-
): Promise<AsyncParallelResult<T, R>> => {
|
363
|
-
const results: R[] = []
|
364
|
-
const errors: (Error & { item: T })[] = []
|
365
|
-
|
366
|
-
// Process items in chunks based on concurrency limit
|
367
|
-
const chunks = chunk(items, concurrency)
|
368
|
-
let currentIndex = startIndex
|
369
|
-
|
370
|
-
for (const chunkItems of chunks) {
|
371
|
-
const promises = chunkItems.map(async (item, chunkIndex) => {
|
372
|
-
const globalIndex = currentIndex + chunkIndex
|
373
|
-
try {
|
374
|
-
const result = await operation(item, globalIndex)
|
375
|
-
return { success: true, result, item }
|
376
|
-
} catch (error) {
|
377
|
-
const enhancedError = error instanceof Error ? error : new Error(String(error))
|
378
|
-
Object.assign(enhancedError, { item })
|
379
|
-
return { success: false, error: enhancedError as Error & { item: T }, item }
|
380
|
-
}
|
381
|
-
})
|
382
|
-
|
383
|
-
currentIndex += chunkItems.length
|
384
|
-
|
385
|
-
const chunkResults = await Promise.allSettled(promises)
|
386
|
-
|
387
|
-
for (const promiseResult of chunkResults) {
|
388
|
-
if (promiseResult.status === `fulfilled`) {
|
389
|
-
const { success, result, error, item } = promiseResult.value
|
390
|
-
if (success) {
|
391
|
-
results.push(result!)
|
392
|
-
} else {
|
393
|
-
errors.push(error!)
|
394
|
-
if (failFast) {
|
395
|
-
return { results, errors, success: false }
|
396
|
-
}
|
397
|
-
}
|
398
|
-
} else {
|
399
|
-
// This shouldn't happen since we're catching errors above
|
400
|
-
// But handle it just in case
|
401
|
-
const error = new Error(`Unexpected promise rejection`) as Error & { item: any }
|
402
|
-
errors.push(error)
|
403
|
-
if (failFast) {
|
404
|
-
return { results, errors, success: false }
|
405
|
-
}
|
406
|
-
}
|
407
|
-
}
|
408
|
-
}
|
409
|
-
|
410
|
-
return { results, errors, success: errors.length === 0 }
|
411
|
-
}
|
412
|
-
|
413
|
-
// /**
|
414
|
-
// * Reduce an array asynchronously, processing each item in sequence
|
415
|
-
// *
|
416
|
-
// * @param items - Array of items to process
|
417
|
-
// * @param reducer - Async function that takes accumulator and current item
|
418
|
-
// * @param initial - Initial value for the accumulator
|
419
|
-
// * @returns Final accumulated value
|
420
|
-
// *
|
421
|
-
// * @example
|
422
|
-
// * ```ts
|
423
|
-
// * const numbers = [1, 2, 3, 4]
|
424
|
-
// * const sum = await asyncReduce(numbers, async (acc, n) => acc + n, 0)
|
425
|
-
// * // sum: 10
|
426
|
-
// *
|
427
|
-
// * const transforms = [addHeader, addFooter, minify]
|
428
|
-
// * const html = await asyncReduce(transforms, async (html, transform) => transform(html), initialHtml)
|
429
|
-
// * ```
|
430
|
-
// */
|
431
|
-
// export const asyncReduce = async <T, R>(
|
432
|
-
// items: readonly T[],
|
433
|
-
// reducer: (accumulator: R, current: T, index: number) => Promise<R> | R,
|
434
|
-
// initial: R,
|
435
|
-
// ): Promise<R> => {
|
436
|
-
// let result = initial
|
437
|
-
// for (let i = 0; i < items.length; i++) {
|
438
|
-
// const item = items[i]!
|
439
|
-
// result = await reducer(result, item, i)
|
440
|
-
// }
|
441
|
-
// return result
|
442
|
-
// }
|
443
|
-
|
444
|
-
// /**
|
445
|
-
// * Curried version of asyncReduce for functions that transform a value
|
446
|
-
// *
|
447
|
-
// * @param transformers - Array of transformer functions
|
448
|
-
// * @returns A function that takes an initial value and applies all transformers
|
449
|
-
// *
|
450
|
-
// * @example
|
451
|
-
// * ```ts
|
452
|
-
// * const transformers = [addHeader, addFooter, minify]
|
453
|
-
// * const applyTransforms = asyncReduceWith(transformers)
|
454
|
-
// * const finalHtml = await applyTransforms(initialHtml)
|
455
|
-
// *
|
456
|
-
// * // For simple pipelines where each function transforms the same type
|
457
|
-
// * const htmlPipeline = asyncReduceWith([
|
458
|
-
// * (html) => html.replace('foo', 'bar'),
|
459
|
-
// * async (html) => await prettify(html),
|
460
|
-
// * (html) => html.trim()
|
461
|
-
// * ])
|
462
|
-
// * ```
|
463
|
-
// */
|
464
|
-
// export const asyncReduceWith = <T>(
|
465
|
-
// transformers: readonly ((value: T) => Promise<T> | T)[],
|
466
|
-
// ) => {
|
467
|
-
// return async (initial: T): Promise<T> => {
|
468
|
-
// return asyncReduce(transformers, (value, transform) => transform(value), initial)
|
469
|
-
// }
|
470
|
-
// }
|
471
|
-
|
472
|
-
/**
|
473
|
-
* Reduce an array asynchronously with context, processing each item in sequence
|
474
|
-
*
|
475
|
-
* @param items - Array of items to process
|
476
|
-
* @param reducer - Async function that takes accumulator, current item, and context
|
477
|
-
* @param initial - Initial value for the accumulator
|
478
|
-
* @param context - Context object passed to each reducer call
|
479
|
-
* @returns Final accumulated value
|
480
|
-
*
|
481
|
-
* @example
|
482
|
-
* ```ts
|
483
|
-
* const transformers = [transformer1, transformer2]
|
484
|
-
* const ctx = { request: req, response: res }
|
485
|
-
* const result = await asyncReduceWithContext(
|
486
|
-
* transformers,
|
487
|
-
* async (html, transformer) => transformer(html, ctx),
|
488
|
-
* initialHtml,
|
489
|
-
* ctx
|
490
|
-
* )
|
491
|
-
* ```
|
492
|
-
*/
|
493
|
-
export const asyncReduce = async <T, R, C>(
|
494
|
-
items: readonly T[],
|
495
|
-
reducer: (accumulator: R, current: T, context: C, index: number) => Promise<R> | R,
|
496
|
-
initial: R,
|
497
|
-
context: C,
|
498
|
-
): Promise<R> => {
|
499
|
-
let result = initial
|
500
|
-
for (let i = 0; i < items.length; i++) {
|
501
|
-
const item = items[i]!
|
502
|
-
result = await reducer(result, item, context, i)
|
503
|
-
}
|
504
|
-
return result
|
505
|
-
}
|
506
|
-
|
507
|
-
/**
|
508
|
-
* Curried version of asyncReduceWithContext for functions that transform a value with context
|
509
|
-
*
|
510
|
-
* @param transformers - Array of transformer functions that take value and context
|
511
|
-
* @returns A function that takes an initial value and context, and applies all transformers
|
512
|
-
*
|
513
|
-
* @example
|
514
|
-
* ```ts
|
515
|
-
* const transformers = [
|
516
|
-
* (html, ctx) => html.replace('{{url}}', ctx.req.url),
|
517
|
-
* async (html, ctx) => await ctx.minify(html),
|
518
|
-
* ]
|
519
|
-
* const applyTransforms = asyncReduceWithContextWith(transformers)
|
520
|
-
* const finalHtml = await applyTransforms(initialHtml, ctx)
|
521
|
-
* ```
|
522
|
-
*/
|
523
|
-
export const asyncReduceWith = <T, C>(
|
524
|
-
transformers: readonly ((value: T, context: C) => Promise<T> | T)[],
|
525
|
-
context: C,
|
526
|
-
) => {
|
527
|
-
return async (initial: T): Promise<T> => {
|
528
|
-
return asyncReduce(
|
529
|
-
transformers,
|
530
|
-
(value, transform, ctx) => transform(value, ctx),
|
531
|
-
initial,
|
532
|
-
context,
|
533
|
-
)
|
534
|
-
}
|
535
|
-
}
|
536
|
-
|
537
|
-
/**
|
538
|
-
* Create a branded type that provides nominal typing in TypeScript.
|
539
|
-
*
|
540
|
-
* Branded types allow you to create distinct types from primitives or other types,
|
541
|
-
* preventing accidental mixing of values that are structurally identical but
|
542
|
-
* semantically different.
|
543
|
-
*
|
544
|
-
* @template $BaseType - The underlying type to brand (e.g., string, number)
|
545
|
-
* @template $BrandName - A unique string literal to distinguish this brand
|
546
|
-
*
|
547
|
-
* @example
|
548
|
-
* ```ts
|
549
|
-
* // Create distinct ID types that can't be mixed
|
550
|
-
* type UserId = Brand<string, 'UserId'>
|
551
|
-
* type PostId = Brand<string, 'PostId'>
|
552
|
-
*
|
553
|
-
* function getUser(id: UserId) { ... }
|
554
|
-
*
|
555
|
-
* const userId = 'u123' as UserId
|
556
|
-
* const postId = 'p456' as PostId
|
557
|
-
*
|
558
|
-
* getUser(userId) // ✓ OK
|
559
|
-
* getUser(postId) // ✗ Type error - can't use PostId where UserId expected
|
560
|
-
* ```
|
561
|
-
*
|
562
|
-
* @example
|
563
|
-
* ```ts
|
564
|
-
* // Brand primitive types for domain modeling
|
565
|
-
* type Email = Brand<string, 'Email'>
|
566
|
-
* type Url = Brand<string, 'Url'>
|
567
|
-
* type PositiveNumber = Brand<number, 'PositiveNumber'>
|
568
|
-
* ```
|
569
|
-
*/
|
570
|
-
export type Brand<$BaseType, $BrandName extends string> =
|
571
|
-
& $BaseType
|
572
|
-
& {
|
573
|
-
readonly __brand: $BrandName
|
574
|
-
}
|
575
|
-
|
576
|
-
/**
|
577
|
-
* Helper function to create a branded value.
|
578
|
-
*
|
579
|
-
* This is a simple type assertion helper. For runtime validation,
|
580
|
-
* combine with validation functions or schemas.
|
581
|
-
*
|
582
|
-
* @template $BaseType - The underlying type to brand
|
583
|
-
* @template $BrandName - The brand name to apply
|
584
|
-
* @param value - The value to brand
|
585
|
-
* @returns The value with the brand type applied
|
586
|
-
*
|
587
|
-
* @example
|
588
|
-
* ```ts
|
589
|
-
* type UserId = Brand<string, 'UserId'>
|
590
|
-
*
|
591
|
-
* // Simple branding (no runtime validation)
|
592
|
-
* const id = brand<string, 'UserId'>('u123')
|
593
|
-
*
|
594
|
-
* // With validation (recommended)
|
595
|
-
* function createUserId(value: string): UserId {
|
596
|
-
* if (!value.startsWith('u')) {
|
597
|
-
* throw new Error('User IDs must start with "u"')
|
598
|
-
* }
|
599
|
-
* return brand<string, 'UserId'>(value)
|
600
|
-
* }
|
601
|
-
* ```
|
602
|
-
*/
|
603
|
-
export const brand = <$BaseType, $BrandName extends string>(
|
604
|
-
value: $BaseType,
|
605
|
-
): Brand<$BaseType, $BrandName> => {
|
606
|
-
return value as Brand<$BaseType, $BrandName>
|
607
|
-
}
|
608
|
-
|
609
|
-
/**
|
610
|
-
* Shallow merge objects while omitting undefined values.
|
611
|
-
*
|
612
|
-
* This utility simplifies the common pattern of conditionally spreading objects
|
613
|
-
* to avoid including undefined values that would override existing values.
|
614
|
-
*
|
615
|
-
* @param objects - Objects to merge (later objects override earlier ones). Undefined objects are ignored.
|
616
|
-
* @returns Merged object with undefined values omitted
|
617
|
-
*
|
618
|
-
* @example
|
619
|
-
* ```ts
|
620
|
-
* // Instead of:
|
621
|
-
* const overrides = {
|
622
|
-
* ...(value1 ? { key1: value1 } : {}),
|
623
|
-
* ...(value2 ? { key2: value2 } : {}),
|
624
|
-
* }
|
625
|
-
*
|
626
|
-
* // Use:
|
627
|
-
* const overrides = mergeShallow({
|
628
|
-
* key1: value1,
|
629
|
-
* key2: value2,
|
630
|
-
* })
|
631
|
-
*
|
632
|
-
* // Example with config merging:
|
633
|
-
* const config = mergeShallow(
|
634
|
-
* defaultConfig,
|
635
|
-
* userConfig,
|
636
|
-
* { debug: args.debug, base: args.base }
|
637
|
-
* )
|
638
|
-
* // undefined values in the last object won't override earlier values
|
639
|
-
* ```
|
640
|
-
*/
|
641
|
-
export const spreadShallow = <T extends object>(...objects: (T | undefined)[]): T => {
|
642
|
-
const result = {} as T
|
643
|
-
|
644
|
-
for (const obj of objects) {
|
645
|
-
if (obj === undefined) continue
|
646
|
-
|
647
|
-
for (const key in obj) {
|
648
|
-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
649
|
-
const value = obj[key]
|
650
|
-
if (value !== undefined) {
|
651
|
-
result[key] = value
|
652
|
-
}
|
653
|
-
}
|
654
|
-
}
|
655
|
-
}
|
656
|
-
|
657
|
-
return result
|
658
|
-
}
|
659
|
-
|
660
|
-
// Utility type for non-empty arrays
|
661
|
-
export type NonEmptyArray<T> = [T, ...T[]]
|
@@ -1,40 +0,0 @@
|
|
1
|
-
import type { Fn } from '@wollybeard/kit'
|
2
|
-
import { useLoaderData as useLoaderDataRR, useRouteLoaderData as useRouteLoaderDataRR } from 'react-router'
|
3
|
-
import { superjson } from '../../singletons/superjson.js'
|
4
|
-
|
5
|
-
type Loader = Fn.AnyAny
|
6
|
-
|
7
|
-
export const createLoader = <loader extends Loader>(loader: loader): loader => {
|
8
|
-
// @ts-expect-error
|
9
|
-
return async (...args: any[]) => {
|
10
|
-
const data = await loader(...args)
|
11
|
-
const serialized: Serialized = {
|
12
|
-
superjsonData: superjson.stringify(data),
|
13
|
-
}
|
14
|
-
return serialized
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
interface Serialized {
|
19
|
-
superjsonData: string
|
20
|
-
}
|
21
|
-
|
22
|
-
export const useLoaderData = <loader extends Loader>(routeTarget?: string): Awaited<
|
23
|
-
ReturnType<loader>
|
24
|
-
> => {
|
25
|
-
const loaderData = (
|
26
|
-
routeTarget
|
27
|
-
? useRouteLoaderDataRR(routeTarget)
|
28
|
-
: useLoaderDataRR()
|
29
|
-
) as Serialized
|
30
|
-
|
31
|
-
if (loaderData === undefined) {
|
32
|
-
throw new Error(`No loader data returned from route ${routeTarget ?? `<direct>`}`)
|
33
|
-
}
|
34
|
-
|
35
|
-
const { superjsonData } = loaderData
|
36
|
-
|
37
|
-
const data = superjson.parse(superjsonData)
|
38
|
-
|
39
|
-
return data as any
|
40
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * as ReactRouterLoader from './$$.js'
|