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 @@ - + 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 @@ - + 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 @@ - + 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 @@ - + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ + 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 @@ - + 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 @@ - + 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - 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 @@ - + 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 @@ - + 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 @@ - + 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
-Alias +Alias ```ts twoslash diff --git a/website/content/_snippets/examples/generated/alias.md b/website/content/_snippets/examples/document-builder/alias.md similarity index 94% rename from website/content/_snippets/examples/generated/alias.md rename to website/content/_snippets/examples/document-builder/alias.md index 00f473d64..5a1e6ca0b 100644 --- a/website/content/_snippets/examples/generated/alias.md +++ b/website/content/_snippets/examples/document-builder/alias.md @@ -1,5 +1,5 @@
-Alias +Alias ```ts twoslash diff --git a/website/content/_snippets/examples/generated/arguments.detail.md b/website/content/_snippets/examples/document-builder/arguments.detail.md similarity index 90% rename from website/content/_snippets/examples/generated/arguments.detail.md rename to website/content/_snippets/examples/document-builder/arguments.detail.md index a04d80a0a..f37976865 100644 --- a/website/content/_snippets/examples/generated/arguments.detail.md +++ b/website/content/_snippets/examples/document-builder/arguments.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Arguments +Arguments ```ts twoslash diff --git a/website/content/_snippets/examples/generated/arguments.md b/website/content/_snippets/examples/document-builder/arguments.md similarity index 90% rename from website/content/_snippets/examples/generated/arguments.md rename to website/content/_snippets/examples/document-builder/arguments.md index 731d46eb1..4442ce6ee 100644 --- a/website/content/_snippets/examples/generated/arguments.md +++ b/website/content/_snippets/examples/document-builder/arguments.md @@ -1,5 +1,5 @@
-Arguments +Arguments ```ts twoslash diff --git a/website/content/_snippets/examples/generated/batch.detail.md b/website/content/_snippets/examples/document-builder/batch.detail.md similarity index 92% rename from website/content/_snippets/examples/generated/batch.detail.md rename to website/content/_snippets/examples/document-builder/batch.detail.md index fe385848b..2979df614 100644 --- a/website/content/_snippets/examples/generated/batch.detail.md +++ b/website/content/_snippets/examples/document-builder/batch.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Batch +Batch ```ts twoslash diff --git a/website/content/_snippets/examples/generated/batch.md b/website/content/_snippets/examples/document-builder/batch.md similarity index 92% rename from website/content/_snippets/examples/generated/batch.md rename to website/content/_snippets/examples/document-builder/batch.md index 97bddcca7..97cb66c91 100644 --- a/website/content/_snippets/examples/generated/batch.md +++ b/website/content/_snippets/examples/document-builder/batch.md @@ -1,5 +1,5 @@
-Batch +Batch ```ts twoslash diff --git a/website/content/_snippets/examples/generated/directive.detail.md b/website/content/_snippets/examples/document-builder/directive.detail.md similarity index 94% rename from website/content/_snippets/examples/generated/directive.detail.md rename to website/content/_snippets/examples/document-builder/directive.detail.md index 41a90e0ac..0bbbe42a4 100644 --- a/website/content/_snippets/examples/generated/directive.detail.md +++ b/website/content/_snippets/examples/document-builder/directive.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Directive +Directive ```ts twoslash diff --git a/website/content/_snippets/examples/generated/directive.md b/website/content/_snippets/examples/document-builder/directive.md similarity index 94% rename from website/content/_snippets/examples/generated/directive.md rename to website/content/_snippets/examples/document-builder/directive.md index b7d52d554..c0cb8dc6d 100644 --- a/website/content/_snippets/examples/generated/directive.md +++ b/website/content/_snippets/examples/document-builder/directive.md @@ -1,5 +1,5 @@
-Directive +Directive ```ts twoslash diff --git a/website/content/_snippets/examples/generated/document.detail.md b/website/content/_snippets/examples/document-builder/document.detail.md similarity index 96% rename from website/content/_snippets/examples/generated/document.detail.md rename to website/content/_snippets/examples/document-builder/document.detail.md index d7479c826..7863ba3cd 100644 --- a/website/content/_snippets/examples/generated/document.detail.md +++ b/website/content/_snippets/examples/document-builder/document.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Document +Document ```ts twoslash diff --git a/website/content/_snippets/examples/generated/document.md b/website/content/_snippets/examples/document-builder/document.md similarity index 96% rename from website/content/_snippets/examples/generated/document.md rename to website/content/_snippets/examples/document-builder/document.md index 12f9048b5..b737a13a3 100644 --- a/website/content/_snippets/examples/generated/document.md +++ b/website/content/_snippets/examples/document-builder/document.md @@ -1,5 +1,5 @@
-Document +Document ```ts twoslash diff --git a/website/content/_snippets/examples/generated/interface.detail.md b/website/content/_snippets/examples/document-builder/interface.detail.md similarity index 97% rename from website/content/_snippets/examples/generated/interface.detail.md rename to website/content/_snippets/examples/document-builder/interface.detail.md index c716e1e6b..9c10071e4 100644 --- a/website/content/_snippets/examples/generated/interface.detail.md +++ b/website/content/_snippets/examples/document-builder/interface.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Interface +Interface ```ts twoslash diff --git a/website/content/_snippets/examples/generated/interface.md b/website/content/_snippets/examples/document-builder/interface.md similarity index 97% rename from website/content/_snippets/examples/generated/interface.md rename to website/content/_snippets/examples/document-builder/interface.md index 2328821aa..739986842 100644 --- a/website/content/_snippets/examples/generated/interface.md +++ b/website/content/_snippets/examples/document-builder/interface.md @@ -1,5 +1,5 @@
-Interface +Interface ```ts twoslash diff --git a/website/content/_snippets/examples/generated/root-field.detail.md b/website/content/_snippets/examples/document-builder/root-field.detail.md similarity index 90% rename from website/content/_snippets/examples/generated/root-field.detail.md rename to website/content/_snippets/examples/document-builder/root-field.detail.md index cf287e43b..a9382cbd3 100644 --- a/website/content/_snippets/examples/generated/root-field.detail.md +++ b/website/content/_snippets/examples/document-builder/root-field.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Root Field +Root Field ```ts twoslash diff --git a/website/content/_snippets/examples/generated/root-field.md b/website/content/_snippets/examples/document-builder/root-field.md similarity index 89% rename from website/content/_snippets/examples/generated/root-field.md rename to website/content/_snippets/examples/document-builder/root-field.md index 6c72dadb1..ee5732f71 100644 --- a/website/content/_snippets/examples/generated/root-field.md +++ b/website/content/_snippets/examples/document-builder/root-field.md @@ -1,5 +1,5 @@
-Root Field +Root Field ```ts twoslash diff --git a/website/content/_snippets/examples/generated/union.detail.md b/website/content/_snippets/examples/document-builder/union.detail.md similarity index 98% rename from website/content/_snippets/examples/generated/union.detail.md rename to website/content/_snippets/examples/document-builder/union.detail.md index 9f9c4d209..846c17c1f 100644 --- a/website/content/_snippets/examples/generated/union.detail.md +++ b/website/content/_snippets/examples/document-builder/union.detail.md @@ -1,7 +1,7 @@ ::: details Example
-Union +Union ```ts twoslash diff --git a/website/content/_snippets/examples/generated/union.md b/website/content/_snippets/examples/document-builder/union.md similarity index 98% rename from website/content/_snippets/examples/generated/union.md rename to website/content/_snippets/examples/document-builder/union.md index 58d50754e..3d8de1dee 100644 --- a/website/content/_snippets/examples/generated/union.md +++ b/website/content/_snippets/examples/document-builder/union.md @@ -1,5 +1,5 @@
-Union +Union ```ts twoslash diff --git a/website/content/_snippets/examples/extension/opentelemetry.detail.md b/website/content/_snippets/examples/extension/opentelemetry.detail.md index dbfa0a0b9..887c20307 100644 --- a/website/content/_snippets/examples/extension/opentelemetry.detail.md +++ b/website/content/_snippets/examples/extension/opentelemetry.detail.md @@ -37,14 +37,14 @@ console.log(data) } }, 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: [], @@ -64,14 +64,14 @@ console.log(data) } }, 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: [], @@ -91,14 +91,14 @@ console.log(data) } }, 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: [], @@ -118,14 +118,14 @@ console.log(data) } }, 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: [], @@ -145,14 +145,14 @@ console.log(data) } }, 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: [], @@ -172,14 +172,14 @@ console.log(data) } }, 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/website/content/_snippets/examples/extension/opentelemetry.md b/website/content/_snippets/examples/extension/opentelemetry.md index 83d62bb9d..70cb95667 100644 --- a/website/content/_snippets/examples/extension/opentelemetry.md +++ b/website/content/_snippets/examples/extension/opentelemetry.md @@ -35,14 +35,14 @@ console.log(data) } }, 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: [], @@ -62,14 +62,14 @@ console.log(data) } }, 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: [], @@ -89,14 +89,14 @@ console.log(data) } }, 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: [], @@ -116,14 +116,14 @@ console.log(data) } }, 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: [], @@ -143,14 +143,14 @@ console.log(data) } }, 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: [], @@ -170,14 +170,14 @@ console.log(data) } }, 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/website/content/_snippets/examples/output/envelope.detail.md b/website/content/_snippets/examples/output/envelope.detail.md index 1aa397730..43b080a53 100644 --- a/website/content/_snippets/examples/output/envelope.detail.md +++ b/website/content/_snippets/examples/output/envelope.detail.md @@ -40,7 +40,7 @@ console.log(result) 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/website/content/_snippets/examples/output/envelope.md b/website/content/_snippets/examples/output/envelope.md index 889776144..cdbbec423 100644 --- a/website/content/_snippets/examples/output/envelope.md +++ b/website/content/_snippets/examples/output/envelope.md @@ -38,7 +38,7 @@ console.log(result) 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/website/content/_snippets/examples/transport-http/dynamic-headers.detail.md b/website/content/_snippets/examples/transport-http/dynamic-headers.detail.md index 965e68e40..46a860b16 100644 --- a/website/content/_snippets/examples/transport-http/dynamic-headers.detail.md +++ b/website/content/_snippets/examples/transport-http/dynamic-headers.detail.md @@ -38,7 +38,7 @@ await graffle.gql`{ pokemons { name } }`.send() 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/website/content/_snippets/examples/transport-http/dynamic-headers.md b/website/content/_snippets/examples/transport-http/dynamic-headers.md index 85402457b..a849f51b9 100644 --- a/website/content/_snippets/examples/transport-http/dynamic-headers.md +++ b/website/content/_snippets/examples/transport-http/dynamic-headers.md @@ -36,7 +36,7 @@ await graffle.gql`{ pokemons { name } }`.send() 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/website/content/examples/10_transport-http/dynamic-headers.md b/website/content/examples/10_transport-http/dynamic-headers.md index d973fb4ab..4f2744a91 100644 --- a/website/content/examples/10_transport-http/dynamic-headers.md +++ b/website/content/examples/10_transport-http/dynamic-headers.md @@ -43,7 +43,7 @@ await graffle.gql`{ pokemons { name } }`.send() 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/website/content/examples/20_output/envelope.md b/website/content/examples/20_output/envelope.md index c80021413..3866905ea 100644 --- a/website/content/examples/20_output/envelope.md +++ b/website/content/examples/20_output/envelope.md @@ -45,7 +45,7 @@ console.log(result) 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/website/content/examples/55_generated/alias.md b/website/content/examples/55_document-builder/alias.md similarity index 100% rename from website/content/examples/55_generated/alias.md rename to website/content/examples/55_document-builder/alias.md diff --git a/website/content/examples/55_generated/arguments.md b/website/content/examples/55_document-builder/arguments.md similarity index 100% rename from website/content/examples/55_generated/arguments.md rename to website/content/examples/55_document-builder/arguments.md diff --git a/website/content/examples/55_generated/batch.md b/website/content/examples/55_document-builder/batch.md similarity index 100% rename from website/content/examples/55_generated/batch.md rename to website/content/examples/55_document-builder/batch.md diff --git a/website/content/examples/55_generated/directive.md b/website/content/examples/55_document-builder/directive.md similarity index 100% rename from website/content/examples/55_generated/directive.md rename to website/content/examples/55_document-builder/directive.md diff --git a/website/content/examples/55_generated/document.md b/website/content/examples/55_document-builder/document.md similarity index 100% rename from website/content/examples/55_generated/document.md rename to website/content/examples/55_document-builder/document.md diff --git a/website/content/examples/55_generated/interface.md b/website/content/examples/55_document-builder/interface.md similarity index 100% rename from website/content/examples/55_generated/interface.md rename to website/content/examples/55_document-builder/interface.md diff --git a/website/content/examples/55_generated/root-field.md b/website/content/examples/55_document-builder/root-field.md similarity index 100% rename from website/content/examples/55_generated/root-field.md rename to website/content/examples/55_document-builder/root-field.md diff --git a/website/content/examples/55_generated/union.md b/website/content/examples/55_document-builder/union.md similarity index 100% rename from website/content/examples/55_generated/union.md rename to website/content/examples/55_document-builder/union.md diff --git a/website/content/examples/60_extension/opentelemetry.md b/website/content/examples/60_extension/opentelemetry.md index fb088b63c..a3025e24f 100644 --- a/website/content/examples/60_extension/opentelemetry.md +++ b/website/content/examples/60_extension/opentelemetry.md @@ -40,14 +40,14 @@ console.log(data) } }, 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: [], @@ -67,14 +67,14 @@ console.log(data) } }, 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: [], @@ -94,14 +94,14 @@ console.log(data) } }, 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: [], @@ -121,14 +121,14 @@ console.log(data) } }, 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: [], @@ -148,14 +148,14 @@ console.log(data) } }, 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: [], @@ -175,14 +175,14 @@ console.log(data) } }, 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: [],