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
@@ -0,0 +1,153 @@
|
|
1
|
+
import { proxy } from 'valtio'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Toast notification types
|
5
|
+
*/
|
6
|
+
export const Type = {
|
7
|
+
info: 'info',
|
8
|
+
success: 'success',
|
9
|
+
warning: 'warning',
|
10
|
+
error: 'error',
|
11
|
+
} as const
|
12
|
+
|
13
|
+
export type Type = typeof Type[keyof typeof Type]
|
14
|
+
|
15
|
+
/**
|
16
|
+
* Toast notification interface
|
17
|
+
*/
|
18
|
+
export interface Toast {
|
19
|
+
/** Unique identifier for the toast */
|
20
|
+
id: string
|
21
|
+
/** Primary message text */
|
22
|
+
message: string
|
23
|
+
/** Optional secondary description text */
|
24
|
+
description?: string
|
25
|
+
/** Visual type/variant of the toast */
|
26
|
+
type?: Type
|
27
|
+
/** Duration in milliseconds before auto-dismiss. Set to 0 to disable auto-dismiss */
|
28
|
+
duration?: number
|
29
|
+
/** Optional action buttons configuration */
|
30
|
+
actions: {
|
31
|
+
/** Action button label */
|
32
|
+
label: string
|
33
|
+
/** Action button click handler */
|
34
|
+
onClick: () => void
|
35
|
+
}[]
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Toast store state interface
|
40
|
+
*/
|
41
|
+
export interface State {
|
42
|
+
/** Array of active toast notifications */
|
43
|
+
toasts: Toast[]
|
44
|
+
}
|
45
|
+
|
46
|
+
/**
|
47
|
+
* Initial state for the toast store
|
48
|
+
*/
|
49
|
+
export const initialState: State = {
|
50
|
+
toasts: [],
|
51
|
+
}
|
52
|
+
|
53
|
+
/**
|
54
|
+
* Default values for toast properties
|
55
|
+
*/
|
56
|
+
const toastDefaults = {
|
57
|
+
duration: 5000,
|
58
|
+
actions: [],
|
59
|
+
} satisfies Partial<Toast>
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Toast notification store
|
63
|
+
*
|
64
|
+
* Manages toast notifications with auto-dismiss functionality and type-specific convenience methods.
|
65
|
+
*/
|
66
|
+
export const store = proxy({
|
67
|
+
...initialState,
|
68
|
+
|
69
|
+
/**
|
70
|
+
* Add a new toast notification
|
71
|
+
* @param toast - Toast configuration (id will be auto-generated)
|
72
|
+
* @returns Generated toast ID
|
73
|
+
*/
|
74
|
+
add(toast: Omit<Toast, 'id'>): string {
|
75
|
+
const id = `${Date.now()}-${Math.random().toString(36).substring(2, 11)}`
|
76
|
+
store.toasts.push({ ...toast, id })
|
77
|
+
|
78
|
+
// Auto-remove after duration (default 5 seconds). Set duration to 0 to disable auto-dismiss
|
79
|
+
if (toast.duration !== 0) {
|
80
|
+
setTimeout(() => store.remove(id), toast.duration || toastDefaults.duration)
|
81
|
+
}
|
82
|
+
|
83
|
+
return id
|
84
|
+
},
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Remove a toast by ID
|
88
|
+
* @param id - Toast ID to remove
|
89
|
+
*/
|
90
|
+
remove(id: string): void {
|
91
|
+
const index = store.toasts.findIndex(t => t.id === id)
|
92
|
+
if (index > -1) {
|
93
|
+
store.toasts.splice(index, 1)
|
94
|
+
}
|
95
|
+
},
|
96
|
+
|
97
|
+
/**
|
98
|
+
* Reset store to initial state
|
99
|
+
*/
|
100
|
+
reset() {
|
101
|
+
Object.assign(store, initialState)
|
102
|
+
},
|
103
|
+
|
104
|
+
/**
|
105
|
+
* Set store state
|
106
|
+
* @param data - New state data
|
107
|
+
*/
|
108
|
+
set(data: State) {
|
109
|
+
Object.assign(store, data)
|
110
|
+
},
|
111
|
+
|
112
|
+
/**
|
113
|
+
* Show an info toast
|
114
|
+
* @param message - Toast message
|
115
|
+
* @param options - Additional toast options
|
116
|
+
* @returns Generated toast ID
|
117
|
+
*/
|
118
|
+
info(message: string, options?: InputOptions) {
|
119
|
+
return store.add({ ...toastDefaults, ...options, message, type: Type.info })
|
120
|
+
},
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Show a success toast
|
124
|
+
* @param message - Toast message
|
125
|
+
* @param options - Additional toast options
|
126
|
+
* @returns Generated toast ID
|
127
|
+
*/
|
128
|
+
success(message: string, options?: InputOptions) {
|
129
|
+
return store.add({ ...toastDefaults, ...options, message, type: Type.success })
|
130
|
+
},
|
131
|
+
|
132
|
+
/**
|
133
|
+
* Show a warning toast
|
134
|
+
* @param message - Toast message
|
135
|
+
* @param options - Additional toast options
|
136
|
+
* @returns Generated toast ID
|
137
|
+
*/
|
138
|
+
warning(message: string, options?: InputOptions) {
|
139
|
+
return store.add({ ...toastDefaults, ...options, message, type: Type.warning })
|
140
|
+
},
|
141
|
+
|
142
|
+
/**
|
143
|
+
* Show an error toast
|
144
|
+
* @param message - Toast message
|
145
|
+
* @param options - Additional toast options
|
146
|
+
* @returns Generated toast ID
|
147
|
+
*/
|
148
|
+
error(message: string, options?: InputOptions) {
|
149
|
+
return store.add({ ...toastDefaults, ...options, message, type: Type.error })
|
150
|
+
},
|
151
|
+
})
|
152
|
+
|
153
|
+
type InputOptions = Partial<Omit<Toast, 'id' | 'message' | 'type'>>
|
@@ -0,0 +1,41 @@
|
|
1
|
+
import { Stores } from '../stores/$.js'
|
2
|
+
|
3
|
+
/**
|
4
|
+
* Execute an async function with automatic error handling and toast notifications
|
5
|
+
*
|
6
|
+
* @param fn - Async function to execute
|
7
|
+
* @param errorMessage - Optional custom error message for the toast (defaults to error message)
|
8
|
+
* @returns Promise that resolves to null on success or Error on failure
|
9
|
+
*/
|
10
|
+
export const tryWithToast = async <T>(
|
11
|
+
fn: () => Promise<T>,
|
12
|
+
errorMessage?: string,
|
13
|
+
): Promise<Error | null> => {
|
14
|
+
try {
|
15
|
+
await fn()
|
16
|
+
return null
|
17
|
+
} catch (error) {
|
18
|
+
// Log to console in all environments
|
19
|
+
console.error('Error in tryWithToast:', error)
|
20
|
+
|
21
|
+
// Determine the error message
|
22
|
+
const baseMessage = error instanceof Error ? error.message : String(error)
|
23
|
+
const toastMessage = errorMessage || baseMessage
|
24
|
+
|
25
|
+
// In development, show detailed error info
|
26
|
+
if (import.meta.env.DEV) {
|
27
|
+
Stores.Toast.store.error(toastMessage, {
|
28
|
+
description: error instanceof Error
|
29
|
+
? `${error.name}: ${error.message}${error.stack ? '\n\nStack trace available in console.' : ''}`
|
30
|
+
: `Error details: ${String(error)}`,
|
31
|
+
duration: 10000, // Longer duration in dev for debugging
|
32
|
+
})
|
33
|
+
} else {
|
34
|
+
// In production, show simplified message
|
35
|
+
Stores.Toast.store.error(toastMessage)
|
36
|
+
}
|
37
|
+
|
38
|
+
// Return the error for downstream fallback logic
|
39
|
+
return error instanceof Error ? error : new Error(baseMessage)
|
40
|
+
}
|
41
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/apple-touch-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/apple-touch-icon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/lib/errors/errors.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/lib/errors/errors.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,YAAY,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/errors/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/extensible-data/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/extensible-data/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/favicon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/favicon/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"file-router.d.ts","sourceRoot":"","sources":["../../../src/lib/file-router/file-router.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"file-router.js","sourceRoot":"","sources":["../../../src/lib/file-router/file-router.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/file-router/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/file-router/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"grafaid.d.ts","sourceRoot":"","sources":["../../../src/lib/grafaid/grafaid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,cAAc,cAAc,CAAA;AAC5B,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"grafaid.js","sourceRoot":"","sources":["../../../src/lib/grafaid/grafaid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,cAAc,cAAc,CAAA;AAC5B,OAAO,KAAK,IAAI,MAAM,gBAAgB,CAAA;AACtC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/grafaid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/grafaid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/grafaid-old/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/grafaid-old/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"graphql-change.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-change/graphql-change.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,cAAc,mBAAmB,CAAA;AAEjC,cAAc,kBAAkB,CAAA;AAEhC,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,eAAO,MAAM,aAAa,GAAU,YAAY;IAC9C,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAA;IAC/B,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAA;CACjC,KAAG,OAAO,CAAC,MAAM,EAAE,CAGnB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"graphql-change.js","sourceRoot":"","sources":["../../../src/lib/graphql-change/graphql-change.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAI/D,cAAc,mBAAmB,CAAA;AAEjC,cAAc,kBAAkB,CAAA;AAEhC,OAAO,KAAK,KAAK,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,KAAK,EAAE,CAAA;AAEhB,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,EAAE,UAGnC,EAAqB,EAAE;IACtB,MAAM,OAAO,GAAG,MAAM,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,CAAC,CAAA;IACrF,OAAO,OAAO,CAAA;AAChB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-change/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/graphql-change/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAA"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { GrafaidOld } from '#lib/grafaid-old/index';
|
2
|
-
import type { GraphqlChange } from '#lib/graphql-change/index';
|
3
|
-
export interface ChangeSet {
|
4
|
-
after: GrafaidOld.Schema.Schema;
|
5
|
-
before: GrafaidOld.Schema.Schema;
|
6
|
-
changes: GraphqlChange.Change[];
|
7
|
-
date: Date;
|
8
|
-
}
|
9
|
-
//# sourceMappingURL=graphql-changeset.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"graphql-changeset.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-changeset/graphql-changeset.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE9D,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAA;IAC/B,MAAM,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,CAAA;IAChC,OAAO,EAAE,aAAa,CAAC,MAAM,EAAE,CAAA;IAC/B,IAAI,EAAE,IAAI,CAAA;CACX"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"graphql-changeset.js","sourceRoot":"","sources":["../../../src/lib/graphql-changeset/graphql-changeset.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-changeset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/graphql-changeset/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/graphql-schema-loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/graphql-schema-loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/hono-aid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,eAAe,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/hono-aid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,eAAe,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/react-router-aid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/react-router-aid/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-router-aid.d.ts","sourceRoot":"","sources":["../../../src/lib/react-router-aid/react-router-aid.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,cAAc,yBAAyB,CAAA;AAEvC,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,mBAAmB,CAAA;AAEhE,MAAM,WAAW,gBAAiB,SAAQ,WAAW,CAAC,gBAAgB;IACpE,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAED,MAAM,WAAW,mBAAoB,SAAQ,WAAW,CAAC,mBAAmB;IAC1E,MAAM,CAAC,EAAE,WAAW,CAAA;CACrB;AAGD,MAAM,WAAW,WAAW;IAC1B,UAAU,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAA;CAClC;AAED,eAAO,MAAM,KAAK,GAAI,WAAW,SAAS,WAAW,EACnD,aAAa,WAAW,KACvB,WAIF,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAAG,KAAK,CAAC,aAAa,CAAA;AACrF,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,GAAG,UAAU,CAAC,CAAA;AAEtF,eAAO,MAAM,UAAU,GACrB,OAAO,qBAAqB,KAC3B,gBAOF,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-router-aid.js","sourceRoot":"","sources":["../../../src/lib/react-router-aid/react-router-aid.ts"],"names":[],"mappings":"AAIA,cAAc,yBAAyB,CAAA;AAiBvC,MAAM,CAAC,MAAM,KAAK,GAAG,CACnB,WAAwB,EACX,EAAE;IACf,OAAO;QACL,GAAG,WAAW;KACf,CAAA;AACH,CAAC,CAAA;AAKD,MAAM,CAAC,MAAM,UAAU,GAAG,CACxB,KAA4B,EACV,EAAE;IACpB,MAAM,WAAW,GAAgC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAA;IACtG,OAAO;QACL,GAAG,WAAW;QACd,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,SAAS;KACpB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,KAAc,EAAgC,EAAE;IACvE,OAAO,OAAO,KAAK,KAAK,UAAU,CAAA;AACpC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-router-loader.d.ts","sourceRoot":"","sources":["../../../src/lib/react-router-loader/react-router-loader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAA;AAIzC,KAAK,MAAM,GAAG,EAAE,CAAC,MAAM,CAAA;AAEvB,eAAO,MAAM,YAAY,GAAI,MAAM,SAAS,MAAM,EAAE,QAAQ,MAAM,KAAG,MASpE,CAAA;AAMD,eAAO,MAAM,aAAa,GAAI,MAAM,SAAS,MAAM,EAAE,cAAc,MAAM,KAAG,OAAO,CACjF,UAAU,CAAC,MAAM,CAAC,CAiBnB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"react-router-loader.js","sourceRoot":"","sources":["../../../src/lib/react-router-loader/react-router-loader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,IAAI,eAAe,EAAE,kBAAkB,IAAI,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAC3G,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAIzD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAwB,MAAc,EAAU,EAAE;IAC5E,mBAAmB;IACnB,OAAO,KAAK,EAAE,GAAG,IAAW,EAAE,EAAE;QAC9B,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,IAAI,CAAC,CAAA;QAClC,MAAM,UAAU,GAAe;YAC7B,aAAa,EAAE,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;SACzC,CAAA;QACD,OAAO,UAAU,CAAA;IACnB,CAAC,CAAA;AACH,CAAC,CAAA;AAMD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAwB,WAAoB,EAEvE,EAAE;IACF,MAAM,UAAU,GAAG,CACjB,WAAW;QACT,CAAC,CAAC,oBAAoB,CAAC,WAAW,CAAC;QACnC,CAAC,CAAC,eAAe,EAAE,CACR,CAAA;IAEf,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,KAAK,CAAC,sCAAsC,WAAW,IAAI,UAAU,EAAE,CAAC,CAAA;IACpF,CAAC;IAED,MAAM,EAAE,aAAa,EAAE,GAAG,UAAU,CAAA;IAEpC,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,CAAC,aAAa,CAAC,CAAA;IAE3C,OAAO,IAAW,CAAA;AACpB,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/stack-processor/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/stack-processor/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/lib/superjson-codec/exports.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,4BAA4B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"exports.js","sourceRoot":"","sources":["../../../src/lib/superjson-codec/exports.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,4BAA4B,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/superjson-codec/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/superjson-codec/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,cAAc,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-plugin-config.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/vite-plugin-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAE3C,eAAO,MAAM,UAAU,GAAI,QAAQ,IAAI,CAAC,UAAU,KAAG,IAAI,CAAC,MAQzD,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-plugin-config.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-config/vite-plugin-config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,MAAuB,EAAe,EAAE;IACjE,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,KAAK;QACd,MAAM;YACJ,OAAO,MAAM,CAAA;QACf,CAAC;KACF,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-json/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-json/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-mdx/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-mdx/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugin-reactive-data/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/vite-plugin-reactive-data/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,sBAAsB,MAAM,gCAAgC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugins/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/vite-plugins/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-plugins.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-plugins/vite-plugins.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-plugins.js","sourceRoot":"","sources":["../../../src/lib/vite-plugins/vite-plugins.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-virtual/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/vite-virtual/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,mBAAmB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-virtual.d.ts","sourceRoot":"","sources":["../../../src/lib/vite-virtual/vite-virtual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAA;AAC7B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"vite-virtual.js","sourceRoot":"","sources":["../../../src/lib/vite-virtual/vite-virtual.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAA;AAC7B,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VersionSelector.d.ts","sourceRoot":"","sources":["../../../src/template/components/VersionSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAI7C,UAAU,KAAK;IACb,iBAAiB,EAAE,MAAM,EAAE,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA+B3C,CAAA"}
|
@@ -1,22 +0,0 @@
|
|
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, useParams } from 'react-router';
|
5
|
-
export const VersionSelector = ({ availableVersions, currentVersion }) => {
|
6
|
-
const navigate = useNavigate();
|
7
|
-
const params = useParams();
|
8
|
-
// Don't show selector if only one version
|
9
|
-
if (availableVersions.length <= 1) {
|
10
|
-
return null;
|
11
|
-
}
|
12
|
-
const handleVersionChange = (newVersion) => {
|
13
|
-
const newPath = Api.Schema.Routing.createReferencePath({
|
14
|
-
version: newVersion,
|
15
|
-
type: params[`type`],
|
16
|
-
field: params[`field`],
|
17
|
-
});
|
18
|
-
navigate(newPath);
|
19
|
-
};
|
20
|
-
return (_jsxs(Select.Root, { value: currentVersion, onValueChange: handleVersionChange, children: [_jsx(Select.Trigger, {}), _jsx(Select.Content, { children: availableVersions.map(version => (_jsx(Select.Item, { value: version, children: version === Api.Schema.VERSION_LATEST ? `Latest` : version }, version))) })] }));
|
21
|
-
};
|
22
|
-
//# sourceMappingURL=VersionSelector.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"VersionSelector.js","sourceRoot":"","sources":["../../../src/template/components/VersionSelector.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAOrD,MAAM,CAAC,MAAM,eAAe,GAAoB,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,EAAE,EAAE;IACxF,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAA;IAC9B,MAAM,MAAM,GAAG,SAAS,EAAE,CAAA;IAE1B,0CAA0C;IAC1C,IAAI,iBAAiB,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;QAClC,OAAO,IAAI,CAAA;IACb,CAAC;IAED,MAAM,mBAAmB,GAAG,CAAC,UAAkB,EAAE,EAAE;QACjD,MAAM,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC;YACrD,OAAO,EAAE,UAAU;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC;SACvB,CAAC,CAAA;QAEF,QAAQ,CAAC,OAAO,CAAC,CAAA;IACnB,CAAC,CAAA;IAED,OAAO,CACL,MAAC,MAAM,CAAC,IAAI,IAAC,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,mBAAmB,aACpE,KAAC,MAAM,CAAC,OAAO,KAAG,EAClB,KAAC,MAAM,CAAC,OAAO,cACZ,iBAAiB,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,CAChC,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"}
|
package/src/lib/errors/index.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * as Errors from './errors.js'
|
@@ -1 +0,0 @@
|
|
1
|
-
export * as FileRouter from './file-router.js'
|
package/src/lib/grafaid/index.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * as Grafaid from './grafaid.js'
|
@@ -1 +0,0 @@
|
|
1
|
-
export * as GraphqlChange from './graphql-change.js'
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { GrafaidOld } from '#lib/grafaid-old/index'
|
2
|
-
import type { GraphqlChange } from '#lib/graphql-change/index'
|
3
|
-
|
4
|
-
export interface ChangeSet {
|
5
|
-
after: GrafaidOld.Schema.Schema
|
6
|
-
before: GrafaidOld.Schema.Schema
|
7
|
-
changes: GraphqlChange.Change[]
|
8
|
-
date: Date
|
9
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * as GraphqlChangeset from './graphql-changeset.js'
|
@@ -1 +0,0 @@
|
|
1
|
-
export * as ReactRouterAid from './react-router-aid.js'
|