Skip to content

Commit 732ae6c

Browse files
committed
chore(website): fix example group name
1 parent 04d98c6 commit 732ae6c

File tree

19 files changed

+129
-129
lines changed

19 files changed

+129
-129
lines changed

examples/__outputs__/10_transport-http/transport-http_extension_headers__dynamicHeaders.output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
headers: Headers {
55
accept: 'application/graphql-response+json; charset=utf-8, application/json; charset=utf-8',
66
'content-type': 'application/json',
7-
'x-sent-at-time': '1734877667965'
7+
'x-sent-at-time': '1734878384165'
88
},
99
method: 'post',
1010
url: 'http://localhost:3000/graphql',

examples/__outputs__/20_output/output_envelope.output.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
headers: Headers {
1717
'content-type': 'application/graphql-response+json; charset=utf-8',
1818
'content-length': '142',
19-
date: 'Sun, 22 Dec 2024 14:27:48 GMT',
19+
date: 'Sun, 22 Dec 2024 14:39:45 GMT',
2020
connection: 'keep-alive',
2121
'keep-alive': 'timeout=5'
2222
},

examples/__outputs__/60_extension/extension_opentelemetry__opentelemetry.output.txt

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
}
1010
},
1111
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
12-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
13-
parentId: '6fcf4ddd316eb7dd',
12+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
13+
parentId: '45c84f0a43771166',
1414
traceState: undefined,
1515
name: 'encode',
16-
id: 'e30897dc9cb51142',
16+
id: 'f723a4047c4f8246',
1717
kind: 0,
18-
timestamp: 1734877668621000,
19-
duration: 1060.917,
18+
timestamp: 1734878385686000,
19+
duration: 1952.542,
2020
attributes: {},
2121
status: { code: 0 },
2222
events: [],
@@ -33,14 +33,14 @@
3333
}
3434
},
3535
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
36-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
37-
parentId: '6fcf4ddd316eb7dd',
36+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
37+
parentId: '45c84f0a43771166',
3838
traceState: undefined,
3939
name: 'pack',
40-
id: '893c1fed7b2256dd',
40+
id: '8404e21eb12fbc92',
4141
kind: 0,
42-
timestamp: 1734877668623000,
43-
duration: 18450.083,
42+
timestamp: 1734878385689000,
43+
duration: 12830.875,
4444
attributes: {},
4545
status: { code: 0 },
4646
events: [],
@@ -57,14 +57,14 @@
5757
}
5858
},
5959
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
60-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
61-
parentId: '6fcf4ddd316eb7dd',
60+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
61+
parentId: '45c84f0a43771166',
6262
traceState: undefined,
6363
name: 'exchange',
64-
id: 'b0c30685f178d075',
64+
id: 'c5691fe0bcfc9991',
6565
kind: 0,
66-
timestamp: 1734877668642000,
67-
duration: 25750.5,
66+
timestamp: 1734878385703000,
67+
duration: 20900.792,
6868
attributes: {},
6969
status: { code: 0 },
7070
events: [],
@@ -81,14 +81,14 @@
8181
}
8282
},
8383
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
84-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
85-
parentId: '6fcf4ddd316eb7dd',
84+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
85+
parentId: '45c84f0a43771166',
8686
traceState: undefined,
8787
name: 'unpack',
88-
id: 'c148fb01cd7693fa',
88+
id: 'bafdd78624e21445',
8989
kind: 0,
90-
timestamp: 1734877668668000,
91-
duration: 1080.291,
90+
timestamp: 1734878385724000,
91+
duration: 992.417,
9292
attributes: {},
9393
status: { code: 0 },
9494
events: [],
@@ -105,14 +105,14 @@
105105
}
106106
},
107107
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
108-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
109-
parentId: '6fcf4ddd316eb7dd',
108+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
109+
parentId: '45c84f0a43771166',
110110
traceState: undefined,
111111
name: 'decode',
112-
id: '634824deddb746e7',
112+
id: '32fa8b5942d69ca9',
113113
kind: 0,
114-
timestamp: 1734877668670000,
115-
duration: 516.708,
114+
timestamp: 1734878385725000,
115+
duration: 446.542,
116116
attributes: {},
117117
status: { code: 0 },
118118
events: [],
@@ -129,14 +129,14 @@
129129
}
130130
},
131131
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
132-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
132+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
133133
parentId: undefined,
134134
traceState: undefined,
135135
name: 'request',
136-
id: '6fcf4ddd316eb7dd',
136+
id: '45c84f0a43771166',
137137
kind: 0,
138-
timestamp: 1734877668621000,
139-
duration: 49549.459,
138+
timestamp: 1734878385686000,
139+
duration: 39771.791,
140140
attributes: {},
141141
status: { code: 0 },
142142
events: [],

