zudoku 0.1.1-dev.11 → 0.1.1-dev.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/app/DevPortal.js +2 -15
  2. package/dist/app/DevPortal.js.map +1 -1
  3. package/dist/app/Router.d.ts +4 -0
  4. package/dist/app/Router.js +20 -0
  5. package/dist/app/Router.js.map +1 -0
  6. package/dist/vite/config.d.ts +2 -2
  7. package/dist/vite/config.js +13 -8
  8. package/dist/vite/config.js.map +1 -1
  9. package/dist/vite/plugin-api.js +1 -1
  10. package/dist/vite/plugin-api.js.map +1 -1
  11. package/dist/vite/plugin-auth.js +1 -1
  12. package/dist/vite/plugin-docs.js +1 -1
  13. package/dist/vite/plugin-docs.js.map +1 -1
  14. package/package.json +2 -2
  15. package/src/app/App.tsx +0 -30
  16. package/src/app/DevPortal.tsx +0 -115
  17. package/src/app/Heading.tsx +0 -60
  18. package/src/app/authentication/authentication.ts +0 -18
  19. package/src/app/authentication/clerk.ts +0 -47
  20. package/src/app/authentication/openid.ts +0 -192
  21. package/src/app/components/AnchorLink.tsx +0 -19
  22. package/src/app/components/CategoryHeading.tsx +0 -16
  23. package/src/app/components/Dialog.tsx +0 -119
  24. package/src/app/components/DynamicIcon.tsx +0 -60
  25. package/src/app/components/Header.tsx +0 -69
  26. package/src/app/components/Input.tsx +0 -24
  27. package/src/app/components/Layout.tsx +0 -56
  28. package/src/app/components/Markdown.tsx +0 -37
  29. package/src/app/components/SyntaxHighlight.tsx +0 -94
  30. package/src/app/components/TopNavigation.tsx +0 -32
  31. package/src/app/components/context/ComponentsContext.tsx +0 -24
  32. package/src/app/components/context/DevPortalProvider.ts +0 -54
  33. package/src/app/components/context/PluginSystem.ts +0 -0
  34. package/src/app/components/context/ThemeContext.tsx +0 -46
  35. package/src/app/components/context/ViewportAnchorContext.tsx +0 -139
  36. package/src/app/components/navigation/SideNavigation.tsx +0 -18
  37. package/src/app/components/navigation/SideNavigationCategory.tsx +0 -74
  38. package/src/app/components/navigation/SideNavigationItem.tsx +0 -143
  39. package/src/app/components/navigation/SideNavigationWrapper.tsx +0 -15
  40. package/src/app/components/navigation/useNavigationCollapsibleState.ts +0 -27
  41. package/src/app/components/navigation/util.ts +0 -38
  42. package/src/app/core/DevPortalContext.ts +0 -164
  43. package/src/app/core/helmet.ts +0 -5
  44. package/src/app/core/icons.tsx +0 -1
  45. package/src/app/core/plugins.ts +0 -43
  46. package/src/app/core/router.tsx +0 -1
  47. package/src/app/core/types/combine.ts +0 -16
  48. package/src/app/main.css +0 -137
  49. package/src/app/main.tsx +0 -9
  50. package/src/app/oas/graphql/index.ts +0 -422
  51. package/src/app/oas/graphql/server.ts +0 -10
  52. package/src/app/oas/parser/dereference/index.ts +0 -59
  53. package/src/app/oas/parser/dereference/resolveRef.ts +0 -32
  54. package/src/app/oas/parser/index.ts +0 -94
  55. package/src/app/oas/parser/schemas/v3.0.json +0 -1489
  56. package/src/app/oas/parser/schemas/v3.1.json +0 -1298
  57. package/src/app/oas/parser/upgrade/index.ts +0 -108
  58. package/src/app/plugins/api-key/SettingsApiKeys.tsx +0 -22
  59. package/src/app/plugins/api-key/index.tsx +0 -123
  60. package/src/app/plugins/markdown/MdxPage.tsx +0 -128
  61. package/src/app/plugins/markdown/Toc.tsx +0 -122
  62. package/src/app/plugins/markdown/generateRoutes.tsx +0 -72
  63. package/src/app/plugins/markdown/index.tsx +0 -31
  64. package/src/app/plugins/openapi/ColorizedParam.tsx +0 -82
  65. package/src/app/plugins/openapi/MakeRequest.tsx +0 -49
  66. package/src/app/plugins/openapi/MethodBadge.tsx +0 -36
  67. package/src/app/plugins/openapi/OperationList.tsx +0 -117
  68. package/src/app/plugins/openapi/OperationListItem.tsx +0 -55
  69. package/src/app/plugins/openapi/ParameterList.tsx +0 -32
  70. package/src/app/plugins/openapi/ParameterListItem.tsx +0 -60
  71. package/src/app/plugins/openapi/RequestBodySidecarBox.tsx +0 -51
  72. package/src/app/plugins/openapi/ResponsesSidecarBox.tsx +0 -60
  73. package/src/app/plugins/openapi/Select.tsx +0 -35
  74. package/src/app/plugins/openapi/Sidecar.tsx +0 -160
  75. package/src/app/plugins/openapi/SidecarBox.tsx +0 -36
  76. package/src/app/plugins/openapi/graphql/fragment-masking.ts +0 -111
  77. package/src/app/plugins/openapi/graphql/gql.ts +0 -70
  78. package/src/app/plugins/openapi/graphql/graphql.ts +0 -795
  79. package/src/app/plugins/openapi/graphql/index.ts +0 -2
  80. package/src/app/plugins/openapi/index.tsx +0 -142
  81. package/src/app/plugins/openapi/playground/Playground.tsx +0 -309
  82. package/src/app/plugins/openapi/queries.graphql +0 -6
  83. package/src/app/plugins/openapi/util/generateSchemaExample.ts +0 -59
  84. package/src/app/plugins/openapi/util/urql.ts +0 -8
  85. package/src/app/plugins/openapi/worker/createSharedWorkerClient.ts +0 -60
  86. package/src/app/plugins/openapi/worker/worker.ts +0 -30
  87. package/src/app/plugins/redirect/index.tsx +0 -20
  88. package/src/app/tailwind.ts +0 -72
  89. package/src/app/ui/Button.tsx +0 -56
  90. package/src/app/ui/Callout.tsx +0 -87
  91. package/src/app/ui/Card.tsx +0 -82
  92. package/src/app/ui/Note.tsx +0 -58
  93. package/src/app/ui/Tabs.tsx +0 -52
  94. package/src/app/util/MdxComponents.tsx +0 -70
  95. package/src/app/util/cn.ts +0 -6
  96. package/src/app/util/createVariantComponent.tsx +0 -30
  97. package/src/app/util/createWaitForNotify.ts +0 -18
  98. package/src/app/util/groupBy.ts +0 -24
  99. package/src/app/util/joinPath.tsx +0 -10
  100. package/src/app/util/pastellize.ts +0 -25
  101. package/src/app/util/slugify.ts +0 -3
  102. package/src/app/util/traverseNavigation.ts +0 -55
  103. package/src/app/util/useScrollToAnchor.ts +0 -38
  104. package/src/app/util/useScrollToTop.ts +0 -13
