zudoku 0.17.0 → 0.18.0
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.
- package/dist/app/demo.js +0 -2
- package/dist/app/demo.js.map +1 -1
- package/dist/app/entry.client.js +14 -0
- package/dist/app/entry.client.js.map +1 -1
- package/dist/app/entry.server.js +5 -4
- package/dist/app/entry.server.js.map +1 -1
- package/dist/app/standalone.js +0 -2
- package/dist/app/standalone.js.map +1 -1
- package/dist/codegen.d.ts +3 -0
- package/dist/codegen.js +45 -0
- package/dist/codegen.js.map +1 -0
- package/dist/config/validators/InputSidebarSchema.d.ts +10 -10
- package/dist/config/validators/validate.d.ts +74 -74
- package/dist/lib/authentication/hook.d.ts +5 -4
- package/dist/lib/authentication/hook.js +1 -3
- package/dist/lib/authentication/hook.js.map +1 -1
- package/dist/lib/authentication/providers/auth0.js +11 -11
- package/dist/lib/authentication/providers/auth0.js.map +1 -1
- package/dist/lib/authentication/providers/openid.d.ts +0 -1
- package/dist/lib/authentication/providers/openid.js +11 -26
- package/dist/lib/authentication/providers/openid.js.map +1 -1
- package/dist/lib/authentication/state.d.ts +25 -4
- package/dist/lib/authentication/state.js +28 -5
- package/dist/lib/authentication/state.js.map +1 -1
- package/dist/lib/components/Bootstrap.d.ts +3 -1
- package/dist/lib/components/Bootstrap.js +11 -3
- package/dist/lib/components/Bootstrap.js.map +1 -1
- package/dist/lib/components/DeveloperHint.js +2 -1
- package/dist/lib/components/DeveloperHint.js.map +1 -1
- package/dist/lib/components/Header.js +3 -7
- package/dist/lib/components/Header.js.map +1 -1
- package/dist/lib/components/Heading.d.ts +1 -1
- package/dist/lib/components/Layout.js +11 -3
- package/dist/lib/components/Layout.js.map +1 -1
- package/dist/lib/components/MobileTopNavigation.js +6 -7
- package/dist/lib/components/MobileTopNavigation.js.map +1 -1
- package/dist/lib/components/SyntaxHighlight.js +16 -12
- package/dist/lib/components/SyntaxHighlight.js.map +1 -1
- package/dist/lib/components/ThemeSwitch.d.ts +1 -0
- package/dist/lib/components/ThemeSwitch.js +13 -0
- package/dist/lib/components/ThemeSwitch.js.map +1 -0
- package/dist/lib/components/TopNavigation.d.ts +2 -0
- package/dist/lib/components/TopNavigation.js +13 -7
- package/dist/lib/components/TopNavigation.js.map +1 -1
- package/dist/lib/components/Zudoku.js +4 -5
- package/dist/lib/components/Zudoku.js.map +1 -1
- package/dist/lib/components/context/ZudokuContext.d.ts +3 -3
- package/dist/lib/components/context/ZudokuContext.js +7 -12
- package/dist/lib/components/context/ZudokuContext.js.map +1 -1
- package/dist/lib/components/index.d.ts +14 -3
- package/dist/lib/components/navigation/Sidebar.js +1 -1
- package/dist/lib/components/navigation/Sidebar.js.map +1 -1
- package/dist/lib/components/navigation/utils.js +2 -2
- package/dist/lib/components/navigation/utils.js.map +1 -1
- package/dist/lib/core/ZudokuContext.d.ts +0 -4
- package/dist/lib/core/ZudokuContext.js +0 -5
- package/dist/lib/core/ZudokuContext.js.map +1 -1
- package/dist/lib/errors/ErrorAlert.js +1 -1
- package/dist/lib/errors/ErrorAlert.js.map +1 -1
- package/dist/lib/plugins/openapi/ColorizedParam.js +13 -9
- package/dist/lib/plugins/openapi/ColorizedParam.js.map +1 -1
- package/dist/lib/plugins/openapi/Endpoint.d.ts +1 -1
- package/dist/lib/plugins/openapi/Endpoint.js +5 -9
- package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.d.ts +2 -2
- package/dist/lib/plugins/openapi/OperationList.js +6 -21
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +4 -4
- package/dist/lib/plugins/openapi/Route.js +2 -4
- package/dist/lib/plugins/openapi/Route.js.map +1 -1
- package/dist/lib/plugins/openapi/Sidecar.d.ts +1 -1
- package/dist/lib/plugins/openapi/Sidecar.js +8 -11
- package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
- package/dist/lib/plugins/openapi/client/GraphQLClient.d.ts +8 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js +102 -0
- package/dist/lib/plugins/openapi/client/GraphQLClient.js.map +1 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.d.ts +7 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js +5 -0
- package/dist/lib/plugins/openapi/client/GraphQLContext.js.map +1 -0
- package/dist/lib/plugins/openapi/client/createServer.d.ts +1 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.d.ts +5 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js +13 -0
- package/dist/lib/plugins/openapi/client/useCreateQuery.js.map +1 -0
- package/dist/lib/plugins/openapi/client/worker.d.ts +4 -1
- package/dist/lib/plugins/openapi/client/worker.js +23 -14
- package/dist/lib/plugins/openapi/client/worker.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/fragment-masking.d.ts +3 -3
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js +3 -4
- package/dist/lib/plugins/openapi/graphql/fragment-masking.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/gql.d.ts +5 -52
- package/dist/lib/plugins/openapi/graphql/gql.js +2 -1
- package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
- package/dist/lib/plugins/openapi/graphql/graphql.d.ts +134 -9
- package/dist/lib/plugins/openapi/graphql/graphql.js +194 -778
- package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
- package/dist/lib/plugins/openapi/index.js +40 -53
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/schema/SchemaView.js.map +1 -1
- package/dist/lib/plugins/openapi-worker.d.ts +1 -1
- package/dist/lib/plugins/openapi-worker.js +7 -1
- package/dist/lib/plugins/openapi-worker.js.map +1 -1
- package/dist/lib/util/MdxComponents.d.ts +1 -1
- package/dist/vite/config.js +0 -1
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/html.js +0 -2
- package/dist/vite/html.js.map +1 -1
- package/dist/vite/plugin-component.js +1 -1
- package/dist/vite/plugin-component.js.map +1 -1
- package/dist/vite/plugin-mdx.js +3 -2
- package/dist/vite/plugin-mdx.js.map +1 -1
- package/dist/vite/plugin.js +0 -2
- package/dist/vite/plugin.js.map +1 -1
- package/dist/vite/remarkStaticGeneration.d.ts +3 -0
- package/dist/vite/remarkStaticGeneration.js +125 -0
- package/dist/vite/remarkStaticGeneration.js.map +1 -0
- package/lib/{AnchorLink-DYbUOP9U.js → AnchorLink-CDlhr8gL.js} +11 -10
- package/lib/{AnchorLink-DYbUOP9U.js.map → AnchorLink-CDlhr8gL.js.map} +1 -1
- package/lib/{AuthenticationPlugin-bqGAKfot.js → AuthenticationPlugin-DeGDVa1r.js} +6 -5
- package/lib/{AuthenticationPlugin-bqGAKfot.js.map → AuthenticationPlugin-DeGDVa1r.js.map} +1 -1
- package/lib/{Spinner-ChOGyPls.js → Button-jK0EsymC.js} +12 -15
- package/lib/Button-jK0EsymC.js.map +1 -0
- package/lib/Markdown-ievDDhFT.js +15192 -0
- package/lib/Markdown-ievDDhFT.js.map +1 -0
- package/lib/{MdxPage-DRKqyn2b.js → MdxPage-Bwn-VSsH.js} +5 -5
- package/lib/{MdxPage-DRKqyn2b.js.map → MdxPage-Bwn-VSsH.js.map} +1 -1
- package/lib/OperationList-BwBl1xrD.js +4691 -0
- package/lib/OperationList-BwBl1xrD.js.map +1 -0
- package/lib/Route-DlG_HTMu.js +11 -0
- package/lib/Route-DlG_HTMu.js.map +1 -0
- package/lib/{Select-DYKDahHt.js → Select-O9ZM3ZgX.js} +7 -7
- package/lib/Select-O9ZM3ZgX.js.map +1 -0
- package/lib/SidebarBadge-DxFJcJ6V.js +51 -0
- package/lib/SidebarBadge-DxFJcJ6V.js.map +1 -0
- package/lib/SlotletProvider-DyomlzGx.js +252 -0
- package/lib/SlotletProvider-DyomlzGx.js.map +1 -0
- package/lib/Spinner-3cQDBVGr.js +7 -0
- package/lib/Spinner-3cQDBVGr.js.map +1 -0
- package/lib/SyntaxHighlight-DkLOsjHS.js +2983 -0
- package/lib/SyntaxHighlight-DkLOsjHS.js.map +1 -0
- package/lib/assets/{worker-YA-aCP3P.js → worker-CPsGZsve.js} +24 -22
- package/lib/assets/{worker-YA-aCP3P.js.map → worker-CPsGZsve.js.map} +1 -1
- package/lib/context-D1nXWxm7.js +22 -0
- package/lib/context-D1nXWxm7.js.map +1 -0
- package/lib/createServer-DK-g7kbB.js +16089 -0
- package/lib/createServer-DK-g7kbB.js.map +1 -0
- package/lib/{hook-CjQERPa7.js → hook-hEqe7fPB.js} +12 -14
- package/lib/hook-hEqe7fPB.js.map +1 -0
- package/lib/index-Czzd9rjU.js +899 -0
- package/lib/index-Czzd9rjU.js.map +1 -0
- package/lib/index-DNxQ_rCt.js +1273 -0
- package/lib/index-DNxQ_rCt.js.map +1 -0
- package/lib/index-Yn8c3UWE.js +921 -0
- package/lib/index-Yn8c3UWE.js.map +1 -0
- package/lib/{router-BsfSoK2j.js → router-lfyopgBI.js} +23 -23
- package/lib/{router-BsfSoK2j.js.map → router-lfyopgBI.js.map} +1 -1
- package/lib/state-tsXBLONe.js +203 -0
- package/lib/state-tsXBLONe.js.map +1 -0
- package/lib/ui/ActionButton.js +11 -10
- package/lib/ui/ActionButton.js.map +1 -1
- package/lib/useExposedProps-CTPtylCV.js +10 -0
- package/lib/{useExposedProps-BxyHjPNN.js.map → useExposedProps-CTPtylCV.js.map} +1 -1
- package/lib/{utils-DNAltzXc.js → utils-DcpDOncX.js} +197 -202
- package/lib/utils-DcpDOncX.js.map +1 -0
- package/lib/zudoku.auth-auth0.js +24 -18
- package/lib/zudoku.auth-auth0.js.map +1 -1
- package/lib/zudoku.auth-clerk.js +2 -2
- package/lib/zudoku.auth-openid.js +124 -138
- package/lib/zudoku.auth-openid.js.map +1 -1
- package/lib/zudoku.components.js +1133 -992
- package/lib/zudoku.components.js.map +1 -1
- package/lib/zudoku.openapi-worker.js +10 -16346
- package/lib/zudoku.openapi-worker.js.map +1 -1
- package/lib/zudoku.plugin-api-keys.js +18 -18
- package/lib/zudoku.plugin-custom-pages.js +2 -2
- package/lib/zudoku.plugin-markdown.js +1 -1
- package/lib/zudoku.plugin-openapi.js +5 -9
- package/lib/zudoku.plugin-openapi.js.map +1 -1
- package/lib/zudoku.plugin-redirect.js +1 -1
- package/package.json +14 -4
- package/src/app/demo.tsx +0 -3
- package/src/app/entry.client.tsx +14 -0
- package/src/app/entry.server.tsx +59 -57
- package/src/app/standalone.tsx +0 -3
- package/src/lib/authentication/hook.ts +1 -3
- package/src/lib/authentication/providers/auth0.tsx +16 -11
- package/src/lib/authentication/providers/openid.tsx +12 -30
- package/src/lib/authentication/state.ts +44 -10
- package/src/lib/components/Bootstrap.tsx +36 -9
- package/src/lib/components/DeveloperHint.tsx +6 -1
- package/src/lib/components/Header.tsx +31 -42
- package/src/lib/components/Layout.tsx +48 -36
- package/src/lib/components/MobileTopNavigation.tsx +15 -18
- package/src/lib/components/SyntaxHighlight.tsx +81 -46
- package/src/lib/components/ThemeSwitch.tsx +26 -0
- package/src/lib/components/TopNavigation.tsx +27 -19
- package/src/lib/components/Zudoku.tsx +5 -10
- package/src/lib/components/context/ZudokuContext.ts +8 -13
- package/src/lib/components/navigation/Sidebar.tsx +3 -3
- package/src/lib/components/navigation/utils.ts +2 -2
- package/src/lib/core/ZudokuContext.ts +0 -8
- package/src/lib/errors/ErrorAlert.tsx +2 -1
- package/src/lib/plugins/openapi/ColorizedParam.tsx +23 -14
- package/src/lib/plugins/openapi/Endpoint.tsx +5 -10
- package/src/lib/plugins/openapi/OperationList.tsx +5 -40
- package/src/lib/plugins/openapi/Route.tsx +11 -12
- package/src/lib/plugins/openapi/Sidecar.tsx +10 -13
- package/src/lib/plugins/openapi/client/GraphQLClient.tsx +140 -0
- package/src/lib/plugins/openapi/client/GraphQLContext.tsx +16 -0
- package/src/lib/plugins/openapi/client/createServer.ts +2 -0
- package/src/lib/plugins/openapi/client/useCreateQuery.ts +18 -0
- package/src/lib/plugins/openapi/client/worker.ts +38 -24
- package/src/lib/plugins/openapi/graphql/fragment-masking.ts +11 -18
- package/src/lib/plugins/openapi/graphql/gql.ts +7 -25
- package/src/lib/plugins/openapi/graphql/graphql.ts +351 -782
- package/src/lib/plugins/openapi/index.tsx +40 -63
- package/src/lib/plugins/openapi/schema/SchemaView.tsx +1 -1
- package/src/lib/plugins/openapi-worker.ts +11 -1
- package/dist/lib/components/context/ThemeContext.d.ts +0 -2
- package/dist/lib/components/context/ThemeContext.js +0 -7
- package/dist/lib/components/context/ThemeContext.js.map +0 -1
- package/dist/lib/components/context/ThemeProvider.d.ts +0 -4
- package/dist/lib/components/context/ThemeProvider.js +0 -23
- package/dist/lib/components/context/ThemeProvider.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createMemoryClient.d.ts +0 -9
- package/dist/lib/plugins/openapi/client/createMemoryClient.js +0 -54
- package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/createWorkerClient.d.ts +0 -10
- package/dist/lib/plugins/openapi/client/createWorkerClient.js +0 -62
- package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +0 -1
- package/dist/lib/plugins/openapi/client/interfaces.d.ts +0 -4
- package/dist/lib/plugins/openapi/client/interfaces.js +0 -2
- package/dist/lib/plugins/openapi/client/interfaces.js.map +0 -1
- package/dist/lib/themeToggle.d.ts +0 -1
- package/dist/lib/themeToggle.js +0 -7
- package/dist/lib/themeToggle.js.map +0 -1
- package/dist/lib/util/createWaitForNotify.d.ts +0 -1
- package/dist/lib/util/createWaitForNotify.js +0 -15
- package/dist/lib/util/createWaitForNotify.js.map +0 -1
- package/dist/vite/plugin-html-transform.d.ts +0 -2
- package/dist/vite/plugin-html-transform.js +0 -15
- package/dist/vite/plugin-html-transform.js.map +0 -1
- package/lib/DeveloperHint-DHdLXGHA.js +0 -16
- package/lib/DeveloperHint-DHdLXGHA.js.map +0 -1
- package/lib/Markdown-D6UxMbZm.js +0 -18059
- package/lib/Markdown-D6UxMbZm.js.map +0 -1
- package/lib/OperationList-BHUBGM0c.js +0 -621
- package/lib/OperationList-BHUBGM0c.js.map +0 -1
- package/lib/Route-B0XuN1oC.js +0 -13
- package/lib/Route-B0XuN1oC.js.map +0 -1
- package/lib/Select-DYKDahHt.js.map +0 -1
- package/lib/SidebarBadge-Bbt92M5K.js +0 -38
- package/lib/SidebarBadge-Bbt92M5K.js.map +0 -1
- package/lib/SlotletProvider-mhjLPG44.js +0 -241
- package/lib/SlotletProvider-mhjLPG44.js.map +0 -1
- package/lib/Spinner-ChOGyPls.js.map +0 -1
- package/lib/StaggeredRender-DDHSzQKE.js +0 -17
- package/lib/StaggeredRender-DDHSzQKE.js.map +0 -1
- package/lib/hook-CjQERPa7.js.map +0 -1
- package/lib/index-BRg5pi5D.js +0 -5902
- package/lib/index-BRg5pi5D.js.map +0 -1
- package/lib/index-DM9hrcCG.js +0 -1783
- package/lib/index-DM9hrcCG.js.map +0 -1
- package/lib/state-BsPrOUAh.js +0 -252
- package/lib/state-BsPrOUAh.js.map +0 -1
- package/lib/urql-core-35Qt_U4i.js +0 -1511
- package/lib/urql-core-35Qt_U4i.js.map +0 -1
- package/lib/useExposedProps-BxyHjPNN.js +0 -9
- package/lib/utils-DNAltzXc.js.map +0 -1
- package/src/lib/components/context/ThemeContext.tsx +0 -8
- package/src/lib/components/context/ThemeProvider.tsx +0 -27
- package/src/lib/plugins/openapi/client/createMemoryClient.ts +0 -65
- package/src/lib/plugins/openapi/client/createWorkerClient.ts +0 -79
- package/src/lib/plugins/openapi/client/interfaces.ts +0 -5
- package/src/lib/themeToggle.ts +0 -7
- package/src/lib/util/createWaitForNotify.ts +0 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type {
|
|
2
|
+
import type { DocumentTypeDecoration } from "@graphql-typed-document-node/core";
|
|
3
3
|
export type Maybe<T> = T | null;
|
|
4
4
|
export type InputMaybe<T> = Maybe<T>;
|
|
5
5
|
export type Exact<T extends { [key: string]: unknown }> = {
|
|
@@ -33,10 +33,143 @@ export type Scalars = {
|
|
|
33
33
|
JSONObject: { input: any; output: any };
|
|
34
34
|
};
|
|
35
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["JSON"]["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?: Maybe<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
|
+
|
|
36
79
|
export type ParameterIn = "cookie" | "header" | "path" | "query";
|
|
37
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?: Maybe<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
|
+
servers: Array<Server>;
|
|
135
|
+
tags: Array<SchemaTag>;
|
|
136
|
+
title: Scalars["String"]["output"];
|
|
137
|
+
url: Scalars["String"]["output"];
|
|
138
|
+
version: Scalars["String"]["output"];
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export type SchemaOperationsArgs = {
|
|
142
|
+
method?: InputMaybe<Scalars["String"]["input"]>;
|
|
143
|
+
operationId?: InputMaybe<Scalars["String"]["input"]>;
|
|
144
|
+
path?: InputMaybe<Scalars["String"]["input"]>;
|
|
145
|
+
tag?: InputMaybe<Scalars["String"]["input"]>;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
export type SchemaTagsArgs = {
|
|
149
|
+
name?: InputMaybe<Scalars["String"]["input"]>;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export type SchemaTag = {
|
|
153
|
+
__typename?: "SchemaTag";
|
|
154
|
+
description?: Maybe<Scalars["String"]["output"]>;
|
|
155
|
+
name?: Maybe<Scalars["String"]["output"]>;
|
|
156
|
+
operations: Array<OperationItem>;
|
|
157
|
+
};
|
|
158
|
+
|
|
38
159
|
export type SchemaType = "file" | "raw" | "url";
|
|
39
160
|
|
|
161
|
+
export type Server = {
|
|
162
|
+
__typename?: "Server";
|
|
163
|
+
description?: Maybe<Scalars["String"]["output"]>;
|
|
164
|
+
url: Scalars["String"]["output"];
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
export type TagItem = {
|
|
168
|
+
__typename?: "TagItem";
|
|
169
|
+
description?: Maybe<Scalars["String"]["output"]>;
|
|
170
|
+
name: Scalars["String"]["output"];
|
|
171
|
+
};
|
|
172
|
+
|
|
40
173
|
export type ServersQueryQueryVariables = Exact<{
|
|
41
174
|
input: Scalars["JSON"]["input"];
|
|
42
175
|
type: SchemaType;
|
|
@@ -73,7 +206,7 @@ export type OperationsFragmentFragment = {
|
|
|
73
206
|
name: string;
|
|
74
207
|
description?: string | null;
|
|
75
208
|
externalValue?: string | null;
|
|
76
|
-
value?:
|
|
209
|
+
value?: any | null;
|
|
77
210
|
summary?: string | null;
|
|
78
211
|
}> | null;
|
|
79
212
|
}> | null;
|
|
@@ -91,7 +224,7 @@ export type OperationsFragmentFragment = {
|
|
|
91
224
|
name: string;
|
|
92
225
|
description?: string | null;
|
|
93
226
|
externalValue?: string | null;
|
|
94
|
-
value?:
|
|
227
|
+
value?: any | null;
|
|
95
228
|
summary?: string | null;
|
|
96
229
|
}> | null;
|
|
97
230
|
}> | null;
|
|
@@ -110,7 +243,7 @@ export type OperationsFragmentFragment = {
|
|
|
110
243
|
name: string;
|
|
111
244
|
description?: string | null;
|
|
112
245
|
externalValue?: string | null;
|
|
113
|
-
value?:
|
|
246
|
+
value?: any | null;
|
|
114
247
|
summary?: string | null;
|
|
115
248
|
}> | null;
|
|
116
249
|
encoding?: Array<{ __typename?: "EncodingItem"; name: string }> | null;
|
|
@@ -169,6 +302,7 @@ export type GetCategoriesQuery = {
|
|
|
169
302
|
__typename?: "Query";
|
|
170
303
|
schema: {
|
|
171
304
|
__typename?: "Schema";
|
|
305
|
+
url: string;
|
|
172
306
|
tags: Array<{
|
|
173
307
|
__typename: "SchemaTag";
|
|
174
308
|
name?: string | null;
|
|
@@ -185,781 +319,216 @@ export type GetCategoriesQuery = {
|
|
|
185
319
|
};
|
|
186
320
|
};
|
|
187
321
|
|
|
188
|
-
export
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
kind: "VariableDefinition",
|
|
402
|
-
variable: {
|
|
403
|
-
kind: "Variable",
|
|
404
|
-
name: { kind: "Name", value: "input" },
|
|
405
|
-
},
|
|
406
|
-
type: {
|
|
407
|
-
kind: "NonNullType",
|
|
408
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
|
|
409
|
-
},
|
|
410
|
-
},
|
|
411
|
-
{
|
|
412
|
-
kind: "VariableDefinition",
|
|
413
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
|
|
414
|
-
type: {
|
|
415
|
-
kind: "NonNullType",
|
|
416
|
-
type: {
|
|
417
|
-
kind: "NamedType",
|
|
418
|
-
name: { kind: "Name", value: "SchemaType" },
|
|
419
|
-
},
|
|
420
|
-
},
|
|
421
|
-
},
|
|
422
|
-
],
|
|
423
|
-
selectionSet: {
|
|
424
|
-
kind: "SelectionSet",
|
|
425
|
-
selections: [
|
|
426
|
-
{
|
|
427
|
-
kind: "Field",
|
|
428
|
-
name: { kind: "Name", value: "schema" },
|
|
429
|
-
arguments: [
|
|
430
|
-
{
|
|
431
|
-
kind: "Argument",
|
|
432
|
-
name: { kind: "Name", value: "input" },
|
|
433
|
-
value: {
|
|
434
|
-
kind: "Variable",
|
|
435
|
-
name: { kind: "Name", value: "input" },
|
|
436
|
-
},
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
kind: "Argument",
|
|
440
|
-
name: { kind: "Name", value: "type" },
|
|
441
|
-
value: {
|
|
442
|
-
kind: "Variable",
|
|
443
|
-
name: { kind: "Name", value: "type" },
|
|
444
|
-
},
|
|
445
|
-
},
|
|
446
|
-
],
|
|
447
|
-
selectionSet: {
|
|
448
|
-
kind: "SelectionSet",
|
|
449
|
-
selections: [
|
|
450
|
-
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
|
451
|
-
{
|
|
452
|
-
kind: "Field",
|
|
453
|
-
name: { kind: "Name", value: "servers" },
|
|
454
|
-
selectionSet: {
|
|
455
|
-
kind: "SelectionSet",
|
|
456
|
-
selections: [
|
|
457
|
-
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
|
458
|
-
],
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
],
|
|
462
|
-
},
|
|
463
|
-
},
|
|
464
|
-
],
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
],
|
|
468
|
-
} as unknown as DocumentNode<ServersQueryQuery, ServersQueryQueryVariables>;
|
|
469
|
-
export const AllOperationsDocument = {
|
|
470
|
-
kind: "Document",
|
|
471
|
-
definitions: [
|
|
472
|
-
{
|
|
473
|
-
kind: "OperationDefinition",
|
|
474
|
-
operation: "query",
|
|
475
|
-
name: { kind: "Name", value: "AllOperations" },
|
|
476
|
-
variableDefinitions: [
|
|
477
|
-
{
|
|
478
|
-
kind: "VariableDefinition",
|
|
479
|
-
variable: {
|
|
480
|
-
kind: "Variable",
|
|
481
|
-
name: { kind: "Name", value: "input" },
|
|
482
|
-
},
|
|
483
|
-
type: {
|
|
484
|
-
kind: "NonNullType",
|
|
485
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
|
|
486
|
-
},
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
kind: "VariableDefinition",
|
|
490
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
|
|
491
|
-
type: {
|
|
492
|
-
kind: "NonNullType",
|
|
493
|
-
type: {
|
|
494
|
-
kind: "NamedType",
|
|
495
|
-
name: { kind: "Name", value: "SchemaType" },
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
},
|
|
499
|
-
],
|
|
500
|
-
selectionSet: {
|
|
501
|
-
kind: "SelectionSet",
|
|
502
|
-
selections: [
|
|
503
|
-
{
|
|
504
|
-
kind: "Field",
|
|
505
|
-
name: { kind: "Name", value: "schema" },
|
|
506
|
-
arguments: [
|
|
507
|
-
{
|
|
508
|
-
kind: "Argument",
|
|
509
|
-
name: { kind: "Name", value: "input" },
|
|
510
|
-
value: {
|
|
511
|
-
kind: "Variable",
|
|
512
|
-
name: { kind: "Name", value: "input" },
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
{
|
|
516
|
-
kind: "Argument",
|
|
517
|
-
name: { kind: "Name", value: "type" },
|
|
518
|
-
value: {
|
|
519
|
-
kind: "Variable",
|
|
520
|
-
name: { kind: "Name", value: "type" },
|
|
521
|
-
},
|
|
522
|
-
},
|
|
523
|
-
],
|
|
524
|
-
selectionSet: {
|
|
525
|
-
kind: "SelectionSet",
|
|
526
|
-
selections: [
|
|
527
|
-
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
|
528
|
-
{ kind: "Field", name: { kind: "Name", value: "title" } },
|
|
529
|
-
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
|
530
|
-
{ kind: "Field", name: { kind: "Name", value: "version" } },
|
|
531
|
-
{
|
|
532
|
-
kind: "Field",
|
|
533
|
-
name: { kind: "Name", value: "tags" },
|
|
534
|
-
selectionSet: {
|
|
535
|
-
kind: "SelectionSet",
|
|
536
|
-
selections: [
|
|
537
|
-
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
|
538
|
-
{
|
|
539
|
-
kind: "Field",
|
|
540
|
-
name: { kind: "Name", value: "description" },
|
|
541
|
-
},
|
|
542
|
-
{
|
|
543
|
-
kind: "Field",
|
|
544
|
-
name: { kind: "Name", value: "operations" },
|
|
545
|
-
selectionSet: {
|
|
546
|
-
kind: "SelectionSet",
|
|
547
|
-
selections: [
|
|
548
|
-
{
|
|
549
|
-
kind: "Field",
|
|
550
|
-
name: { kind: "Name", value: "slug" },
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
kind: "FragmentSpread",
|
|
554
|
-
name: {
|
|
555
|
-
kind: "Name",
|
|
556
|
-
value: "OperationsFragment",
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
],
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
],
|
|
563
|
-
},
|
|
564
|
-
},
|
|
565
|
-
],
|
|
566
|
-
},
|
|
567
|
-
},
|
|
568
|
-
],
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
kind: "FragmentDefinition",
|
|
573
|
-
name: { kind: "Name", value: "OperationsFragment" },
|
|
574
|
-
typeCondition: {
|
|
575
|
-
kind: "NamedType",
|
|
576
|
-
name: { kind: "Name", value: "OperationItem" },
|
|
577
|
-
},
|
|
578
|
-
selectionSet: {
|
|
579
|
-
kind: "SelectionSet",
|
|
580
|
-
selections: [
|
|
581
|
-
{ kind: "Field", name: { kind: "Name", value: "slug" } },
|
|
582
|
-
{ kind: "Field", name: { kind: "Name", value: "summary" } },
|
|
583
|
-
{ kind: "Field", name: { kind: "Name", value: "method" } },
|
|
584
|
-
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
|
585
|
-
{ kind: "Field", name: { kind: "Name", value: "operationId" } },
|
|
586
|
-
{ kind: "Field", name: { kind: "Name", value: "contentTypes" } },
|
|
587
|
-
{ kind: "Field", name: { kind: "Name", value: "path" } },
|
|
588
|
-
{
|
|
589
|
-
kind: "Field",
|
|
590
|
-
name: { kind: "Name", value: "parameters" },
|
|
591
|
-
selectionSet: {
|
|
592
|
-
kind: "SelectionSet",
|
|
593
|
-
selections: [
|
|
594
|
-
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
|
595
|
-
{ kind: "Field", name: { kind: "Name", value: "in" } },
|
|
596
|
-
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
|
597
|
-
{ kind: "Field", name: { kind: "Name", value: "required" } },
|
|
598
|
-
{ kind: "Field", name: { kind: "Name", value: "schema" } },
|
|
599
|
-
{ kind: "Field", name: { kind: "Name", value: "style" } },
|
|
600
|
-
{
|
|
601
|
-
kind: "Field",
|
|
602
|
-
name: { kind: "Name", value: "examples" },
|
|
603
|
-
selectionSet: {
|
|
604
|
-
kind: "SelectionSet",
|
|
605
|
-
selections: [
|
|
606
|
-
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
|
607
|
-
{
|
|
608
|
-
kind: "Field",
|
|
609
|
-
name: { kind: "Name", value: "description" },
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
kind: "Field",
|
|
613
|
-
name: { kind: "Name", value: "externalValue" },
|
|
614
|
-
},
|
|
615
|
-
{ kind: "Field", name: { kind: "Name", value: "value" } },
|
|
616
|
-
{
|
|
617
|
-
kind: "Field",
|
|
618
|
-
name: { kind: "Name", value: "summary" },
|
|
619
|
-
},
|
|
620
|
-
],
|
|
621
|
-
},
|
|
622
|
-
},
|
|
623
|
-
],
|
|
624
|
-
},
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
kind: "Field",
|
|
628
|
-
name: { kind: "Name", value: "requestBody" },
|
|
629
|
-
selectionSet: {
|
|
630
|
-
kind: "SelectionSet",
|
|
631
|
-
selections: [
|
|
632
|
-
{
|
|
633
|
-
kind: "Field",
|
|
634
|
-
name: { kind: "Name", value: "content" },
|
|
635
|
-
selectionSet: {
|
|
636
|
-
kind: "SelectionSet",
|
|
637
|
-
selections: [
|
|
638
|
-
{
|
|
639
|
-
kind: "Field",
|
|
640
|
-
name: { kind: "Name", value: "mediaType" },
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
kind: "Field",
|
|
644
|
-
name: { kind: "Name", value: "encoding" },
|
|
645
|
-
selectionSet: {
|
|
646
|
-
kind: "SelectionSet",
|
|
647
|
-
selections: [
|
|
648
|
-
{
|
|
649
|
-
kind: "Field",
|
|
650
|
-
name: { kind: "Name", value: "name" },
|
|
651
|
-
},
|
|
652
|
-
],
|
|
653
|
-
},
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
kind: "Field",
|
|
657
|
-
name: { kind: "Name", value: "examples" },
|
|
658
|
-
selectionSet: {
|
|
659
|
-
kind: "SelectionSet",
|
|
660
|
-
selections: [
|
|
661
|
-
{
|
|
662
|
-
kind: "Field",
|
|
663
|
-
name: { kind: "Name", value: "name" },
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
kind: "Field",
|
|
667
|
-
name: { kind: "Name", value: "description" },
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
kind: "Field",
|
|
671
|
-
name: { kind: "Name", value: "externalValue" },
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
kind: "Field",
|
|
675
|
-
name: { kind: "Name", value: "value" },
|
|
676
|
-
},
|
|
677
|
-
{
|
|
678
|
-
kind: "Field",
|
|
679
|
-
name: { kind: "Name", value: "summary" },
|
|
680
|
-
},
|
|
681
|
-
],
|
|
682
|
-
},
|
|
683
|
-
},
|
|
684
|
-
{
|
|
685
|
-
kind: "Field",
|
|
686
|
-
name: { kind: "Name", value: "schema" },
|
|
687
|
-
},
|
|
688
|
-
],
|
|
689
|
-
},
|
|
690
|
-
},
|
|
691
|
-
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
|
692
|
-
{ kind: "Field", name: { kind: "Name", value: "required" } },
|
|
693
|
-
],
|
|
694
|
-
},
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
kind: "Field",
|
|
698
|
-
name: { kind: "Name", value: "responses" },
|
|
699
|
-
selectionSet: {
|
|
700
|
-
kind: "SelectionSet",
|
|
701
|
-
selections: [
|
|
702
|
-
{ kind: "Field", name: { kind: "Name", value: "statusCode" } },
|
|
703
|
-
{ kind: "Field", name: { kind: "Name", value: "links" } },
|
|
704
|
-
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
|
705
|
-
{
|
|
706
|
-
kind: "Field",
|
|
707
|
-
name: { kind: "Name", value: "content" },
|
|
708
|
-
selectionSet: {
|
|
709
|
-
kind: "SelectionSet",
|
|
710
|
-
selections: [
|
|
711
|
-
{
|
|
712
|
-
kind: "Field",
|
|
713
|
-
name: { kind: "Name", value: "examples" },
|
|
714
|
-
selectionSet: {
|
|
715
|
-
kind: "SelectionSet",
|
|
716
|
-
selections: [
|
|
717
|
-
{
|
|
718
|
-
kind: "Field",
|
|
719
|
-
name: { kind: "Name", value: "name" },
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
kind: "Field",
|
|
723
|
-
name: { kind: "Name", value: "description" },
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
kind: "Field",
|
|
727
|
-
name: { kind: "Name", value: "externalValue" },
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
kind: "Field",
|
|
731
|
-
name: { kind: "Name", value: "value" },
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
kind: "Field",
|
|
735
|
-
name: { kind: "Name", value: "summary" },
|
|
736
|
-
},
|
|
737
|
-
],
|
|
738
|
-
},
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
kind: "Field",
|
|
742
|
-
name: { kind: "Name", value: "mediaType" },
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
kind: "Field",
|
|
746
|
-
name: { kind: "Name", value: "encoding" },
|
|
747
|
-
selectionSet: {
|
|
748
|
-
kind: "SelectionSet",
|
|
749
|
-
selections: [
|
|
750
|
-
{
|
|
751
|
-
kind: "Field",
|
|
752
|
-
name: { kind: "Name", value: "name" },
|
|
753
|
-
},
|
|
754
|
-
],
|
|
755
|
-
},
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
kind: "Field",
|
|
759
|
-
name: { kind: "Name", value: "schema" },
|
|
760
|
-
},
|
|
761
|
-
],
|
|
762
|
-
},
|
|
763
|
-
},
|
|
764
|
-
],
|
|
765
|
-
},
|
|
766
|
-
},
|
|
767
|
-
],
|
|
768
|
-
},
|
|
769
|
-
},
|
|
770
|
-
],
|
|
771
|
-
} as unknown as DocumentNode<AllOperationsQuery, AllOperationsQueryVariables>;
|
|
772
|
-
export const GetServerQueryDocument = {
|
|
773
|
-
kind: "Document",
|
|
774
|
-
definitions: [
|
|
775
|
-
{
|
|
776
|
-
kind: "OperationDefinition",
|
|
777
|
-
operation: "query",
|
|
778
|
-
name: { kind: "Name", value: "getServerQuery" },
|
|
779
|
-
variableDefinitions: [
|
|
780
|
-
{
|
|
781
|
-
kind: "VariableDefinition",
|
|
782
|
-
variable: {
|
|
783
|
-
kind: "Variable",
|
|
784
|
-
name: { kind: "Name", value: "input" },
|
|
785
|
-
},
|
|
786
|
-
type: {
|
|
787
|
-
kind: "NonNullType",
|
|
788
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
kind: "VariableDefinition",
|
|
793
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
|
|
794
|
-
type: {
|
|
795
|
-
kind: "NonNullType",
|
|
796
|
-
type: {
|
|
797
|
-
kind: "NamedType",
|
|
798
|
-
name: { kind: "Name", value: "SchemaType" },
|
|
799
|
-
},
|
|
800
|
-
},
|
|
801
|
-
},
|
|
802
|
-
],
|
|
803
|
-
selectionSet: {
|
|
804
|
-
kind: "SelectionSet",
|
|
805
|
-
selections: [
|
|
806
|
-
{
|
|
807
|
-
kind: "Field",
|
|
808
|
-
name: { kind: "Name", value: "schema" },
|
|
809
|
-
arguments: [
|
|
810
|
-
{
|
|
811
|
-
kind: "Argument",
|
|
812
|
-
name: { kind: "Name", value: "input" },
|
|
813
|
-
value: {
|
|
814
|
-
kind: "Variable",
|
|
815
|
-
name: { kind: "Name", value: "input" },
|
|
816
|
-
},
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
kind: "Argument",
|
|
820
|
-
name: { kind: "Name", value: "type" },
|
|
821
|
-
value: {
|
|
822
|
-
kind: "Variable",
|
|
823
|
-
name: { kind: "Name", value: "type" },
|
|
824
|
-
},
|
|
825
|
-
},
|
|
826
|
-
],
|
|
827
|
-
selectionSet: {
|
|
828
|
-
kind: "SelectionSet",
|
|
829
|
-
selections: [
|
|
830
|
-
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
|
831
|
-
{
|
|
832
|
-
kind: "Field",
|
|
833
|
-
name: { kind: "Name", value: "servers" },
|
|
834
|
-
selectionSet: {
|
|
835
|
-
kind: "SelectionSet",
|
|
836
|
-
selections: [
|
|
837
|
-
{ kind: "Field", name: { kind: "Name", value: "url" } },
|
|
838
|
-
],
|
|
839
|
-
},
|
|
840
|
-
},
|
|
841
|
-
],
|
|
842
|
-
},
|
|
843
|
-
},
|
|
844
|
-
],
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
],
|
|
848
|
-
} as unknown as DocumentNode<GetServerQueryQuery, GetServerQueryQueryVariables>;
|
|
849
|
-
export const GetCategoriesDocument = {
|
|
850
|
-
kind: "Document",
|
|
851
|
-
definitions: [
|
|
852
|
-
{
|
|
853
|
-
kind: "OperationDefinition",
|
|
854
|
-
operation: "query",
|
|
855
|
-
name: { kind: "Name", value: "GetCategories" },
|
|
856
|
-
variableDefinitions: [
|
|
857
|
-
{
|
|
858
|
-
kind: "VariableDefinition",
|
|
859
|
-
variable: {
|
|
860
|
-
kind: "Variable",
|
|
861
|
-
name: { kind: "Name", value: "input" },
|
|
862
|
-
},
|
|
863
|
-
type: {
|
|
864
|
-
kind: "NonNullType",
|
|
865
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "JSON" } },
|
|
866
|
-
},
|
|
867
|
-
},
|
|
868
|
-
{
|
|
869
|
-
kind: "VariableDefinition",
|
|
870
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "type" } },
|
|
871
|
-
type: {
|
|
872
|
-
kind: "NonNullType",
|
|
873
|
-
type: {
|
|
874
|
-
kind: "NamedType",
|
|
875
|
-
name: { kind: "Name", value: "SchemaType" },
|
|
876
|
-
},
|
|
877
|
-
},
|
|
878
|
-
},
|
|
879
|
-
],
|
|
880
|
-
selectionSet: {
|
|
881
|
-
kind: "SelectionSet",
|
|
882
|
-
selections: [
|
|
883
|
-
{
|
|
884
|
-
kind: "Field",
|
|
885
|
-
name: { kind: "Name", value: "schema" },
|
|
886
|
-
arguments: [
|
|
887
|
-
{
|
|
888
|
-
kind: "Argument",
|
|
889
|
-
name: { kind: "Name", value: "input" },
|
|
890
|
-
value: {
|
|
891
|
-
kind: "Variable",
|
|
892
|
-
name: { kind: "Name", value: "input" },
|
|
893
|
-
},
|
|
894
|
-
},
|
|
895
|
-
{
|
|
896
|
-
kind: "Argument",
|
|
897
|
-
name: { kind: "Name", value: "type" },
|
|
898
|
-
value: {
|
|
899
|
-
kind: "Variable",
|
|
900
|
-
name: { kind: "Name", value: "type" },
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
],
|
|
904
|
-
selectionSet: {
|
|
905
|
-
kind: "SelectionSet",
|
|
906
|
-
selections: [
|
|
907
|
-
{
|
|
908
|
-
kind: "Field",
|
|
909
|
-
name: { kind: "Name", value: "tags" },
|
|
910
|
-
selectionSet: {
|
|
911
|
-
kind: "SelectionSet",
|
|
912
|
-
selections: [
|
|
913
|
-
{
|
|
914
|
-
kind: "Field",
|
|
915
|
-
name: { kind: "Name", value: "__typename" },
|
|
916
|
-
},
|
|
917
|
-
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
|
918
|
-
{
|
|
919
|
-
kind: "Field",
|
|
920
|
-
name: { kind: "Name", value: "operations" },
|
|
921
|
-
selectionSet: {
|
|
922
|
-
kind: "SelectionSet",
|
|
923
|
-
selections: [
|
|
924
|
-
{
|
|
925
|
-
kind: "Field",
|
|
926
|
-
name: { kind: "Name", value: "__typename" },
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
kind: "Field",
|
|
930
|
-
name: { kind: "Name", value: "slug" },
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
kind: "Field",
|
|
934
|
-
name: { kind: "Name", value: "deprecated" },
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
kind: "Field",
|
|
938
|
-
name: { kind: "Name", value: "method" },
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
kind: "Field",
|
|
942
|
-
name: { kind: "Name", value: "summary" },
|
|
943
|
-
},
|
|
944
|
-
{
|
|
945
|
-
kind: "Field",
|
|
946
|
-
name: { kind: "Name", value: "operationId" },
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
kind: "Field",
|
|
950
|
-
name: { kind: "Name", value: "path" },
|
|
951
|
-
},
|
|
952
|
-
],
|
|
953
|
-
},
|
|
954
|
-
},
|
|
955
|
-
],
|
|
956
|
-
},
|
|
957
|
-
},
|
|
958
|
-
],
|
|
959
|
-
},
|
|
960
|
-
},
|
|
961
|
-
],
|
|
962
|
-
},
|
|
963
|
-
},
|
|
964
|
-
],
|
|
965
|
-
} as unknown as DocumentNode<GetCategoriesQuery, GetCategoriesQueryVariables>;
|
|
322
|
+
export class TypedDocumentString<TResult, TVariables>
|
|
323
|
+
extends String
|
|
324
|
+
implements DocumentTypeDecoration<TResult, TVariables>
|
|
325
|
+
{
|
|
326
|
+
__apiType?: DocumentTypeDecoration<TResult, TVariables>["__apiType"];
|
|
327
|
+
|
|
328
|
+
constructor(
|
|
329
|
+
private value: string,
|
|
330
|
+
public __meta__?: Record<string, any> | undefined,
|
|
331
|
+
) {
|
|
332
|
+
super(value);
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
toString(): string & DocumentTypeDecoration<TResult, TVariables> {
|
|
336
|
+
return this.value;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
export const OperationsFragmentFragmentDoc = new TypedDocumentString(
|
|
340
|
+
`
|
|
341
|
+
fragment OperationsFragment on OperationItem {
|
|
342
|
+
slug
|
|
343
|
+
summary
|
|
344
|
+
method
|
|
345
|
+
description
|
|
346
|
+
operationId
|
|
347
|
+
contentTypes
|
|
348
|
+
path
|
|
349
|
+
parameters {
|
|
350
|
+
name
|
|
351
|
+
in
|
|
352
|
+
description
|
|
353
|
+
required
|
|
354
|
+
schema
|
|
355
|
+
style
|
|
356
|
+
examples {
|
|
357
|
+
name
|
|
358
|
+
description
|
|
359
|
+
externalValue
|
|
360
|
+
value
|
|
361
|
+
summary
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
requestBody {
|
|
365
|
+
content {
|
|
366
|
+
mediaType
|
|
367
|
+
encoding {
|
|
368
|
+
name
|
|
369
|
+
}
|
|
370
|
+
examples {
|
|
371
|
+
name
|
|
372
|
+
description
|
|
373
|
+
externalValue
|
|
374
|
+
value
|
|
375
|
+
summary
|
|
376
|
+
}
|
|
377
|
+
schema
|
|
378
|
+
}
|
|
379
|
+
description
|
|
380
|
+
required
|
|
381
|
+
}
|
|
382
|
+
responses {
|
|
383
|
+
statusCode
|
|
384
|
+
links
|
|
385
|
+
description
|
|
386
|
+
content {
|
|
387
|
+
examples {
|
|
388
|
+
name
|
|
389
|
+
description
|
|
390
|
+
externalValue
|
|
391
|
+
value
|
|
392
|
+
summary
|
|
393
|
+
}
|
|
394
|
+
mediaType
|
|
395
|
+
encoding {
|
|
396
|
+
name
|
|
397
|
+
}
|
|
398
|
+
schema
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
`,
|
|
403
|
+
{ fragmentName: "OperationsFragment" },
|
|
404
|
+
) as unknown as TypedDocumentString<OperationsFragmentFragment, unknown>;
|
|
405
|
+
export const ServersQueryDocument = new TypedDocumentString(`
|
|
406
|
+
query ServersQuery($input: JSON!, $type: SchemaType!) {
|
|
407
|
+
schema(input: $input, type: $type) {
|
|
408
|
+
url
|
|
409
|
+
servers {
|
|
410
|
+
url
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
`) as unknown as TypedDocumentString<
|
|
415
|
+
ServersQueryQuery,
|
|
416
|
+
ServersQueryQueryVariables
|
|
417
|
+
>;
|
|
418
|
+
export const AllOperationsDocument = new TypedDocumentString(`
|
|
419
|
+
query AllOperations($input: JSON!, $type: SchemaType!) {
|
|
420
|
+
schema(input: $input, type: $type) {
|
|
421
|
+
description
|
|
422
|
+
title
|
|
423
|
+
url
|
|
424
|
+
version
|
|
425
|
+
tags {
|
|
426
|
+
name
|
|
427
|
+
description
|
|
428
|
+
operations {
|
|
429
|
+
slug
|
|
430
|
+
...OperationsFragment
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
fragment OperationsFragment on OperationItem {
|
|
436
|
+
slug
|
|
437
|
+
summary
|
|
438
|
+
method
|
|
439
|
+
description
|
|
440
|
+
operationId
|
|
441
|
+
contentTypes
|
|
442
|
+
path
|
|
443
|
+
parameters {
|
|
444
|
+
name
|
|
445
|
+
in
|
|
446
|
+
description
|
|
447
|
+
required
|
|
448
|
+
schema
|
|
449
|
+
style
|
|
450
|
+
examples {
|
|
451
|
+
name
|
|
452
|
+
description
|
|
453
|
+
externalValue
|
|
454
|
+
value
|
|
455
|
+
summary
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
requestBody {
|
|
459
|
+
content {
|
|
460
|
+
mediaType
|
|
461
|
+
encoding {
|
|
462
|
+
name
|
|
463
|
+
}
|
|
464
|
+
examples {
|
|
465
|
+
name
|
|
466
|
+
description
|
|
467
|
+
externalValue
|
|
468
|
+
value
|
|
469
|
+
summary
|
|
470
|
+
}
|
|
471
|
+
schema
|
|
472
|
+
}
|
|
473
|
+
description
|
|
474
|
+
required
|
|
475
|
+
}
|
|
476
|
+
responses {
|
|
477
|
+
statusCode
|
|
478
|
+
links
|
|
479
|
+
description
|
|
480
|
+
content {
|
|
481
|
+
examples {
|
|
482
|
+
name
|
|
483
|
+
description
|
|
484
|
+
externalValue
|
|
485
|
+
value
|
|
486
|
+
summary
|
|
487
|
+
}
|
|
488
|
+
mediaType
|
|
489
|
+
encoding {
|
|
490
|
+
name
|
|
491
|
+
}
|
|
492
|
+
schema
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
}`) as unknown as TypedDocumentString<
|
|
496
|
+
AllOperationsQuery,
|
|
497
|
+
AllOperationsQueryVariables
|
|
498
|
+
>;
|
|
499
|
+
export const GetServerQueryDocument = new TypedDocumentString(`
|
|
500
|
+
query getServerQuery($input: JSON!, $type: SchemaType!) {
|
|
501
|
+
schema(input: $input, type: $type) {
|
|
502
|
+
url
|
|
503
|
+
servers {
|
|
504
|
+
url
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
`) as unknown as TypedDocumentString<
|
|
509
|
+
GetServerQueryQuery,
|
|
510
|
+
GetServerQueryQueryVariables
|
|
511
|
+
>;
|
|
512
|
+
export const GetCategoriesDocument = new TypedDocumentString(`
|
|
513
|
+
query GetCategories($input: JSON!, $type: SchemaType!) {
|
|
514
|
+
schema(input: $input, type: $type) {
|
|
515
|
+
url
|
|
516
|
+
tags {
|
|
517
|
+
__typename
|
|
518
|
+
name
|
|
519
|
+
operations {
|
|
520
|
+
__typename
|
|
521
|
+
slug
|
|
522
|
+
deprecated
|
|
523
|
+
method
|
|
524
|
+
summary
|
|
525
|
+
operationId
|
|
526
|
+
path
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
`) as unknown as TypedDocumentString<
|
|
532
|
+
GetCategoriesQuery,
|
|
533
|
+
GetCategoriesQueryVariables
|
|
534
|
+
>;
|