polen 0.11.0-next.2 → 0.11.0-next.20
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/README.md +1 -1
- 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 +90 -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/$$.d.ts +2 -0
- package/build/api/cache/$$.d.ts.map +1 -0
- package/build/api/cache/$$.js +2 -0
- package/build/api/cache/$$.js.map +1 -0
- package/build/api/cache/$.d.ts +2 -0
- package/build/api/cache/$.d.ts.map +1 -0
- package/build/api/cache/$.js +2 -0
- package/build/api/cache/$.js.map +1 -0
- package/build/api/cache/cache.d.ts +41 -0
- package/build/api/cache/cache.d.ts.map +1 -0
- package/build/api/cache/cache.js +157 -0
- package/build/api/cache/cache.js.map +1 -0
- 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 +2029 -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 +3631 -0
- package/build/api/config/normalized.d.ts.map +1 -0
- package/build/api/config/normalized.js +775 -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.d.ts +1 -0
- package/build/api/content/navbar.d.ts.map +1 -1
- package/build/api/content/navbar.js +1 -0
- package/build/api/content/navbar.js.map +1 -1
- package/build/api/content/page.d.ts +1 -1
- package/build/api/content/page.d.ts.map +1 -1
- package/build/api/content/scan.d.ts +4 -2
- package/build/api/content/scan.d.ts.map +1 -1
- package/build/api/content/scan.js +16 -12
- package/build/api/content/scan.js.map +1 -1
- package/build/api/content/sidebar.d.ts +1 -1
- package/build/api/content/sidebar.d.ts.map +1 -1
- package/build/api/content/sidebar.js +4 -3
- package/build/api/content/sidebar.js.map +1 -1
- package/build/api/errors.d.ts +278 -0
- package/build/api/errors.d.ts.map +1 -0
- package/build/api/errors.js +153 -0
- package/build/api/errors.js.map +1 -0
- 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 +1072 -0
- package/build/api/examples/config.d.ts.map +1 -0
- package/build/api/examples/config.js +191 -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 +52 -0
- package/build/api/examples/diagnostic/missing-versions.d.ts.map +1 -0
- package/build/api/examples/diagnostic/missing-versions.js +21 -0
- package/build/api/examples/diagnostic/missing-versions.js.map +1 -0
- package/build/api/examples/diagnostic/unknown-version.d.ts +52 -0
- package/build/api/examples/diagnostic/unknown-version.d.ts.map +1 -0
- package/build/api/examples/diagnostic/unknown-version.js +21 -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 +64 -0
- package/build/api/examples/diagnostic/validation-error.d.ts.map +1 -0
- package/build/api/examples/diagnostic/validation-error.js +27 -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 +162 -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 +67 -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 +254 -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 +206 -0
- package/build/api/examples/type-usage-indexer.js.map +1 -0
- package/build/api/hooks/helpers.d.ts +5 -0
- package/build/api/hooks/helpers.d.ts.map +1 -0
- package/build/api/hooks/helpers.js +4 -0
- package/build/api/hooks/helpers.js.map +1 -0
- package/build/api/hooks/index.d.ts +3 -0
- package/build/api/hooks/index.d.ts.map +1 -0
- package/build/api/hooks/index.js +3 -0
- package/build/api/hooks/index.js.map +1 -0
- package/build/api/hooks/types.d.ts +11 -0
- package/build/api/hooks/types.d.ts.map +1 -0
- package/build/api/hooks/types.js +2 -0
- package/build/api/hooks/types.js.map +1 -0
- package/build/api/iso/$$.d.ts +2 -0
- package/build/api/iso/$$.d.ts.map +1 -0
- package/build/api/iso/$$.js +2 -0
- package/build/api/iso/$$.js.map +1 -0
- package/build/api/iso/$.d.ts +2 -0
- package/build/api/iso/$.d.ts.map +1 -0
- package/build/api/iso/$.js +2 -0
- package/build/api/iso/$.js.map +1 -0
- package/build/api/iso/schema/$$.d.ts +4 -0
- package/build/api/iso/schema/$$.d.ts.map +1 -0
- package/build/api/iso/schema/$$.js +4 -0
- package/build/api/iso/schema/$$.js.map +1 -0
- package/build/api/iso/schema/$.d.ts +2 -0
- package/build/api/iso/schema/$.d.ts.map +1 -0
- package/build/api/iso/schema/$.js +2 -0
- package/build/api/iso/schema/$.js.map +1 -0
- package/build/api/iso/schema/constants.d.ts +26 -0
- package/build/api/iso/schema/constants.d.ts.map +1 -0
- package/build/api/iso/schema/constants.js +43 -0
- package/build/api/iso/schema/constants.js.map +1 -0
- package/build/api/iso/schema/routing.d.ts +66 -0
- package/build/api/iso/schema/routing.d.ts.map +1 -0
- package/build/api/iso/schema/routing.js +114 -0
- package/build/api/iso/schema/routing.js.map +1 -0
- package/build/api/iso/schema/validation.d.ts +32 -0
- package/build/api/iso/schema/validation.d.ts.map +1 -0
- package/build/api/iso/schema/validation.js +102 -0
- package/build/api/iso/schema/validation.js.map +1 -0
- package/build/api/iso.d.ts +2 -0
- package/build/api/iso.d.ts.map +1 -0
- package/build/api/iso.js +2 -0
- package/build/api/iso.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/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 +4 -0
- package/build/api/schema/input-source/$$.d.ts.map +1 -0
- package/build/api/schema/input-source/$$.js +4 -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/errors.d.ts +36 -0
- package/build/api/schema/input-source/errors.d.ts.map +1 -0
- package/build/api/schema/input-source/errors.js +17 -0
- package/build/api/schema/input-source/errors.js.map +1 -0
- package/build/api/schema/input-source/input-source.d.ts +33 -0
- package/build/api/schema/input-source/input-source.d.ts.map +1 -0
- package/build/api/schema/input-source/input-source.js +29 -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 +161 -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 +73 -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 +112 -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 +151 -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 +145 -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 +370 -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 +7 -0
- package/build/cli/commands/cache/delete.d.ts.map +1 -0
- package/build/cli/commands/cache/delete.js +15 -0
- package/build/cli/commands/cache/delete.js.map +1 -0
- package/build/cli/commands/cache/show.d.ts +6 -0
- package/build/cli/commands/cache/show.d.ts.map +1 -0
- package/build/cli/commands/cache/show.js +80 -0
- package/build/cli/commands/cache/show.js.map +1 -0
- package/build/cli/commands/cache.d.ts +11 -0
- package/build/cli/commands/cache.d.ts.map +1 -0
- package/build/cli/commands/cache.js +18 -0
- package/build/cli/commands/cache.js.map +1 -0
- 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 -4
- 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 +7 -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 +97 -107
- 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 -4
- 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 +3 -3
- package/build/exports/polen.d.ts.map +1 -1
- package/build/exports/polen.js +3 -3
- package/build/exports/polen.js.map +1 -1
- package/build/exports/radix-ui/react-icons.d.ts +2 -0
- package/build/exports/radix-ui/react-icons.d.ts.map +1 -0
- package/build/exports/radix-ui/react-icons.js +4 -0
- package/build/exports/radix-ui/react-icons.js.map +1 -0
- package/build/exports/radix-ui/themes.d.ts +2 -0
- package/build/exports/radix-ui/themes.d.ts.map +1 -0
- package/build/exports/radix-ui/themes.js +4 -0
- package/build/exports/radix-ui/themes.js.map +1 -0
- 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/apple-touch-icon/$.d.ts +2 -0
- package/build/lib/apple-touch-icon/$.d.ts.map +1 -0
- package/build/lib/apple-touch-icon/$.js +2 -0
- package/build/lib/apple-touch-icon/$.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 +19601 -0
- package/build/lib/catalog/catalog.d.ts.map +1 -0
- package/build/lib/catalog/catalog.js +135 -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 +10662 -0
- package/build/lib/catalog/versioned.d.ts.map +1 -0
- package/build/lib/catalog/versioned.js +93 -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 +109 -0
- package/build/lib/document/document.d.ts.map +1 -0
- package/build/lib/document/document.js +117 -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/errors/$$.d.ts +5 -0
- package/build/lib/errors/$$.d.ts.map +1 -0
- package/build/lib/errors/$$.js +5 -0
- package/build/lib/errors/$$.js.map +1 -0
- package/build/lib/errors/$.d.ts +2 -0
- package/build/lib/errors/$.d.ts.map +1 -0
- package/build/lib/errors/$.js +2 -0
- package/build/lib/errors/$.js.map +1 -0
- package/build/lib/extensible-data/$.d.ts +2 -0
- package/build/lib/extensible-data/$.d.ts.map +1 -0
- package/build/lib/extensible-data/$.js +2 -0
- package/build/lib/extensible-data/$.js.map +1 -0
- package/build/lib/favicon/$.d.ts +2 -0
- package/build/lib/favicon/$.d.ts.map +1 -0
- package/build/lib/favicon/$.js +2 -0
- package/build/lib/favicon/$.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/$$.d.ts +4 -0
- package/build/lib/file-router/$$.d.ts.map +1 -0
- package/build/lib/file-router/$$.js +4 -0
- package/build/lib/file-router/$$.js.map +1 -0
- package/build/lib/file-router/$.d.ts +2 -0
- package/build/lib/file-router/$.d.ts.map +1 -0
- package/build/lib/file-router/$.js +2 -0
- package/build/lib/file-router/$.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/$$.d.ts +5 -0
- package/build/lib/grafaid/$$.d.ts.map +1 -0
- package/build/lib/grafaid/$$.js +5 -0
- package/build/lib/grafaid/$$.js.map +1 -0
- package/build/lib/grafaid/$.d.ts +2 -0
- package/build/lib/grafaid/$.d.ts.map +1 -0
- package/build/lib/grafaid/$.js +2 -0
- package/build/lib/grafaid/$.js.map +1 -0
- 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/schema/type.d.ts.map +1 -1
- package/build/lib/grafaid/schema/type.js.map +1 -1
- package/build/lib/grafaid-old/$.d.ts +2 -0
- package/build/lib/grafaid-old/$.d.ts.map +1 -0
- package/build/lib/grafaid-old/$.js +2 -0
- package/build/lib/grafaid-old/$.js.map +1 -0
- package/build/lib/grafaid-old/grafaid.d.ts +2 -2
- package/build/lib/grafaid-old/grafaid.d.ts.map +1 -1
- 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-path/$$.d.ts +42 -0
- package/build/lib/graphql-path/$$.d.ts.map +1 -0
- package/build/lib/graphql-path/$$.js +42 -0
- package/build/lib/graphql-path/$$.js.map +1 -0
- package/build/lib/graphql-path/$.d.ts +5 -0
- package/build/lib/graphql-path/$.d.ts.map +1 -0
- package/build/lib/graphql-path/$.js +5 -0
- package/build/lib/graphql-path/$.js.map +1 -0
- package/build/lib/graphql-path/constructors.d.ts +57 -0
- package/build/lib/graphql-path/constructors.d.ts.map +1 -0
- package/build/lib/graphql-path/constructors.js +73 -0
- package/build/lib/graphql-path/constructors.js.map +1 -0
- package/build/lib/graphql-path/definition.d.ts +152 -0
- package/build/lib/graphql-path/definition.d.ts.map +1 -0
- package/build/lib/graphql-path/definition.js +192 -0
- package/build/lib/graphql-path/definition.js.map +1 -0
- package/build/lib/graphql-path/query.d.ts +75 -0
- package/build/lib/graphql-path/query.d.ts.map +1 -0
- package/build/lib/graphql-path/query.js +111 -0
- package/build/lib/graphql-path/query.js.map +1 -0
- package/build/lib/graphql-path/types.d.ts +50 -0
- package/build/lib/graphql-path/types.d.ts.map +1 -0
- package/build/lib/graphql-path/types.js +5 -0
- package/build/lib/graphql-path/types.js.map +1 -0
- package/build/lib/graphql-schema-loader/$.d.ts +2 -0
- package/build/lib/graphql-schema-loader/$.d.ts.map +1 -0
- package/build/lib/graphql-schema-loader/$.js +2 -0
- package/build/lib/graphql-schema-loader/$.js.map +1 -0
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts +5 -3
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js +30 -29
- 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/hono-aid/$.d.ts +2 -0
- package/build/lib/hono-aid/$.d.ts.map +1 -0
- package/build/lib/hono-aid/$.js +2 -0
- package/build/lib/hono-aid/$.js.map +1 -0
- package/build/lib/html-utils/$$.d.ts +3 -0
- package/build/lib/html-utils/$$.d.ts.map +1 -0
- package/build/lib/html-utils/$$.js +3 -0
- package/build/lib/html-utils/$$.js.map +1 -0
- package/build/lib/html-utils/$.d.ts +2 -0
- package/build/lib/html-utils/$.d.ts.map +1 -0
- package/build/lib/html-utils/$.js +2 -0
- package/build/lib/html-utils/$.js.map +1 -0
- 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 +92 -0
- package/build/lib/lifecycles/lifecycles.d.ts.map +1 -0
- package/build/lib/lifecycles/lifecycles.js +395 -0
- package/build/lib/lifecycles/lifecycles.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/$.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-aid/$$.d.ts +19 -0
- package/build/lib/react-router-aid/$$.d.ts.map +1 -0
- package/build/lib/react-router-aid/$$.js +18 -0
- package/build/lib/react-router-aid/$$.js.map +1 -0
- package/build/lib/react-router-aid/$.d.ts +2 -0
- package/build/lib/react-router-aid/$.d.ts.map +1 -0
- package/build/lib/react-router-aid/$.js +2 -0
- package/build/lib/react-router-aid/$.js.map +1 -0
- 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/$.d.ts +2 -0
- package/build/lib/stack-processor/$.d.ts.map +1 -0
- package/build/lib/stack-processor/$.js +2 -0
- package/build/lib/stack-processor/$.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/theme/$$.d.ts +2 -0
- package/build/lib/theme/$$.d.ts.map +1 -0
- package/build/lib/theme/$$.js +2 -0
- package/build/lib/theme/$$.js.map +1 -0
- package/build/lib/theme/$.d.ts +1 -1
- package/build/lib/theme/$.d.ts.map +1 -1
- package/build/lib/theme/$.js +1 -1
- package/build/lib/theme/$.js.map +1 -1
- 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-coverage/$$.d.ts +2 -0
- package/build/lib/version-coverage/$$.d.ts.map +1 -0
- package/build/lib/version-coverage/$$.js +2 -0
- package/build/lib/version-coverage/$$.js.map +1 -0
- package/build/lib/version-coverage/$.d.ts +2 -0
- package/build/lib/version-coverage/$.d.ts.map +1 -0
- package/build/lib/version-coverage/$.js +2 -0
- package/build/lib/version-coverage/$.js.map +1 -0
- package/build/lib/version-coverage/version-coverage.d.ts +42 -0
- package/build/lib/version-coverage/version-coverage.d.ts.map +1 -0
- package/build/lib/version-coverage/version-coverage.js +86 -0
- package/build/lib/version-coverage/version-coverage.js.map +1 -0
- package/build/lib/vite-plugin-config/$$.d.ts +3 -0
- package/build/lib/vite-plugin-config/$$.d.ts.map +1 -0
- package/build/lib/vite-plugin-config/$$.js +10 -0
- package/build/lib/vite-plugin-config/$$.js.map +1 -0
- package/build/lib/vite-plugin-config/$.d.ts +2 -0
- package/build/lib/vite-plugin-config/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-config/$.js +2 -0
- package/build/lib/vite-plugin-config/$.js.map +1 -0
- package/build/lib/vite-plugin-json/$.d.ts +2 -0
- package/build/lib/vite-plugin-json/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-json/$.js +2 -0
- package/build/lib/vite-plugin-json/$.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/$.d.ts +2 -0
- package/build/lib/vite-plugin-mdx/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-mdx/$.js +2 -0
- package/build/lib/vite-plugin-mdx/$.js.map +1 -0
- 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/$.d.ts +2 -0
- package/build/lib/vite-plugin-reactive-data/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-reactive-data/$.js +2 -0
- package/build/lib/vite-plugin-reactive-data/$.js.map +1 -0
- package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +2 -2
- package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts.map +1 -1
- package/build/lib/vite-plugins/$$.d.ts +2 -0
- package/build/lib/vite-plugins/$$.d.ts.map +1 -0
- package/build/lib/vite-plugins/$$.js +2 -0
- package/build/lib/vite-plugins/$$.js.map +1 -0
- package/build/lib/vite-plugins/$.d.ts +5 -0
- package/build/lib/vite-plugins/$.d.ts.map +1 -0
- package/build/lib/vite-plugins/$.js +5 -0
- package/build/lib/vite-plugins/$.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/$.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/lib/vite-virtual/$$.d.ts +4 -0
- package/build/lib/vite-virtual/$$.d.ts.map +1 -0
- package/build/lib/vite-virtual/$$.js +4 -0
- package/build/lib/vite-virtual/$$.js.map +1 -0
- package/build/lib/vite-virtual/$.d.ts +2 -0
- package/build/lib/vite-virtual/$.d.ts.map +1 -0
- package/build/lib/vite-virtual/$.js +2 -0
- package/build/lib/vite-virtual/$.js.map +1 -0
- package/build/lib/vite-virtual/identified-loader.js +1 -1
- package/build/lib/vite-virtual/identified-loader.js.map +1 -1
- package/build/template/components/ArgumentList.d.ts +3 -4
- package/build/template/components/ArgumentList.d.ts.map +1 -1
- package/build/template/components/ArgumentList.js.map +1 -1
- package/build/template/components/ArgumentListAnnotation.js +1 -1
- package/build/template/components/ArgumentListAnnotation.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/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/DeprecationReason.d.ts +3 -3
- package/build/template/components/DeprecationReason.d.ts.map +1 -1
- package/build/template/components/DeprecationReason.js.map +1 -1
- package/build/template/components/Description.d.ts +3 -3
- package/build/template/components/Description.d.ts.map +1 -1
- package/build/template/components/Description.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 +5 -5
- package/build/template/components/Field.d.ts.map +1 -1
- package/build/template/components/Field.js +16 -4
- package/build/template/components/Field.js.map +1 -1
- package/build/template/components/FieldList.d.ts +2 -1
- package/build/template/components/FieldList.d.ts.map +1 -1
- package/build/template/components/FieldList.js +3 -3
- package/build/template/components/FieldList.js.map +1 -1
- package/build/template/components/FieldListSection.d.ts +3 -4
- package/build/template/components/FieldListSection.d.ts.map +1 -1
- package/build/template/components/FieldListSection.js +2 -2
- package/build/template/components/FieldListSection.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 +39 -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 +29 -1
- package/build/template/components/GraphQLInteractive/lib/parser.d.ts.map +1 -1
- package/build/template/components/GraphQLInteractive/lib/parser.js +92 -37
- package/build/template/components/GraphQLInteractive/lib/parser.js.map +1 -1
- package/build/template/components/HamburgerMenu.d.ts +13 -1
- package/build/template/components/HamburgerMenu.d.ts.map +1 -1
- package/build/template/components/HamburgerMenu.js +2 -2
- 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/MissingSchema.d.ts +2 -1
- package/build/template/components/MissingSchema.d.ts.map +1 -1
- package/build/template/components/MissingSchema.js.map +1 -1
- package/build/template/components/NamedType.d.ts.map +1 -1
- package/build/template/components/NamedType.js +21 -2
- package/build/template/components/NamedType.js.map +1 -1
- package/build/template/components/ReferenceLink.d.ts +9 -11
- package/build/template/components/ReferenceLink.d.ts.map +1 -1
- package/build/template/components/ReferenceLink.js +2 -4
- package/build/template/components/ReferenceLink.js.map +1 -1
- package/build/template/components/ReferenceVersionPicker.d.ts +9 -0
- package/build/template/components/ReferenceVersionPicker.d.ts.map +1 -0
- package/build/template/components/ReferenceVersionPicker.js +79 -0
- package/build/template/components/ReferenceVersionPicker.js.map +1 -0
- package/build/template/components/SinceBadge.d.ts +6 -0
- package/build/template/components/SinceBadge.d.ts.map +1 -0
- package/build/template/components/SinceBadge.js +14 -0
- package/build/template/components/SinceBadge.js.map +1 -0
- package/build/template/components/ToastContainer.d.ts +3 -0
- package/build/template/components/ToastContainer.d.ts.map +1 -0
- package/build/template/components/ToastContainer.js +44 -0
- package/build/template/components/ToastContainer.js.map +1 -0
- package/build/template/components/ToastItem.d.ts +7 -0
- package/build/template/components/ToastItem.d.ts.map +1 -0
- package/build/template/components/ToastItem.js +48 -0
- package/build/template/components/ToastItem.js.map +1 -0
- package/build/template/components/TypeAnnotation.d.ts +4 -5
- 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/TypeIndex.js +1 -1
- package/build/template/components/TypeIndex.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 +26 -0
- package/build/template/components/VersionCoveragePicker.js.map +1 -0
- package/build/template/components/VersionPicker.d.ts +14 -0
- package/build/template/components/VersionPicker.d.ts.map +1 -0
- package/build/template/components/VersionPicker.js +15 -0
- package/build/template/components/VersionPicker.js.map +1 -0
- package/build/template/components/graphql/type-kind-icon.d.ts +1 -1
- package/build/template/components/graphql/type-kind-icon.d.ts.map +1 -1
- package/build/template/components/graphql/type-link.d.ts +1 -1
- package/build/template/components/graphql/type-link.d.ts.map +1 -1
- package/build/template/components/graphql/type-link.js +1 -1
- package/build/template/components/graphql/type-link.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 +78 -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 +61 -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 +4 -0
- package/build/template/components/navbar/DefaultNavbar.d.ts.map +1 -0
- package/build/template/components/navbar/DefaultNavbar.js +9 -0
- package/build/template/components/navbar/DefaultNavbar.js.map +1 -0
- package/build/template/components/navbar/Item.d.ts +7 -0
- package/build/template/components/navbar/Item.d.ts.map +1 -0
- package/build/template/components/navbar/Item.js +6 -0
- package/build/template/components/navbar/Item.js.map +1 -0
- package/build/template/components/sidebar/Sidebar.d.ts +14 -3
- package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
- package/build/template/components/sidebar/Sidebar.js +7 -6
- package/build/template/components/sidebar/Sidebar.js.map +1 -1
- package/build/template/components/sidebar/SidebarContext.d.ts +6 -0
- package/build/template/components/sidebar/SidebarContext.d.ts.map +1 -0
- package/build/template/components/sidebar/SidebarContext.js +3 -0
- package/build/template/components/sidebar/SidebarContext.js.map +1 -0
- 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 +11 -4
- 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 +47 -0
- package/build/template/hooks/use-highlighted.js.map +1 -0
- package/build/template/hooks/useReferencePath.d.ts +9 -0
- package/build/template/hooks/useReferencePath.d.ts.map +1 -0
- package/build/template/hooks/useReferencePath.js +18 -0
- package/build/template/hooks/useReferencePath.js.map +1 -0
- package/build/template/hooks/useVersionPath.d.ts.map +1 -1
- package/build/template/hooks/useVersionPath.js +8 -1
- package/build/template/hooks/useVersionPath.js.map +1 -1
- package/build/template/layouts/SidebarLayout.d.ts +13 -3
- package/build/template/layouts/SidebarLayout.d.ts.map +1 -1
- package/build/template/layouts/SidebarLayout.js +5 -8
- 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/fetch-text.d.ts +18 -0
- package/build/template/lib/fetch-text.d.ts.map +1 -1
- package/build/template/lib/fetch-text.js +32 -4
- package/build/template/lib/fetch-text.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/ChangelogBody.d.ts +6 -0
- package/build/template/routes/changelog/ChangelogBody.d.ts.map +1 -0
- package/build/template/routes/changelog/ChangelogBody.js +61 -0
- package/build/template/routes/changelog/ChangelogBody.js.map +1 -0
- package/build/template/routes/changelog/ChangelogSidebar.d.ts +7 -0
- package/build/template/routes/changelog/ChangelogSidebar.d.ts.map +1 -0
- package/build/template/routes/changelog/ChangelogSidebar.js +46 -0
- package/build/template/routes/changelog/ChangelogSidebar.js.map +1 -0
- package/build/template/routes/changelog/ChangelogSidebarItem.d.ts +11 -0
- package/build/template/routes/changelog/ChangelogSidebarItem.d.ts.map +1 -0
- package/build/template/routes/changelog/ChangelogSidebarItem.js +35 -0
- package/build/template/routes/changelog/ChangelogSidebarItem.js.map +1 -0
- package/build/template/routes/changelog/_.d.ts +3264 -0
- package/build/template/routes/changelog/_.d.ts.map +1 -0
- package/build/template/routes/changelog/_.js +111 -0
- package/build/template/routes/changelog/_.js.map +1 -0
- package/build/template/routes/changelog/utils.d.ts +3 -0
- package/build/template/routes/changelog/utils.d.ts.map +1 -0
- package/build/template/routes/changelog/utils.js +11 -0
- package/build/template/routes/changelog/utils.js.map +1 -0
- 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 +52 -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 +25 -5
- 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 +6 -59
- package/build/template/routes/pages.js.map +1 -1
- package/build/template/routes/reference.d.ts +7 -18
- package/build/template/routes/reference.d.ts.map +1 -1
- package/build/template/routes/reference.js +161 -50
- package/build/template/routes/reference.js.map +1 -1
- package/build/template/routes/root.d.ts +3 -6
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +86 -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/middleware/unsupported-assets.js +2 -2
- package/build/template/server/middleware/unsupported-assets.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 +15 -0
- package/build/template/stores/$$.d.ts.map +1 -0
- package/build/template/stores/$$.js +7 -0
- package/build/template/stores/$$.js.map +1 -0
- package/build/template/stores/$.d.ts +2 -0
- package/build/template/stores/$.d.ts.map +1 -0
- package/build/template/stores/$.js +2 -0
- package/build/template/stores/$.js.map +1 -0
- 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 +35 -0
- package/build/template/stores/schema.d.ts.map +1 -0
- package/build/template/stores/schema.js +53 -0
- package/build/template/stores/schema.js.map +1 -0
- package/build/template/stores/toast.d.ts +150 -0
- package/build/template/stores/toast.d.ts.map +1 -0
- package/build/template/stores/toast.js +144 -0
- package/build/template/stores/toast.js.map +1 -0
- 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/template/utils/try-with-toast.d.ts +9 -0
- package/build/template/utils/try-with-toast.d.ts.map +1 -0
- package/build/template/utils/try-with-toast.js +37 -0
- package/build/template/utils/try-with-toast.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 +29 -0
- package/build/vite/plugins/schemas.d.ts.map +1 -0
- package/build/vite/plugins/schemas.js +115 -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 +3 -0
- package/build/vite/vi.d.ts.map +1 -0
- package/build/vite/vi.js +5 -0
- package/build/vite/vi.js.map +1 -0
- package/package.json +243 -33
- 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 +229 -0
- package/src/api/builder/ssg/page-generator.worker.ts +125 -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/$$.ts +1 -0
- package/src/api/cache/$.ts +1 -0
- package/src/api/cache/cache.ts +256 -0
- 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 +892 -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 +2 -0
- package/src/api/content/page.ts +1 -1
- package/src/api/content/scan.ts +92 -84
- package/src/api/content/sidebar.ts +5 -5
- package/src/api/errors.ts +227 -0
- 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 +102 -0
- package/src/api/examples/config.ts +271 -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 +24 -0
- package/src/api/examples/diagnostic/unknown-version.ts +24 -0
- package/src/api/examples/diagnostic/unused-default.ts +22 -0
- package/src/api/examples/diagnostic/validation-error.ts +30 -0
- package/src/api/examples/diagnostic/validator.test.ts +322 -0
- package/src/api/examples/diagnostic/validator.ts +221 -0
- package/src/api/examples/filter.test.ts +56 -0
- package/src/api/examples/filter.ts +85 -0
- package/src/api/examples/scanner.ts +365 -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 +276 -0
- package/src/api/examples/type-usage-indexer.ts +279 -0
- package/src/api/hooks/helpers.ts +5 -0
- package/src/api/hooks/index.ts +2 -0
- package/src/api/hooks/types.ts +8 -0
- package/src/api/iso/$$.ts +1 -0
- package/src/api/iso/$.ts +1 -0
- package/src/api/iso/schema/$$.ts +3 -0
- package/src/api/iso/schema/$.ts +1 -0
- package/src/api/iso/schema/constants.ts +50 -0
- package/src/api/iso/schema/routing.ts +161 -0
- package/src/api/iso/schema/validation.ts +137 -0
- package/src/api/iso.ts +1 -0
- 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 +3 -0
- package/src/api/schema/input-source/$.ts +1 -0
- package/src/api/schema/input-source/errors.ts +26 -0
- package/src/api/schema/input-source/input-source.ts +113 -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 +264 -0
- package/src/api/schema/input-sources/file.ts +126 -0
- package/src/api/schema/input-sources/introspection-file.ts +194 -0
- package/src/api/schema/input-sources/introspection.ts +253 -0
- package/src/api/schema/input-sources/memory.ts +257 -0
- package/src/api/schema/input-sources/versioned-directory.ts +538 -0
- package/src/api/schema/load.ts +187 -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 +21 -0
- package/src/cli/commands/cache/show.ts +99 -0
- package/src/cli/commands/cache.ts +27 -0
- package/src/cli/commands/config/create.ts +37 -30
- package/src/cli/commands/config.ts +23 -4
- 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 +143 -140
- package/src/cli/commands/static/rebase.ts +63 -33
- package/src/cli/commands/static.ts +37 -4
- 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 +3 -3
- package/src/exports/radix-ui/react-icons.ts +3 -0
- package/src/exports/radix-ui/themes.ts +3 -0
- 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 +183 -0
- package/src/lib/catalog/unversioned.ts +42 -0
- package/src/lib/catalog/versioned.ts +119 -0
- package/src/lib/catalog-statistics/$$.ts +4 -0
- package/src/lib/catalog-statistics/$.test.ts +161 -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 +170 -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/errors/$.ts +1 -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/$.ts +1 -0
- package/src/lib/file-router/index.test.ts +4 -3
- 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/$.ts +1 -0
- 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 +9 -1
- package/src/lib/grafaid/schema/type-class-name.ts +9 -9
- package/src/lib/grafaid/schema/type.ts +1 -0
- package/src/lib/grafaid-old/grafaid.ts +6 -6
- 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-path/$$.ts +42 -0
- package/src/lib/graphql-path/$.ts +4 -0
- package/src/lib/graphql-path/constructors.ts +81 -0
- package/src/lib/graphql-path/definition.ts +240 -0
- package/src/lib/graphql-path/query.ts +118 -0
- package/src/lib/graphql-path/types.ts +55 -0
- package/src/lib/graphql-schema-loader/graphql-schema-loader.ts +67 -52
- package/src/lib/helpers.ts +78 -14
- package/src/lib/html-utils/$$.ts +2 -0
- package/src/lib/html-utils/$.ts +1 -0
- 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 +526 -0
- 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/$.test.ts +4 -3
- package/src/lib/path-map/path-map.ts +15 -15
- package/src/lib/react-router-aid/$$.ts +46 -0
- package/src/lib/react-router-aid/$.ts +1 -0
- 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/$$.ts +1 -0
- package/src/lib/theme/$.ts +1 -1
- 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-coverage/$$.ts +1 -0
- package/src/lib/version-coverage/$.ts +1 -0
- package/src/lib/version-coverage/version-coverage.ts +117 -0
- package/src/lib/vite-plugin-config/$.ts +1 -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 +2 -2
- package/src/lib/vite-plugins/$.ts +4 -0
- 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/lib/vite-virtual/$.ts +1 -0
- package/src/lib/vite-virtual/identified-loader.ts +1 -1
- package/src/template/components/ArgumentList.tsx +2 -6
- package/src/template/components/ArgumentListAnnotation.tsx +1 -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/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/DeprecationReason.tsx +3 -3
- package/src/template/components/Description.tsx +3 -3
- package/src/template/components/DevelopmentTip.tsx +43 -0
- package/src/template/components/ExampleLink.tsx +25 -0
- package/src/template/components/Field.tsx +31 -8
- package/src/template/components/FieldList.tsx +4 -2
- package/src/template/components/FieldListSection.tsx +4 -8
- package/src/template/components/GraphQLDocument.tsx +88 -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 +114 -46
- 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 +23 -2
- package/src/template/components/Link.tsx +1 -1
- package/src/template/components/Logo.tsx +35 -15
- package/src/template/components/MissingSchema.tsx +3 -1
- package/src/template/components/NamedType.tsx +48 -2
- package/src/template/components/ReferenceLink.tsx +16 -15
- package/src/template/components/ReferenceVersionPicker.tsx +107 -0
- package/src/template/components/SinceBadge.tsx +35 -0
- package/src/template/components/ToastContainer.tsx +67 -0
- package/src/template/components/ToastItem.tsx +119 -0
- package/src/template/components/TypeAnnotation.tsx +10 -32
- package/src/template/components/TypeIndex.tsx +1 -1
- package/src/template/components/VersionCoveragePicker.tsx +56 -0
- package/src/template/components/VersionPicker.tsx +42 -0
- package/src/template/components/graphql/type-kind-icon.tsx +1 -1
- package/src/template/components/graphql/type-kind-tokens.ts +1 -1
- package/src/template/components/graphql/type-link.tsx +1 -1
- 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 +141 -0
- package/src/template/components/home/RecentChanges.tsx +154 -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 +33 -0
- package/src/template/components/navbar/Item.tsx +11 -0
- package/src/template/components/sidebar/Sidebar.tsx +40 -17
- package/src/template/components/sidebar/SidebarContext.tsx +7 -0
- package/src/template/components/sidebar/SidebarItem.tsx +29 -10
- 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 +69 -0
- package/src/template/hooks/useReferencePath.ts +20 -0
- package/src/template/hooks/useVersionPath.ts +8 -1
- package/src/template/layouts/SidebarLayout.tsx +40 -25
- package/src/template/layouts/index.ts +0 -1
- package/src/template/lib/fetch-text.ts +45 -4
- package/src/template/lib/polen-url.ts +3 -3
- package/src/template/providers/mdx.tsx +75 -0
- package/src/template/routes/changelog/ChangelogBody.tsx +101 -0
- package/src/template/routes/changelog/ChangelogSidebar.tsx +80 -0
- package/src/template/routes/changelog/ChangelogSidebarItem.tsx +68 -0
- package/src/template/routes/changelog/_.tsx +129 -0
- package/src/template/routes/changelog/utils.ts +13 -0
- package/src/template/routes/examples/_.tsx +90 -0
- package/src/template/routes/examples/_index.tsx +93 -0
- package/src/template/routes/examples/name.tsx +71 -0
- package/src/template/routes/index.tsx +50 -4
- package/src/template/routes/pages.tsx +7 -84
- package/src/template/routes/reference.tsx +198 -63
- package/src/template/routes/root.tsx +139 -49
- package/src/template/server/create-page-html-response.ts +4 -4
- package/src/template/server/main.ts +10 -10
- package/src/template/server/middleware/unsupported-assets.ts +2 -2
- package/src/template/server/view.ts +4 -2
- package/src/template/stores/$$.ts +18 -0
- package/src/template/stores/$.ts +1 -0
- package/src/template/stores/changelog.ts +87 -0
- package/src/template/stores/schema.ts +63 -0
- package/src/template/stores/toast.ts +175 -0
- package/src/template/theme/swiss-sharp.css +117 -0
- package/src/template/theme/swiss-sharp.ts +14 -0
- package/src/template/utils/try-with-toast.ts +41 -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 +144 -0
- package/src/vite/plugins/serve.ts +201 -0
- package/src/vite/vi.ts +5 -0
- package/build/api/api.d.ts +0 -7
- package/build/api/api.d.ts.map +0 -1
- package/build/api/api.js +0 -7
- 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 -349
- 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 -4
- package/build/api/schema/data-sources/data-sources.d.ts.map +0 -1
- package/build/api/schema/data-sources/data-sources.js +0 -4
- 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/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 -51
- 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 -88
- 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 -44
- 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 -61
- package/build/api/schema/read.d.ts.map +0 -1
- package/build/api/schema/read.js +0 -41
- package/build/api/schema/read.js.map +0 -1
- package/build/api/schema/schema.d.ts +0 -38
- package/build/api/schema/schema.d.ts.map +0 -1
- package/build/api/schema/schema.js +0 -45
- 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 -33
- package/build/api/schema-source/schema-source.d.ts.map +0 -1
- package/build/api/schema-source/schema-source.js +0 -137
- 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 -164
- package/build/api/vite/plugins/build.js.map +0 -1
- package/build/api/vite/plugins/core.d.ts +0 -11
- package/build/api/vite/plugins/core.d.ts.map +0 -1
- package/build/api/vite/plugins/core.js +0 -202
- 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 -269
- 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 +0 -3
- package/build/api/vite/vi.d.ts.map +0 -1
- package/build/api/vite/vi.js +0 -5
- 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/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/apple-touch-icon/index.d.ts +0 -2
- package/build/lib/apple-touch-icon/index.d.ts.map +0 -1
- package/build/lib/apple-touch-icon/index.js +0 -2
- package/build/lib/apple-touch-icon/index.js.map +0 -1
- package/build/lib/errors/errors.d.ts +0 -5
- package/build/lib/errors/errors.d.ts.map +0 -1
- package/build/lib/errors/errors.js +0 -5
- package/build/lib/errors/errors.js.map +0 -1
- package/build/lib/errors/index.d.ts +0 -2
- package/build/lib/errors/index.d.ts.map +0 -1
- package/build/lib/errors/index.js +0 -2
- package/build/lib/errors/index.js.map +0 -1
- package/build/lib/extensible-data/index.d.ts +0 -2
- package/build/lib/extensible-data/index.d.ts.map +0 -1
- package/build/lib/extensible-data/index.js +0 -2
- package/build/lib/extensible-data/index.js.map +0 -1
- package/build/lib/favicon/index.d.ts +0 -2
- package/build/lib/favicon/index.d.ts.map +0 -1
- package/build/lib/favicon/index.js +0 -2
- package/build/lib/favicon/index.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/file-router/file-router.d.ts +0 -4
- package/build/lib/file-router/file-router.d.ts.map +0 -1
- package/build/lib/file-router/file-router.js +0 -4
- package/build/lib/file-router/file-router.js.map +0 -1
- package/build/lib/file-router/index.d.ts +0 -2
- package/build/lib/file-router/index.d.ts.map +0 -1
- package/build/lib/file-router/index.js +0 -2
- package/build/lib/file-router/index.js.map +0 -1
- package/build/lib/grafaid/grafaid.d.ts +0 -5
- package/build/lib/grafaid/grafaid.d.ts.map +0 -1
- package/build/lib/grafaid/grafaid.js +0 -5
- package/build/lib/grafaid/grafaid.js.map +0 -1
- package/build/lib/grafaid/index.d.ts +0 -2
- package/build/lib/grafaid/index.d.ts.map +0 -1
- package/build/lib/grafaid/index.js +0 -2
- package/build/lib/grafaid/index.js.map +0 -1
- package/build/lib/grafaid-old/index.d.ts +0 -2
- package/build/lib/grafaid-old/index.d.ts.map +0 -1
- package/build/lib/grafaid-old/index.js +0 -2
- package/build/lib/grafaid-old/index.js.map +0 -1
- package/build/lib/graphql-change/change-groups.d.ts +0 -54
- 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/graphql-change.d.ts +0 -11
- package/build/lib/graphql-change/graphql-change.d.ts.map +0 -1
- package/build/lib/graphql-change/graphql-change.js +0 -10
- package/build/lib/graphql-change/graphql-change.js.map +0 -1
- package/build/lib/graphql-change/index.d.ts +0 -2
- package/build/lib/graphql-change/index.d.ts.map +0 -1
- package/build/lib/graphql-change/index.js +0 -2
- package/build/lib/graphql-change/index.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/graphql-changeset.d.ts +0 -9
- package/build/lib/graphql-changeset/graphql-changeset.d.ts.map +0 -1
- package/build/lib/graphql-changeset/graphql-changeset.js +0 -2
- package/build/lib/graphql-changeset/graphql-changeset.js.map +0 -1
- package/build/lib/graphql-changeset/index.d.ts +0 -2
- package/build/lib/graphql-changeset/index.d.ts.map +0 -1
- package/build/lib/graphql-changeset/index.js +0 -2
- package/build/lib/graphql-changeset/index.js.map +0 -1
- package/build/lib/graphql-schema-loader/index.d.ts +0 -2
- package/build/lib/graphql-schema-loader/index.d.ts.map +0 -1
- package/build/lib/graphql-schema-loader/index.js +0 -2
- package/build/lib/graphql-schema-loader/index.js.map +0 -1
- package/build/lib/hono-aid/index.d.ts +0 -2
- package/build/lib/hono-aid/index.d.ts.map +0 -1
- package/build/lib/hono-aid/index.js +0 -2
- package/build/lib/hono-aid/index.js.map +0 -1
- package/build/lib/kit-temp.d.ts +0 -284
- 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/mask/$$.d.ts +0 -3
- package/build/lib/mask/$$.d.ts.map +0 -1
- package/build/lib/mask/$$.js +0 -3
- package/build/lib/mask/$$.js.map +0 -1
- package/build/lib/mask/$.d.ts +0 -2
- package/build/lib/mask/$.d.ts.map +0 -1
- package/build/lib/mask/$.js +0 -2
- package/build/lib/mask/$.js.map +0 -1
- package/build/lib/mask/apply.d.ts +0 -86
- package/build/lib/mask/apply.d.ts.map +0 -1
- package/build/lib/mask/apply.js +0 -86
- package/build/lib/mask/apply.js.map +0 -1
- package/build/lib/mask/mask.d.ts +0 -124
- package/build/lib/mask/mask.d.ts.map +0 -1
- package/build/lib/mask/mask.js +0 -137
- package/build/lib/mask/mask.js.map +0 -1
- package/build/lib/mask/mask.test-d.d.ts +0 -2
- package/build/lib/mask/mask.test-d.d.ts.map +0 -1
- package/build/lib/mask/mask.test-d.js +0 -102
- package/build/lib/mask/mask.test-d.js.map +0 -1
- package/build/lib/react-router-aid/index.d.ts +0 -2
- package/build/lib/react-router-aid/index.d.ts.map +0 -1
- package/build/lib/react-router-aid/index.js +0 -2
- package/build/lib/react-router-aid/index.js.map +0 -1
- package/build/lib/react-router-aid/react-router-aid.d.ts +0 -17
- package/build/lib/react-router-aid/react-router-aid.d.ts.map +0 -1
- package/build/lib/react-router-aid/react-router-aid.js +0 -15
- package/build/lib/react-router-aid/react-router-aid.js.map +0 -1
- package/build/lib/react-router-loader/react-router-loader.d.ts +0 -6
- package/build/lib/react-router-loader/react-router-loader.d.ts.map +0 -1
- package/build/lib/react-router-loader/react-router-loader.js +0 -24
- package/build/lib/react-router-loader/react-router-loader.js.map +0 -1
- package/build/lib/stack-processor/index.d.ts +0 -2
- package/build/lib/stack-processor/index.d.ts.map +0 -1
- package/build/lib/stack-processor/index.js +0 -2
- package/build/lib/stack-processor/index.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/superjson-codec/exports.d.ts +0 -3
- package/build/lib/superjson-codec/exports.d.ts.map +0 -1
- package/build/lib/superjson-codec/exports.js +0 -3
- package/build/lib/superjson-codec/exports.js.map +0 -1
- package/build/lib/superjson-codec/index.d.ts +0 -2
- package/build/lib/superjson-codec/index.d.ts.map +0 -1
- package/build/lib/superjson-codec/index.js +0 -2
- package/build/lib/superjson-codec/index.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/lib/vite-plugin-config/vite-plugin-config.d.ts +0 -3
- package/build/lib/vite-plugin-config/vite-plugin-config.d.ts.map +0 -1
- package/build/lib/vite-plugin-config/vite-plugin-config.js +0 -10
- package/build/lib/vite-plugin-config/vite-plugin-config.js.map +0 -1
- package/build/lib/vite-plugin-json/index.d.ts +0 -2
- package/build/lib/vite-plugin-json/index.d.ts.map +0 -1
- package/build/lib/vite-plugin-json/index.js +0 -2
- package/build/lib/vite-plugin-json/index.js.map +0 -1
- package/build/lib/vite-plugin-mdx/index.d.ts +0 -2
- package/build/lib/vite-plugin-mdx/index.d.ts.map +0 -1
- package/build/lib/vite-plugin-mdx/index.js +0 -2
- package/build/lib/vite-plugin-mdx/index.js.map +0 -1
- package/build/lib/vite-plugin-reactive-data/index.d.ts +0 -2
- package/build/lib/vite-plugin-reactive-data/index.d.ts.map +0 -1
- package/build/lib/vite-plugin-reactive-data/index.js +0 -2
- package/build/lib/vite-plugin-reactive-data/index.js.map +0 -1
- package/build/lib/vite-plugins/index.d.ts +0 -5
- package/build/lib/vite-plugins/index.d.ts.map +0 -1
- package/build/lib/vite-plugins/index.js +0 -5
- package/build/lib/vite-plugins/index.js.map +0 -1
- package/build/lib/vite-plugins/vite-plugins.d.ts +0 -2
- package/build/lib/vite-plugins/vite-plugins.d.ts.map +0 -1
- package/build/lib/vite-plugins/vite-plugins.js +0 -2
- package/build/lib/vite-plugins/vite-plugins.js.map +0 -1
- package/build/lib/vite-virtual/index.d.ts +0 -2
- package/build/lib/vite-virtual/index.d.ts.map +0 -1
- package/build/lib/vite-virtual/index.js +0 -2
- package/build/lib/vite-virtual/index.js.map +0 -1
- package/build/lib/vite-virtual/vite-virtual.d.ts +0 -4
- package/build/lib/vite-virtual/vite-virtual.d.ts.map +0 -1
- package/build/lib/vite-virtual/vite-virtual.js +0 -4
- package/build/lib/vite-virtual/vite-virtual.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/sandbox.d.ts +0 -2
- package/build/sandbox.d.ts.map +0 -1
- package/build/sandbox.js +0 -41
- package/build/sandbox.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 -49
- package/build/template/components/Changelog.js.map +0 -1
- package/build/template/components/VersionSelector.d.ts +0 -7
- package/build/template/components/VersionSelector.d.ts.map +0 -1
- package/build/template/components/VersionSelector.js +0 -30
- package/build/template/components/VersionSelector.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 -71
- package/build/template/layouts/ChangelogLayout.js.map +0 -1
- package/build/template/lib/schema-utils/constants.d.ts +0 -5
- package/build/template/lib/schema-utils/constants.d.ts.map +0 -1
- package/build/template/lib/schema-utils/constants.js +0 -5
- package/build/template/lib/schema-utils/constants.js.map +0 -1
- package/build/template/routes/changelog.d.ts +0 -9
- package/build/template/routes/changelog.d.ts.map +0 -1
- package/build/template/routes/changelog.js +0 -30
- package/build/template/routes/changelog.js.map +0 -1
- package/build/template/routes/reference.$type.$field.d.ts +0 -5
- package/build/template/routes/reference.$type.$field.d.ts.map +0 -1
- package/build/template/routes/reference.$type.$field.js +0 -31
- package/build/template/routes/reference.$type.$field.js.map +0 -1
- package/build/template/routes/reference.$type.d.ts +0 -9
- package/build/template/routes/reference.$type.d.ts.map +0 -1
- package/build/template/routes/reference.$type.js +0 -25
- package/build/template/routes/reference.$type.js.map +0 -1
- package/build/template/routes/reference.version.$version.$type.$field.d.ts +0 -6
- package/build/template/routes/reference.version.$version.$type.$field.d.ts.map +0 -1
- package/build/template/routes/reference.version.$version.$type.$field.js +0 -32
- package/build/template/routes/reference.version.$version.$type.$field.js.map +0 -1
- package/build/template/routes/reference.version.$version.$type.d.ts +0 -11
- package/build/template/routes/reference.version.$version.$type.d.ts.map +0 -1
- package/build/template/routes/reference.version.$version.$type.js +0 -26
- package/build/template/routes/reference.version.$version.$type.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 -77
- package/build/template/server/ssg/get-route-paths.js.map +0 -1
- package/build/template/sources/schema-source.d.ts +0 -15
- package/build/template/sources/schema-source.d.ts.map +0 -1
- package/build/template/sources/schema-source.js +0 -63
- package/build/template/sources/schema-source.js.map +0 -1
- package/src/api/api.ts +0 -6
- package/src/api/config/config.ts +0 -4
- package/src/api/config/configurator.ts +0 -535
- 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 -3
- package/src/api/schema/data-sources/index.ts +0 -1
- package/src/api/schema/data-sources/memory/memory.ts +0 -115
- 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 -168
- 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 -105
- package/src/api/schema/schema.ts +0 -69
- 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 -189
- 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 -176
- package/src/api/vite/plugins/core.ts +0 -238
- 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 -317
- package/src/api/vite/plugins/serve.ts +0 -161
- package/src/api/vite/vi.ts +0 -5
- package/src/cli/commands/$default.ts +0 -102
- 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/errors/index.ts +0 -1
- package/src/lib/file-router/diagnostic-reporter.ts +0 -22
- package/src/lib/file-router/index.ts +0 -1
- package/src/lib/grafaid/index.ts +0 -1
- package/src/lib/graphql-change/change-groups.ts +0 -307
- package/src/lib/graphql-change/change-types.ts +0 -203
- package/src/lib/graphql-change/criticality.ts +0 -45
- package/src/lib/graphql-change/graphql-change.ts +0 -18
- package/src/lib/graphql-change/index.ts +0 -1
- package/src/lib/graphql-change/old.ts +0 -163
- package/src/lib/graphql-changeset/graphql-changeset.ts +0 -9
- package/src/lib/graphql-changeset/index.ts +0 -1
- 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 -658
- package/src/lib/mask/$$.ts +0 -2
- package/src/lib/mask/$.test.ts +0 -248
- package/src/lib/mask/$.ts +0 -1
- package/src/lib/mask/apply.ts +0 -134
- package/src/lib/mask/mask.test-d.ts +0 -156
- package/src/lib/mask/mask.ts +0 -244
- package/src/lib/react-router-aid/index.ts +0 -1
- package/src/lib/react-router-aid/react-router-aid.ts +0 -40
- package/src/lib/react-router-loader/react-router-loader.ts +0 -40
- package/src/lib/superjson-codec/codec.ts +0 -18
- package/src/lib/superjson-codec/codecs/graphql-schema.ts +0 -24
- package/src/lib/superjson-codec/exports.ts +0 -2
- package/src/lib/superjson-codec/index.ts +0 -1
- 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/lib/vite-plugins/index.ts +0 -4
- package/src/lib/vite-virtual/index.ts +0 -1
- package/src/project-data.ts +0 -10
- package/src/sandbox.ts +0 -43
- package/src/singletons/superjson.ts +0 -11
- package/src/template/components/Changelog/groups/DirectiveUsage.tsx +0 -137
- package/src/template/components/Changelog.tsx +0 -79
- package/src/template/components/VersionSelector.tsx +0 -50
- package/src/template/global.d.ts +0 -7
- package/src/template/layouts/ChangelogLayout.tsx +0 -157
- package/src/template/lib/schema-utils/constants.ts +0 -4
- package/src/template/routes/changelog.tsx +0 -40
- package/src/template/routes/reference.$type.$field.tsx +0 -34
- package/src/template/routes/reference.$type.tsx +0 -29
- package/src/template/routes/reference.version.$version.$type.$field.tsx +0 -35
- package/src/template/routes/reference.version.$version.$type.tsx +0 -30
- package/src/template/server/ssg/generate.ts +0 -101
- package/src/template/server/ssg/get-route-paths.ts +0 -80
- package/src/template/sources/schema-source.ts +0 -68
- /package/build/{api/vite → vite}/log-filters.d.ts +0 -0
- /package/build/{api/vite → vite}/log-filters.js +0 -0
- /package/src/api/project/{index.ts → $$.ts} +0 -0
- /package/src/lib/apple-touch-icon/{index.ts → $.ts} +0 -0
- /package/src/lib/errors/{errors.ts → $$.ts} +0 -0
- /package/src/lib/extensible-data/{index.ts → $.ts} +0 -0
- /package/src/lib/favicon/{index.ts → $.ts} +0 -0
- /package/src/lib/file-router/{file-router.ts → $$.ts} +0 -0
- /package/src/lib/grafaid/{grafaid.ts → $$.ts} +0 -0
- /package/src/lib/grafaid-old/{index.ts → $.ts} +0 -0
- /package/src/lib/graphql-schema-loader/{index.ts → $.ts} +0 -0
- /package/src/lib/hono-aid/{index.ts → $.ts} +0 -0
- /package/src/{api/schema/index.ts → lib/schema/$.ts} +0 -0
- /package/src/lib/stack-processor/{index.ts → $.ts} +0 -0
- /package/src/lib/vite-plugin-config/{vite-plugin-config.ts → $$.ts} +0 -0
- /package/src/lib/vite-plugin-json/{index.ts → $.ts} +0 -0
- /package/src/lib/vite-plugin-mdx/{index.ts → $.ts} +0 -0
- /package/src/lib/vite-plugin-reactive-data/{index.ts → $.ts} +0 -0
- /package/src/lib/vite-plugins/{vite-plugins.ts → $$.ts} +0 -0
- /package/src/lib/vite-virtual/{vite-virtual.ts → $$.ts} +0 -0
- /package/src/{api/vite → vite}/log-filters.ts +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"versioned-directory.d.ts","sourceRoot":"","sources":["../../../../src/api/schema/input-sources/versioned-directory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmIjB,CAAA"}
|
@@ -0,0 +1,370 @@
|
|
1
|
+
import { InputSource } from '#api/schema/input-source/$';
|
2
|
+
import { Catalog } from '#lib/catalog/$';
|
3
|
+
import { Change } from '#lib/change/$';
|
4
|
+
import { DateOnly } from '#lib/date-only/$';
|
5
|
+
import { Grafaid } from '#lib/grafaid';
|
6
|
+
import { Revision } from '#lib/revision/$';
|
7
|
+
import { Schema } from '#lib/schema/$';
|
8
|
+
import { Version } from '#lib/version/$';
|
9
|
+
import { debugPolen } from '#singletons/debug';
|
10
|
+
import { PlatformError } from '@effect/platform/Error';
|
11
|
+
import { FileSystem } from '@effect/platform/FileSystem';
|
12
|
+
import { Arr, Path } from '@wollybeard/kit';
|
13
|
+
import { Array, Effect, HashMap } from 'effect';
|
14
|
+
const debug = debugPolen.sub(`schema:data-source-versioned-schema-directory`);
|
15
|
+
const defaultPaths = {
|
16
|
+
schemaDirectory: `./schema`,
|
17
|
+
};
|
18
|
+
export const normalizeConfig = (configInput, projectRoot) => {
|
19
|
+
const config = {
|
20
|
+
path: configInput.path
|
21
|
+
? Path.ensureAbsolute(configInput.path, projectRoot)
|
22
|
+
: Path.join(projectRoot, defaultPaths.schemaDirectory),
|
23
|
+
};
|
24
|
+
return config;
|
25
|
+
};
|
26
|
+
export const readOrThrow = (configInput, projectRoot) => Effect.gen(function* () {
|
27
|
+
const config = normalizeConfig(configInput, projectRoot);
|
28
|
+
debug(`will search for version directories in`, config.path);
|
29
|
+
const fs = yield* FileSystem;
|
30
|
+
let entries;
|
31
|
+
const dirResult = yield* Effect.either(fs.readDirectory(config.path));
|
32
|
+
if (dirResult._tag === 'Left') {
|
33
|
+
debug(`error reading directory:`, dirResult.left);
|
34
|
+
return null;
|
35
|
+
}
|
36
|
+
entries = dirResult.right;
|
37
|
+
// Find all directories and parse their naming convention
|
38
|
+
const versionInfos = [];
|
39
|
+
for (const entry of entries) {
|
40
|
+
const versionPath = Path.join(config.path, entry);
|
41
|
+
// Check if this is a directory
|
42
|
+
const dirStatsResult = yield* Effect.either(fs.stat(versionPath));
|
43
|
+
if (dirStatsResult._tag === 'Left' || dirStatsResult.right.type !== 'Directory') {
|
44
|
+
debug(`skipping ${entry} - not a directory`);
|
45
|
+
continue;
|
46
|
+
}
|
47
|
+
// Parse the directory name: <version>[><parent>@<date>]
|
48
|
+
let versionStr;
|
49
|
+
let parentVersion = null;
|
50
|
+
let branchDate = null;
|
51
|
+
const branchMatch = entry.match(/^([^>]+)>([^@]+)(?:@([\d-]+))?$/);
|
52
|
+
if (branchMatch) {
|
53
|
+
// Has branch point: "2.0.0>1.0.0@2024-03-20" or "2.0.0>1.0.0"
|
54
|
+
versionStr = branchMatch[1];
|
55
|
+
const parentVersionStr = branchMatch[2];
|
56
|
+
branchDate = branchMatch[3] || null;
|
57
|
+
// Parse parent version
|
58
|
+
const parentVersionResult = yield* Effect.either(Effect.try({
|
59
|
+
try: () => Version.fromString(parentVersionStr),
|
60
|
+
catch: () => new Error(`Invalid parent version format: ${parentVersionStr}`),
|
61
|
+
}));
|
62
|
+
if (parentVersionResult._tag === 'Left') {
|
63
|
+
debug(`skipping ${entry} - invalid parent version format`);
|
64
|
+
continue;
|
65
|
+
}
|
66
|
+
parentVersion = parentVersionResult.right;
|
67
|
+
}
|
68
|
+
else {
|
69
|
+
// Simple version: "1.0.0"
|
70
|
+
versionStr = entry;
|
71
|
+
}
|
72
|
+
// Parse the version
|
73
|
+
const versionResult = yield* Effect.either(Effect.try({
|
74
|
+
try: () => Version.fromString(versionStr),
|
75
|
+
catch: () => new Error(`Invalid version format: ${versionStr}`),
|
76
|
+
}));
|
77
|
+
if (versionResult._tag === 'Left') {
|
78
|
+
debug(`skipping ${entry} - invalid version format`);
|
79
|
+
continue;
|
80
|
+
}
|
81
|
+
// Look for revision files (YYYY-MM-DD.graphql) or fallback to schema.graphql
|
82
|
+
const dirFiles = yield* fs.readDirectory(versionPath);
|
83
|
+
const revisionFiles = dirFiles
|
84
|
+
.filter(file => /^\d{4}-\d{2}-\d{2}\.graphql$/.test(file))
|
85
|
+
.sort(); // Sort chronologically
|
86
|
+
// If no revision files, check for schema.graphql
|
87
|
+
if (revisionFiles.length === 0) {
|
88
|
+
const schemaPath = Path.join(versionPath, 'schema.graphql');
|
89
|
+
const schemaExistsResult = yield* Effect.either(fs.stat(schemaPath));
|
90
|
+
if (schemaExistsResult._tag === 'Right' && schemaExistsResult.right.type === 'File') {
|
91
|
+
revisionFiles.push('schema.graphql');
|
92
|
+
}
|
93
|
+
else {
|
94
|
+
debug(`skipping ${entry} - no schema files found`);
|
95
|
+
continue;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
versionInfos.push({
|
99
|
+
name: entry,
|
100
|
+
path: versionPath,
|
101
|
+
version: versionResult.right,
|
102
|
+
parentVersion,
|
103
|
+
branchDate,
|
104
|
+
revisionFiles,
|
105
|
+
});
|
106
|
+
}
|
107
|
+
if (!Arr.isntEmpty(versionInfos)) {
|
108
|
+
debug(`no version directories with schema.graphql found`);
|
109
|
+
return null;
|
110
|
+
}
|
111
|
+
debug(`found ${versionInfos.length} version directories`, versionInfos.map(v => v.name));
|
112
|
+
// Sort versions using the built-in version ordering
|
113
|
+
versionInfos.sort((a, b) => Version.order(a.version, b.version));
|
114
|
+
debug(`sorted versions`, versionInfos.map(v => v.name));
|
115
|
+
// Load all versions with their revisions
|
116
|
+
const versions = yield* Effect.all(Arr.map(versionInfos, (versionInfo) => Effect.gen(function* () {
|
117
|
+
// Load all revision files for this version
|
118
|
+
const revisionData = yield* Effect.all(Arr.map(versionInfo.revisionFiles, (revisionFile) => Effect.gen(function* () {
|
119
|
+
const filePath = Path.join(versionInfo.path, revisionFile);
|
120
|
+
const content = yield* fs.readFileString(filePath);
|
121
|
+
const ast = yield* Grafaid.Schema.AST.parse(content).pipe(Effect.mapError((error) => new InputSource.InputSourceError({
|
122
|
+
source: 'versionedDirectory',
|
123
|
+
message: `Failed to parse schema from ${filePath}: ${error}`,
|
124
|
+
cause: error,
|
125
|
+
})));
|
126
|
+
const schema = yield* Grafaid.Schema.fromAST(ast).pipe(Effect.mapError((error) => new InputSource.InputSourceError({
|
127
|
+
source: 'versionedDirectory',
|
128
|
+
message: `Failed to build schema from ${filePath}: ${error}`,
|
129
|
+
cause: error,
|
130
|
+
})));
|
131
|
+
// Extract date from filename or use today for schema.graphql
|
132
|
+
let date;
|
133
|
+
if (revisionFile === 'schema.graphql') {
|
134
|
+
date = new Date().toISOString().split('T')[0];
|
135
|
+
}
|
136
|
+
else {
|
137
|
+
date = revisionFile.replace('.graphql', '');
|
138
|
+
}
|
139
|
+
return {
|
140
|
+
date,
|
141
|
+
schema,
|
142
|
+
};
|
143
|
+
})), { concurrency: 'unbounded' });
|
144
|
+
return {
|
145
|
+
...versionInfo,
|
146
|
+
revisions: revisionData,
|
147
|
+
};
|
148
|
+
})), { concurrency: 'unbounded' });
|
149
|
+
// Build a map of versions for parent lookups
|
150
|
+
const versionMap = new Map();
|
151
|
+
for (const version of versions) {
|
152
|
+
versionMap.set(Version.encodeSync(version.version), version);
|
153
|
+
}
|
154
|
+
// Create catalog entries for each version
|
155
|
+
const catalogEntries = yield* Effect.all(Arr.map(versions, (version) => Effect.gen(function* () {
|
156
|
+
// Get parent schema for first revision comparison if this is a branched version
|
157
|
+
let parentSchemaForComparison = null;
|
158
|
+
if (version.parentVersion && version.branchDate) {
|
159
|
+
const parentVersionStr = Version.encodeSync(version.parentVersion);
|
160
|
+
const parentVersionData = versionMap.get(parentVersionStr);
|
161
|
+
if (parentVersionData) {
|
162
|
+
const matchingRevisionIndex = parentVersionData.revisions.findIndex(rev => rev.date === version.branchDate);
|
163
|
+
if (matchingRevisionIndex >= 0) {
|
164
|
+
parentSchemaForComparison = parentVersionData.revisions[matchingRevisionIndex]?.schema ?? null;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
// Calculate revisions with changes
|
169
|
+
const revisions = yield* Effect.all(Arr.map(version.revisions, (revisionData, index) => Effect.gen(function* () {
|
170
|
+
const current = revisionData;
|
171
|
+
const previous = version.revisions[index - 1];
|
172
|
+
// For first revision of a branched version, compare against parent's schema at branch point
|
173
|
+
// Otherwise compare against previous revision in same version (or empty if first version)
|
174
|
+
const before = index === 0 && parentSchemaForComparison
|
175
|
+
? parentSchemaForComparison
|
176
|
+
: (previous?.schema ?? Grafaid.Schema.empty);
|
177
|
+
const after = current.schema;
|
178
|
+
const changes = yield* Change.calcChangeset({ before, after }).pipe(Effect.mapError((error) => new InputSource.InputSourceError({
|
179
|
+
source: 'versionedDirectory',
|
180
|
+
message: `Failed to calculate changeset for ${version.name}: ${error}`,
|
181
|
+
cause: error,
|
182
|
+
})));
|
183
|
+
return Revision.make({
|
184
|
+
date: DateOnly.make(current.date),
|
185
|
+
changes,
|
186
|
+
});
|
187
|
+
})), { concurrency: 1 });
|
188
|
+
// Get the latest schema definition (last element since revisions are still in chronological order)
|
189
|
+
const latestRevision = version.revisions[version.revisions.length - 1];
|
190
|
+
const schemaDefinition = latestRevision?.schema ?? Grafaid.Schema.empty;
|
191
|
+
// Find parent schema based on parentVersion and branchDate
|
192
|
+
let parentSchema = null;
|
193
|
+
if (version.parentVersion) {
|
194
|
+
const parentVersionStr = Version.encodeSync(version.parentVersion);
|
195
|
+
const parentVersionData = versionMap.get(parentVersionStr);
|
196
|
+
if (parentVersionData) {
|
197
|
+
if (version.branchDate && parentVersionData.revisions.length > 0) {
|
198
|
+
// Find the revision matching the branch date
|
199
|
+
const matchingRevisionIndex = parentVersionData.revisions.findIndex(rev => rev.date === version.branchDate);
|
200
|
+
if (matchingRevisionIndex >= 0) {
|
201
|
+
// Calculate parent's revisions up to branch point
|
202
|
+
const parentRevisions = yield* Effect.all(Arr.map(parentVersionData.revisions.slice(0, matchingRevisionIndex + 1), (revData, idx) => Effect.gen(function* () {
|
203
|
+
const current = revData;
|
204
|
+
const previous = idx > 0 ? parentVersionData.revisions[idx - 1] : null;
|
205
|
+
const before = previous?.schema ?? Grafaid.Schema.empty;
|
206
|
+
const after = current.schema;
|
207
|
+
const changes = yield* Change.calcChangeset({ before, after }).pipe(Effect.mapError((error) => new InputSource.InputSourceError({
|
208
|
+
source: 'versionedDirectory',
|
209
|
+
message: `Failed to calculate parent changeset: ${error}`,
|
210
|
+
cause: error,
|
211
|
+
})));
|
212
|
+
return Revision.make({
|
213
|
+
date: DateOnly.make(current.date),
|
214
|
+
changes,
|
215
|
+
});
|
216
|
+
})), { concurrency: 1 });
|
217
|
+
const parentSchemaAtBranch = parentVersionData.revisions[matchingRevisionIndex]?.schema;
|
218
|
+
parentSchema = Schema.Versioned.make({
|
219
|
+
version: version.parentVersion,
|
220
|
+
branchPoint: null, // TODO: Support nested branchPoint relationships
|
221
|
+
revisions: parentRevisions.reverse(), // Newest first
|
222
|
+
definition: parentSchemaAtBranch ?? Grafaid.Schema.empty,
|
223
|
+
});
|
224
|
+
}
|
225
|
+
}
|
226
|
+
else {
|
227
|
+
// No specific branch date or no revisions - use parent's initial state
|
228
|
+
parentSchema = Schema.Versioned.make({
|
229
|
+
version: version.parentVersion,
|
230
|
+
branchPoint: null,
|
231
|
+
revisions: [], // No revisions for initial state
|
232
|
+
definition: parentVersionData.revisions[0]?.schema ?? Grafaid.Schema.empty,
|
233
|
+
});
|
234
|
+
}
|
235
|
+
}
|
236
|
+
}
|
237
|
+
// Create branchPoint if we have a parent and branch date
|
238
|
+
let branchPoint = null;
|
239
|
+
if (parentSchema && version.branchDate) {
|
240
|
+
// Find the revision at the branch point
|
241
|
+
const branchRevision = parentSchema.revisions.find(r => r.date === version.branchDate);
|
242
|
+
if (branchRevision) {
|
243
|
+
branchPoint = { schema: parentSchema, revision: branchRevision };
|
244
|
+
}
|
245
|
+
}
|
246
|
+
const schema = Schema.Versioned.make({
|
247
|
+
version: version.version,
|
248
|
+
branchPoint: branchPoint,
|
249
|
+
revisions: revisions.slice().reverse(), // Newest first
|
250
|
+
definition: schemaDefinition,
|
251
|
+
});
|
252
|
+
return schema;
|
253
|
+
})), { concurrency: 'unbounded' });
|
254
|
+
// Reverse to have newest first
|
255
|
+
catalogEntries.reverse();
|
256
|
+
// Convert array to HashMap with version as key
|
257
|
+
const entriesMap = HashMap.fromIterable(catalogEntries.map(entry => [entry.version, entry]));
|
258
|
+
debug(`computed ${catalogEntries.length} entries`);
|
259
|
+
return Catalog.Versioned.make({
|
260
|
+
entries: entriesMap,
|
261
|
+
});
|
262
|
+
});
|
263
|
+
export const loader = InputSource.createEffect({
|
264
|
+
name: 'versionedDirectory',
|
265
|
+
isApplicable: (configInput, context) => Effect.gen(function* () {
|
266
|
+
const config = normalizeConfig(configInput, context.paths.project.rootDir);
|
267
|
+
// Check if directory exists
|
268
|
+
const fs = yield* FileSystem;
|
269
|
+
const dirStatsResult = yield* Effect.either(fs.stat(config.path));
|
270
|
+
if (dirStatsResult._tag === 'Left' || dirStatsResult.right.type !== 'Directory') {
|
271
|
+
return false;
|
272
|
+
}
|
273
|
+
// Check if it has any entries
|
274
|
+
const entriesResult = yield* Effect.either(fs.readDirectory(config.path));
|
275
|
+
if (entriesResult._tag === 'Left') {
|
276
|
+
return false;
|
277
|
+
}
|
278
|
+
const entries = entriesResult.right;
|
279
|
+
// Check if at least one entry looks like a version directory
|
280
|
+
for (const entry of entries) {
|
281
|
+
const versionPath = Path.join(config.path, entry);
|
282
|
+
// Check if it's a directory
|
283
|
+
const dirStatsResult = yield* Effect.either(fs.stat(versionPath));
|
284
|
+
if (dirStatsResult._tag === 'Left' || dirStatsResult.right.type !== 'Directory') {
|
285
|
+
continue;
|
286
|
+
}
|
287
|
+
// Parse version from directory name (handle branch syntax)
|
288
|
+
let versionStr = entry;
|
289
|
+
const branchMatch = entry.match(/^([^>]+)>/);
|
290
|
+
if (branchMatch) {
|
291
|
+
versionStr = branchMatch[1];
|
292
|
+
}
|
293
|
+
// Try to parse as version
|
294
|
+
const versionResult = yield* Effect.either(Effect.try({
|
295
|
+
try: () => Version.fromString(versionStr),
|
296
|
+
catch: () => new Error(`Invalid version: ${versionStr}`),
|
297
|
+
}));
|
298
|
+
if (versionResult._tag === 'Right') {
|
299
|
+
// Check for revision files or schema.graphql
|
300
|
+
const dirFiles = yield* Effect.either(fs.readDirectory(versionPath));
|
301
|
+
if (dirFiles._tag === 'Right') {
|
302
|
+
const hasRevisions = Array.some(dirFiles.right, file => /^\d{4}-\d{2}-\d{2}\.graphql$/.test(file) || file === 'schema.graphql');
|
303
|
+
if (hasRevisions) {
|
304
|
+
return true;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
308
|
+
}
|
309
|
+
return false;
|
310
|
+
}),
|
311
|
+
readIfApplicableOrThrow: (configInput, context) => Effect.gen(function* () {
|
312
|
+
const config = normalizeConfig(configInput, context.paths.project.rootDir);
|
313
|
+
debug('readIfApplicableOrThrow checking path:', config.path);
|
314
|
+
// Check if the directory exists first
|
315
|
+
const fs = yield* FileSystem;
|
316
|
+
const dirStatsResult = yield* Effect.either(fs.stat(config.path));
|
317
|
+
if (dirStatsResult._tag === 'Left') {
|
318
|
+
debug('directory does not exist:', config.path);
|
319
|
+
return null;
|
320
|
+
}
|
321
|
+
const entriesResult = yield* Effect.either(fs.readDirectory(config.path));
|
322
|
+
if (entriesResult._tag === 'Left') {
|
323
|
+
debug('error reading directory:', entriesResult.left);
|
324
|
+
return null;
|
325
|
+
}
|
326
|
+
const entries = entriesResult.right;
|
327
|
+
debug('found entries:', entries);
|
328
|
+
// Look for at least one valid version directory
|
329
|
+
for (const entry of entries) {
|
330
|
+
const versionPath = Path.join(config.path, entry);
|
331
|
+
debug(`checking entry ${entry}`);
|
332
|
+
// Check if it's a directory
|
333
|
+
const dirStatsResult = yield* Effect.either(fs.stat(versionPath));
|
334
|
+
if (dirStatsResult._tag === 'Left' || dirStatsResult.right.type !== 'Directory') {
|
335
|
+
continue;
|
336
|
+
}
|
337
|
+
// Parse version from directory name
|
338
|
+
let versionStr = entry;
|
339
|
+
const branchMatch = entry.match(/^([^>]+)>/);
|
340
|
+
if (branchMatch) {
|
341
|
+
versionStr = branchMatch[1];
|
342
|
+
}
|
343
|
+
// Try to parse as version
|
344
|
+
const versionResult = yield* Effect.either(Effect.try({
|
345
|
+
try: () => Version.fromString(versionStr),
|
346
|
+
catch: (error) => new Error(`Failed to parse version ${versionStr}: ${error}`),
|
347
|
+
}));
|
348
|
+
if (versionResult._tag === 'Left') {
|
349
|
+
debug(`failed to parse version ${versionStr}:`, versionResult.left);
|
350
|
+
continue;
|
351
|
+
}
|
352
|
+
debug(`parsed version: ${versionStr} -> ${JSON.stringify(versionResult.right)}`);
|
353
|
+
// Check for schema files
|
354
|
+
const dirFiles = yield* Effect.either(fs.readDirectory(versionPath));
|
355
|
+
if (dirFiles._tag === 'Right') {
|
356
|
+
const hasSchemaFiles = Array.some(dirFiles.right, file => /^\d{4}-\d{2}-\d{2}\.graphql$/.test(file) || file === 'schema.graphql');
|
357
|
+
if (hasSchemaFiles) {
|
358
|
+
debug('found valid schema files, proceeding with full read');
|
359
|
+
// Found at least one valid version directory, proceed with full read
|
360
|
+
const catalog = yield* readOrThrow(configInput, context.paths.project.rootDir);
|
361
|
+
debug('catalog result:', catalog);
|
362
|
+
return catalog;
|
363
|
+
}
|
364
|
+
}
|
365
|
+
}
|
366
|
+
debug('no valid version directories found');
|
367
|
+
return null;
|
368
|
+
}),
|
369
|
+
});
|
370
|
+
//# sourceMappingURL=versioned-directory.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"versioned-directory.js","sourceRoot":"","sources":["../../../../src/api/schema/input-sources/versioned-directory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,aAAa,EA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AAC,IAAI,KAAK,OAAO,EAAE,CAAC;gBAC9B,MAAM,cAAc,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,EAAE,CACvD,8BAA8B,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,gBAAgB,CAAC,CAAA;gBAEzE,IAAI,cAAc,EAAE,CAAC;oBACnB,KAAK,CAAC,qDAAqD,CAAC,CAAA;oBAC5D,qEAAqE;oBACrE,MAAM,OAAO,GAAG,KAAK,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;oBAC9E,KAAK,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;oBACjC,OAAO,OAAO,CAAA;gBAChB,CAAC;YACH,CAAC;QACH,CAAC;QAED,KAAK,CAAC,oCAAoC,CAAC,CAAA;QAC3C,OAAO,IAAI,CAAA;IACb,CAAC,CAAC;CACL,CAAC,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import type { Config } from '#api/config/normalized';
|
2
|
+
import type { InputSourceError } from '#api/schema/input-source/errors';
|
3
|
+
import * as InputSourceLoader from '#api/schema/input-source/load';
|
4
|
+
import type { PlatformError } from '@effect/platform/Error';
|
5
|
+
import type { FileSystem } from '@effect/platform/FileSystem';
|
6
|
+
import { Effect } from 'effect';
|
7
|
+
/**
|
8
|
+
* Check if a schema exists using the configured sources.
|
9
|
+
* Returns true if any source has a schema, false otherwise.
|
10
|
+
*/
|
11
|
+
export declare const hasSchema: (config: Config) => Effect.Effect<boolean, PlatformError | InputSourceError, FileSystem>;
|
12
|
+
/**
|
13
|
+
* Load schema without throwing if none found.
|
14
|
+
* Returns null if no schema is configured or found.
|
15
|
+
*/
|
16
|
+
export declare const loadOrNull: (config: Config) => Effect.Effect<InputSourceLoader.LoadedCatalog | null, PlatformError | InputSourceError, FileSystem>;
|
17
|
+
/**
|
18
|
+
* High-level schema loader that handles all configuration and source assembly.
|
19
|
+
*
|
20
|
+
* This function:
|
21
|
+
* - Creates InputSource instances for all available sources
|
22
|
+
* - Determines source order based on useDataSources config
|
23
|
+
* - Calls the low-level InputSource.loadOrThrow
|
24
|
+
*
|
25
|
+
* @param config - The Polen configuration
|
26
|
+
* @returns Effect resolving to the loaded schema with source information or null if schema is disabled.
|
27
|
+
*/
|
28
|
+
export declare const loadOrThrow: (config: Config) => Effect.Effect<InputSourceLoader.LoadedCatalog | null, PlatformError | InputSourceError | Error, FileSystem>;
|
29
|
+
//# sourceMappingURL=load.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"load.d.ts","sourceRoot":"","sources":["../../../src/api/schema/load.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAEpD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAA;AAEvE,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAGlE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAsE/B;;;GAGG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,KAAG,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,GAAG,gBAAgB,EAAE,UAAU,CAI1G,CAAA;AAEJ;;;GAGG;AACH,eAAO,MAAM,UAAU,GACrB,QAAQ,MAAM,KACb,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,GAAG,IAAI,EAAE,aAAa,GAAG,gBAAgB,EAAE,UAAU,CA4DjG,CAAA;AAEJ;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,GACtB,QAAQ,MAAM,KACb,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,aAAa,GAAG,IAAI,EAAE,aAAa,GAAG,gBAAgB,GAAG,KAAK,EAAE,UAAU,CAezG,CAAA"}
|
@@ -0,0 +1,132 @@
|
|
1
|
+
import { Augmentations } from '#api/schema/augmentations/$';
|
2
|
+
import * as InputSourceLoader from '#api/schema/input-source/load';
|
3
|
+
import { InputSources } from '#api/schema/input-sources/$';
|
4
|
+
import { Catalog } from '#lib/catalog/$';
|
5
|
+
import { Arr } from '@wollybeard/kit';
|
6
|
+
import { Effect } from 'effect';
|
7
|
+
/**
|
8
|
+
* Find the first applicable source for the given config.
|
9
|
+
* Returns the source and its config, or null if none found.
|
10
|
+
*/
|
11
|
+
const findApplicableSource = (config) => Effect.gen(function* () {
|
12
|
+
if (config.schema?.enabled === false)
|
13
|
+
return null;
|
14
|
+
const allSources = [
|
15
|
+
InputSources.VersionedDirectory.loader,
|
16
|
+
InputSources.Directory.loader,
|
17
|
+
InputSources.File.loader,
|
18
|
+
InputSources.Memory.loader,
|
19
|
+
InputSources.Introspection.loader,
|
20
|
+
InputSources.IntrospectionFile.loader,
|
21
|
+
];
|
22
|
+
const useFirst = config.schema?.useSources
|
23
|
+
? Arr.sure(config.schema.useSources)
|
24
|
+
: null;
|
25
|
+
const context = { paths: config.paths };
|
26
|
+
const sourcesToTry = useFirst
|
27
|
+
? useFirst.map(name => allSources.find(s => s.name === name)).filter(Boolean)
|
28
|
+
: allSources;
|
29
|
+
for (const source of sourcesToTry) {
|
30
|
+
const sourceConfig = config.schema?.sources?.[source.name] ?? {};
|
31
|
+
// Check if this is an Effect-based source by checking the source type
|
32
|
+
const isEffectSource = source.__effectInputSource === true;
|
33
|
+
let isApplicable;
|
34
|
+
if (isEffectSource) {
|
35
|
+
// It's an Effect-based source
|
36
|
+
const effectSource = source;
|
37
|
+
isApplicable = yield* effectSource.isApplicable(sourceConfig, context);
|
38
|
+
}
|
39
|
+
else {
|
40
|
+
// It's a promise-based source
|
41
|
+
const promiseSource = source;
|
42
|
+
isApplicable = yield* Effect.promise(() => promiseSource.isApplicable(sourceConfig, context));
|
43
|
+
}
|
44
|
+
if (isApplicable) {
|
45
|
+
return {
|
46
|
+
source: source,
|
47
|
+
sourceConfig,
|
48
|
+
};
|
49
|
+
}
|
50
|
+
}
|
51
|
+
return null;
|
52
|
+
});
|
53
|
+
/**
|
54
|
+
* Check if a schema exists using the configured sources.
|
55
|
+
* Returns true if any source has a schema, false otherwise.
|
56
|
+
*/
|
57
|
+
export const hasSchema = (config) => Effect.gen(function* () {
|
58
|
+
const source = yield* findApplicableSource(config);
|
59
|
+
return source !== null;
|
60
|
+
});
|
61
|
+
/**
|
62
|
+
* Load schema without throwing if none found.
|
63
|
+
* Returns null if no schema is configured or found.
|
64
|
+
*/
|
65
|
+
export const loadOrNull = (config) => Effect.gen(function* () {
|
66
|
+
if (config.schema?.enabled === false)
|
67
|
+
return null;
|
68
|
+
const applicable = yield* findApplicableSource(config);
|
69
|
+
if (!applicable) {
|
70
|
+
return null;
|
71
|
+
}
|
72
|
+
const context = { paths: config.paths };
|
73
|
+
// Check if this is an Effect-based source by checking the source type
|
74
|
+
const isEffectSource = applicable.source.__effectInputSource === true;
|
75
|
+
let catalog;
|
76
|
+
if (isEffectSource) {
|
77
|
+
// It's an Effect-based source
|
78
|
+
const effectSource = applicable.source;
|
79
|
+
catalog = yield* effectSource.readIfApplicableOrThrow(applicable.sourceConfig, context);
|
80
|
+
}
|
81
|
+
else {
|
82
|
+
// It's a promise-based source
|
83
|
+
const promiseSource = applicable.source;
|
84
|
+
catalog = yield* Effect.promise(() => promiseSource.readIfApplicableOrThrow(applicable.sourceConfig, context));
|
85
|
+
}
|
86
|
+
if (!catalog) {
|
87
|
+
return null;
|
88
|
+
}
|
89
|
+
const loadedSchema = {
|
90
|
+
data: catalog,
|
91
|
+
source: applicable.source,
|
92
|
+
};
|
93
|
+
// Apply augmentations if configured and catalog was loaded
|
94
|
+
if (loadedSchema.data && config.schema?.augmentations) {
|
95
|
+
const augmentations = config.schema.augmentations;
|
96
|
+
const catalog = loadedSchema.data;
|
97
|
+
Catalog.fold((versioned) => {
|
98
|
+
for (const schema of Catalog.Versioned.getAll(versioned)) {
|
99
|
+
Augmentations.apply(schema.definition, augmentations);
|
100
|
+
}
|
101
|
+
}, (unversioned) => {
|
102
|
+
Augmentations.apply(unversioned.schema.definition, augmentations);
|
103
|
+
})(catalog);
|
104
|
+
}
|
105
|
+
return loadedSchema;
|
106
|
+
});
|
107
|
+
/**
|
108
|
+
* High-level schema loader that handles all configuration and source assembly.
|
109
|
+
*
|
110
|
+
* This function:
|
111
|
+
* - Creates InputSource instances for all available sources
|
112
|
+
* - Determines source order based on useDataSources config
|
113
|
+
* - Calls the low-level InputSource.loadOrThrow
|
114
|
+
*
|
115
|
+
* @param config - The Polen configuration
|
116
|
+
* @returns Effect resolving to the loaded schema with source information or null if schema is disabled.
|
117
|
+
*/
|
118
|
+
export const loadOrThrow = (config) => Effect.gen(function* () {
|
119
|
+
const result = yield* loadOrNull(config);
|
120
|
+
if (result === null && config.schema?.enabled !== false) {
|
121
|
+
// Only throw if schema is enabled but none found
|
122
|
+
const applicable = yield* findApplicableSource(config);
|
123
|
+
if (!applicable) {
|
124
|
+
return yield* Effect.fail(new Error(`No applicable schema source found. Please check your configuration.`));
|
125
|
+
}
|
126
|
+
else {
|
127
|
+
return yield* Effect.fail(new Error(`Schema source was applicable but returned no data`));
|
128
|
+
}
|
129
|
+
}
|
130
|
+
return result;
|
131
|
+
});
|
132
|
+
//# sourceMappingURL=load.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"load.js","sourceRoot":"","sources":["../../../src/api/schema/load.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAA;AAG3D,OAAO,KAAK,iBAAiB,MAAM,+BAA+B,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAGxC,O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AC,WAAW,EAAE,EAAE;YACd,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,CAAA;QACnE,CAAC,CACF,CAAC,OAAO,CAAC,CAAA;IACZ,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC,CAAC,CAAA;AAEJ;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,MAAc,EAC+F,EAAE,CAC/G,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,MAAM,GAAG,KAAK,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;IAExC,IAAI,MAAM,KAAK,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,KAAK,KAAK,EAAE,CAAC;QACxD,iDAAiD;QACjD,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAA;QACtD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,qEAAqE,CAAC,CAAC,CAAA;QAC7G,CAAC;aAAM,CAAC;YACN,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC,CAAA;QAC3F,CAAC;IACH,CAAC;IAED,OAAO,MAAM,CAAA;AACf,CAAC,CAAC,CAAA"}
|
@@ -37,12 +37,15 @@ const cleanStackRecursive = (value, excludePattern) => {
|
|
37
37
|
}
|
38
38
|
// console.log(`Filtering path: ${path}`, isInclude ? 'Included' : 'Excluded')
|
39
39
|
if (value instanceof Error) {
|
40
|
-
|
40
|
+
const cleanedStack = cleanStack(value.stack, {
|
41
41
|
pathFilter: (path) => !path.match(excludePattern),
|
42
42
|
// todo
|
43
43
|
// basePath: config.paths.project.rootDir,
|
44
44
|
// pretty: true,
|
45
45
|
});
|
46
|
+
if (cleanedStack) {
|
47
|
+
value.stack = cleanedStack;
|
48
|
+
}
|
46
49
|
cleanStackRecursive(value.cause, excludePattern);
|
47
50
|
}
|
48
51
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"report-error.js","sourceRoot":"","sources":["../../../src/api/server/report-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,OAAO,UAAU,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAGxC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,EAAE,KAAc,EAAiB,EAAE;IACjE,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;IAE/B,MAAM,yBAAyB,GAAG,6CAA6C,CAAA;IAE/E,mBAAmB,CAAC,KAAK,EAAE,yBAAyB,CAAC,CAAA;IAErD,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IAEd,MAAM,MAAM,GAAG,IAAI,WAAW,EAAE,CAAA;IAEhC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAE7C,MAAM,QAAQ,GAAG,cAAc,CAAC,WAAW,CAAC,CAAA;IAE5C,IAAI,QAAQ,EAAE,CAAC;QACb,OAAO,CAAC,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,CAAA;IACpC,CAAC;AACH,CAAC,CAAA;AAED,MAAM,cAAc,GAAG,CAAC,WAAwB,EAAE,EAAE;IAClD,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QAChD,IAAI,OAAO,GAAG,aAAa,CAAC,KAAK,CAAC,CAAA;QAElC,OAAO,GAAG,KAAK,CAAC,QAAQ,GAAG,IAAI,GAAG,KAAK,CAAC,UAAU,GAAG,MAAM,GAAG,OAAO,CAAA;QACrE,OAAO,OAAO,CAAA;IA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IACrE,IAAI,KAAK,YAAY,cAAc,EAAE,CAAC;QACpC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAC7B,mBAAmB,CAAC,KAAK,EAAE,cAAc,CAAC,CAAA;QAC5C,CAAC,CAAC,CAAA;IACJ,CAAC;IACD,8EAA8E;IAC9E,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,MAAM,YAAY,GAAG,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE;YAC3C,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC;YACjD,OAAO;YACP,0CAA0C;YAC1C,gBAAgB;SACjB,CAAC,CAAA;QACF,IAAI,YAAY,EAAE,CAAC;YACjB,KAAK,CAAC,KAAK,GAAG,YAAY,CAAA;QAC5B,CAAC;QAED,mBAAmB,CAAC,KAAK,CAAC,KAAK,EAAE,cAAc,CAAC,CAAA;IAClD,CAAC;AACH,CAAC,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
-
|
1
|
+
import { Effect } from 'effect';
|
2
|
+
export declare const parse: (content: string) => Effect.Effect<string, Error>;
|
2
3
|
export declare const parseSync: (content: string) => string;
|
3
4
|
//# sourceMappingURL=markdown.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/api/singletons/markdown/markdown.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/api/singletons/markdown/markdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAgB/B,eAAO,MAAM,KAAK,GAAI,SAAS,MAAM,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAI/D,CAAA;AAEJ,eAAO,MAAM,SAAS,GAAI,SAAS,MAAM,KAAG,MAG3C,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { Effect } from 'effect';
|
1
2
|
import rehypeStringify from 'rehype-stringify';
|
2
3
|
import remarkGfm from 'remark-gfm';
|
3
4
|
import remarkParse from 'remark-parse';
|
@@ -11,10 +12,10 @@ const createProcessor = () => {
|
|
11
12
|
.use(remarkRehype)
|
12
13
|
.use(rehypeStringify);
|
13
14
|
};
|
14
|
-
export const parse =
|
15
|
-
const result =
|
15
|
+
export const parse = (content) => Effect.gen(function* () {
|
16
|
+
const result = yield* Effect.promise(() => createProcessor().process(content));
|
16
17
|
return String(result);
|
17
|
-
};
|
18
|
+
});
|
18
19
|
export const parseSync = (content) => {
|
19
20
|
const result = createProcessor().processSync(content);
|
20
21
|
return String(result);
|