polen 0.11.0-next.11 → 0.11.0-next.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/api.d.ts +1 -0
- package/build/api/api.d.ts.map +1 -1
- package/build/api/api.js +1 -0
- package/build/api/api.js.map +1 -1
- 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 +40 -0
- package/build/api/cache/cache.d.ts.map +1 -0
- package/build/api/cache/cache.js +158 -0
- package/build/api/cache/cache.js.map +1 -0
- 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 +1 -1
- package/build/api/content/scan.d.ts.map +1 -1
- package/build/api/content/scan.js +1 -1
- package/build/api/content/scan.js.map +1 -1
- package/build/api/content/sidebar.js +1 -1
- package/build/api/content/sidebar.js.map +1 -1
- package/build/api/iso/schema/$$.d.ts +1 -1
- package/build/api/iso/schema/$$.d.ts.map +1 -1
- package/build/api/iso/schema/$$.js +1 -0
- package/build/api/iso/schema/$$.js.map +1 -1
- package/build/api/iso/schema/routing.d.ts +34 -0
- package/build/api/iso/schema/routing.d.ts.map +1 -1
- package/build/api/iso/schema/routing.js +58 -0
- package/build/api/iso/schema/routing.js.map +1 -1
- 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 +101 -0
- package/build/api/iso/schema/validation.js.map +1 -0
- package/build/api/schema/data-sources/introspection/introspection.d.ts +4 -3
- package/build/api/schema/data-sources/introspection/introspection.d.ts.map +1 -1
- package/build/api/schema/data-sources/introspection/introspection.js +6 -5
- package/build/api/schema/data-sources/introspection/introspection.js.map +1 -1
- package/build/api/schema/data-sources/memory/memory.d.ts +2 -2
- package/build/api/schema/data-sources/memory/memory.d.ts.map +1 -1
- package/build/api/schema/data-sources/memory/memory.js +24 -12
- package/build/api/schema/data-sources/memory/memory.js.map +1 -1
- package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts +2 -2
- package/build/api/schema/data-sources/schema-directory/schema-directory.d.ts.map +1 -1
- package/build/api/schema/data-sources/schema-directory/schema-directory.js +24 -12
- package/build/api/schema/data-sources/schema-directory/schema-directory.js.map +1 -1
- package/build/api/schema/data-sources/schema-file/schema-file.d.ts +3 -3
- package/build/api/schema/data-sources/schema-file/schema-file.d.ts.map +1 -1
- package/build/api/schema/data-sources/schema-file/schema-file.js +5 -4
- package/build/api/schema/data-sources/schema-file/schema-file.js.map +1 -1
- package/build/api/schema/read.d.ts +4 -4
- package/build/api/schema/read.d.ts.map +1 -1
- package/build/api/schema/read.js +1 -1
- package/build/api/schema/read.js.map +1 -1
- package/build/api/schema/schema.d.ts +0 -10
- package/build/api/schema/schema.d.ts.map +1 -1
- package/build/api/schema/schema.js.map +1 -1
- package/build/api/schema-augmentation/augmentations/description.d.ts +1 -1
- package/build/api/schema-augmentation/augmentations/description.d.ts.map +1 -1
- package/build/api/schema-augmentation/schema-augmentation.d.ts +1 -1
- package/build/api/schema-augmentation/schema-augmentation.d.ts.map +1 -1
- package/build/api/schema-augmentation/target.d.ts +1 -1
- package/build/api/schema-augmentation/target.d.ts.map +1 -1
- package/build/api/schema-augmentation/target.js +1 -1
- package/build/api/schema-augmentation/target.js.map +1 -1
- package/build/api/schema-source/schema-source.d.ts +9 -5
- package/build/api/schema-source/schema-source.d.ts.map +1 -1
- package/build/api/schema-source/schema-source.js +37 -24
- package/build/api/schema-source/schema-source.js.map +1 -1
- package/build/api/vite/plugins/build.js +1 -1
- package/build/api/vite/plugins/build.js.map +1 -1
- package/build/api/vite/plugins/core.d.ts +1 -1
- package/build/api/vite/plugins/core.d.ts.map +1 -1
- package/build/api/vite/plugins/core.js +20 -9
- package/build/api/vite/plugins/core.js.map +1 -1
- package/build/api/vite/plugins/pages.js +1 -1
- package/build/api/vite/plugins/pages.js.map +1 -1
- package/build/api/vite/plugins/schema-assets.d.ts +1 -1
- package/build/api/vite/plugins/schema-assets.d.ts.map +1 -1
- package/build/api/vite/plugins/schema-assets.js +14 -5
- package/build/api/vite/plugins/schema-assets.js.map +1 -1
- package/build/api/vite/vi.d.ts +1 -1
- package/build/api/vite/vi.d.ts.map +1 -1
- package/build/api/vite/vi.js +1 -1
- package/build/api/vite/vi.js.map +1 -1
- package/build/cli/commands/cache/$default.d.ts +3 -0
- package/build/cli/commands/cache/$default.d.ts.map +1 -0
- package/build/cli/commands/cache/$default.js +10 -0
- package/build/cli/commands/cache/$default.js.map +1 -0
- package/build/cli/commands/cache/delete.d.ts +2 -0
- package/build/cli/commands/cache/delete.d.ts.map +1 -0
- package/build/cli/commands/cache/delete.js +22 -0
- package/build/cli/commands/cache/delete.js.map +1 -0
- package/build/cli/commands/cache/show.d.ts +2 -0
- package/build/cli/commands/cache/show.d.ts.map +1 -0
- package/build/cli/commands/cache/show.js +86 -0
- package/build/cli/commands/cache/show.js.map +1 -0
- package/build/cli/commands/cache.d.ts +3 -0
- package/build/cli/commands/cache.d.ts.map +1 -0
- package/build/cli/commands/cache.js +7 -0
- package/build/cli/commands/cache.js.map +1 -0
- package/build/cli/commands/config.js +2 -0
- package/build/cli/commands/config.js.map +1 -1
- package/build/cli/commands/open.js +2 -2
- package/build/cli/commands/open.js.map +1 -1
- package/build/cli/commands/static.js +2 -0
- package/build/cli/commands/static.js.map +1 -1
- package/build/lib/apple-touch-icon/{index.js → $.d.ts} +1 -1
- package/build/lib/apple-touch-icon/$.d.ts.map +1 -0
- package/build/lib/apple-touch-icon/{index.d.ts → $.js} +1 -1
- package/build/lib/apple-touch-icon/$.js.map +1 -0
- package/build/lib/errors/{errors.js → $$.d.ts} +1 -1
- package/build/lib/errors/$$.d.ts.map +1 -0
- package/build/lib/errors/{errors.d.ts → $$.js} +1 -1
- 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/{index.js → $.d.ts} +1 -1
- package/build/lib/extensible-data/$.d.ts.map +1 -0
- package/build/lib/extensible-data/{index.d.ts → $.js} +1 -1
- package/build/lib/extensible-data/$.js.map +1 -0
- package/build/lib/favicon/{index.js → $.d.ts} +1 -1
- package/build/lib/favicon/$.d.ts.map +1 -0
- package/build/lib/favicon/{index.d.ts → $.js} +1 -1
- package/build/lib/favicon/$.js.map +1 -0
- package/build/lib/file-router/{file-router.js → $$.d.ts} +1 -1
- package/build/lib/file-router/$$.d.ts.map +1 -0
- package/build/lib/file-router/{file-router.d.ts → $$.js} +1 -1
- 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/grafaid/{grafaid.js → $$.d.ts} +1 -1
- package/build/lib/grafaid/$$.d.ts.map +1 -0
- package/build/lib/grafaid/{grafaid.d.ts → $$.js} +1 -1
- 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/type.d.ts.map +1 -1
- package/build/lib/grafaid/schema/type.js.map +1 -1
- package/build/lib/grafaid-old/{index.js → $.d.ts} +1 -1
- package/build/lib/grafaid-old/$.d.ts.map +1 -0
- package/build/lib/grafaid-old/{index.d.ts → $.js} +1 -1
- package/build/lib/grafaid-old/$.js.map +1 -0
- package/build/lib/graphql-change/{graphql-change.d.ts → $$.d.ts} +2 -2
- package/build/lib/graphql-change/$$.d.ts.map +1 -0
- package/build/lib/graphql-change/{graphql-change.js → $$.js} +1 -1
- package/build/lib/graphql-change/$$.js.map +1 -0
- package/build/lib/graphql-change/$.d.ts +2 -0
- package/build/lib/graphql-change/$.d.ts.map +1 -0
- package/build/lib/graphql-change/$.js +2 -0
- package/build/lib/graphql-change/$.js.map +1 -0
- package/build/lib/graphql-change/change-groups.d.ts +5 -1
- package/build/lib/graphql-change/change-groups.d.ts.map +1 -1
- package/build/lib/graphql-change/change-groups.js.map +1 -1
- package/build/lib/graphql-changeset/$$.d.ts +4 -0
- package/build/lib/graphql-changeset/$$.d.ts.map +1 -0
- package/build/lib/graphql-changeset/$$.js +4 -0
- package/build/lib/graphql-changeset/$$.js.map +1 -0
- package/build/lib/graphql-changeset/$.d.ts +2 -0
- package/build/lib/graphql-changeset/$.d.ts.map +1 -0
- package/build/lib/graphql-changeset/$.js +2 -0
- package/build/lib/graphql-changeset/$.js.map +1 -0
- package/build/lib/graphql-changeset/changelog.d.ts +4 -0
- package/build/lib/graphql-changeset/changelog.d.ts.map +1 -0
- package/build/lib/graphql-changeset/changelog.js +2 -0
- package/build/lib/graphql-changeset/changelog.js.map +1 -0
- package/build/lib/graphql-changeset/changeset.d.ts +66 -0
- package/build/lib/graphql-changeset/changeset.d.ts.map +1 -0
- package/build/lib/graphql-changeset/changeset.js +139 -0
- package/build/lib/graphql-changeset/changeset.js.map +1 -0
- package/build/lib/graphql-changeset/versioned-schema.d.ts +31 -0
- package/build/lib/graphql-changeset/versioned-schema.d.ts.map +1 -0
- package/build/lib/graphql-changeset/versioned-schema.js +14 -0
- package/build/lib/graphql-changeset/versioned-schema.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/{index.js → $.d.ts} +1 -1
- package/build/lib/graphql-schema-loader/$.d.ts.map +1 -0
- package/build/lib/graphql-schema-loader/{index.d.ts → $.js} +1 -1
- package/build/lib/graphql-schema-loader/$.js.map +1 -0
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.d.ts.map +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js +1 -1
- package/build/lib/graphql-schema-loader/graphql-schema-loader.js.map +1 -1
- package/build/lib/hono-aid/{index.js → $.d.ts} +1 -1
- package/build/lib/hono-aid/$.d.ts.map +1 -0
- package/build/lib/hono-aid/{index.d.ts → $.js} +1 -1
- 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 +1 -0
- package/build/lib/kit-temp.d.ts.map +1 -1
- package/build/lib/react-router-aid/{react-router-aid.d.ts → $$.d.ts} +1 -1
- package/build/lib/react-router-aid/$$.d.ts.map +1 -0
- package/build/lib/react-router-aid/{react-router-aid.js → $$.js} +1 -1
- 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-loader/{react-router-loader.d.ts → $$.d.ts} +1 -1
- package/build/lib/react-router-loader/$$.d.ts.map +1 -0
- package/build/lib/react-router-loader/{react-router-loader.js → $$.js} +1 -1
- package/build/lib/react-router-loader/$$.js.map +1 -0
- package/build/lib/react-router-loader/$.d.ts +2 -0
- package/build/lib/react-router-loader/$.d.ts.map +1 -0
- package/build/lib/react-router-loader/$.js +2 -0
- package/build/lib/react-router-loader/$.js.map +1 -0
- package/build/lib/schema-lifecycle/$$.d.ts +6 -0
- package/build/lib/schema-lifecycle/$$.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/$$.js +6 -0
- package/build/lib/schema-lifecycle/$$.js.map +1 -0
- package/build/lib/schema-lifecycle/$.d.ts +2 -0
- package/build/lib/schema-lifecycle/$.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/$.js +2 -0
- package/build/lib/schema-lifecycle/$.js.map +1 -0
- package/build/lib/schema-lifecycle/FieldLifecycle.d.ts +17 -0
- package/build/lib/schema-lifecycle/FieldLifecycle.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/FieldLifecycle.js +2 -0
- package/build/lib/schema-lifecycle/FieldLifecycle.js.map +1 -0
- package/build/lib/schema-lifecycle/LifecycleEvent.d.ts +25 -0
- package/build/lib/schema-lifecycle/LifecycleEvent.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/LifecycleEvent.js +2 -0
- package/build/lib/schema-lifecycle/LifecycleEvent.js.map +1 -0
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts +59 -0
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.js +24 -0
- package/build/lib/schema-lifecycle/NamedTypeLifecycle.js.map +1 -0
- package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts +25 -0
- package/build/lib/schema-lifecycle/SchemaLifecycle.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/SchemaLifecycle.js +59 -0
- package/build/lib/schema-lifecycle/SchemaLifecycle.js.map +1 -0
- package/build/lib/schema-lifecycle/SchemaLink.d.ts +2 -0
- package/build/lib/schema-lifecycle/SchemaLink.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/SchemaLink.js +38 -0
- package/build/lib/schema-lifecycle/SchemaLink.js.map +1 -0
- package/build/lib/schema-lifecycle/handlers.d.ts +20 -0
- package/build/lib/schema-lifecycle/handlers.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/handlers.js +168 -0
- package/build/lib/schema-lifecycle/handlers.js.map +1 -0
- package/build/lib/schema-lifecycle/utils.d.ts +53 -0
- package/build/lib/schema-lifecycle/utils.d.ts.map +1 -0
- package/build/lib/schema-lifecycle/utils.js +160 -0
- package/build/lib/schema-lifecycle/utils.js.map +1 -0
- package/build/lib/stack-processor/{index.js → $.d.ts} +1 -1
- package/build/lib/stack-processor/$.d.ts.map +1 -0
- package/build/lib/stack-processor/{index.d.ts → $.js} +1 -1
- package/build/lib/stack-processor/$.js.map +1 -0
- package/build/lib/superjson-codec/{exports.js → $$.d.ts} +1 -1
- package/build/lib/superjson-codec/$$.d.ts.map +1 -0
- package/build/lib/superjson-codec/{exports.d.ts → $$.js} +1 -1
- package/build/lib/superjson-codec/$$.js.map +1 -0
- package/build/lib/superjson-codec/$.d.ts +2 -0
- package/build/lib/superjson-codec/$.d.ts.map +1 -0
- package/build/lib/superjson-codec/$.js +2 -0
- package/build/lib/superjson-codec/$.js.map +1 -0
- package/build/lib/superjson-codec/codecs/graphql-schema.d.ts +1 -1
- package/build/lib/superjson-codec/codecs/graphql-schema.d.ts.map +1 -1
- package/build/lib/superjson-codec/codecs/graphql-schema.js +1 -1
- package/build/lib/superjson-codec/codecs/graphql-schema.js.map +1 -1
- 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/vite-plugin-config/{vite-plugin-config.d.ts → $$.d.ts} +1 -1
- package/build/lib/vite-plugin-config/$$.d.ts.map +1 -0
- package/build/lib/vite-plugin-config/{vite-plugin-config.js → $$.js} +1 -1
- 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/{index.js → $.d.ts} +1 -1
- package/build/lib/vite-plugin-json/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-json/{index.d.ts → $.js} +1 -1
- package/build/lib/vite-plugin-json/$.js.map +1 -0
- package/build/lib/vite-plugin-mdx/{index.js → $.d.ts} +1 -1
- package/build/lib/vite-plugin-mdx/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-mdx/{index.d.ts → $.js} +1 -1
- package/build/lib/vite-plugin-mdx/$.js.map +1 -0
- package/build/lib/vite-plugin-reactive-data/{index.js → $.d.ts} +1 -1
- package/build/lib/vite-plugin-reactive-data/$.d.ts.map +1 -0
- package/build/lib/vite-plugin-reactive-data/{index.d.ts → $.js} +1 -1
- package/build/lib/vite-plugin-reactive-data/$.js.map +1 -0
- package/build/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.d.ts +1 -1
- 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-virtual/{vite-virtual.js → $$.d.ts} +1 -1
- package/build/lib/vite-virtual/$$.d.ts.map +1 -0
- package/build/lib/vite-virtual/{vite-virtual.d.ts → $$.js} +1 -1
- 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/sandbox.js +2 -40
- package/build/sandbox.js.map +1 -1
- package/build/singletons/superjson.js +1 -1
- package/build/singletons/superjson.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/Changelog/ChangeBase.d.ts +1 -1
- package/build/template/components/Changelog/ChangeBase.d.ts.map +1 -1
- package/build/template/components/Changelog/CriticalitySection.d.ts +1 -1
- package/build/template/components/Changelog/CriticalitySection.d.ts.map +1 -1
- package/build/template/components/Changelog/CriticalitySection.js.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgument.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgument.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveArgumentOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveLocationOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/DirectiveUsage.d.ts +1 -1
- package/build/template/components/Changelog/groups/DirectiveUsage.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts +1 -1
- package/build/template/components/Changelog/groups/EnumValueDeprecationReason.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/EnumValueDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/EnumValueOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/EnumValueOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgument.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldArgument.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldArgumentOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecation.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldDeprecationReason.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/FieldOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/FieldOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts +1 -1
- package/build/template/components/Changelog/groups/InputFieldDefaultValue.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/InputFieldDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/InputFieldOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/InputFieldOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/ObjectTypeInterfaceOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/SchemaRootType.d.ts +1 -1
- package/build/template/components/Changelog/groups/SchemaRootType.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/TypeDescription.d.ts +1 -1
- package/build/template/components/Changelog/groups/TypeDescription.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/TypeOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/TypeOperation.d.ts.map +1 -1
- package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts +1 -1
- package/build/template/components/Changelog/groups/UnionMemberOperation.d.ts.map +1 -1
- package/build/template/components/Changelog.d.ts +2 -2
- package/build/template/components/Changelog.d.ts.map +1 -1
- package/build/template/components/Changelog.js +13 -10
- package/build/template/components/Changelog.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/Field.d.ts +5 -5
- package/build/template/components/Field.d.ts.map +1 -1
- package/build/template/components/Field.js +23 -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/HamburgerMenu.d.ts +1 -0
- 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/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 +11 -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.map +1 -1
- 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.map +1 -1
- package/build/template/components/TypeIndex.js +1 -1
- package/build/template/components/TypeIndex.js.map +1 -1
- package/build/template/components/VersionPicker.d.ts +8 -0
- package/build/template/components/VersionPicker.d.ts.map +1 -0
- package/build/template/components/VersionPicker.js +66 -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/sidebar/Sidebar.d.ts +2 -1
- package/build/template/components/sidebar/Sidebar.d.ts.map +1 -1
- package/build/template/components/sidebar/Sidebar.js +2 -2
- package/build/template/components/sidebar/Sidebar.js.map +1 -1
- package/build/template/contexts/SchemaLifecycleContext.d.ts +14 -0
- package/build/template/contexts/SchemaLifecycleContext.d.ts.map +1 -0
- package/build/template/contexts/SchemaLifecycleContext.js +15 -0
- package/build/template/contexts/SchemaLifecycleContext.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/layouts/ChangelogLayout.d.ts +1 -1
- package/build/template/layouts/ChangelogLayout.d.ts.map +1 -1
- package/build/template/layouts/ChangelogLayout.js +11 -3
- package/build/template/layouts/ChangelogLayout.js.map +1 -1
- package/build/template/layouts/SidebarLayout.d.ts +1 -0
- package/build/template/layouts/SidebarLayout.d.ts.map +1 -1
- package/build/template/layouts/SidebarLayout.js +2 -2
- package/build/template/layouts/SidebarLayout.js.map +1 -1
- package/build/template/routes/changelog.d.ts +4 -2
- package/build/template/routes/changelog.d.ts.map +1 -1
- package/build/template/routes/changelog.js.map +1 -1
- package/build/template/routes/reference.d.ts +30 -9
- package/build/template/routes/reference.d.ts.map +1 -1
- package/build/template/routes/reference.js +53 -55
- package/build/template/routes/reference.js.map +1 -1
- package/build/template/routes/root.d.ts +1 -0
- package/build/template/routes/root.d.ts.map +1 -1
- package/build/template/routes/root.js +21 -6
- package/build/template/routes/root.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/ssg/get-route-paths.js +1 -1
- package/build/template/server/ssg/get-route-paths.js.map +1 -1
- package/build/template/sources/schema-source.d.ts +6 -4
- package/build/template/sources/schema-source.d.ts.map +1 -1
- package/build/template/stores/$$.d.ts +13 -0
- package/build/template/stores/$$.d.ts.map +1 -0
- package/build/template/stores/$$.js +5 -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/schema.d.ts +40 -0
- package/build/template/stores/schema.d.ts.map +1 -0
- package/build/template/stores/schema.js +36 -0
- package/build/template/stores/schema.js.map +1 -0
- package/build/template/stores/toast.d.ts +103 -0
- package/build/template/stores/toast.d.ts.map +1 -0
- package/build/template/stores/toast.js +105 -0
- package/build/template/stores/toast.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/package.json +119 -4
- package/src/api/api.ts +1 -0
- package/src/api/cache/$$.ts +1 -0
- package/src/api/cache/$.ts +1 -0
- package/src/api/cache/cache.ts +210 -0
- 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 +1 -1
- package/src/api/content/sidebar.ts +1 -1
- package/src/api/iso/schema/$$.ts +1 -3
- package/src/api/iso/schema/routing.ts +89 -0
- package/src/api/iso/schema/validation.ts +136 -0
- package/src/api/schema/data-sources/introspection/introspection.ts +13 -10
- package/src/api/schema/data-sources/memory/memory.ts +26 -16
- package/src/api/schema/data-sources/schema-directory/schema-directory.ts +28 -18
- package/src/api/schema/data-sources/schema-file/schema-file.ts +10 -10
- package/src/api/schema/read.ts +5 -5
- package/src/api/schema/schema.ts +0 -14
- package/src/api/schema-augmentation/augmentations/description.ts +1 -1
- package/src/api/schema-augmentation/schema-augmentation.ts +1 -1
- package/src/api/schema-augmentation/target.ts +1 -1
- package/src/api/schema-source/schema-source.ts +59 -32
- package/src/api/vite/plugins/build.ts +1 -1
- package/src/api/vite/plugins/core.ts +21 -12
- package/src/api/vite/plugins/pages.ts +1 -1
- package/src/api/vite/plugins/schema-assets.ts +21 -7
- package/src/api/vite/vi.ts +1 -1
- package/src/cli/commands/cache/$default.ts +10 -0
- package/src/cli/commands/cache/delete.ts +27 -0
- package/src/cli/commands/cache/show.ts +99 -0
- package/src/cli/commands/cache.ts +9 -0
- package/src/cli/commands/config.ts +3 -0
- package/src/cli/commands/open.ts +2 -2
- package/src/cli/commands/static.ts +3 -0
- package/src/lib/errors/$.ts +1 -0
- package/src/lib/file-router/$.ts +1 -0
- package/src/lib/file-router/index.test.ts +1 -1
- package/src/lib/grafaid/$.ts +1 -0
- package/src/lib/grafaid/schema/type.ts +1 -0
- package/src/lib/graphql-change/{graphql-change.ts → $$.ts} +1 -1
- package/src/lib/graphql-change/$.ts +1 -0
- package/src/lib/graphql-change/change-groups.ts +56 -26
- package/src/lib/graphql-changeset/$$.ts +3 -0
- package/src/lib/graphql-changeset/$.ts +1 -0
- package/src/lib/graphql-changeset/changelog.ts +9 -0
- package/src/lib/graphql-changeset/changeset.ts +190 -0
- package/src/lib/graphql-changeset/versioned-schema.ts +43 -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 +1 -1
- package/src/lib/html-utils/$$.ts +2 -0
- package/src/lib/html-utils/$.ts +1 -0
- package/src/lib/kit-temp.ts +3 -0
- package/src/lib/path-map/$.test.ts +4 -3
- package/src/lib/react-router-aid/$.ts +1 -0
- package/src/lib/react-router-loader/$.ts +1 -0
- package/src/lib/schema-lifecycle/$$.ts +19 -0
- package/src/lib/schema-lifecycle/$.test.ts +222 -0
- package/src/lib/schema-lifecycle/$.ts +1 -0
- package/src/lib/schema-lifecycle/FieldLifecycle.ts +18 -0
- package/src/lib/schema-lifecycle/LifecycleEvent.ts +27 -0
- package/src/lib/schema-lifecycle/NamedTypeLifecycle.ts +96 -0
- package/src/lib/schema-lifecycle/SchemaLifecycle.ts +85 -0
- package/src/lib/schema-lifecycle/SchemaLink.ts +40 -0
- package/src/lib/schema-lifecycle/handlers.ts +215 -0
- package/src/lib/schema-lifecycle/utils.ts +234 -0
- package/src/lib/superjson-codec/$.ts +1 -0
- package/src/lib/superjson-codec/codecs/graphql-schema.ts +1 -1
- package/src/lib/theme/$$.ts +1 -0
- package/src/lib/theme/$.ts +1 -1
- package/src/lib/vite-plugin-config/$.ts +1 -0
- package/src/lib/vite-plugin-reactive-data/vite-plugin-reactive-data.ts +1 -1
- package/src/lib/vite-plugins/$.ts +4 -0
- package/src/lib/vite-virtual/$.ts +1 -0
- package/src/lib/vite-virtual/identified-loader.ts +1 -1
- package/src/sandbox.ts +1 -43
- package/src/singletons/superjson.ts +1 -1
- package/src/template/components/ArgumentList.tsx +2 -6
- package/src/template/components/ArgumentListAnnotation.tsx +1 -1
- package/src/template/components/Changelog/ChangeBase.tsx +1 -1
- package/src/template/components/Changelog/CriticalitySection.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveArgument.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveArgumentDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveArgumentOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveLocationOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/DirectiveUsage.tsx +1 -1
- package/src/template/components/Changelog/groups/EnumValueDeprecationReason.tsx +1 -1
- package/src/template/components/Changelog/groups/EnumValueDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/EnumValueOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldArgument.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldArgumentDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldArgumentOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldDeprecation.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldDeprecationReason.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/FieldOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/InputFieldDefaultValue.tsx +1 -1
- package/src/template/components/Changelog/groups/InputFieldDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/InputFieldOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/ObjectTypeInterfaceOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/SchemaRootType.tsx +1 -1
- package/src/template/components/Changelog/groups/TypeDescription.tsx +1 -1
- package/src/template/components/Changelog/groups/TypeOperation.tsx +1 -1
- package/src/template/components/Changelog/groups/UnionMemberOperation.tsx +1 -1
- package/src/template/components/Changelog.tsx +14 -13
- package/src/template/components/DeprecationReason.tsx +3 -3
- package/src/template/components/Description.tsx +3 -3
- package/src/template/components/Field.tsx +48 -8
- package/src/template/components/FieldList.tsx +4 -2
- package/src/template/components/FieldListSection.tsx +4 -8
- package/src/template/components/HamburgerMenu.tsx +3 -1
- package/src/template/components/MissingSchema.tsx +3 -1
- package/src/template/components/NamedType.tsx +31 -2
- package/src/template/components/ReferenceLink.tsx +9 -11
- package/src/template/components/ToastContainer.tsx +67 -0
- package/src/template/components/ToastItem.tsx +119 -0
- package/src/template/components/TypeAnnotation.tsx +2 -6
- package/src/template/components/TypeIndex.tsx +1 -1
- package/src/template/components/VersionPicker.tsx +94 -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/sidebar/Sidebar.tsx +7 -1
- package/src/template/contexts/SchemaLifecycleContext.tsx +30 -0
- package/src/template/hooks/useReferencePath.ts +20 -0
- package/src/template/layouts/ChangelogLayout.tsx +11 -4
- package/src/template/layouts/SidebarLayout.tsx +4 -2
- package/src/template/routes/changelog.tsx +4 -2
- package/src/template/routes/reference.tsx +70 -69
- package/src/template/routes/root.tsx +45 -11
- package/src/template/server/create-page-html-response.ts +1 -1
- package/src/template/server/middleware/unsupported-assets.ts +2 -2
- package/src/template/server/ssg/get-route-paths.ts +1 -1
- package/src/template/stores/$$.ts +15 -0
- package/src/template/stores/$.ts +1 -0
- package/src/template/stores/schema.ts +52 -0
- package/src/template/stores/toast.ts +153 -0
- package/src/template/utils/try-with-toast.ts +41 -0
- package/build/lib/apple-touch-icon/index.d.ts.map +0 -1
- package/build/lib/apple-touch-icon/index.js.map +0 -1
- package/build/lib/errors/errors.d.ts.map +0 -1
- 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.map +0 -1
- package/build/lib/extensible-data/index.js.map +0 -1
- package/build/lib/favicon/index.d.ts.map +0 -1
- package/build/lib/favicon/index.js.map +0 -1
- package/build/lib/file-router/file-router.d.ts.map +0 -1
- 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.map +0 -1
- 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.map +0 -1
- package/build/lib/grafaid-old/index.js.map +0 -1
- package/build/lib/graphql-change/graphql-change.d.ts.map +0 -1
- 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-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.map +0 -1
- package/build/lib/graphql-schema-loader/index.js.map +0 -1
- package/build/lib/hono-aid/index.d.ts.map +0 -1
- package/build/lib/hono-aid/index.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.map +0 -1
- package/build/lib/react-router-aid/react-router-aid.js.map +0 -1
- package/build/lib/react-router-loader/react-router-loader.d.ts.map +0 -1
- package/build/lib/react-router-loader/react-router-loader.js.map +0 -1
- package/build/lib/stack-processor/index.d.ts.map +0 -1
- package/build/lib/stack-processor/index.js.map +0 -1
- package/build/lib/superjson-codec/exports.d.ts.map +0 -1
- 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/vite-plugin-config/vite-plugin-config.d.ts.map +0 -1
- package/build/lib/vite-plugin-config/vite-plugin-config.js.map +0 -1
- package/build/lib/vite-plugin-json/index.d.ts.map +0 -1
- package/build/lib/vite-plugin-json/index.js.map +0 -1
- package/build/lib/vite-plugin-mdx/index.d.ts.map +0 -1
- package/build/lib/vite-plugin-mdx/index.js.map +0 -1
- package/build/lib/vite-plugin-reactive-data/index.d.ts.map +0 -1
- 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.map +0 -1
- package/build/lib/vite-virtual/vite-virtual.js.map +0 -1
- package/build/template/components/VersionSelector.d.ts +0 -8
- package/build/template/components/VersionSelector.d.ts.map +0 -1
- package/build/template/components/VersionSelector.js +0 -22
- package/build/template/components/VersionSelector.js.map +0 -1
- package/src/lib/errors/index.ts +0 -1
- package/src/lib/file-router/index.ts +0 -1
- package/src/lib/grafaid/index.ts +0 -1
- package/src/lib/graphql-change/index.ts +0 -1
- package/src/lib/graphql-changeset/graphql-changeset.ts +0 -9
- package/src/lib/graphql-changeset/index.ts +0 -1
- package/src/lib/react-router-aid/index.ts +0 -1
- package/src/lib/superjson-codec/index.ts +0 -1
- package/src/lib/vite-plugins/index.ts +0 -4
- package/src/lib/vite-virtual/index.ts +0 -1
- package/src/template/components/VersionSelector.tsx +0 -42
- /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/lib/react-router-aid/{react-router-aid.ts → $$.ts} +0 -0
- /package/src/lib/react-router-loader/{react-router-loader.ts → $$.ts} +0 -0
- /package/src/lib/stack-processor/{index.ts → $.ts} +0 -0
- /package/src/lib/superjson-codec/{exports.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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypeAnnotation.js","sourceRoot":"","sources":["../../../src/template/components/TypeAnnotation.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"TypeAnnotation.js","sourceRoot":"","sources":["../../../src/template/components/TypeAnnotation.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAEvC,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACjG,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAoC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC1E,8BAA8B;IAC9B,IAAI,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;QACxB,OAAO,CACL,8BACE,KAAC,cAAc,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,GAAI,EACrC,KAAC,IAAI,IAAC,KAAK,EAAC,MAAM,kBAAS,IAC1B,CACJ,CAAA;IACH,CAAC;IAED,2BAA2B;IAC3B,IAAI,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QACrB,OAAO,CACL,8BACE,KAAC,IAAI,IAAC,KAAK,EAAC,MAAM,kBAAS,EAC3B,KAAC,cAAc,IAAC,IAAI,EAAE,IAAI,CAAC,MAAM,GAAI,EACrC,KAAC,IAAI,IAAC,KAAK,EAAC,MAAM,kBAAS,IAC1B,CACJ,CAAA;IACH,CAAC;IAED,qBAAqB;IACrB,IAAI,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;QACtB,MAAM,SAAS,GAAG,IAAI,CAAA;QAEtB,4BAA4B;QAC5B,IAAI,iBAAiB,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,OAAO,CACL,KAAC,aAAa,IAAC,IAAI,EAAE,SAAS,CAAC,IAAI,YACjC,KAAC,IAAI,IAAC,KAAK,EAAC,OAAO,YAAE,SAAS,CAAC,IAAI,GAAQ,GAC7B,CACjB,CAAA;QACH,CAAC;QAED,mEAAmE;QACnE,6CAA6C;QAC7C,OAAO,CACL,KAAC,aAAa,IAAC,IAAI,EAAE,SAAS,CAAC,IAAI,YACjC,KAAC,IAAI,IAAC,KAAK,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,YAAG,SAAS,CAAC,IAAI,GAAQ,GACnE,CACjB,CAAA;QAED,kEAAkE;QAClE,sDAAsD;IACxD,CAAC;IAED,2EAA2E;IAC3E,OAAO,KAAC,IAAI,cAAE,MAAM,CAAC,IAAI,CAAC,GAAQ,CAAA;AACpC,CAAC,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { GrafaidOld } from '#lib/grafaid-old
|
2
|
+
import { GrafaidOld } from '#lib/grafaid-old';
|
3
3
|
import { Box, Flex, Heading } from '@radix-ui/themes';
|
4
4
|
import { Obj } from '@wollybeard/kit';
|
5
5
|
import { ReferenceLink } from './ReferenceLink.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypeIndex.js","sourceRoot":"","sources":["../../../src/template/components/TypeIndex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"TypeIndex.js","sourceRoot":"","sources":["../../../src/template/components/TypeIndex.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAGrC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAMlD,MAAM,CAAC,MAAM,SAAS,GAAc,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;IACjD,MAAM,OAAO,GAAG,UA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eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA+EzC,CAAA"}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Api } from '#api/iso';
|
3
|
+
import { Select } from '@radix-ui/themes';
|
4
|
+
import { useNavigate } from 'react-router';
|
5
|
+
import { useReferencePath } from '../hooks/useReferencePath.js';
|
6
|
+
import { schemaSource } from '../sources/schema-source.js';
|
7
|
+
import { Stores } from '../stores/$.js';
|
8
|
+
import { tryWithToast } from '../utils/try-with-toast.js';
|
9
|
+
export const VersionPicker = ({ all, current }) => {
|
10
|
+
const navigate = useNavigate();
|
11
|
+
const currentPath = useReferencePath();
|
12
|
+
// Don't show selector if only one version
|
13
|
+
if (all.length <= 1) {
|
14
|
+
return null;
|
15
|
+
}
|
16
|
+
const handleVersionChange = async (newVersion) => {
|
17
|
+
const error = await tryWithToast(async () => {
|
18
|
+
// Check if current path exists in target version
|
19
|
+
const targetSchema = await schemaSource.get(newVersion);
|
20
|
+
// Find fallback path if needed
|
21
|
+
const fallbackPath = Api.Schema.Validation.findFallbackPath(targetSchema, currentPath);
|
22
|
+
// Get redirect description if path changed
|
23
|
+
const redirectDescription = Api.Schema.Validation.getRedirectDescription(targetSchema, currentPath, fallbackPath, newVersion);
|
24
|
+
// Create the new path
|
25
|
+
const newPath = Api.Schema.Routing.createReferencePath({
|
26
|
+
version: newVersion,
|
27
|
+
type: fallbackPath.type,
|
28
|
+
field: fallbackPath.field,
|
29
|
+
});
|
30
|
+
// Show toast notification if schema location redirect will occur
|
31
|
+
if (redirectDescription) {
|
32
|
+
Stores.Toast.store.info(redirectDescription, {
|
33
|
+
duration: 160_000,
|
34
|
+
actions: [
|
35
|
+
{
|
36
|
+
label: 'Go back',
|
37
|
+
onClick() {
|
38
|
+
navigate(-1);
|
39
|
+
},
|
40
|
+
},
|
41
|
+
{
|
42
|
+
label: 'View changelog',
|
43
|
+
onClick() {
|
44
|
+
// Navigate to changelog page
|
45
|
+
navigate('/changelog');
|
46
|
+
},
|
47
|
+
},
|
48
|
+
],
|
49
|
+
});
|
50
|
+
}
|
51
|
+
navigate(newPath);
|
52
|
+
}, 'Failed to switch version');
|
53
|
+
// Fallback logic if error occurred
|
54
|
+
if (error) {
|
55
|
+
// Fallback to simple navigation if schema loading fails
|
56
|
+
const newPath = Api.Schema.Routing.createReferencePath({
|
57
|
+
version: newVersion,
|
58
|
+
type: currentPath.type,
|
59
|
+
field: currentPath.field,
|
60
|
+
});
|
61
|
+
navigate(newPath);
|
62
|
+
}
|
63
|
+
};
|
64
|
+
return (_jsxs(Select.Root, { value: current, onValueChange: handleVersionChange, children: [_jsx(Select.Trigger, { children: current === Api.Schema.VERSION_LATEST ? `Latest` : current }), _jsx(Select.Content, { children: all.map(version => (_jsx(Select.Item, { value: version, children: version === Api.Schema.VERSION_LATEST ? `Latest` : version }, version))) })] }));
|
65
|
+
};
|
66
|
+
//# sourceMappingURL=VersionPicker.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"VersionPicker.js","sourceRoot":"","sources":["../../../src/template/components/VersionPicker.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAOzD,MAAM,CAAC,MAAM,aAAa,GAAoB,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,EAAE,EAAE;IACjE,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAA;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CAAA;YACJ,CAAC;YAED,QAAQ,CAAC,OAAO,CAAC,CAAA;QACnB,CAAC,EAAE,0BAA0B,CAAC,CAAA;QAE9B,mCAAmC;QACnC,IAAI,KAAK,EAAE,CAAC;YACV,wDAAwD;YACxD,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC;gBACrD,OAAO,EAAE,UAAU;gBACnB,IAAI,EAAE,WAAW,CAAC,IAAI;gBACtB,KAAK,EAAE,WAAW,CAAC,KAAK;aACzB,CAAC,CAAA;YACF,QAAQ,CAAC,OAAO,CAAC,CAAA;QACnB,CAAC;IACH,CAAC,CAAA;IAED,OAAO,CACL,MAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,OAAO,EAAE,aAAa,EAAE,mBAAmB,aAC7D,KAAC,MAAM,CAAC,OAAO,cACZ,OAAO,KAAK,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,GAC5C,EACjB,KAAC,MAAM,CAAC,OAAO,cACZ,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAClB,KAAC,MAAM,CAAC,IAAI,IAAe,KAAK,EAAE,OAAO,YACtC,OAAO,KAAK,GAAG,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,IAD3C,OAAO,CAEX,CACf,CAAC,GACa,IACL,CACf,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-kind-icon.d.ts","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-kind-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"type-kind-icon.d.ts","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-kind-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAI3C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,CAAA;CAAE,CAIxE,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-link.d.ts","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"type-link.d.ts","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-link.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAMtC,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAA;CAAE,CAYvE,CAAA"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { Grafaid } from '#lib/grafaid
|
2
|
+
import { Grafaid } from '#lib/grafaid';
|
3
3
|
import { Code, Flex } from '@radix-ui/themes';
|
4
4
|
import { ReferenceLink } from '../ReferenceLink.js';
|
5
5
|
import { TypeKindIcon } from './graphql.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"type-link.js","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-link.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"type-link.js","sourceRoot":"","sources":["../../../../src/template/components/graphql/type-link.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAuD,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IACvF,MAAM,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAA;IAEnD,OAAO,CACL,KAAC,aAAa,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,YAC5B,MAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,GAAG,EAAC,OAAO,EAAC,aAAa,aAChD,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,GAAI,EAC3B,GAAG,EACJ,KAAC,IAAI,IAAC,KAAK,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,OAAO,EAAC,OAAO,YAAE,IAAI,CAAC,IAAI,GAAQ,IAC3E,GACO,CACjB,CAAA;AACH,CAAC,CAAA"}
|
@@ -4,7 +4,8 @@ interface Props extends LayoutProps, MarginProps, BoxOwnProps {
|
|
4
4
|
data: Content.Item[];
|
5
5
|
basePath?: string;
|
6
6
|
style?: React.CSSProperties;
|
7
|
+
topContent?: React.ReactNode;
|
7
8
|
}
|
8
|
-
export declare const Sidebar: ({ data, basePath, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
9
|
+
export declare const Sidebar: ({ data, basePath, topContent, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
|
9
10
|
export {};
|
10
11
|
//# sourceMappingURL=Sidebar.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/template/components/sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAInF,UAAU,KAAM,SAAQ,WAAW,EAAE,WAAW,EAAE,WAAW;IAC3D,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/template/components/sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AAInF,UAAU,KAAM,SAAQ,WAAW,EAAE,WAAW,EAAE,WAAW;IAC3D,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;IAC3B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAED,eAAO,MAAM,OAAO,GAAI,0CAA0C,KAAK,4CAwBtE,CAAA"}
|
@@ -2,11 +2,11 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Box } from '@radix-ui/themes';
|
3
3
|
import { SidebarContext } from './SidebarContext.js';
|
4
4
|
import { Items } from './SidebarItem.js';
|
5
|
-
export const Sidebar = ({ data, basePath, ...props }) => {
|
5
|
+
export const Sidebar = ({ data, basePath, topContent, ...props }) => {
|
6
6
|
return (_jsx(SidebarContext.Provider, { value: { basePath }, children: _jsxs(Box, { "data-testid": 'sidebar', role: 'Sidebar', ...props, children: [_jsx("style", { children: `
|
7
7
|
div[role="Sidebar"] a:not([data-active]):hover {
|
8
8
|
background-color: var(--iris-2) !important;
|
9
9
|
}
|
10
|
-
` }), _jsx(Items, { items: data })] }) }));
|
10
|
+
` }), topContent && (_jsx(Box, { mb: '4', children: topContent })), _jsx(Items, { items: data })] }) }));
|
11
11
|
};
|
12
12
|
//# sourceMappingURL=Sidebar.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Sidebar.js","sourceRoot":"","sources":["../../../../src/template/components/sidebar/Sidebar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;
|
1
|
+
{"version":3,"file":"Sidebar.js","sourceRoot":"","sources":["../../../../src/template/components/sidebar/Sidebar.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AASxC,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,KAAK,EAAS,EAAE,EAAE;IACzE,OAAO,CACL,KAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,QAAQ,EAAE,YAC1C,MAAC,GAAG,mBACU,SAAS,EACrB,IAAI,EAAC,SAAS,KACV,KAAK,aAET,0BACG;;;;WAIA,GACK,EACP,UAAU,IAAI,CACb,KAAC,GAAG,IAAC,EAAE,EAAC,GAAG,YACR,UAAU,GACP,CACP,EACD,KAAC,KAAK,IAAC,KAAK,EAAE,IAAI,GAAI,IAClB,GACkB,CAC3B,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { React } from '#dep/react/index';
|
2
|
+
import { SchemaLifecycle } from '#lib/schema-lifecycle';
|
3
|
+
interface SchemaLifecycleContextValue {
|
4
|
+
lifecycle: SchemaLifecycle.SchemaLifecycle | null;
|
5
|
+
currentVersion: string;
|
6
|
+
}
|
7
|
+
export declare const SchemaLifecycleProvider: React.FC<{
|
8
|
+
children: React.ReactNode;
|
9
|
+
lifecycle: SchemaLifecycle.SchemaLifecycle | null;
|
10
|
+
currentVersion: string;
|
11
|
+
}>;
|
12
|
+
export declare const useSchemaLifecycle: () => SchemaLifecycleContextValue;
|
13
|
+
export {};
|
14
|
+
//# sourceMappingURL=SchemaLifecycleContext.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SchemaLifecycleContext.d.ts","sourceRoot":"","sources":["../../../src/template/contexts/SchemaLifecycleContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAGvD,UAAU,2BAA2B;IACnC,SAAS,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAA;IACjD,cAAc,EAAE,MAAM,CAAA;CACvB;AAID,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC7C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAA;IACjD,cAAc,EAAE,MAAM,CAAA;CACvB,CAMA,CAAA;AAED,eAAO,MAAM,kBAAkB,mCAM9B,CAAA"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { SchemaLifecycle } from '#lib/schema-lifecycle';
|
3
|
+
import { createContext, useContext } from 'react';
|
4
|
+
const SchemaLifecycleContext = createContext(undefined);
|
5
|
+
export const SchemaLifecycleProvider = ({ children, lifecycle, currentVersion }) => {
|
6
|
+
return (_jsx(SchemaLifecycleContext.Provider, { value: { lifecycle, currentVersion }, children: children }));
|
7
|
+
};
|
8
|
+
export const useSchemaLifecycle = () => {
|
9
|
+
const context = useContext(SchemaLifecycleContext);
|
10
|
+
if (!context) {
|
11
|
+
throw new Error(`useSchemaLifecycle must be used within a SchemaLifecycleProvider`);
|
12
|
+
}
|
13
|
+
return context;
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=SchemaLifecycleContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SchemaLifecycleContext.js","sourceRoot":"","sources":["../../../src/template/contexts/SchemaLifecycleContext.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAOjD,MAAM,sBAAsB,GAAG,aAAa,CAA0C,SAAS,CAAC,CAAA;AAEhG,MAAM,CAAC,MAAM,uBAAuB,GAI/B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC/C,OAAO,CACL,KAAC,sBAAsB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,SAAS,EAAE,cAAc,EAAE,YAClE,QAAQ,GACuB,CACnC,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,MAAM,OAAO,GAAG,UAAU,CAAC,sBAAsB,CAAC,CAAA;IAClD,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CAAC,kEAAkE,CAAC,CAAA;IACrF,CAAC;IACD,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Api } from '#api/iso';
|
2
|
+
/**
|
3
|
+
* Hook that returns parsed reference path parameters
|
4
|
+
*
|
5
|
+
* @throws {Error} If not currently on a reference route
|
6
|
+
* @returns Parsed reference path object
|
7
|
+
*/
|
8
|
+
export declare const useReferencePath: () => Api.Schema.Validation.PathValidation;
|
9
|
+
//# sourceMappingURL=useReferencePath.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useReferencePath.d.ts","sourceRoot":"","sources":["../../../src/template/hooks/useReferencePath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAG9B;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,QAAO,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,cAUzD,CAAA"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Api } from '#api/iso';
|
2
|
+
import { useLocation, useParams } from 'react-router';
|
3
|
+
/**
|
4
|
+
* Hook that returns parsed reference path parameters
|
5
|
+
*
|
6
|
+
* @throws {Error} If not currently on a reference route
|
7
|
+
* @returns Parsed reference path object
|
8
|
+
*/
|
9
|
+
export const useReferencePath = () => {
|
10
|
+
const params = useParams();
|
11
|
+
const location = useLocation();
|
12
|
+
Api.Schema.Routing.assertReferenceRoute({
|
13
|
+
pathname: location.pathname,
|
14
|
+
params,
|
15
|
+
});
|
16
|
+
return params;
|
17
|
+
};
|
18
|
+
//# sourceMappingURL=useReferencePath.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"useReferencePath.js","sourceRoot":"","sources":["../../../src/template/hooks/useReferencePath.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAErD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAyC,EAAE;IACzE,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAC1B,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAA;IAE9B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAAC;QACtC,QAAQ,EAAE,QAAQ,CAAC,QAAQ;QAC3B,MAAM;KACP,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ChangelogLayout.d.ts","sourceRoot":"","sources":["../../../src/template/layouts/ChangelogLayout.tsx"],"names":[],"mappings":"AAMA,OAAO,
|
1
|
+
{"version":3,"file":"ChangelogLayout.d.ts","sourceRoot":"","sources":["../../../src/template/layouts/ChangelogLayout.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,QAAQ,EAAE,gBAAgB,CAAC,SAAS,EAAE,CAAA;CACvC;AA2ED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyE1D,CAAA"}
|
@@ -1,13 +1,21 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import { CRITICALITY_CONFIG, isCriticalityBreaking, isCriticalityDangerous, isCriticalitySafe, } from '#lib/graphql-change/criticality';
|
3
|
+
import { GraphqlChangeset } from '#lib/graphql-changeset';
|
3
4
|
import { Box, Flex, Text } from '@radix-ui/themes';
|
4
5
|
import { useEffect, useState } from 'react';
|
5
6
|
import { renderDate } from '../components/Changelog.js';
|
6
7
|
const calculateCounts = (version) => {
|
8
|
+
if (GraphqlChangeset.isIntermediateChangeSet(version)) {
|
9
|
+
return {
|
10
|
+
breaking: version.changes.filter(isCriticalityBreaking).length,
|
11
|
+
dangerous: version.changes.filter(isCriticalityDangerous).length,
|
12
|
+
safe: version.changes.filter(isCriticalitySafe).length,
|
13
|
+
};
|
14
|
+
}
|
7
15
|
return {
|
8
|
-
breaking:
|
9
|
-
dangerous:
|
10
|
-
safe:
|
16
|
+
breaking: 0,
|
17
|
+
dangerous: 0,
|
18
|
+
safe: 0,
|
11
19
|
};
|
12
20
|
};
|
13
21
|
const SidebarEntry = ({ version, counts, isActive }) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ChangelogLayout.js","sourceRoot":"","sources":["../../../src/template/layouts/ChangelogLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,iCAAiC,CAAA;
|
1
|
+
{"version":3,"file":"ChangelogLayout.js","sourceRoot":"","sources":["../../../src/template/layouts/ChangelogLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,GAClB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AACzD,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAavD,MAAM,eAAe,GAAG,CAAC,OAAmC,EAAiB,EAAE;IAC7E,IAAI,gBAAgB,CAAC,uBAAuB,CAAC,OAAO,CAAC,EAAE,CAAC;QACtD,OAAO;YACL,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC,MAAM;YAC9D,SAAS,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC,MAAM;YAChE,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,MAAM;SACvD,CAAA;IACH,CAAC;IACD,OAAO;QACL,QAAQ,EAAE,CAAC;QACX,SAAS,EAAE,CAAC;QACZ,IAAI,EAAE,CAAC;KACR,CAAA;AACH,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IAAI,CAAC,WAAW,EAAE,CAI/B,CACH,CAAC,IACE,EAGN,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,YACjC,QAAQ,GACL,IACD,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../src/template/layouts/SidebarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,KAAK;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"SidebarLayout.d.ts","sourceRoot":"","sources":["../../../src/template/layouts/SidebarLayout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAE7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAM9B,UAAU,KAAK;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAwDzC,CAAA"}
|
@@ -4,7 +4,7 @@ import { useEffect, useState } from 'react';
|
|
4
4
|
import { useLocation } from 'react-router';
|
5
5
|
import { HamburgerMenu } from '../components/HamburgerMenu.js';
|
6
6
|
import { Sidebar } from '../components/sidebar/Sidebar.js';
|
7
|
-
export const SidebarLayout = ({ children, sidebar, basePath }) => {
|
7
|
+
export const SidebarLayout = ({ children, sidebar, basePath, topContent }) => {
|
8
8
|
const location = useLocation();
|
9
9
|
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
|
10
10
|
// Close mobile menu on route change
|
@@ -20,6 +20,6 @@ export const SidebarLayout = ({ children, sidebar, basePath }) => {
|
|
20
20
|
setMobileMenuOpen(!mobileMenuOpen);
|
21
21
|
}, onClose: () => {
|
22
22
|
setMobileMenuOpen(false);
|
23
|
-
}, sidebarData: sidebar, basePath: basePath }) })), isShowSidebar && (_jsx(Box, { display: { initial: `none`, xs: `none`, sm: `none`, md: `block` }, gridColumn: '1 / 3', gridRow: '1 / auto', children: _jsx(Sidebar, { data: sidebar, basePath: basePath }) })), _jsx(Box, { gridArea: 'content / content / auto / 8', children: children })] }));
|
23
|
+
}, sidebarData: sidebar, basePath: basePath, topContent: topContent }) })), isShowSidebar && (_jsx(Box, { display: { initial: `none`, xs: `none`, sm: `none`, md: `block` }, gridColumn: '1 / 3', gridRow: '1 / auto', children: _jsx(Sidebar, { data: sidebar, basePath: basePath, topContent: topContent }) })), _jsx(Box, { gridArea: 'content / content / auto / 8', children: children })] }));
|
24
24
|
};
|
25
25
|
//# sourceMappingURL=SidebarLayout.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SidebarLayout.js","sourceRoot":"","sources":["../../../src/template/layouts/SidebarLayout.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAE5C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;
|
1
|
+
{"version":3,"file":"SidebarLayout.js","sourceRoot":"","sources":["../../../src/template/layouts/SidebarLayout.tsx"],"names":[],"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aAAa,IACZ,MAAM,EAAE,cAAc,EACtB,QAAQ,EAAE,GAAG,EAAE;wBACb,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAA;oBACpC,CAAC,EACD,OAAO,EAAE,GAAG,EAAE;wBACZ,iBAAiB,CAAC,KAAK,CAAC,CAAA;oBAC1B,CAAC,EACD,WAAW,EAAE,OAAO,EACpB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,GACtB,GACE,CACP,EAGA,aAAa,IAAI,CAChB,KAAC,GAAG,IACF,OAAO,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,EACjE,UAAU,EAAC,OAAO,EAClB,OAAO,EAAC,UAAU,YAElB,KAAC,OAAO,IAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,GAAI,GAClE,CACP,EAED,KAAC,GAAG,IAAC,QAAQ,EAAC,8BAA8B,YACzC,QAAQ,GACL,IACD,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,8 +1,10 @@
|
|
1
|
-
import type { GraphqlChangeset } from '#lib/graphql-changeset
|
1
|
+
import type { GraphqlChangeset } from '#lib/graphql-changeset';
|
2
2
|
export declare const changelog: {
|
3
3
|
path: string;
|
4
4
|
loader: () => Promise<{
|
5
|
-
changesets:
|
5
|
+
changesets: never[];
|
6
|
+
} | {
|
7
|
+
changesets: GraphqlChangeset.Changelog;
|
6
8
|
}>;
|
7
9
|
Component: () => import("react/jsx-runtime").JSX.Element;
|
8
10
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../../src/template/routes/changelog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"changelog.d.ts","sourceRoot":"","sources":["../../../src/template/routes/changelog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAqC9D,eAAO,MAAM,SAAS;;;;;;;;CAIpB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../../src/template/routes/changelog.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE1D,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,IAAI,EAAE;IACrC,+BAA+B;IAC/B,IAAI,YAAY,CAAC,OAAO,EAAE,CAAC;QACzB,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAA;IAC3B,CAAC;IAED,sDAAsD;IACtD,MAAM,UAAU,GAAG,MAAM,YAAY,CAAC,gBAAgB,EAAE,CAAA;IAExD,OAAO;QACL,UAAU;KACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,IAAI,GAAG,aAAa,EAAiB,CAAA;IAE3C,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,wEAAsD,CAAA;IAC/D,CAAC;IAED,OAAO,CACL,KAAC,eAAe,IAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,YACxC,KAAC,SAAS,
|
1
|
+
{"version":3,"file":"changelog.js","sourceRoot":"","sources":["../../../src/template/routes/changelog.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAC9D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAA;AAC1F,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE1D,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,IAAI,EAAE;IACrC,+BAA+B;IAC/B,IAAI,YAAY,CAAC,OAAO,EAAE,CAAC;QACzB,OAAO,EAAE,UAAU,EAAE,EAAE,EAAE,CAAA;IAC3B,CAAC;IAED,sDAAsD;IACtD,MAAM,UAAU,GAAG,MAAM,YAAY,CAAC,gBAAgB,EAAE,CAAA;IAExD,OAAO;QACL,UAAU;KACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,IAAI,GAAG,aAAa,EAAiB,CAAA;IAE3C,IAAI,IAAI,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,wEAAsD,CAAA;IAC/D,CAAC;IAED,OAAO,CACL,KAAC,eAAe,IAAC,QAAQ,EAAE,IAAI,CAAC,UAAU,YACxC,KAAC,SAAS,IACR,UAAU,EAAE,IAAI,CAAC,UAA2E,GAC5F,GACc,CACnB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,CAAC;IAC7B,IAAI,EAAE,WAAW;IACjB,MAAM;IACN,SAAS;CACV,CAAC,CAAA"}
|
@@ -1,29 +1,38 @@
|
|
1
|
-
import { GrafaidOld } from '#lib/grafaid-old
|
1
|
+
import { GrafaidOld } from '#lib/grafaid-old';
|
2
2
|
export declare const loader: ({ params }: any) => Promise<{
|
3
3
|
schema: GrafaidOld.Schema.Schema;
|
4
4
|
currentVersion: any;
|
5
5
|
availableVersions: string[];
|
6
|
+
lifecycle: import("../../lib/schema-lifecycle/SchemaLifecycle.js").SchemaLifecycle;
|
6
7
|
}>;
|
7
8
|
/**
|
8
|
-
* Reference documentation
|
9
|
+
* Reference documentation routes using proper React Router patterns
|
10
|
+
* - Parent routes have no components (automatically render Outlet)
|
11
|
+
* - Leaf routes have components and loaders that always run fresh
|
12
|
+
* - Single ReferenceView component handles all variations
|
9
13
|
*/
|
10
14
|
export declare const reference: {
|
11
|
-
id: string;
|
12
15
|
path: string;
|
13
|
-
loader: ({ params }: any) => Promise<{
|
14
|
-
schema: GrafaidOld.Schema.Schema;
|
15
|
-
currentVersion: any;
|
16
|
-
availableVersions: string[];
|
17
|
-
}>;
|
18
|
-
Component: () => import("react/jsx-runtime").JSX.Element;
|
19
16
|
children: (import("#lib/react-router-aid/react-router-aid").RouteObjectIndex | {
|
20
17
|
path: string;
|
21
18
|
Component: () => import("react/jsx-runtime").JSX.Element;
|
22
19
|
errorElement: import("react/jsx-runtime").JSX.Element;
|
20
|
+
loader: ({ params }: any) => Promise<{
|
21
|
+
schema: GrafaidOld.Schema.Schema;
|
22
|
+
currentVersion: any;
|
23
|
+
availableVersions: string[];
|
24
|
+
lifecycle: import("../../lib/schema-lifecycle/SchemaLifecycle.js").SchemaLifecycle;
|
25
|
+
}>;
|
23
26
|
children: {
|
24
27
|
path: string;
|
25
28
|
Component: () => import("react/jsx-runtime").JSX.Element;
|
26
29
|
errorElement: import("react/jsx-runtime").JSX.Element;
|
30
|
+
loader: ({ params }: any) => Promise<{
|
31
|
+
schema: GrafaidOld.Schema.Schema;
|
32
|
+
currentVersion: any;
|
33
|
+
availableVersions: string[];
|
34
|
+
lifecycle: import("../../lib/schema-lifecycle/SchemaLifecycle.js").SchemaLifecycle;
|
35
|
+
}>;
|
27
36
|
}[];
|
28
37
|
} | {
|
29
38
|
path: string;
|
@@ -31,10 +40,22 @@ export declare const reference: {
|
|
31
40
|
path: string;
|
32
41
|
Component: () => import("react/jsx-runtime").JSX.Element;
|
33
42
|
errorElement: import("react/jsx-runtime").JSX.Element;
|
43
|
+
loader: ({ params }: any) => Promise<{
|
44
|
+
schema: GrafaidOld.Schema.Schema;
|
45
|
+
currentVersion: any;
|
46
|
+
availableVersions: string[];
|
47
|
+
lifecycle: import("../../lib/schema-lifecycle/SchemaLifecycle.js").SchemaLifecycle;
|
48
|
+
}>;
|
34
49
|
children: {
|
35
50
|
path: string;
|
36
51
|
Component: () => import("react/jsx-runtime").JSX.Element;
|
37
52
|
errorElement: import("react/jsx-runtime").JSX.Element;
|
53
|
+
loader: ({ params }: any) => Promise<{
|
54
|
+
schema: GrafaidOld.Schema.Schema;
|
55
|
+
currentVersion: any;
|
56
|
+
availableVersions: string[];
|
57
|
+
lifecycle: import("../../lib/schema-lifecycle/SchemaLifecycle.js").SchemaLifecycle;
|
58
|
+
}>;
|
38
59
|
}[];
|
39
60
|
})[];
|
40
61
|
})[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"reference.d.ts","sourceRoot":"","sources":["../../../src/template/routes/reference.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAc7C,eAAO,MAAM,MAAM;;;;;EAkBjB,CAAA;AAwGF;;;;;GAKG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASpB,CAAA"}
|