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":"UnionMemberOperation.d.ts","sourceRoot":"","sources":["../../../../../src/template/components/Changelog/groups/UnionMemberOperation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"UnionMemberOperation.d.ts","sourceRoot":"","sources":["../../../../../src/template/components/Changelog/groups/UnionMemberOperation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,MAAM,EAAE,aAAa,CAAC,KAAK,CAAC,oBAAoB,CAAA;CAAE,CAe/F,CAAA"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import
|
1
|
+
import { GraphqlChangeset } from '#lib/graphql-changeset';
|
2
2
|
import React from 'react';
|
3
3
|
export declare const renderDate: (date: Date) => string;
|
4
4
|
export declare const Changelog: React.FC<{
|
5
|
-
changesets:
|
5
|
+
changesets: GraphqlChangeset.Changelog;
|
6
6
|
}>;
|
7
7
|
//# sourceMappingURL=Changelog.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Changelog.d.ts","sourceRoot":"","sources":["../../../src/template/components/Changelog.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Changelog.d.ts","sourceRoot":"","sources":["../../../src/template/components/Changelog.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGzD,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,eAAO,MAAM,UAAU,GAAI,MAAM,IAAI,WAOpC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,UAAU,EAAE,gBAAgB,CAAC,SAAS,CAAA;CAAE,CAM1E,CAAA"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { GraphqlChange } from '#lib/graphql-change';
|
2
3
|
import { CRITICALITY_LEVELS } from '#lib/graphql-change/criticality';
|
3
|
-
import {
|
4
|
+
import { GraphqlChangeset } from '#lib/graphql-changeset';
|
4
5
|
import { Box } from '@radix-ui/themes';
|
5
6
|
import React from 'react';
|
6
7
|
import { useMemo } from 'react';
|
@@ -27,12 +28,14 @@ const Changeset = ({ changeset }) => {
|
|
27
28
|
groups[level] = [];
|
28
29
|
});
|
29
30
|
// Group changes
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
groups[level]
|
34
|
-
|
35
|
-
|
31
|
+
if (GraphqlChangeset.isIntermediateChangeSet(changeset)) {
|
32
|
+
changeset.changes.forEach(change => {
|
33
|
+
const level = change.criticality.level;
|
34
|
+
if (groups[level]) {
|
35
|
+
groups[level].push(change);
|
36
|
+
}
|
37
|
+
});
|
38
|
+
}
|
36
39
|
// Return only non-empty groups in order
|
37
40
|
return CRITICALITY_LEVELS
|
38
41
|
.filter(level => groups[level].length > 0)
|
@@ -40,10 +43,10 @@ const Changeset = ({ changeset }) => {
|
|
40
43
|
level,
|
41
44
|
changes: groups[level],
|
42
45
|
}));
|
43
|
-
}, [changeset
|
44
|
-
return (_jsxs(Box, { mb: '6', children: [_jsx("h1", { title: changeset.date.toISOString(), id: changeset.date.toISOString(), children: renderDate(changeset.date) }), groupedChanges.map(group => (_jsx(CriticalitySection, { level: group.level, changes: group.changes, children: group.changes.map(change => {
|
46
|
+
}, [changeset]);
|
47
|
+
return (_jsxs(Box, { mb: '6', children: [_jsx("h1", { title: changeset.date.toISOString(), id: changeset.date.toISOString(), children: renderDate(changeset.date) }), groupedChanges.map(group => (_jsx(CriticalitySection, { level: group.level, changes: group.changes, children: group.changes.map((change, index) => {
|
45
48
|
const type = GraphqlChange.Group.getType(change);
|
46
|
-
return (_jsx(ComponentDispatch, { components: Group, name: type, props: { change } }, `${change.type}-${change.path || change.message}`));
|
49
|
+
return (_jsx(ComponentDispatch, { components: Group, name: type, props: { change } }, `${change.type}-${change.path || change.message}-${index}`));
|
47
50
|
}) }, group.level)))] }));
|
48
51
|
};
|
49
52
|
//# sourceMappingURL=Changelog.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Changelog.js","sourceRoot":"","sources":["../../../src/template/components/Changelog.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Changelog.js","sourceRoot":"","sources":["../../../src/template/components/Changelog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAEzD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AACtE,OAAO,KAAK,KAAK,MAAM,6BAA6B,CAAA;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE1D,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAU,EAAE,EAAE;IACvC,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE;QACpC,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;QACf,GAAG,EAAE,SAAS;QACd,QAAQ,EAAE,KAAK;KAChB,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,SAAS,GAAyD,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;IAChG,OAAO,CACL,KAAC,GAAG,cACD,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,CAAC,KAAC,SAAS,IAAoC,SAAS,EAAE,SAAS,IAAlD,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,C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AAc,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CAC3B,KAAC,kBAAkB,IAAmB,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,YAC7E,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;oBACnC,MAAM,IAAI,GAAG,aAAa,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;oBAChD,OAAO,CACL,KAAC,iBAAiB,IAEhB,UAAU,EAAE,KAAK,EACjB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,EAAE,MAAM,EAAE,IAHZ,GAAG,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,IAAI,KAAK,EAAE,CAI/D,CACH,CAAA;gBACH,CAAC,CAAC,IAXqB,KAAK,CAAC,KAAK,CAYf,CACtB,CAAC,IACE,CACP,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import type {
|
2
|
-
import type {
|
3
|
-
export declare const DeprecationReason: FC<{
|
1
|
+
import type { React } from '#dep/react/index';
|
2
|
+
import type { GrafaidOld } from '#lib/grafaid-old';
|
3
|
+
export declare const DeprecationReason: React.FC<{
|
4
4
|
data: GrafaidOld.GraphQLField;
|
5
5
|
}>;
|
6
6
|
//# sourceMappingURL=DeprecationReason.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DeprecationReason.d.ts","sourceRoot":"","sources":["../../../src/template/components/DeprecationReason.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"DeprecationReason.d.ts","sourceRoot":"","sources":["../../../src/template/components/DeprecationReason.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAIlD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,UAAU,CAAC,YAAY,CAAA;CAAE,CAQzE,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DeprecationReason.js","sourceRoot":"","sources":["../../../src/template/components/DeprecationReason.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"DeprecationReason.js","sourceRoot":"","sources":["../../../src/template/components/DeprecationReason.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAExC,MAAM,CAAC,MAAM,iBAAiB,GAAgD,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IACzF,IAAI,CAAC,IAAI,CAAC,iBAAiB;QAAE,OAAO,IAAI,CAAA;IAExC,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAC,KAAK,EAAC,KAAK,EAAC,KAAK,YACxB,KAAC,QAAQ,cAAE,IAAI,CAAC,iBAAiB,GAAY,GACxC,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type {
|
2
|
-
import type { GrafaidOld } from '#lib/grafaid-old
|
1
|
+
import type { React } from '#dep/react/index';
|
2
|
+
import type { GrafaidOld } from '#lib/grafaid-old';
|
3
3
|
import type { GraphQLNamedType } from 'graphql';
|
4
|
-
export declare const Description: FC<{
|
4
|
+
export declare const Description: React.FC<{
|
5
5
|
data: GraphQLNamedType | GrafaidOld.GraphQLField;
|
6
6
|
}>;
|
7
7
|
//# sourceMappingURL=Description.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../src/template/components/Description.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Description.d.ts","sourceRoot":"","sources":["../../../src/template/components/Description.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAI7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAE/C,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,gBAAgB,GAAG,UAAU,CAAC,YAAY,CAAA;CAAE,CAQtF,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/template/components/Description.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/template/components/Description.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAKxC,MAAM,CAAC,MAAM,WAAW,GAAmE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IACtG,IAAI,CAAC,IAAI,CAAC,WAAW;QAAE,OAAO,IAAI,CAAA;IAElC,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAC,KAAK,EAAC,KAAK,EAAC,MAAM,YACzB,KAAC,QAAQ,cAAE,IAAI,CAAC,WAAW,GAAY,GAClC,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import type { React } from '#dep/react/index';
|
2
|
+
import { GrafaidOld } from '#lib/grafaid-old';
|
2
3
|
import type { BoxProps } from '@radix-ui/themes';
|
3
|
-
|
4
|
-
export type Props = BoxProps & {
|
4
|
+
export declare const Field: React.FC<BoxProps & {
|
5
5
|
data: GrafaidOld.GraphQLField;
|
6
|
-
|
7
|
-
|
6
|
+
parentTypeName?: string;
|
7
|
+
}>;
|
8
8
|
//# sourceMappingURL=Field.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/template/components/Field.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/template/components/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAG7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAQhD,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAC1B,QAAQ,GAAG;IACT,IAAI,EAAE,UAAU,CAAC,YAAY,CAAA;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAqDF,CAAA"}
|
@@ -1,14 +1,33 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import {
|
3
|
-
import {
|
2
|
+
import { Api } from '#api/iso';
|
3
|
+
import { GrafaidOld } from '#lib/grafaid-old';
|
4
|
+
import { GraphQLPath } from '#lib/graphql-path';
|
5
|
+
import { SchemaLifecycle } from '#lib/schema-lifecycle';
|
6
|
+
import { Badge, Box, Text } from '@radix-ui/themes';
|
7
|
+
import { useSchemaLifecycle } from '../contexts/SchemaLifecycleContext.js';
|
4
8
|
import { ArgumentListAnnotation } from './ArgumentListAnnotation.js';
|
5
9
|
import { DeprecationReason } from './DeprecationReason.js';
|
6
10
|
import { Description } from './Description.js';
|
7
11
|
import { TypeAnnotation } from './TypeAnnotation.js';
|
8
|
-
export const Field = ({ data, ...boxProps }) => {
|
12
|
+
export const Field = ({ data, parentTypeName, ...boxProps }) => {
|
13
|
+
const { lifecycle, currentVersion } = useSchemaLifecycle();
|
9
14
|
const argumentList = GrafaidOld.isOutputField(data)
|
10
15
|
? _jsx(ArgumentListAnnotation, { field: data })
|
11
16
|
: null;
|
12
|
-
|
17
|
+
// Get field lifecycle information if available
|
18
|
+
let fieldLifecycle = null;
|
19
|
+
let addedDate = null;
|
20
|
+
let removedDate = null;
|
21
|
+
let isAvailable = true;
|
22
|
+
if (lifecycle && parentTypeName) {
|
23
|
+
const fieldPath = GraphQLPath.Definition.field(parentTypeName, data.name);
|
24
|
+
fieldLifecycle = SchemaLifecycle.getFieldLifecycle(lifecycle, fieldPath);
|
25
|
+
if (fieldLifecycle) {
|
26
|
+
addedDate = SchemaLifecycle.getFieldAddedDate(lifecycle, fieldPath);
|
27
|
+
removedDate = SchemaLifecycle.getFieldRemovedDate(lifecycle, fieldPath);
|
28
|
+
isAvailable = SchemaLifecycle.isFieldCurrentlyAvailable(lifecycle, fieldPath);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
return (_jsxs(Box, { ...boxProps, id: data.name, children: [_jsx(Description, { data: data }), _jsx(DeprecationReason, { data: data }), _jsxs(Box, { style: { display: 'flex', alignItems: 'center', gap: '8px' }, children: [_jsx(Text, { weight: 'medium', children: data.name }), addedDate && (_jsxs(Badge, { color: 'green', variant: 'soft', size: '1', children: ["Added ", Api.Schema.dateToVersionString(addedDate)] })), removedDate && (_jsxs(Badge, { color: 'red', variant: 'soft', size: '1', children: ["Removed ", Api.Schema.dateToVersionString(removedDate)] })), !isAvailable && (_jsx(Badge, { color: 'orange', variant: 'soft', size: '1', children: "Not available in current version" }))] }), _jsxs(Text, { children: [argumentList, ":", ` `, _jsx(TypeAnnotation, { type: data.type })] })] }));
|
13
32
|
};
|
14
33
|
//# sourceMappingURL=Field.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../src/template/components/Field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"Field.js","sourceRoot":"","sources":["../../../src/template/components/Field.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,OAAO,EAAE,UAAU,E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 @@
|
|
1
|
-
import { Grafaid } from '#lib/grafaid
|
1
|
+
import { Grafaid } from '#lib/grafaid';
|
2
2
|
import type { FC } from 'react';
|
3
3
|
export interface Props {
|
4
4
|
data: Grafaid.Schema.TypesLike.Named;
|
5
|
+
parentTypeName?: string;
|
5
6
|
}
|
6
7
|
export declare const FieldList: FC<Props>;
|
7
8
|
//# sourceMappingURL=FieldList.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldList.d.ts","sourceRoot":"","sources":["../../../src/template/components/FieldList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"FieldList.d.ts","sourceRoot":"","sources":["../../../src/template/components/FieldList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAA;IACpC,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,KAAK,CAkB/B,CAAA"}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
-
import { Grafaid } from '#lib/grafaid
|
2
|
+
import { Grafaid } from '#lib/grafaid';
|
3
3
|
import { Box } from '@radix-ui/themes';
|
4
4
|
import { Field } from './Field.js';
|
5
|
-
export const FieldList = ({ data }) => {
|
5
|
+
export const FieldList = ({ data, parentTypeName }) => {
|
6
6
|
if (!Grafaid.Schema.TypesLike.isFielded(data))
|
7
7
|
return null;
|
8
8
|
const fields = Grafaid.Schema.NodesLike.getFields(data);
|
9
9
|
if (fields.length === 0)
|
10
10
|
return null;
|
11
|
-
return (_jsx(Box, { children: fields.map(field => (_jsx(Field, { mt: '3', data: field }, field.name))) }));
|
11
|
+
return (_jsx(Box, { children: fields.map(field => (_jsx(Field, { mt: '3', data: field, parentTypeName: parentTypeName ?? data.name }, field.name))) }));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=FieldList.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldList.js","sourceRoot":"","sources":["../../../src/template/components/FieldList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"FieldList.js","sourceRoot":"","sources":["../../../src/template/components/FieldList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAOlC,MAAM,CAAC,MAAM,SAAS,GAAc,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE;IAC/D,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IAE1D,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;IACvD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAA;IAEpC,OAAO,CACL,KAAC,GAAG,cACD,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,CACnB,KAAC,KAAK,IACJ,EAAE,EAAC,GAAG,EAEN,IAAI,EAAE,KAAK,EACX,cAAc,EAAE,cAAc,IAAI,IAAI,CAAC,IAAI,IAFtC,KAAK,CAAC,IAAI,CAGf,CACH,CAAC,GACE,CACP,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,7 +1,6 @@
|
|
1
|
+
import type { React } from '#dep/react/index';
|
1
2
|
import type { GraphQLNamedType } from 'graphql';
|
2
|
-
|
3
|
-
export interface Props {
|
3
|
+
export declare const FieldListSection: React.FC<{
|
4
4
|
data: GraphQLNamedType;
|
5
|
-
}
|
6
|
-
export declare const FieldListSection: FC<Props>;
|
5
|
+
}>;
|
7
6
|
//# sourceMappingURL=FieldListSection.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldListSection.d.ts","sourceRoot":"","sources":["../../../src/template/components/FieldListSection.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"FieldListSection.d.ts","sourceRoot":"","sources":["../../../src/template/components/FieldListSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAG7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,gBAAgB,CAAA;CAAE,CAYjE,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 { Box, Heading } from '@radix-ui/themes';
|
4
4
|
import { FieldList } from './FieldList.js';
|
5
5
|
export const FieldListSection = ({ data }) => {
|
@@ -8,6 +8,6 @@ export const FieldListSection = ({ data }) => {
|
|
8
8
|
const fields = Grafaid.Schema.NodesLike.getFields(data);
|
9
9
|
if (fields.length === 0)
|
10
10
|
return null;
|
11
|
-
return (_jsxs(Box, { children: [_jsx(Heading, { children: "Fields" }), _jsx(FieldList, { data: data })] }));
|
11
|
+
return (_jsxs(Box, { children: [_jsx(Heading, { children: "Fields" }), _jsx(FieldList, { data: data, parentTypeName: data.name })] }));
|
12
12
|
};
|
13
13
|
//# sourceMappingURL=FieldListSection.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FieldListSection.js","sourceRoot":"","sources":["../../../src/template/components/FieldListSection.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"FieldListSection.js","sourceRoot":"","sources":["../../../src/template/components/FieldListSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAE/C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,CAAC,MAAM,gBAAgB,GAAyC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IACjF,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAA;IAE1D,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;IACvD,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAA;IAEpC,OAAO,CACL,MAAC,GAAG,eACF,KAAC,OAAO,yBAAiB,EACzB,KAAC,SAAS,IAAC,IAAI,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,IAAI,GAAI,IAChD,CACP,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HamburgerMenu.d.ts","sourceRoot":"","sources":["../../../src/template/components/HamburgerMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAM7C,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;
|
1
|
+
{"version":3,"file":"HamburgerMenu.d.ts","sourceRoot":"","sources":["../../../src/template/components/HamburgerMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAM7C,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,CAAA;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC7B;AAED,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAoFtD,CAAA"}
|
@@ -3,7 +3,7 @@ import { Cross2Icon, HamburgerMenuIcon } from '@radix-ui/react-icons';
|
|
3
3
|
import { Box, Flex, IconButton, Text } from '@radix-ui/themes';
|
4
4
|
import { useEffect } from 'react';
|
5
5
|
import { Sidebar } from '../components/sidebar/Sidebar.js';
|
6
|
-
export const HamburgerMenu = ({ isOpen, onToggle, onClose, sidebarData, basePath, }) => {
|
6
|
+
export const HamburgerMenu = ({ isOpen, onToggle, onClose, sidebarData, basePath, topContent, }) => {
|
7
7
|
// Prevent body scroll when mobile menu is open
|
8
8
|
useEffect(() => {
|
9
9
|
if (isOpen) {
|
@@ -25,6 +25,6 @@ export const HamburgerMenu = ({ isOpen, onToggle, onClose, sidebarData, basePath
|
|
25
25
|
boxShadow: `var(--shadow-6)`,
|
26
26
|
zIndex: 100,
|
27
27
|
overflowY: `auto`,
|
28
|
-
}, p: '4', display: { initial: `block`, xs: `block`, sm: `block`, md: `none`, lg: `none`, xl: `none` }, children: [_jsxs(Flex, { justify: 'between', align: 'center', mb: '4', children: [_jsx(Text, { size: '5', weight: 'bold', children: "Navigation" }), _jsx(IconButton, { size: '2', variant: 'ghost', onClick: onClose, "aria-label": 'Close navigation menu', children: _jsx(Cross2Icon, { width: '18', height: '18' }) })] }), _jsx(Sidebar, { data: sidebarData, basePath: basePath })] })] }))] }));
|
28
|
+
}, p: '4', display: { initial: `block`, xs: `block`, sm: `block`, md: `none`, lg: `none`, xl: `none` }, children: [_jsxs(Flex, { justify: 'between', align: 'center', mb: '4', children: [_jsx(Text, { size: '5', weight: 'bold', children: "Navigation" }), _jsx(IconButton, { size: '2', variant: 'ghost', onClick: onClose, "aria-label": 'Close navigation menu', children: _jsx(Cross2Icon, { width: '18', height: '18' }) })] }), _jsx(Sidebar, { data: sidebarData, basePath: basePath, topContent: topContent })] })] }))] }));
|
29
29
|
};
|
30
30
|
//# sourceMappingURL=HamburgerMenu.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"HamburgerMenu.js","sourceRoot":"","sources":["../../../src/template/components/HamburgerMenu.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;
|
1
|
+
{"version":3,"file":"HamburgerMenu.js","sourceRoot":"","sources":["../../../src/template/components/HamburgerMenu.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAA;AAW1D,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAC1D,MAAM,EACN,QAAQ,EACR,OAAO,EACP,WAAW,EACX,QAAQ,EACR,UAAU,GAC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AAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAC3F,EAGF,MAAC,GAAG,IACF,QAAQ,EAAC,OAAO,EAChB,GAAG,EAAC,GAAG,EACP,IAAI,EAAC,GAAG,EACR,MAAM,EAAC,GAAG,EACV,KAAK,EAAC,OAAO,EACb,KAAK,EAAE;4BACL,eAAe,EAAE,yBAAyB;4BAC1C,SAAS,EAAE,iBAAiB;4BAC5B,MAAM,EAAE,GAAG;4BACX,SAAS,EAAE,MAAM;yBAClB,EACD,CAAC,EAAC,GAAG,EACL,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,aAE3F,MAAC,IAAI,IAAC,OAAO,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,EAAE,EAAC,GAAG,aAC3C,KAAC,IAAI,IAAC,IAAI,EAAC,GAAG,EAAC,MAAM,EAAC,MAAM,2BAAkB,EAC9C,KAAC,UAAU,IACT,IAAI,EAAC,GAAG,EACR,OAAO,EAAC,OAAO,EACf,OAAO,EAAE,OAAO,gBACL,uBAAuB,YAElC,KAAC,UAAU,IAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GAC1B,IACR,EACP,KAAC,OAAO,IAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,UAAU,GAAI,IACtE,IACL,CACJ,IACA,CACJ,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MissingSchema.d.ts","sourceRoot":"","sources":["../../../src/template/components/MissingSchema.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"MissingSchema.d.ts","sourceRoot":"","sources":["../../../src/template/components/MissingSchema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAE7C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAEjC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MissingSchema.js","sourceRoot":"","sources":["../../../src/template/components/MissingSchema.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"MissingSchema.js","sourceRoot":"","sources":["../../../src/template/components/MissingSchema.tsx"],"names":[],"mappings":";AAEA,MAAM,CAAC,MAAM,aAAa,GAAa,GAAG,EAAE;IAC1C,OAAO,iFAA+D,CAAA;AACxE,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NamedType.d.ts","sourceRoot":"","sources":["../../../src/template/components/NamedType.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"NamedType.d.ts","sourceRoot":"","sources":["../../../src/template/components/NamedType.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAK/B,MAAM,WAAW,KAAK;IACpB,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,KAAK,CAyC/B,CAAA"}
|
@@ -1,12 +1,21 @@
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import {
|
2
|
+
import { Api } from '#api/iso';
|
3
|
+
import { SchemaLifecycle } from '#lib/schema-lifecycle';
|
4
|
+
import { Badge, Box, Heading, Text } from '@radix-ui/themes';
|
3
5
|
import {} from 'graphql';
|
6
|
+
import { useSchemaLifecycle } from '../contexts/SchemaLifecycleContext.js';
|
4
7
|
import { FieldListSection } from './FieldListSection.js';
|
5
8
|
import { Markdown } from './Markdown.js';
|
6
9
|
export const NamedType = ({ data }) => {
|
10
|
+
const { lifecycle, currentVersion } = useSchemaLifecycle();
|
7
11
|
const description = data.description
|
8
12
|
? (_jsx(Text, { as: 'div', color: 'gray', children: _jsx(Markdown, { children: data.description }) }))
|
9
13
|
: null;
|
10
|
-
|
14
|
+
// Get lifecycle information for this type
|
15
|
+
const typeLifecycle = lifecycle ? SchemaLifecycle.getTypeLifecycle(lifecycle, data.name) : null;
|
16
|
+
const addedDate = lifecycle ? SchemaLifecycle.getTypeAddedDate(lifecycle, data.name) : null;
|
17
|
+
const removedDate = lifecycle ? SchemaLifecycle.getTypeRemovedDate(lifecycle, data.name) : null;
|
18
|
+
const isAvailable = lifecycle ? SchemaLifecycle.isTypeCurrentlyAvailable(lifecycle, data.name) : true;
|
19
|
+
return (_jsxs(Box, { children: [_jsxs(Box, { style: { display: 'flex', alignItems: 'center', gap: '8px', marginBottom: '8px' }, children: [_jsx(Heading, { size: '8', children: data.name }), addedDate && (_jsxs(Badge, { color: 'green', variant: 'soft', size: '1', children: ["Added ", Api.Schema.dateToVersionString(addedDate)] })), removedDate && (_jsxs(Badge, { color: 'red', variant: 'soft', size: '1', children: ["Removed ", Api.Schema.dateToVersionString(removedDate)] })), !isAvailable && (_jsx(Badge, { color: 'orange', variant: 'soft', size: '1', children: "Not available in current version" }))] }), description, _jsx(FieldListSection, { data: data })] }));
|
11
20
|
};
|
12
21
|
//# sourceMappingURL=NamedType.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"NamedType.js","sourceRoot":"","sources":["../../../src/template/components/NamedType.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;
|
1
|
+
{"version":3,"file":"NamedType.js","sourceRoot":"","sources":["../../../src/template/components/NamedType.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,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,eACF,MAAC,GAAG,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,aACpF,KAAC,OAAO,IAAC,IAAI,EAAC,GAAG,YAAE,IAAI,CAAC,IAAI,GAAW,EACtC,SAAS,IAAI,CACZ,MAAC,KAAK,IAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,uBACnC,GAAG,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,IAC1C,CACT,EACA,WAAW,IAAI,CACd,MAAC,KAAK,IAAC,KAAK,EAAC,KAAK,EAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,yBAC/B,GAAG,CAAC,MAAM,CAAC,mBAAmB,CAAC,WAAW,CAAC,IAC9C,CACT,EACA,CAAC,WAAW,IAAI,CACf,KAAC,KAAK,IAAC,KAAK,EAAC,QAAQ,EAAC,OAAO,EAAC,MAAM,EAAC,IAAI,EAAC,GAAG,iDAErC,CACT,IACG,EACL,WAAW,EACZ,KAAC,gBAAgB,IAAC,IAAI,EAAE,IAAI,GAAI,IAC5B,CACP,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,12 +1,4 @@
|
|
1
|
-
import type {
|
2
|
-
interface Props {
|
3
|
-
/** The GraphQL type name */
|
4
|
-
type: string;
|
5
|
-
/** Optional field name for field-specific links */
|
6
|
-
field?: string;
|
7
|
-
/** Link content */
|
8
|
-
children: ReactNode;
|
9
|
-
}
|
1
|
+
import type { React } from '#dep/react/index';
|
10
2
|
/**
|
11
3
|
* Link component for GraphQL schema references that preserves version context
|
12
4
|
*
|
@@ -14,6 +6,12 @@ interface Props {
|
|
14
6
|
* <ReferenceLink type="User">User</ReferenceLink>
|
15
7
|
* <ReferenceLink type="User" field="name">User.name</ReferenceLink>
|
16
8
|
*/
|
17
|
-
export declare const ReferenceLink:
|
18
|
-
|
9
|
+
export declare const ReferenceLink: React.FC<{
|
10
|
+
/** The GraphQL type name */
|
11
|
+
type: string;
|
12
|
+
/** Optional field name for field-specific links */
|
13
|
+
field?: string;
|
14
|
+
/** Link content */
|
15
|
+
children: React.ReactNode;
|
16
|
+
}>;
|
19
17
|
//# sourceMappingURL=ReferenceLink.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ReferenceLink.d.ts","sourceRoot":"","sources":["../../../src/template/components/ReferenceLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,
|
1
|
+
{"version":3,"file":"ReferenceLink.d.ts","sourceRoot":"","sources":["../../../src/template/components/ReferenceLink.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAI7C;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC;IACnC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mBAAmB;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B,CAeA,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ReferenceLink.js","sourceRoot":"","sources":["../../../src/template/components/ReferenceLink.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;
|
1
|
+
{"version":3,"file":"ReferenceLink.js","sourceRoot":"","sources":["../../../src/template/components/ReferenceLink.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAC3D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAOrB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,oBAAoB,CAClD,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,SAAS,EAC5C,WAAW,EACX,IAAI,EACJ,KAAK,CACN,CAAA;IAED,OAAO,CACL,KAAC,IAAI,IAAC,EAAE,EAAE,IAAI,YACX,QAAQ,GACJ,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastContainer.d.ts","sourceRoot":"","sources":["../../../src/template/components/ToastContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAM7C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EA4DlC,CAAA"}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Box, Flex } from '@radix-ui/themes';
|
3
|
+
import { useSnapshot } from 'valtio';
|
4
|
+
import { Stores } from '../stores/$.js';
|
5
|
+
import { ToastItem } from './ToastItem.js';
|
6
|
+
export const ToastContainer = () => {
|
7
|
+
const snap = useSnapshot(Stores.Toast.store);
|
8
|
+
return (_jsxs(_Fragment, { children: [_jsx("style", { children: `
|
9
|
+
@keyframes slideIn {
|
10
|
+
from {
|
11
|
+
transform: translateX(100%);
|
12
|
+
opacity: 0;
|
13
|
+
}
|
14
|
+
to {
|
15
|
+
transform: translateX(0);
|
16
|
+
opacity: 1;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@keyframes slideOut {
|
21
|
+
from {
|
22
|
+
transform: translateX(0);
|
23
|
+
opacity: 1;
|
24
|
+
}
|
25
|
+
to {
|
26
|
+
transform: translateX(100%);
|
27
|
+
opacity: 0;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
@keyframes timerCountdown {
|
32
|
+
from {
|
33
|
+
width: 100%;
|
34
|
+
}
|
35
|
+
to {
|
36
|
+
width: 0%;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
` }), _jsx(Box, { position: 'fixed', bottom: '0', right: '0', p: '4', style: {
|
40
|
+
zIndex: 9999,
|
41
|
+
pointerEvents: 'none',
|
42
|
+
}, children: _jsx(Flex, { direction: 'column', gap: '2', align: 'end', style: { pointerEvents: 'auto' }, children: snap.toasts.map(toast => _jsx(ToastItem, { toast: toast }, toast.id)) }) })] }));
|
43
|
+
};
|
44
|
+
//# sourceMappingURL=ToastContainer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastContainer.js","sourceRoot":"","sources":["../../../src/template/components/ToastContainer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,CAAC,MAAM,cAAc,GAAa,GAAG,EAAE;IAC3C,MAAM,IAAI,GAAG,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;IAE5C,OAAO,CACL,8BACE,0BACG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA+BA,GACK,EACR,KAAC,GAAG,IACF,QAAQ,EAAC,OAAO,EAChB,MAAM,EAAC,GAAG,EACV,KAAK,EAAC,GAAG,EACT,CAAC,EAAC,GAAG,EACL,KAAK,EAAE;oBACL,MAAM,EAAE,IAAI;oBACZ,aAAa,EAAE,MAAM;iBACtB,YAED,KAAC,IAAI,IACH,SAAS,EAAC,QAAQ,EAClB,GAAG,EAAC,GAAG,EACP,KAAK,EAAC,KAAK,EACX,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,YAE/B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAC,SAAS,IAAgB,KAAK,EAAE,KAAK,IAAtB,KAAK,CAAC,EAAE,CAAkB,CAAC,GAChE,GACH,IACL,CACJ,CAAA;AACH,CAAC,CAAA"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { React } from '#dep/react/index';
|
2
|
+
import type { ReadonlyDeep } from 'type-fest';
|
3
|
+
import { Stores } from '../stores/$.js';
|
4
|
+
export declare const ToastItem: React.FC<{
|
5
|
+
toast: ReadonlyDeep<Stores.Toast.Toast>;
|
6
|
+
}>;
|
7
|
+
//# sourceMappingURL=ToastItem.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastItem.d.ts","sourceRoot":"","sources":["../../../src/template/components/ToastItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAU7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAwBvC,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;CAAE,CAmF3E,CAAA"}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { CheckCircledIcon, Cross2Icon, CrossCircledIcon, ExclamationTriangleIcon, InfoCircledIcon, } from '@radix-ui/react-icons';
|
3
|
+
import { Box, Button, Card, Flex, IconButton, Text } from '@radix-ui/themes';
|
4
|
+
import { Stores } from '../stores/$.js';
|
5
|
+
const toastVariants = {
|
6
|
+
info: {
|
7
|
+
icon: _jsx(InfoCircledIcon, {}),
|
8
|
+
color: 'blue',
|
9
|
+
},
|
10
|
+
success: {
|
11
|
+
icon: _jsx(CheckCircledIcon, {}),
|
12
|
+
color: 'green',
|
13
|
+
},
|
14
|
+
warning: {
|
15
|
+
icon: _jsx(ExclamationTriangleIcon, {}),
|
16
|
+
color: 'amber',
|
17
|
+
},
|
18
|
+
error: {
|
19
|
+
icon: _jsx(CrossCircledIcon, {}),
|
20
|
+
color: 'red',
|
21
|
+
},
|
22
|
+
};
|
23
|
+
export const ToastItem = ({ toast }) => {
|
24
|
+
const handleClose = () => Stores.toast.remove(toast.id);
|
25
|
+
const duration = toast.duration ?? 5000;
|
26
|
+
const showTimer = duration > 0;
|
27
|
+
const type = toast.type || 'info';
|
28
|
+
return (_jsxs(Card, { size: '2', style: {
|
29
|
+
animation: 'slideIn 0.2s ease-out',
|
30
|
+
position: 'relative',
|
31
|
+
}, children: [_jsxs(Flex, { gap: '3', align: 'start', maxWidth: '400px', children: [_jsx(Text, { as: 'div', size: '4', color: toastVariants[type].color, children: toastVariants[type].icon }), _jsxs(Box, { style: { flex: 1 }, children: [_jsxs(Flex, { align: 'baseline', gap: '2', wrap: 'wrap', children: [_jsx(Text, { weight: 'medium', size: '2', children: toast.message }), toast.actions.map((action) => (_jsx(Button, { id: action.label, size: '1', variant: 'soft', onClick: () => {
|
32
|
+
action.onClick();
|
33
|
+
handleClose();
|
34
|
+
}, children: action.label })))] }), toast.description && (_jsx(Text, { size: '1', color: 'gray', mt: '1', style: { display: 'block' }, children: toast.description }))] }), _jsx(IconButton, { size: '1', variant: 'ghost', color: 'gray', onClick: handleClose, style: { flexShrink: 0 }, children: _jsx(Cross2Icon, {}) })] }), showTimer && (_jsx(Box, { style: {
|
35
|
+
position: 'absolute',
|
36
|
+
bottom: 0,
|
37
|
+
left: 0,
|
38
|
+
right: 0,
|
39
|
+
height: '2px',
|
40
|
+
backgroundColor: `var(--${toastVariants[toast.type || 'info'].color}-a3)`,
|
41
|
+
overflow: 'hidden',
|
42
|
+
}, children: _jsx(Box, { style: {
|
43
|
+
height: '100%',
|
44
|
+
backgroundColor: `var(--${toastVariants[toast.type || 'info'].color}-a6)`,
|
45
|
+
animation: `timerCountdown ${duration}ms linear forwards`,
|
46
|
+
} }) }))] }));
|
47
|
+
};
|
48
|
+
//# sourceMappingURL=ToastItem.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastItem.js","sourceRoot":"","sources":["../../../src/template/components/ToastItem.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,uBAAuB,EACvB,eAAe,GAChB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAG5E,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AAEvC,MAAM,aAAa,GAAG;IACpB,IAAI,EAAE;QACJ,IAAI,EAAE,KAAC,eAAe,KAAG;QACzB,KAAK,EAAE,MAAM;KACd;IACD,OAAO,EAAE;QACP,IAAI,EAAE,KAAC,gBAAgB,KAAG;QAC1B,KAAK,EAAE,OAAO;KACf;IACD,OAAO,EAAE;QACP,IAAI,EAAE,KAAC,uBAAuB,KAAG;QACjC,KAAK,EAAE,OAAO;KACf;IACD,KAAK,EAAE;QACL,IAAI,EAAE,KAAC,gBAAgB,KAAG;QAC1B,KAAK,EAAE,KAAK;KACb;CAID,CAAA;AAEF,MAAM,CAAC,MAAM,SAAS,GAA0D,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;IAC5F,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAA;IACvD,MAAM,QAA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AG,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,YAC3D,KAAK,CAAC,WAAW,GACb,CACR,IACG,EAEN,KAAC,UAAU,IACT,IAAI,EAAC,GAAG,EACR,OAAO,EAAC,OAAO,EACf,KAAK,EAAC,MAAM,EACZ,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,YAExB,KAAC,UAAU,KAAG,GACH,IACR,EAEN,SAAS,IAAI,CACZ,KAAC,GAAG,IACF,KAAK,EAAE;oBACL,QAAQ,EAAE,UAAU;oBACpB,MAAM,EAAE,CAAC;oBACT,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,CAAC;oBACR,MAAM,EAAE,KAAK;oBACb,eAAe,EAAE,SAAS,aAAa,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,KAAK,MAAM;oBACzE,QAAQ,EAAE,QAAQ;iBACnB,YAED,KAAC,GAAG,IACF,KAAK,EAAE;wBACL,MAAM,EAAE,MAAM;wBACd,eAAe,EAAE,SAAS,aAAa,CAAC,KAAK,CAAC,IAAI,IAAI,MAAM,CAAC,CAAC,KAAK,MAAM;wBACzE,SAAS,EAAE,kBAAkB,QAAQ,oBAAoB;qBAC1D,GACD,GACE,CACP,IACI,CACR,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,10 +1,9 @@
|
|
1
|
+
import type { React } from '#dep/react/index';
|
1
2
|
import type { GraphQLType } from 'graphql';
|
2
|
-
import type { FC } from 'react';
|
3
|
-
export interface Props {
|
4
|
-
type: GraphQLType;
|
5
|
-
}
|
6
3
|
/**
|
7
4
|
* Renders a GraphQL type recursively, with links for named types
|
8
5
|
*/
|
9
|
-
export declare const TypeAnnotation: FC<
|
6
|
+
export declare const TypeAnnotation: React.FC<{
|
7
|
+
type: GraphQLType;
|
8
|
+
}>;
|
10
9
|
//# sourceMappingURL=TypeAnnotation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TypeAnnotation.d.ts","sourceRoot":"","sources":["../../../src/template/components/TypeAnnotation.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"TypeAnnotation.d.ts","sourceRoot":"","sources":["../../../src/template/components/TypeAnnotation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAE7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAI1C;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAiD1D,CAAA"}
|