diff --git a/eslint.config.js b/eslint.config.js index e00dfc7df..18e2b0dca 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -3,7 +3,7 @@ import tsEslint from 'typescript-eslint' export default tsEslint.config({ ignores: [ - 'examples/55_generated/generated_document__document.ts', + 'examples/55_document-buildergenerated_document__document.ts', 'eslint.config.js', 'vite.config.ts', 'vitest*.config.ts', diff --git a/examples/55_generated/generated_alias.ts b/examples/55_document-builder/document-builder_alias.ts similarity index 100% rename from examples/55_generated/generated_alias.ts rename to examples/55_document-builder/document-builder_alias.ts diff --git a/examples/55_generated/generated_arguments.ts b/examples/55_document-builder/document-builder_arguments.ts similarity index 100% rename from examples/55_generated/generated_arguments.ts rename to examples/55_document-builder/document-builder_arguments.ts diff --git a/examples/55_generated/generated_batch.ts b/examples/55_document-builder/document-builder_batch.ts similarity index 100% rename from examples/55_generated/generated_batch.ts rename to examples/55_document-builder/document-builder_batch.ts diff --git a/examples/55_generated/generated_directive.ts b/examples/55_document-builder/document-builder_directive.ts similarity index 100% rename from examples/55_generated/generated_directive.ts rename to examples/55_document-builder/document-builder_directive.ts diff --git a/examples/55_generated/generated_document.ts b/examples/55_document-builder/document-builder_document.ts similarity index 100% rename from examples/55_generated/generated_document.ts rename to examples/55_document-builder/document-builder_document.ts diff --git a/examples/55_generated/generated_interface.ts b/examples/55_document-builder/document-builder_interface.ts similarity index 100% rename from examples/55_generated/generated_interface.ts rename to examples/55_document-builder/document-builder_interface.ts diff --git a/examples/55_generated/generated_root-field.ts b/examples/55_document-builder/document-builder_root-field.ts similarity index 100% rename from examples/55_generated/generated_root-field.ts rename to examples/55_document-builder/document-builder_root-field.ts diff --git a/examples/55_generated/generated_union.ts b/examples/55_document-builder/document-builder_union.ts similarity index 100% rename from examples/55_generated/generated_union.ts rename to examples/55_document-builder/document-builder_union.ts diff --git a/examples/__outputs__/10_transport-http/transport-http_extension_headers__dynamicHeaders.output.txt b/examples/__outputs__/10_transport-http/transport-http_extension_headers__dynamicHeaders.output.txt index d7ad01fad..d337d6ec5 100644 --- a/examples/__outputs__/10_transport-http/transport-http_extension_headers__dynamicHeaders.output.txt +++ b/examples/__outputs__/10_transport-http/transport-http_extension_headers__dynamicHeaders.output.txt @@ -4,7 +4,7 @@ headers: Headers { accept: 'application/graphql-response+json; charset=utf-8, application/json; charset=utf-8', 'content-type': 'application/json', - 'x-sent-at-time': '1728912147789' + 'x-sent-at-time': '1729649902337' }, signal: undefined, method: 'post', diff --git a/examples/__outputs__/20_output/output_envelope.output.txt b/examples/__outputs__/20_output/output_envelope.output.txt index f0498b617..daa36c0b8 100644 --- a/examples/__outputs__/20_output/output_envelope.output.txt +++ b/examples/__outputs__/20_output/output_envelope.output.txt @@ -18,7 +18,7 @@ headers: Headers { 'content-type': 'application/graphql-response+json; charset=utf-8', 'content-length': '142', - date: 'Mon, 14 Oct 2024 13:22:28 GMT', + date: 'Wed, 23 Oct 2024 02:18:22 GMT', connection: 'keep-alive', 'keep-alive': 'timeout=5' }, diff --git a/examples/__outputs__/55_generated/generated_alias.output.txt b/examples/__outputs__/55_document-builder/document-builder_alias.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_alias.output.txt rename to examples/__outputs__/55_document-builder/document-builder_alias.output.txt diff --git a/examples/__outputs__/55_generated/generated_arguments.output.txt b/examples/__outputs__/55_document-builder/document-builder_arguments.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_arguments.output.txt rename to examples/__outputs__/55_document-builder/document-builder_arguments.output.txt diff --git a/examples/__outputs__/55_generated/generated_batch.output.txt b/examples/__outputs__/55_document-builder/document-builder_batch.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_batch.output.txt rename to examples/__outputs__/55_document-builder/document-builder_batch.output.txt diff --git a/examples/__outputs__/55_generated/generated_directive.output.txt b/examples/__outputs__/55_document-builder/document-builder_directive.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_directive.output.txt rename to examples/__outputs__/55_document-builder/document-builder_directive.output.txt diff --git a/examples/__outputs__/55_generated/generated_document.output.txt b/examples/__outputs__/55_document-builder/document-builder_document.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_document.output.txt rename to examples/__outputs__/55_document-builder/document-builder_document.output.txt diff --git a/examples/__outputs__/55_generated/generated_interface.output.txt b/examples/__outputs__/55_document-builder/document-builder_interface.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_interface.output.txt rename to examples/__outputs__/55_document-builder/document-builder_interface.output.txt diff --git a/examples/__outputs__/55_generated/generated_root-field.output.txt b/examples/__outputs__/55_document-builder/document-builder_root-field.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_root-field.output.txt rename to examples/__outputs__/55_document-builder/document-builder_root-field.output.txt diff --git a/examples/__outputs__/55_generated/generated_union.output.txt b/examples/__outputs__/55_document-builder/document-builder_union.output.txt similarity index 100% rename from examples/__outputs__/55_generated/generated_union.output.txt rename to examples/__outputs__/55_document-builder/document-builder_union.output.txt diff --git a/examples/__outputs__/60_extension/extension_opentelemetry__opentelemetry.output.txt b/examples/__outputs__/60_extension/extension_opentelemetry__opentelemetry.output.txt index ed1a7f197..67a6d7e55 100644 --- a/examples/__outputs__/60_extension/extension_opentelemetry__opentelemetry.output.txt +++ b/examples/__outputs__/60_extension/extension_opentelemetry__opentelemetry.output.txt @@ -9,14 +9,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', - parentId: 'e85b98029274120c', + traceId: '2259f0e0e3b890cac862a813639e9c90', + parentId: 'f68c78e8a4e9ae99', traceState: undefined, name: 'encode', - id: 'c50625041c2a6ed5', + id: 'c8b432c64c6d23ce', kind: 0, - timestamp: 1728912148775000, - duration: 1505.542, + timestamp: 1729649903315000, + duration: 1492.792, attributes: {}, status: { code: 0 }, events: [], @@ -33,14 +33,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', - parentId: 'e85b98029274120c', + traceId: '2259f0e0e3b890cac862a813639e9c90', + parentId: 'f68c78e8a4e9ae99', traceState: undefined, name: 'pack', - id: '11f13791202ae25b', + id: '385c61790e55b6f4', kind: 0, - timestamp: 1728912148779000, - duration: 12466.834, + timestamp: 1729649903318000, + duration: 12042.5, attributes: {}, status: { code: 0 }, events: [], @@ -57,14 +57,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', - parentId: 'e85b98029274120c', + traceId: '2259f0e0e3b890cac862a813639e9c90', + parentId: 'f68c78e8a4e9ae99', traceState: undefined, name: 'exchange', - id: 'e6cfb7ae84ff6884', + id: '67a764a3a78c819c', kind: 0, - timestamp: 1728912148792000, - duration: 21899.333, + timestamp: 1729649903331000, + duration: 21272.625, attributes: {}, status: { code: 0 }, events: [], @@ -81,14 +81,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', - parentId: 'e85b98029274120c', + traceId: '2259f0e0e3b890cac862a813639e9c90', + parentId: 'f68c78e8a4e9ae99', traceState: undefined, name: 'unpack', - id: 'd4efa36db6b171cd', + id: 'a92c1ad25a186aa9', kind: 0, - timestamp: 1728912148814000, - duration: 1314.958, + timestamp: 1729649903352000, + duration: 1640.25, attributes: {}, status: { code: 0 }, events: [], @@ -105,14 +105,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', - parentId: 'e85b98029274120c', + traceId: '2259f0e0e3b890cac862a813639e9c90', + parentId: 'f68c78e8a4e9ae99', traceState: undefined, name: 'decode', - id: '58283a74b8b0c8ac', + id: 'fbdf501193493665', kind: 0, - timestamp: 1728912148816000, - duration: 245.125, + timestamp: 1729649903354000, + duration: 314.583, attributes: {}, status: { code: 0 }, events: [], @@ -129,14 +129,14 @@ } }, instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined }, - traceId: '27049eba5a2aefdef485bb13b3c9103a', + traceId: '2259f0e0e3b890cac862a813639e9c90', parentId: undefined, traceState: undefined, name: 'request', - id: 'e85b98029274120c', + id: 'f68c78e8a4e9ae99', kind: 0, - timestamp: 1728912148775000, - duration: 41363.958, + timestamp: 1729649903314000, + duration: 40837.167, attributes: {}, status: { code: 0 }, events: [], diff --git a/tests/examples/55_generated/generated_alias.test.ts b/tests/examples/55_document-builder/document-builder_alias.test.ts similarity index 72% rename from tests/examples/55_generated/generated_alias.test.ts rename to tests/examples/55_document-builder/document-builder_alias.test.ts index 56f7490fa..716563e9e 100644 --- a/tests/examples/55_generated/generated_alias.test.ts +++ b/tests/examples/55_document-builder/document-builder_alias.test.ts @@ -7,13 +7,13 @@ import { expect, test } from 'vitest' import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' -test(`generated_alias`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_alias.ts`) +test(`document-builder_alias`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_alias.ts`) // Examples should output their data results. const exampleResultMaybeEncoded = exampleResult // If ever outputs vary by Node version, you can use this to snapshot by Node version. // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_alias.output.txt`, + `../../../examples/__outputs__/55_document-builder/document-builder_alias.output.txt`, ) }) diff --git a/tests/examples/55_document-builder/document-builder_arguments.test.ts b/tests/examples/55_document-builder/document-builder_arguments.test.ts new file mode 100644 index 000000000..7b85dadc9 --- /dev/null +++ b/tests/examples/55_document-builder/document-builder_arguments.test.ts @@ -0,0 +1,19 @@ +// @vitest-environment node + +// WARNING: +// This test is generated by scripts/generate-example-derivatives/generate.ts +// Do not modify this file directly. + +import { expect, test } from 'vitest' +import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' + +test(`document-builder_arguments`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_arguments.ts`) + // Examples should output their data results. + const exampleResultMaybeEncoded = exampleResult + // If ever outputs vary by Node version, you can use this to snapshot by Node version. + // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` + await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( + `../../../examples/__outputs__/55_document-builder/document-builder_arguments.output.txt`, + ) +}) diff --git a/tests/examples/55_generated/generated_arguments.test.ts b/tests/examples/55_document-builder/document-builder_batch.test.ts similarity index 72% rename from tests/examples/55_generated/generated_arguments.test.ts rename to tests/examples/55_document-builder/document-builder_batch.test.ts index 016024460..720879e21 100644 --- a/tests/examples/55_generated/generated_arguments.test.ts +++ b/tests/examples/55_document-builder/document-builder_batch.test.ts @@ -7,13 +7,13 @@ import { expect, test } from 'vitest' import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' -test(`generated_arguments`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_arguments.ts`) +test(`document-builder_batch`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_batch.ts`) // Examples should output their data results. const exampleResultMaybeEncoded = exampleResult // If ever outputs vary by Node version, you can use this to snapshot by Node version. // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_arguments.output.txt`, + `../../../examples/__outputs__/55_document-builder/document-builder_batch.output.txt`, ) }) diff --git a/tests/examples/55_document-builder/document-builder_directive.test.ts b/tests/examples/55_document-builder/document-builder_directive.test.ts new file mode 100644 index 000000000..34f16348a --- /dev/null +++ b/tests/examples/55_document-builder/document-builder_directive.test.ts @@ -0,0 +1,19 @@ +// @vitest-environment node + +// WARNING: +// This test is generated by scripts/generate-example-derivatives/generate.ts +// Do not modify this file directly. + +import { expect, test } from 'vitest' +import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' + +test(`document-builder_directive`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_directive.ts`) + // Examples should output their data results. + const exampleResultMaybeEncoded = exampleResult + // If ever outputs vary by Node version, you can use this to snapshot by Node version. + // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` + await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( + `../../../examples/__outputs__/55_document-builder/document-builder_directive.output.txt`, + ) +}) diff --git a/tests/examples/55_generated/generated_directive.test.ts b/tests/examples/55_document-builder/document-builder_document.test.ts similarity index 71% rename from tests/examples/55_generated/generated_directive.test.ts rename to tests/examples/55_document-builder/document-builder_document.test.ts index 014d0e715..335e17cea 100644 --- a/tests/examples/55_generated/generated_directive.test.ts +++ b/tests/examples/55_document-builder/document-builder_document.test.ts @@ -7,13 +7,13 @@ import { expect, test } from 'vitest' import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' -test(`generated_directive`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_directive.ts`) +test(`document-builder_document`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_document.ts`) // Examples should output their data results. const exampleResultMaybeEncoded = exampleResult // If ever outputs vary by Node version, you can use this to snapshot by Node version. // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_directive.output.txt`, + `../../../examples/__outputs__/55_document-builder/document-builder_document.output.txt`, ) }) diff --git a/tests/examples/55_document-builder/document-builder_interface.test.ts b/tests/examples/55_document-builder/document-builder_interface.test.ts new file mode 100644 index 000000000..e7306bf13 --- /dev/null +++ b/tests/examples/55_document-builder/document-builder_interface.test.ts @@ -0,0 +1,19 @@ +// @vitest-environment node + +// WARNING: +// This test is generated by scripts/generate-example-derivatives/generate.ts +// Do not modify this file directly. + +import { expect, test } from 'vitest' +import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' + +test(`document-builder_interface`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_interface.ts`) + // Examples should output their data results. + const exampleResultMaybeEncoded = exampleResult + // If ever outputs vary by Node version, you can use this to snapshot by Node version. + // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` + await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( + `../../../examples/__outputs__/55_document-builder/document-builder_interface.output.txt`, + ) +}) diff --git a/tests/examples/55_document-builder/document-builder_root-field.test.ts b/tests/examples/55_document-builder/document-builder_root-field.test.ts new file mode 100644 index 000000000..0ce5770b3 --- /dev/null +++ b/tests/examples/55_document-builder/document-builder_root-field.test.ts @@ -0,0 +1,19 @@ +// @vitest-environment node + +// WARNING: +// This test is generated by scripts/generate-example-derivatives/generate.ts +// Do not modify this file directly. + +import { expect, test } from 'vitest' +import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' + +test(`document-builder_root-field`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_root-field.ts`) + // Examples should output their data results. + const exampleResultMaybeEncoded = exampleResult + // If ever outputs vary by Node version, you can use this to snapshot by Node version. + // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` + await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( + `../../../examples/__outputs__/55_document-builder/document-builder_root-field.output.txt`, + ) +}) diff --git a/tests/examples/55_generated/generated_batch.test.ts b/tests/examples/55_document-builder/document-builder_union.test.ts similarity index 72% rename from tests/examples/55_generated/generated_batch.test.ts rename to tests/examples/55_document-builder/document-builder_union.test.ts index f6d8e5754..11f406889 100644 --- a/tests/examples/55_generated/generated_batch.test.ts +++ b/tests/examples/55_document-builder/document-builder_union.test.ts @@ -7,13 +7,13 @@ import { expect, test } from 'vitest' import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' -test(`generated_batch`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_batch.ts`) +test(`document-builder_union`, async () => { + const exampleResult = await runExample(`./examples/55_document-builder/document-builder_union.ts`) // Examples should output their data results. const exampleResultMaybeEncoded = exampleResult // If ever outputs vary by Node version, you can use this to snapshot by Node version. // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_batch.output.txt`, + `../../../examples/__outputs__/55_document-builder/document-builder_union.output.txt`, ) }) diff --git a/tests/examples/55_generated/generated_document.test.ts b/tests/examples/55_generated/generated_document.test.ts deleted file mode 100644 index 7b5685ccb..000000000 --- a/tests/examples/55_generated/generated_document.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -// @vitest-environment node - -// WARNING: -// This test is generated by scripts/generate-example-derivatives/generate.ts -// Do not modify this file directly. - -import { expect, test } from 'vitest' -import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' - -test(`generated_document`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_document.ts`) - // Examples should output their data results. - const exampleResultMaybeEncoded = exampleResult - // If ever outputs vary by Node version, you can use this to snapshot by Node version. - // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` - await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_document.output.txt`, - ) -}) diff --git a/tests/examples/55_generated/generated_interface.test.ts b/tests/examples/55_generated/generated_interface.test.ts deleted file mode 100644 index 7a6cee658..000000000 --- a/tests/examples/55_generated/generated_interface.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -// @vitest-environment node - -// WARNING: -// This test is generated by scripts/generate-example-derivatives/generate.ts -// Do not modify this file directly. - -import { expect, test } from 'vitest' -import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' - -test(`generated_interface`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_interface.ts`) - // Examples should output their data results. - const exampleResultMaybeEncoded = exampleResult - // If ever outputs vary by Node version, you can use this to snapshot by Node version. - // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` - await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_interface.output.txt`, - ) -}) diff --git a/tests/examples/55_generated/generated_root-field.test.ts b/tests/examples/55_generated/generated_root-field.test.ts deleted file mode 100644 index e5cb80d38..000000000 --- a/tests/examples/55_generated/generated_root-field.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -// @vitest-environment node - -// WARNING: -// This test is generated by scripts/generate-example-derivatives/generate.ts -// Do not modify this file directly. - -import { expect, test } from 'vitest' -import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' - -test(`generated_root-field`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_root-field.ts`) - // Examples should output their data results. - const exampleResultMaybeEncoded = exampleResult - // If ever outputs vary by Node version, you can use this to snapshot by Node version. - // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` - await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_root-field.output.txt`, - ) -}) diff --git a/tests/examples/55_generated/generated_union.test.ts b/tests/examples/55_generated/generated_union.test.ts deleted file mode 100644 index 1f6279b7c..000000000 --- a/tests/examples/55_generated/generated_union.test.ts +++ /dev/null @@ -1,19 +0,0 @@ -// @vitest-environment node - -// WARNING: -// This test is generated by scripts/generate-example-derivatives/generate.ts -// Do not modify this file directly. - -import { expect, test } from 'vitest' -import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js' - -test(`generated_union`, async () => { - const exampleResult = await runExample(`./examples/55_generated/generated_union.ts`) - // Examples should output their data results. - const exampleResultMaybeEncoded = exampleResult - // If ever outputs vary by Node version, you can use this to snapshot by Node version. - // const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown` - await expect(exampleResultMaybeEncoded).toMatchFileSnapshot( - `../../../examples/__outputs__/55_generated/generated_union.output.txt`, - ) -}) diff --git a/website/content/_snippets/example-links/alias.md b/website/content/_snippets/example-links/alias.md index 102306e1a..8a72c674d 100644 --- a/website/content/_snippets/example-links/alias.md +++ b/website/content/_snippets/example-links/alias.md @@ -1 +1 @@ -
Examples -> Alias
+Examples -> Alias
diff --git a/website/content/_snippets/example-links/arguments.md b/website/content/_snippets/example-links/arguments.md index 09da9b09b..96d61bfc6 100644 --- a/website/content/_snippets/example-links/arguments.md +++ b/website/content/_snippets/example-links/arguments.md @@ -1 +1 @@ -Examples -> Arguments
+Examples -> Arguments
diff --git a/website/content/_snippets/example-links/batch.md b/website/content/_snippets/example-links/batch.md index b76568e5e..d1146c89d 100644 --- a/website/content/_snippets/example-links/batch.md +++ b/website/content/_snippets/example-links/batch.md @@ -1 +1 @@ -Examples -> Batch
+Examples -> Batch
diff --git a/website/content/_snippets/example-links/directive.md b/website/content/_snippets/example-links/directive.md index 0480fa97f..03c9413ca 100644 --- a/website/content/_snippets/example-links/directive.md +++ b/website/content/_snippets/example-links/directive.md @@ -1 +1 @@ -Examples -> Directive
+Examples -> Directive
diff --git a/website/content/_snippets/example-links/document-builder.md b/website/content/_snippets/example-links/document-builder.md new file mode 100644 index 000000000..96ce4c562 --- /dev/null +++ b/website/content/_snippets/example-links/document-builder.md @@ -0,0 +1 @@ +Examples -> Alias Arguments Batch Directive Document Interface Root Field Union
diff --git a/website/content/_snippets/example-links/document-builder_alias.md b/website/content/_snippets/example-links/document-builder_alias.md new file mode 100644 index 000000000..8a72c674d --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_alias.md @@ -0,0 +1 @@ +Examples -> Alias
diff --git a/website/content/_snippets/example-links/document-builder_arguments.md b/website/content/_snippets/example-links/document-builder_arguments.md new file mode 100644 index 000000000..96d61bfc6 --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_arguments.md @@ -0,0 +1 @@ +Examples -> Arguments
diff --git a/website/content/_snippets/example-links/document-builder_batch.md b/website/content/_snippets/example-links/document-builder_batch.md new file mode 100644 index 000000000..d1146c89d --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_batch.md @@ -0,0 +1 @@ +Examples -> Batch
diff --git a/website/content/_snippets/example-links/document-builder_directive.md b/website/content/_snippets/example-links/document-builder_directive.md new file mode 100644 index 000000000..03c9413ca --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_directive.md @@ -0,0 +1 @@ +Examples -> Directive
diff --git a/website/content/_snippets/example-links/document-builder_document.md b/website/content/_snippets/example-links/document-builder_document.md new file mode 100644 index 000000000..3ecba047b --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_document.md @@ -0,0 +1 @@ +Examples -> Document
diff --git a/website/content/_snippets/example-links/document-builder_interface.md b/website/content/_snippets/example-links/document-builder_interface.md new file mode 100644 index 000000000..0c6c0a31c --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_interface.md @@ -0,0 +1 @@ +Examples -> Interface
diff --git a/website/content/_snippets/example-links/document-builder_root-field.md b/website/content/_snippets/example-links/document-builder_root-field.md new file mode 100644 index 000000000..f4c4fa943 --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_root-field.md @@ -0,0 +1 @@ +Examples -> Root Field
diff --git a/website/content/_snippets/example-links/document-builder_union.md b/website/content/_snippets/example-links/document-builder_union.md new file mode 100644 index 000000000..06a6618de --- /dev/null +++ b/website/content/_snippets/example-links/document-builder_union.md @@ -0,0 +1 @@ +Examples -> Union
diff --git a/website/content/_snippets/example-links/document.md b/website/content/_snippets/example-links/document.md index 313a3f3eb..3ecba047b 100644 --- a/website/content/_snippets/example-links/document.md +++ b/website/content/_snippets/example-links/document.md @@ -1 +1 @@ -Examples -> Document
+Examples -> Document
diff --git a/website/content/_snippets/example-links/extension.md b/website/content/_snippets/example-links/extension.md index 8d975f23b..20c765f12 100644 --- a/website/content/_snippets/example-links/extension.md +++ b/website/content/_snippets/example-links/extension.md @@ -1 +1 @@ -Examples -> Introspection Opentelemetry Throws Custom Fetch Dynamic Headers
+Examples -> Custom Fetch Dynamic Headers Introspection Opentelemetry Throws
diff --git a/website/content/_snippets/example-links/generated.md b/website/content/_snippets/example-links/generated.md deleted file mode 100644 index 3d22f4976..000000000 --- a/website/content/_snippets/example-links/generated.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Alias Arguments Batch Directive Document Interface Root Field Union
diff --git a/website/content/_snippets/example-links/generated_alias.md b/website/content/_snippets/example-links/generated_alias.md deleted file mode 100644 index 102306e1a..000000000 --- a/website/content/_snippets/example-links/generated_alias.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Alias
diff --git a/website/content/_snippets/example-links/generated_arguments.md b/website/content/_snippets/example-links/generated_arguments.md deleted file mode 100644 index 09da9b09b..000000000 --- a/website/content/_snippets/example-links/generated_arguments.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Arguments
diff --git a/website/content/_snippets/example-links/generated_batch.md b/website/content/_snippets/example-links/generated_batch.md deleted file mode 100644 index b76568e5e..000000000 --- a/website/content/_snippets/example-links/generated_batch.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Batch
diff --git a/website/content/_snippets/example-links/generated_directive.md b/website/content/_snippets/example-links/generated_directive.md deleted file mode 100644 index 0480fa97f..000000000 --- a/website/content/_snippets/example-links/generated_directive.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Directive
diff --git a/website/content/_snippets/example-links/generated_document.md b/website/content/_snippets/example-links/generated_document.md deleted file mode 100644 index 313a3f3eb..000000000 --- a/website/content/_snippets/example-links/generated_document.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Document
diff --git a/website/content/_snippets/example-links/generated_interface.md b/website/content/_snippets/example-links/generated_interface.md deleted file mode 100644 index f825460ac..000000000 --- a/website/content/_snippets/example-links/generated_interface.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Interface
diff --git a/website/content/_snippets/example-links/generated_root-field.md b/website/content/_snippets/example-links/generated_root-field.md deleted file mode 100644 index a5a662d95..000000000 --- a/website/content/_snippets/example-links/generated_root-field.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Root Field
diff --git a/website/content/_snippets/example-links/generated_union.md b/website/content/_snippets/example-links/generated_union.md deleted file mode 100644 index 0a6b1ad15..000000000 --- a/website/content/_snippets/example-links/generated_union.md +++ /dev/null @@ -1 +0,0 @@ -Examples -> Union
diff --git a/website/content/_snippets/example-links/interface.md b/website/content/_snippets/example-links/interface.md index f825460ac..0c6c0a31c 100644 --- a/website/content/_snippets/example-links/interface.md +++ b/website/content/_snippets/example-links/interface.md @@ -1 +1 @@ -Examples -> Interface
+Examples -> Interface
diff --git a/website/content/_snippets/example-links/root-field.md b/website/content/_snippets/example-links/root-field.md index a5a662d95..f4c4fa943 100644 --- a/website/content/_snippets/example-links/root-field.md +++ b/website/content/_snippets/example-links/root-field.md @@ -1 +1 @@ -Examples -> Root Field
+Examples -> Root Field
diff --git a/website/content/_snippets/example-links/union.md b/website/content/_snippets/example-links/union.md index 0a6b1ad15..06a6618de 100644 --- a/website/content/_snippets/example-links/union.md +++ b/website/content/_snippets/example-links/union.md @@ -1 +1 @@ -Examples -> Union
+Examples -> Union
diff --git a/website/content/_snippets/examples/generated/alias.detail.md b/website/content/_snippets/examples/document-builder/alias.detail.md similarity index 94% rename from website/content/_snippets/examples/generated/alias.detail.md rename to website/content/_snippets/examples/document-builder/alias.detail.md index 37092bcc9..82bc3aa3a 100644 --- a/website/content/_snippets/examples/generated/alias.detail.md +++ b/website/content/_snippets/examples/document-builder/alias.detail.md @@ -1,7 +1,7 @@ ::: details Example