tests/examples/70_type_level/selection-sets.test.ts renamed to tests/examples/70_type-level/selection-sets.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ import { expect, test } from 'vitest'
88
import { runExample } from '../../../scripts/generate-examples-derivatives/helpers.js'
99

1010
test(`selection-sets`, async () => {
11-
const exampleResult = await runExample(`./examples/70_type_level/selection-sets.ts`)
11+
const exampleResult = await runExample(`./examples/70_type-level/selection-sets.ts`)
1212
// Examples should output their data results.
1313
const exampleResultMaybeEncoded = exampleResult
1414
// If ever outputs vary by Node version, you can use this to snapshot by Node version.
1515
// const nodeMajor = process.version.match(/v(\d+)/)?.[1] ?? `unknown`
1616
await expect(exampleResultMaybeEncoded).toMatchFileSnapshot(
17-
`../../../examples/__outputs__/70_type_level/selection-sets.output.txt`,
17+
`../../../examples/__outputs__/70_type-level/selection-sets.output.txt`,
1818
)
1919
})
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<p class="ExampleLinks">Examples <span class="ExampleLinksTitleSeparator">-></span> <a href="../../examples/type_level/selection-sets">Selection Sets</a></p>
1+
<p class="ExampleLinks">Examples <span class="ExampleLinksTitleSeparator">-></span> <a href="../../examples/type-level/selection-sets">Selection Sets</a></p>

website/content/_snippets/examples/extension/opentelemetry.detail.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ console.log(data)
4343
}
4444
},
4545
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
46-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
47-
parentId: '6fcf4ddd316eb7dd',
46+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
47+
parentId: '45c84f0a43771166',
4848
traceState: undefined,
4949
name: 'encode',
50-
id: 'e30897dc9cb51142',
50+
id: 'f723a4047c4f8246',
5151
kind: 0,
52-
timestamp: 1734877668621000,
53-
duration: 1060.917,
52+
timestamp: 1734878385686000,
53+
duration: 1952.542,
5454
attributes: {},
5555
status: { code: 0 },
5656
events: [],
@@ -70,14 +70,14 @@ console.log(data)
7070
}
7171
},
7272
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
73-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
74-
parentId: '6fcf4ddd316eb7dd',
73+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
74+
parentId: '45c84f0a43771166',
7575
traceState: undefined,
7676
name: 'pack',
77-
id: '893c1fed7b2256dd',
77+
id: '8404e21eb12fbc92',
7878
kind: 0,
79-
timestamp: 1734877668623000,
80-
duration: 18450.083,
79+
timestamp: 1734878385689000,
80+
duration: 12830.875,
8181
attributes: {},
8282
status: { code: 0 },
8383
events: [],
@@ -97,14 +97,14 @@ console.log(data)
9797
}
9898
},
9999
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
100-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
101-
parentId: '6fcf4ddd316eb7dd',
100+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
101+
parentId: '45c84f0a43771166',
102102
traceState: undefined,
103103
name: 'exchange',
104-
id: 'b0c30685f178d075',
104+
id: 'c5691fe0bcfc9991',
105105
kind: 0,
106-
timestamp: 1734877668642000,
107-
duration: 25750.5,
106+
timestamp: 1734878385703000,
107+
duration: 20900.792,
108108
attributes: {},
109109
status: { code: 0 },
110110
events: [],
@@ -124,14 +124,14 @@ console.log(data)
124124
}
125125
},
126126
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
127-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
128-
parentId: '6fcf4ddd316eb7dd',
127+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
128+
parentId: '45c84f0a43771166',
129129
traceState: undefined,
130130
name: 'unpack',
131-
id: 'c148fb01cd7693fa',
131+
id: 'bafdd78624e21445',
132132
kind: 0,
133-
timestamp: 1734877668668000,
134-
duration: 1080.291,
133+
timestamp: 1734878385724000,
134+
duration: 992.417,
135135
attributes: {},
136136
status: { code: 0 },
137137
events: [],
@@ -151,14 +151,14 @@ console.log(data)
151151
}
152152
},
153153
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
154-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
155-
parentId: '6fcf4ddd316eb7dd',
154+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
155+
parentId: '45c84f0a43771166',
156156
traceState: undefined,
157157
name: 'decode',
158-
id: '634824deddb746e7',
158+
id: '32fa8b5942d69ca9',
159159
kind: 0,
160-
timestamp: 1734877668670000,
161-
duration: 516.708,
160+
timestamp: 1734878385725000,
161+
duration: 446.542,
162162
attributes: {},
163163
status: { code: 0 },
164164
events: [],
@@ -178,14 +178,14 @@ console.log(data)
178178
}
179179
},
180180
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
181-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
181+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
182182
parentId: undefined,
183183
traceState: undefined,
184184
name: 'request',
185-
id: '6fcf4ddd316eb7dd',
185+
id: '45c84f0a43771166',
186186
kind: 0,
187-
timestamp: 1734877668621000,
188-
duration: 49549.459,
187+
timestamp: 1734878385686000,
188+
duration: 39771.791,
189189
attributes: {},
190190
status: { code: 0 },
191191
events: [],

