zudoku 0.1.1-dev.1 → 0.1.1-dev.3

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