@@ -1,795 +0,0 @@
1
- /* eslint-disable */
2
- import type { TypedDocumentNode as DocumentNode } from "@graphql-typed-document-node/core";
3
- export type Maybe<T> = T | null;
4
- export type InputMaybe<T> = Maybe<T>;
5
- export type Exact<T extends { [key: string]: unknown }> = {
6
- [K in keyof T]: T[K];
7
- };
8
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
9
- [SubKey in K]?: Maybe<T[SubKey]>;
10
- };
11
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
12
- [SubKey in K]: Maybe<T[SubKey]>;
13
- };
14
- export type MakeEmpty<
15
- T extends { [key: string]: unknown },
16
- K extends keyof T,
17
- > = { [_ in K]?: never };
18
- export type Incremental<T> =
19
- | T
20
- | {
21
- [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never;
22
- };
23
- /** All built-in and custom scalars, mapped to their actual values */
24
- export type Scalars = {
25
- ID: { input: string; output: string };
26
- String: { input: string; output: string };
27
- Boolean: { input: boolean; output: boolean };
28
- Int: { input: number; output: number };
29
- Float: { input: number; output: number };
30
- /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
31
- JSON: { input: any; output: any };
32
- /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
33
- JSONObject: { input: any; output: any };
34
- };
35
-
36
- export type EncodingItem = {
37
- __typename?: "EncodingItem";
38
- allowReserved?: Maybe<Scalars["Boolean"]["output"]>;
39
- contentType?: Maybe<Scalars["String"]["output"]>;
40
- explode?: Maybe<Scalars["Boolean"]["output"]>;
41
- headers?: Maybe<Scalars["JSONObject"]["output"]>;
42
- name: Scalars["String"]["output"];
43
- style?: Maybe<Scalars["String"]["output"]>;
44
- };
45
-
46
- export type ExampleItem = {
47
- __typename?: "ExampleItem";
48
- description?: Maybe<Scalars["String"]["output"]>;
49
- externalValue?: Maybe<Scalars["String"]["output"]>;
50
- name: Scalars["String"]["output"];
51
- summary?: Maybe<Scalars["String"]["output"]>;
52
- value?: Maybe<Scalars["String"]["output"]>;
53
- };
54
-
55
- export type MediaTypeObject = {
56
- __typename?: "MediaTypeObject";
57
- encoding?: Maybe<Array<EncodingItem>>;
58
- examples?: Maybe<Array<ExampleItem>>;
59
- mediaType: Scalars["String"]["output"];
60
- schema: Scalars["JSON"]["output"];
61
- };
62
-
63
- export type OperationItem = {
64
- __typename?: "OperationItem";
65
- contentTypes: Array<Scalars["String"]["output"]>;
66
- deprecated?: Maybe<Scalars["Boolean"]["output"]>;
67
- description?: Maybe<Scalars["String"]["output"]>;
68
- method: Scalars["String"]["output"];
69
- operationId?: Maybe<Scalars["String"]["output"]>;
70
- parameters?: Maybe<Array<ParameterItem>>;
71
- path: Scalars["String"]["output"];
72
- requestBody?: Maybe<RequestBodyObject>;
73
- responses: Array<ResponseItem>;
74
- slug: Scalars["String"]["output"];
75
- summary?: Maybe<Scalars["String"]["output"]>;
76
- tags?: Maybe<Array<TagItem>>;
77
- };
78
-
79
- export type ParameterIn = "cookie" | "header" | "path" | "query";
80
-
81
- export type ParameterItem = {
82
- __typename?: "ParameterItem";
83
- allowEmptyValue?: Maybe<Scalars["Boolean"]["output"]>;
84
- allowReserved?: Maybe<Scalars["Boolean"]["output"]>;
85
- deprecated?: Maybe<Scalars["Boolean"]["output"]>;
86
- description?: Maybe<Scalars["String"]["output"]>;
87
- examples?: Maybe<Array<ExampleItem>>;
88
- explode?: Maybe<Scalars["Boolean"]["output"]>;
89
- in: ParameterIn;
90
- name: Scalars["String"]["output"];
91
- required?: Maybe<Scalars["Boolean"]["output"]>;
92
- schema?: Maybe<Scalars["JSON"]["output"]>;
93
- style?: Maybe<Scalars["String"]["output"]>;
94
- };
95
-
96
- export type PathItem = {
97
- __typename?: "PathItem";
98
- methods: Array<Scalars["String"]["output"]>;
99
- path: Scalars["String"]["output"];
100
- };
101
-
102
- export type Query = {
103
- __typename?: "Query";
104
- schema: Schema;
105
- };
106
-
107
- export type QuerySchemaArgs = {
108
- input: Scalars["JSON"]["input"];
109
- type: SchemaType;
110
- };
111
-
112
- export type RequestBodyObject = {
113
- __typename?: "RequestBodyObject";
114
- content?: Maybe<Array<MediaTypeObject>>;
115
- description?: Maybe<Scalars["String"]["output"]>;
116
- required?: Maybe<Scalars["Boolean"]["output"]>;
117
- };
118
-
119
- export type ResponseItem = {
120
- __typename?: "ResponseItem";
121
- content?: Maybe<Array<MediaTypeObject>>;
122
- description: Scalars["String"]["output"];
123
- headers?: Maybe<Scalars["JSON"]["output"]>;
124
- links?: Maybe<Scalars["JSON"]["output"]>;
125
- statusCode: Scalars["String"]["output"];
126
- };
127
-
128
- export type Schema = {
129
- __typename?: "Schema";
130
- description?: Maybe<Scalars["String"]["output"]>;
131
- openapi: Scalars["String"]["output"];
132
- operations: Array<OperationItem>;
133
- paths: Array<PathItem>;
134
- tags: Array<SchemaTag>;
135
- title: Scalars["String"]["output"];
136
- url: Scalars["String"]["output"];
137
- version: Scalars["String"]["output"];
138
- };
139
-
140
- export type SchemaOperationsArgs = {
141
- method?: InputMaybe<Scalars["String"]["input"]>;
142
- operationId?: InputMaybe<Scalars["String"]["input"]>;
143
- path?: InputMaybe<Scalars["String"]["input"]>;
144
- tag?: InputMaybe<Scalars["String"]["input"]>;
145
- };
146
-
147
- export type SchemaTagsArgs = {
148
- name?: InputMaybe<Scalars["String"]["input"]>;
149
- };
150
-
151
- export type SchemaTag = {
152
- __typename?: "SchemaTag";
153
- description?: Maybe<Scalars["String"]["output"]>;
154
- name?: Maybe<Scalars["String"]["output"]>;
155
- operations: Array<OperationItem>;
156
- };
157
-
158
- export type SchemaType = "json" | "url" | "yaml";
159
-
160
- export type TagItem = {
161
- __typename?: "TagItem";
162
- description?: Maybe<Scalars["String"]["output"]>;
163
- name: Scalars["String"]["output"];
164
- };
165
-
166
- export type GetServerQueryQueryVariables = Exact<{
167
- input: Scalars["JSON"]["input"];
168
- type: SchemaType;
169
- }>;
170
-
171
- export type GetServerQueryQuery = {
172
- __typename?: "Query";
173
- schema: { __typename?: "Schema"; url: string };
174
- };
175
-
176
- export type OperationsFragmentFragment = {
177
- __typename?: "OperationItem";
178
- slug: string;
179
- summary?: string | null;
180
- method: string;
181
- description?: string | null;
182
- operationId?: string | null;
183
- contentTypes: Array<string>;
184
- path: string;
185
- parameters?: Array<{
186
- __typename?: "ParameterItem";
187
- name: string;
188
- in: ParameterIn;
189
- description?: string | null;
190
- required?: boolean | null;
191
- schema?: any | null;
192
- style?: string | null;
193
- }> | null;
194
- requestBody?: {
195
- __typename?: "RequestBodyObject";
196
- description?: string | null;
197
- required?: boolean | null;
198
- content?: Array<{
199
- __typename?: "MediaTypeObject";
200
- mediaType: string;
201
- schema: any;
202
- encoding?: Array<{ __typename?: "EncodingItem"; name: string }> | null;
203
- }> | null;
204
- } | null;
205
- responses: Array<{
206
- __typename?: "ResponseItem";
207
- statusCode: string;
208
- links?: any | null;
209
- description: string;
210
- content?: Array<{
211
- __typename?: "MediaTypeObject";
212
- mediaType: string;
213
- schema: any;
214
- encoding?: Array<{ __typename?: "EncodingItem"; name: string }> | null;
215
- }> | null;
216
- }>;
217
- } & { " $fragmentName"?: "OperationsFragmentFragment" };
218
-
219
- export type AllOperationsQueryVariables = Exact<{
220
- input: Scalars["JSON"]["input"];
221
- type: SchemaType;
222
- }>;
223
-
224
- export type AllOperationsQuery = {
225
- __typename?: "Query";
226
- schema: {
227
- __typename?: "Schema";
228
- description?: string | null;
229
- title: string;
230
- url: string;
231
- version: string;
232
- tags: Array<{
233
- __typename?: "SchemaTag";
234
- name?: string | null;
235
- description?: string | null;
236
- operations: Array<
237
- { __typename?: "OperationItem"; slug: string } & {
238
- " $fragmentRefs"?: {
239
- OperationsFragmentFragment: OperationsFragmentFragment;
240
- };
241
- }
242
- >;
243
- }>;
244
- };
245
- };
246
-
247
- export type GetCategoriesQueryVariables = Exact<{
248
- input: Scalars["JSON"]["input"];
249
- type: SchemaType;
250
- }>;
251
-
252
- export type GetCategoriesQuery = {
253
- __typename?: "Query";
254
- schema: {
255
- __typename?: "Schema";
256
- tags: Array<{
257
- __typename: "SchemaTag";
258
- name?: string | null;
259
- operations: Array<{
260
- __typename: "OperationItem";
261
- slug: string;
262
- method: string;
263
- summary?: string | null;
264
- operationId?: string | null;
265
- path: string;
266
- }>;
267
- }>;
268
- };
269
- };
270
-
271
- export const OperationsFragmentFragmentDoc = {
272
- kind: "Document",
273
- definitions: [
274
- {
275
- kind: "FragmentDefinition",
276
- name: { kind: "Name", value: "OperationsFragment" },
277
- typeCondition: {
278
- kind: "NamedType",
279
- name: { kind: "Name", value: "OperationItem" },
280
- },
281
- selectionSet: {
282
- kind: "SelectionSet",
283
- selections: [
284
- { kind: "Field", name: { kind: "Name", value: "slug" } },
285
- { kind: "Field", name: { kind: "Name", value: "summary" } },
286
- { kind: "Field", name: { kind: "Name", value: "method" } },
287
- { kind: "Field", name: { kind: "Name", value: "description" } },
288
- { kind: "Field", name: { kind: "Name", value: "operationId" } },
289
- { kind: "Field", name: { kind: "Name", value: "contentTypes" } },
290
- { kind: "Field", name: { kind: "Name", value: "path" } },
291
- {
292
- kind: "Field",
293
- name: { kind: "Name", value: "parameters" },
294
- selectionSet: {
295
- kind: "SelectionSet",
296
- selections: [
297
- { kind: "Field", name: { kind: "Name", value: "name" } },
298
- { kind: "Field", name: { kind: "Name", value: "in" } },
299
- { kind: "Field", name: { kind: "Name", value: "description" } },
300
- { kind: "Field", name: { kind: "Name", value: "required" } },
301
- { kind: "Field", name: { kind: "Name", value: "schema" } },
302
- { kind: "Field", name: { kind: "Name", value: "style" } },
303
- ],
304
- },
305
- },
306
- {
307
- kind: "Field",
308
- name: { kind: "Name", value: "requestBody" },
309
- selectionSet: {
310
- kind: "SelectionSet",
311
- selections: [
312
- {
313
- kind: "Field",
314
- name: { kind: "Name", value: "content" },
315
- selectionSet: {
316
- kind: "SelectionSet",
317
- selections: [
318
- {
319
- kind: "Field",
320
- name: { kind: "Name", value: "mediaType" },
321
- },
322
- {
323
- kind: "Field",
324
- name: { kind: "Name", value: "encoding" },
325
- selectionSet: {
326
- kind: "SelectionSet",
327
- selections: [
328
- {
329
- kind: "Field",
330
- name: { kind: "Name", value: "name" },
331
- },
332
- ],
333
- },
334
- },
335
- {
336
- kind: "Field",
337
- name: { kind: "Name", value: "schema" },
338
- },
339
- ],
340
- },
341
- },
342
- { kind: "Field", name: { kind: "Name", value: "description" } },
343
- { kind: "Field", name: { kind: "Name", value: "required" } },
344
- ],
345
- },
346
- },
347
- {
348
- kind: "Field",
349
- name: { kind: "Name", value: "responses" },
350
- selectionSet: {
351
- kind: "SelectionSet",
352
- selections: [
353
- { kind: "Field", name: { kind: "Name", value: "statusCode" } },
354
- { kind: "Field", name: { kind: "Name", value: "links" } },
355
- { kind: "Field", name: { kind: "Name", value: "description" } },
356
- {
357
- kind: "Field",
358
- name: { kind: "Name", value: "content" },
359
- selectionSet: {
360
- kind: "SelectionSet",
361
- selections: [
362
- {
363
- kind: "Field",
364
- name: { kind: "Name", value: "mediaType" },
365
- },
366
- {
367
- kind: "Field",
368
- name: { kind: "Name", value: "encoding" },
369
- selectionSet: {
370
- kind: "SelectionSet",
371
- selections: [
372
- {
373
- kind: "Field",
374
- name: { kind: "Name", value: "name" },
375
- },
376
- ],
377
- },
378
- },
379
- {
380
- kind: "Field",
381
- name: { kind: "Name", value: "schema" },
382
- },
383
- ],
384
- },
385
- },
386
- ],
387
- },
388
- },
389
- ],
390
- },
391
- },
392
- ],
393
- } as unknown as DocumentNode<OperationsFragmentFragment, unknown>;
394
- export const GetServerQueryDocument = {
395
- kind: "Document",
396
- definitions: [
397
- {
398
- kind: "OperationDefinition",
399
- operation: "query",
400
- name: { kind: "Name", value: "getServerQuery" },
401
- variableDefinitions: [
402
- {
403
- kind: "VariableDefinition",
404
- variable: {
405
- kind: "Variable",
406
- name: { kind: "Name", value: "input" },
407
- },
408
- type: {
409
- kind: "NonNullType",
410
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
411
- },
412
- },
413
- {
414
- kind: "VariableDefinition",
415
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
416
- type: {
417
- kind: "NonNullType",
418
- type: {
419
- kind: "NamedType",
420
- name: { kind: "Name", value: "SchemaType" },
421
- },
422
- },
423
- },
424
- ],
425
- selectionSet: {
426
- kind: "SelectionSet",
427
- selections: [
428
- {
429
- kind: "Field",
430
- name: { kind: "Name", value: "schema" },
431
- arguments: [
432
- {
433
- kind: "Argument",
434
- name: { kind: "Name", value: "input" },
435
- value: {
436
- kind: "Variable",
437
- name: { kind: "Name", value: "input" },
438
- },
439
- },
440
- {
441
- kind: "Argument",
442
- name: { kind: "Name", value: "type" },
443
- value: {
444
- kind: "Variable",
445
- name: { kind: "Name", value: "type" },
446
- },
447
- },
448
- ],
449
- selectionSet: {
450
- kind: "SelectionSet",
451
- selections: [
452
- { kind: "Field", name: { kind: "Name", value: "url" } },
453
- ],
454
- },
455
- },
456
- ],
457
- },
458
- },
459
- ],
460
- } as unknown as DocumentNode<GetServerQueryQuery, GetServerQueryQueryVariables>;
461
- export const AllOperationsDocument = {
462
- kind: "Document",
463
- definitions: [
464
- {
465
- kind: "OperationDefinition",
466
- operation: "query",
467
- name: { kind: "Name", value: "AllOperations" },
468
- variableDefinitions: [
469
- {
470
- kind: "VariableDefinition",
471
- variable: {
472
- kind: "Variable",
473
- name: { kind: "Name", value: "input" },
474
- },
475
- type: {
476
- kind: "NonNullType",
477
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
478
- },
479
- },
480
- {
481
- kind: "VariableDefinition",
482
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
483
- type: {
484
- kind: "NonNullType",
485
- type: {
486
- kind: "NamedType",
487
- name: { kind: "Name", value: "SchemaType" },
488
- },
489
- },
490
- },
491
- ],
492
- selectionSet: {
493
- kind: "SelectionSet",
494
- selections: [
495
- {
496
- kind: "Field",
497
- name: { kind: "Name", value: "schema" },
498
- arguments: [
499
- {
500
- kind: "Argument",
501
- name: { kind: "Name", value: "input" },
502
- value: {
503
- kind: "Variable",
504
- name: { kind: "Name", value: "input" },
505
- },
506
- },
507
- {
508
- kind: "Argument",
509
- name: { kind: "Name", value: "type" },
510
- value: {
511
- kind: "Variable",
512
- name: { kind: "Name", value: "type" },
513
- },
514
- },
515
- ],
516
- selectionSet: {
517
- kind: "SelectionSet",
518
- selections: [
519
- { kind: "Field", name: { kind: "Name", value: "description" } },
520
- { kind: "Field", name: { kind: "Name", value: "title" } },
521
- { kind: "Field", name: { kind: "Name", value: "url" } },
522
- { kind: "Field", name: { kind: "Name", value: "version" } },
523
- {
524
- kind: "Field",
525
- name: { kind: "Name", value: "tags" },
526
- selectionSet: {
527
- kind: "SelectionSet",
528
- selections: [
529
- { kind: "Field", name: { kind: "Name", value: "name" } },
530
- {
531
- kind: "Field",
532
- name: { kind: "Name", value: "description" },
533
- },
534
- {
535
- kind: "Field",
536
- name: { kind: "Name", value: "operations" },
537
- selectionSet: {
538
- kind: "SelectionSet",
539
- selections: [
540
- {
541
- kind: "Field",
542
- name: { kind: "Name", value: "slug" },
543
- },
544
- {
545
- kind: "FragmentSpread",
546
- name: {
547
- kind: "Name",
548
- value: "OperationsFragment",
549
- },
550
- },
551
- ],
552
- },
553
- },
554
- ],
555
- },
556
- },
557
- ],
558
- },
559
- },
560
- ],
561
- },
562
- },
563
- {
564
- kind: "FragmentDefinition",
565
- name: { kind: "Name", value: "OperationsFragment" },
566
- typeCondition: {
567
- kind: "NamedType",
568
- name: { kind: "Name", value: "OperationItem" },
569
- },
570
- selectionSet: {
571
- kind: "SelectionSet",
572
- selections: [
573
- { kind: "Field", name: { kind: "Name", value: "slug" } },
574
- { kind: "Field", name: { kind: "Name", value: "summary" } },
575
- { kind: "Field", name: { kind: "Name", value: "method" } },
576
- { kind: "Field", name: { kind: "Name", value: "description" } },
577
- { kind: "Field", name: { kind: "Name", value: "operationId" } },
578
- { kind: "Field", name: { kind: "Name", value: "contentTypes" } },
579
- { kind: "Field", name: { kind: "Name", value: "path" } },
580
- {
581
- kind: "Field",
582
- name: { kind: "Name", value: "parameters" },
583
- selectionSet: {
584
- kind: "SelectionSet",
585
- selections: [
586
- { kind: "Field", name: { kind: "Name", value: "name" } },
587
- { kind: "Field", name: { kind: "Name", value: "in" } },
588
- { kind: "Field", name: { kind: "Name", value: "description" } },
589
- { kind: "Field", name: { kind: "Name", value: "required" } },
590
- { kind: "Field", name: { kind: "Name", value: "schema" } },
591
- { kind: "Field", name: { kind: "Name", value: "style" } },
592
- ],
593
- },
594
- },
595
- {
596
- kind: "Field",
597
- name: { kind: "Name", value: "requestBody" },
598
- selectionSet: {
599
- kind: "SelectionSet",
600
- selections: [
601
- {
602
- kind: "Field",
603
- name: { kind: "Name", value: "content" },
604
- selectionSet: {
605
- kind: "SelectionSet",
606
- selections: [
607
- {
608
- kind: "Field",
609
- name: { kind: "Name", value: "mediaType" },
610
- },
611
- {
612
- kind: "Field",
613
- name: { kind: "Name", value: "encoding" },
614
- selectionSet: {
615
- kind: "SelectionSet",
616
- selections: [
617
- {
618
- kind: "Field",
619
- name: { kind: "Name", value: "name" },
620
- },
621
- ],
622
- },
623
- },
624
- {
625
- kind: "Field",
626
- name: { kind: "Name", value: "schema" },
627
- },
628
- ],
629
- },
630
- },
631
- { kind: "Field", name: { kind: "Name", value: "description" } },
632
- { kind: "Field", name: { kind: "Name", value: "required" } },
633
- ],
634
- },
635
- },
636
- {
637
- kind: "Field",
638
- name: { kind: "Name", value: "responses" },
639
- selectionSet: {
640
- kind: "SelectionSet",
641
- selections: [
642
- { kind: "Field", name: { kind: "Name", value: "statusCode" } },
643
- { kind: "Field", name: { kind: "Name", value: "links" } },
644
- { kind: "Field", name: { kind: "Name", value: "description" } },
645
- {
646
- kind: "Field",
647
- name: { kind: "Name", value: "content" },
648
- selectionSet: {
649
- kind: "SelectionSet",
650
- selections: [
651
- {
652
- kind: "Field",
653
- name: { kind: "Name", value: "mediaType" },
654
- },
655
- {
656
- kind: "Field",
657
- name: { kind: "Name", value: "encoding" },
658
- selectionSet: {
659
- kind: "SelectionSet",
660
- selections: [
661
- {
662
- kind: "Field",
663
- name: { kind: "Name", value: "name" },
664
- },
665
- ],
666
- },
667
- },
668
- {
669
- kind: "Field",
670
- name: { kind: "Name", value: "schema" },
671
- },
672
- ],
673
- },
674
- },
675
- ],
676
- },
677
- },
678
- ],
679
- },
680
- },
681
- ],
682
- } as unknown as DocumentNode<AllOperationsQuery, AllOperationsQueryVariables>;
683
- export const GetCategoriesDocument = {
684
- kind: "Document",
685
- definitions: [
686
- {
687
- kind: "OperationDefinition",
688
- operation: "query",
689
- name: { kind: "Name", value: "GetCategories" },
690
- variableDefinitions: [
691
- {
692
- kind: "VariableDefinition",
693
- variable: {
694
- kind: "Variable",
695
- name: { kind: "Name", value: "input" },
696
- },
697
- type: {
698
- kind: "NonNullType",
699
- type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
700
- },
701
- },
702
- {
703
- kind: "VariableDefinition",
704
- variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
705
- type: {
706
- kind: "NonNullType",
707
- type: {
708
- kind: "NamedType",
709
- name: { kind: "Name", value: "SchemaType" },
710
- },
711
- },
712
- },
713
- ],
714
- selectionSet: {
715
- kind: "SelectionSet",
716
- selections: [
717
- {
718
- kind: "Field",
719
- name: { kind: "Name", value: "schema" },
720
- arguments: [
721
- {
722
- kind: "Argument",
723
- name: { kind: "Name", value: "input" },
724
- value: {
725
- kind: "Variable",
726
- name: { kind: "Name", value: "input" },
727
- },
728
- },
729
- {
730
- kind: "Argument",
731
- name: { kind: "Name", value: "type" },
732
- value: {
733
- kind: "Variable",
734
- name: { kind: "Name", value: "type" },
735
- },
736
- },
737
- ],
738
- selectionSet: {
739
- kind: "SelectionSet",
740
- selections: [
741
- {
742
- kind: "Field",
743
- name: { kind: "Name", value: "tags" },
744
- selectionSet: {
745
- kind: "SelectionSet",
746
- selections: [
747
- {
748
- kind: "Field",
749
- name: { kind: "Name", value: "__typename" },
750
- },
751
- { kind: "Field", name: { kind: "Name", value: "name" } },
752
- {
753
- kind: "Field",
754
- name: { kind: "Name", value: "operations" },
755
- selectionSet: {
756
- kind: "SelectionSet",
757
- selections: [
758
- {
759
- kind: "Field",
760
- name: { kind: "Name", value: "__typename" },
761
- },
762
- {
763
- kind: "Field",
764
- name: { kind: "Name", value: "slug" },
765
- },
766
- {
767
- kind: "Field",
768
- name: { kind: "Name", value: "method" },
769
- },
770
- {
771
- kind: "Field",
772
- name: { kind: "Name", value: "summary" },
773
- },
774
- {
775
- kind: "Field",
776
- name: { kind: "Name", value: "operationId" },
777
- },
778
- {
779
- kind: "Field",
780
- name: { kind: "Name", value: "path" },
781
- },
782
- ],
783
- },
784
- },
785
- ],
786
- },
787
- },
788
- ],
789
- },
790
- },
791
- ],
792
- },
793
- },
794
- ],
795
- } as unknown as DocumentNode<GetCategoriesQuery, GetCategoriesQueryVariables>;