website/content/_snippets/examples/extension/opentelemetry.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ console.log(data)
4141
}
4242
},
4343
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
44-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
45-
parentId: '6fcf4ddd316eb7dd',
44+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
45+
parentId: '45c84f0a43771166',
4646
traceState: undefined,
4747
name: 'encode',
48-
id: 'e30897dc9cb51142',
48+
id: 'f723a4047c4f8246',
4949
kind: 0,
50-
timestamp: 1734877668621000,
51-
duration: 1060.917,
50+
timestamp: 1734878385686000,
51+
duration: 1952.542,
5252
attributes: {},
5353
status: { code: 0 },
5454
events: [],
@@ -68,14 +68,14 @@ console.log(data)
6868
}
6969
},
7070
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
71-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
72-
parentId: '6fcf4ddd316eb7dd',
71+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
72+
parentId: '45c84f0a43771166',
7373
traceState: undefined,
7474
name: 'pack',
75-
id: '893c1fed7b2256dd',
75+
id: '8404e21eb12fbc92',
7676
kind: 0,
77-
timestamp: 1734877668623000,
78-
duration: 18450.083,
77+
timestamp: 1734878385689000,
78+
duration: 12830.875,
7979
attributes: {},
8080
status: { code: 0 },
8181
events: [],
@@ -95,14 +95,14 @@ console.log(data)
9595
}
9696
},
9797
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
98-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
99-
parentId: '6fcf4ddd316eb7dd',
98+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
99+
parentId: '45c84f0a43771166',
100100
traceState: undefined,
101101
name: 'exchange',
102-
id: 'b0c30685f178d075',
102+
id: 'c5691fe0bcfc9991',
103103
kind: 0,
104-
timestamp: 1734877668642000,
105-
duration: 25750.5,
104+
timestamp: 1734878385703000,
105+
duration: 20900.792,
106106
attributes: {},
107107
status: { code: 0 },
108108
events: [],
@@ -122,14 +122,14 @@ console.log(data)
122122
}
123123
},
124124
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
125-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
126-
parentId: '6fcf4ddd316eb7dd',
125+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
126+
parentId: '45c84f0a43771166',
127127
traceState: undefined,
128128
name: 'unpack',
129-
id: 'c148fb01cd7693fa',
129+
id: 'bafdd78624e21445',
130130
kind: 0,
131-
timestamp: 1734877668668000,
132-
duration: 1080.291,
131+
timestamp: 1734878385724000,
132+
duration: 992.417,
133133
attributes: {},
134134
status: { code: 0 },
135135
events: [],
@@ -149,14 +149,14 @@ console.log(data)
149149
}
150150
},
151151
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
152-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
153-
parentId: '6fcf4ddd316eb7dd',
152+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
153+
parentId: '45c84f0a43771166',
154154
traceState: undefined,
155155
name: 'decode',
156-
id: '634824deddb746e7',
156+
id: '32fa8b5942d69ca9',
157157
kind: 0,
158-
timestamp: 1734877668670000,
159-
duration: 516.708,
158+
timestamp: 1734878385725000,
159+
duration: 446.542,
160160
attributes: {},
161161
status: { code: 0 },
162162
events: [],
@@ -176,14 +176,14 @@ console.log(data)
176176
}
177177
},
178178
instrumentationScope: { name: 'graffle', version: undefined, schemaUrl: undefined },
179-
traceId: '0e52a2a1fb3ccb88d38cd44dded63dec',
179+
traceId: '7adcc8f82ea6b22e5d53dc12a862e3b7',
180180
parentId: undefined,
181181
traceState: undefined,
182182
name: 'request',
183-
id: '6fcf4ddd316eb7dd',
183+
id: '45c84f0a43771166',
184184
kind: 0,
185-
timestamp: 1734877668621000,
186-
duration: 49549.459,
185+
timestamp: 1734878385686000,
186+
duration: 39771.791,
187187
attributes: {},
188188
status: { code: 0 },
189189
events: [],

0 commit comments

Comments
 (0)