zudoku 0.1.1-dev.31 → 0.1.1-dev.33

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 (137) hide show
  1. package/dist/app/App.js +8 -1
  2. package/dist/app/App.js.map +1 -1
  3. package/dist/config/config.d.ts +7 -0
  4. package/dist/lib/components/Header.js +1 -1
  5. package/dist/lib/components/Header.js.map +1 -1
  6. package/dist/lib/components/Layout.js +1 -2
  7. package/dist/lib/components/Layout.js.map +1 -1
  8. package/dist/lib/components/SyntaxHighlight.d.ts +1 -0
  9. package/dist/lib/components/SyntaxHighlight.js +1 -1
  10. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  11. package/dist/lib/components/context/DevPortalProvider.js +1 -1
  12. package/dist/lib/components/context/DevPortalProvider.js.map +1 -1
  13. package/dist/lib/components/navigation/SideNavigation.js +1 -1
  14. package/dist/lib/components/navigation/SideNavigation.js.map +1 -1
  15. package/dist/lib/components/navigation/SideNavigationCategory.js +1 -1
  16. package/dist/lib/components/navigation/SideNavigationCategory.js.map +1 -1
  17. package/dist/lib/components/navigation/SideNavigationItem.d.ts +2 -1
  18. package/dist/lib/components/navigation/SideNavigationItem.js +11 -4
  19. package/dist/lib/components/navigation/SideNavigationItem.js.map +1 -1
  20. package/dist/lib/components/navigation/SideNavigationWrapper.d.ts +3 -0
  21. package/dist/lib/components/navigation/SideNavigationWrapper.js +2 -3
  22. package/dist/lib/components/navigation/SideNavigationWrapper.js.map +1 -1
  23. package/dist/lib/core/DevPortalContext.d.ts +1 -0
  24. package/dist/lib/core/DevPortalContext.js +2 -2
  25. package/dist/lib/core/DevPortalContext.js.map +1 -1
  26. package/dist/lib/core/plugins.d.ts +1 -1
  27. package/dist/lib/core/plugins.js +1 -1
  28. package/dist/lib/core/plugins.js.map +1 -1
  29. package/dist/lib/plugins/api-key/CreateApiKeys.d.ts +5 -0
  30. package/dist/lib/plugins/api-key/CreateApiKeys.js +37 -0
  31. package/dist/lib/plugins/api-key/CreateApiKeys.js.map +1 -0
  32. package/dist/lib/plugins/api-key/SettingsApiKeys.d.ts +3 -2
  33. package/dist/lib/plugins/api-key/SettingsApiKeys.js +35 -4
  34. package/dist/lib/plugins/api-key/SettingsApiKeys.js.map +1 -1
  35. package/dist/lib/plugins/api-key/index.d.ts +19 -21
  36. package/dist/lib/plugins/api-key/index.js +57 -36
  37. package/dist/lib/plugins/api-key/index.js.map +1 -1
  38. package/dist/lib/plugins/index.js +0 -1
  39. package/dist/lib/plugins/index.js.map +1 -1
  40. package/dist/lib/plugins/openapi/MakeRequest.js +27 -12
  41. package/dist/lib/plugins/openapi/MakeRequest.js.map +1 -1
  42. package/dist/lib/plugins/openapi/OperationListItem.js +24 -1
  43. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  44. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js +1 -1
  45. package/dist/lib/plugins/openapi/RequestBodySidecarBox.js.map +1 -1
  46. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js +2 -2
  47. package/dist/lib/plugins/openapi/ResponsesSidecarBox.js.map +1 -1
  48. package/dist/lib/plugins/openapi/Sidecar.js +13 -13
  49. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  50. package/dist/lib/plugins/openapi/graphql/gql.d.ts +2 -2
  51. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  52. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  53. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +1 -0
  54. package/dist/lib/plugins/openapi/graphql/graphql.js +4 -0
  55. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  56. package/dist/lib/plugins/openapi/index.js +2 -0
  57. package/dist/lib/plugins/openapi/index.js.map +1 -1
  58. package/dist/lib/plugins/openapi/playground/Headers.js +5 -16
  59. package/dist/lib/plugins/openapi/playground/Headers.js.map +1 -1
  60. package/dist/lib/plugins/openapi/playground/InlineInput.d.ts +1 -0
  61. package/dist/lib/plugins/openapi/playground/InlineInput.js +1 -1
  62. package/dist/lib/plugins/openapi/playground/{UrlParts.d.ts → PathParams.d.ts} +2 -2
  63. package/dist/lib/plugins/openapi/playground/{UrlParts.js → PathParams.js} +4 -4
  64. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -0
  65. package/dist/lib/plugins/openapi/playground/Playground.d.ts +8 -4
  66. package/dist/lib/plugins/openapi/playground/Playground.js +49 -46
  67. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  68. package/dist/lib/plugins/openapi/playground/QueryParams.d.ts +4 -6
  69. package/dist/lib/plugins/openapi/playground/QueryParams.js +27 -22
  70. package/dist/lib/plugins/openapi/playground/QueryParams.js.map +1 -1
  71. package/dist/lib/plugins/openapi/playground/UrlDisplay.d.ts +4 -0
  72. package/dist/lib/plugins/openapi/playground/UrlDisplay.js +22 -0
  73. package/dist/lib/plugins/openapi/playground/UrlDisplay.js.map +1 -0
  74. package/dist/lib/plugins/openapi/playground/createUrl.d.ts +2 -0
  75. package/dist/lib/plugins/openapi/playground/createUrl.js +15 -0
  76. package/dist/lib/plugins/openapi/playground/createUrl.js.map +1 -0
  77. package/dist/lib/plugins/openapi/util/generateSchemaExample.d.ts +1 -1
  78. package/dist/lib/plugins/openapi/util/generateSchemaExample.js +19 -9
  79. package/dist/lib/plugins/openapi/util/generateSchemaExample.js.map +1 -1
  80. package/dist/lib/plugins/redirect/index.d.ts +1 -2
  81. package/dist/lib/util/MdxComponents.js +1 -1
  82. package/dist/lib/util/MdxComponents.js.map +1 -1
  83. package/dist/lib/util/createVariantComponent.d.ts +4 -3
  84. package/dist/lib/util/createVariantComponent.js +9 -5
  85. package/dist/lib/util/createVariantComponent.js.map +1 -1
  86. package/dist/vite/plugin-api-keys.d.ts +4 -0
  87. package/dist/vite/plugin-api-keys.js +33 -0
  88. package/dist/vite/plugin-api-keys.js.map +1 -0
  89. package/dist/vite/plugin-mdx.js +1 -1
  90. package/dist/vite/plugin-mdx.js.map +1 -1
  91. package/dist/vite/plugin-redirect.d.ts +4 -0
  92. package/dist/vite/plugin-redirect.js +32 -0
  93. package/dist/vite/plugin-redirect.js.map +1 -0
  94. package/dist/vite/plugin.js +4 -0
  95. package/dist/vite/plugin.js.map +1 -1
  96. package/lib/{urql-B7mLfVog.js → urql-DMlBWUKL.js} +301 -321
  97. package/lib/{DevPortal-Dh66z5c3.js → util-BJVAslZ-.js} +3666 -4913
  98. package/lib/zudoku.components.js +1310 -4
  99. package/lib/zudoku.openapi-worker.js +1 -1
  100. package/lib/zudoku.plugins.js +12876 -12545
  101. package/package.json +1 -1
  102. package/src/app/App.tsx +8 -1
  103. package/src/lib/components/Header.tsx +2 -2
  104. package/src/lib/components/Layout.tsx +10 -6
  105. package/src/lib/components/SyntaxHighlight.tsx +6 -3
  106. package/src/lib/components/context/DevPortalProvider.ts +1 -1
  107. package/src/lib/components/navigation/SideNavigation.tsx +4 -1
  108. package/src/lib/components/navigation/SideNavigationCategory.tsx +3 -1
  109. package/src/lib/components/navigation/SideNavigationItem.tsx +15 -5
  110. package/src/lib/components/navigation/SideNavigationWrapper.tsx +14 -11
  111. package/src/lib/core/DevPortalContext.ts +3 -2
  112. package/src/lib/core/plugins.ts +1 -1
  113. package/src/lib/plugins/api-key/CreateApiKeys.tsx +84 -0
  114. package/src/lib/plugins/api-key/SettingsApiKeys.tsx +111 -11
  115. package/src/lib/plugins/api-key/index.tsx +80 -77
  116. package/src/lib/plugins/index.ts +0 -1
  117. package/src/lib/plugins/openapi/MakeRequest.tsx +38 -29
  118. package/src/lib/plugins/openapi/OperationListItem.tsx +137 -1
  119. package/src/lib/plugins/openapi/RequestBodySidecarBox.tsx +1 -1
  120. package/src/lib/plugins/openapi/ResponsesSidecarBox.tsx +1 -2
  121. package/src/lib/plugins/openapi/Sidecar.tsx +20 -20
  122. package/src/lib/plugins/openapi/graphql/gql.ts +3 -3
  123. package/src/lib/plugins/openapi/graphql/graphql.ts +5 -0
  124. package/src/lib/plugins/openapi/index.tsx +2 -0
  125. package/src/lib/plugins/openapi/playground/Headers.tsx +14 -20
  126. package/src/lib/plugins/openapi/playground/InlineInput.tsx +1 -1
  127. package/src/lib/plugins/openapi/playground/{UrlParts.tsx → PathParams.tsx} +22 -26
  128. package/src/lib/plugins/openapi/playground/Playground.tsx +205 -155
  129. package/src/lib/plugins/openapi/playground/QueryParams.tsx +89 -57
  130. package/src/lib/plugins/openapi/playground/UrlDisplay.tsx +32 -0
  131. package/src/lib/plugins/openapi/playground/createUrl.ts +22 -0
  132. package/src/lib/plugins/openapi/util/generateSchemaExample.ts +24 -9
  133. package/src/lib/plugins/redirect/index.tsx +1 -1
  134. package/src/lib/util/MdxComponents.tsx +1 -0
  135. package/src/lib/util/createVariantComponent.tsx +11 -8
  136. package/dist/lib/plugins/openapi/playground/UrlParts.js.map +0 -1
  137. package/src/lib/plugins/openapi/queries.graphql +0 -6
@@ -2,78 +2,110 @@ import {
2
2
  Control,
3
3
  Controller,
4
4
  useFieldArray,
5
- UseFormRegister,
5
+ useFormContext,
6
+ useWatch,
6
7
  } from "react-hook-form";
7
- import { TrashIcon } from "lucide-react";
8
+ import { XIcon } from "lucide-react";
8
9
  import { InlineInput } from "./InlineInput.js";
9
- import { PlaygroundForm, QueryParam } from "./Playground.js";
10
+ import { PlaygroundForm } from "./Playground.js";
10
11
  import { useEffect } from "react";
11
12
 
12
- export const QueryParams = ({
13
+ const QueryParamActive = ({
14
+ i,
13
15
  control,
14
- register,
15
- queryParams,
16
16
  }: {
17
- register: UseFormRegister<PlaygroundForm>;
17
+ i: number;
18
18
  control: Control<PlaygroundForm>;
19
- queryParams: QueryParam[];
20
19
  }) => {
21
- const { fields, append, remove } = useFieldArray<PlaygroundForm>({
22
- control,
23
- name: "queryParams",
24
- });
20
+ const value = useWatch({ control, name: `queryParams.${i}.value` });
21
+ const active = useWatch({ control, name: `queryParams.${i}.active` });
22
+ const form = useFormContext<PlaygroundForm>();
23
+ const dirty = form.formState.dirtyFields;
25
24
 
26
- const queryCount = queryParams?.length;
27
- const queryLastName = queryParams.at(-1)?.name;
28
- const queryLastValue = queryParams.at(-1)?.value;
25
+ console.log("dirty fields", dirty);
29
26
 
30
27
  useEffect(() => {
31
- // if (queryCount === 0) {
32
- // append({ name: "", value: "" });
33
- // }
34
- console.log(queryLastName, queryLastValue, queryCount);
35
- if (queryLastName !== "" || queryLastValue !== "") {
36
- console.log("appending");
37
- append({ name: "", value: "" });
28
+ if (value) {
29
+ console.log(`queryParams.${i}.active`, active);
30
+ form.setValue(`queryParams.${i}.active`, true);
38
31
  }
39
- }, [append, queryLastValue, queryLastName, queryCount]);
32
+ }, [value]);
40
33
 
41
34
  return (
42
- <div className="grid grid-cols-[1fr_1fr_auto]">
43
- {fields.map((field, i) => (
44
- <div
45
- key={field.id}
46
- className="grid-cols-subgrid col-span-full grid items-center gap-x-2 has-[:focus]:bg-muted hover:bg-muted rounded overflow-hidden group"
47
- >
48
- {field.id}
49
- <Controller
50
- control={control}
51
- render={({ field }) => {
52
- return (
53
- <InlineInput {...field} placeholder="Name" className="peer" />
54
- );
55
- }}
56
- name={`queryParams.${i}.name`}
57
- />
58
- <Controller
59
- control={control}
60
- render={({ field }) => {
61
- return (
62
- <InlineInput {...field} placeholder="Value" className="peer" />
63
- );
64
- }}
65
- name={`queryParams.${i}.value`}
35
+ <Controller
36
+ name={`queryParams.${i}.active`}
37
+ render={({ field }) => {
38
+ return (
39
+ <input
40
+ type="checkbox"
41
+ id={`queryParams.${i}.active`}
42
+ {...field}
43
+ checked={field.value}
66
44
  />
45
+ );
46
+ }}
47
+ />
48
+ );
49
+ };
67
50
 
68
- <button
69
- className="hover:bg-black/5 p-1 rounded mr-2 text-muted-foreground invisible group-hover:visible peer-focus:visible"
70
- onClick={() => remove(i)}
71
- >
72
- <TrashIcon size={16} />
73
- </button>
74
- <div className="col-span-full border-b border-border"></div>
75
- </div>
76
- ))}
51
+ export const QueryParams = ({
52
+ control,
53
+ }: {
54
+ control: Control<PlaygroundForm>;
55
+ }) => {
56
+ const { fields } = useFieldArray<PlaygroundForm>({
57
+ control,
58
+ name: "queryParams",
59
+ });
60
+
61
+ return fields.map((field, i) => (
62
+ <div
63
+ key={field.id}
64
+ className="px-2 grid-cols-subgrid col-span-full grid items-center gap-x-2 has-[:focus]:bg-muted hover:bg-accent rounded overflow-hidden group"
65
+ >
66
+ <QueryParamActive i={i} control={control} />
67
+
68
+ <Controller
69
+ control={control}
70
+ render={({ field }) => {
71
+ return (
72
+ <InlineInput asChild>
73
+ <label
74
+ className="flex items-center"
75
+ htmlFor={`queryParams.${i}.active`}
76
+ >
77
+ {field.value}
78
+ </label>
79
+ </InlineInput>
80
+ );
81
+ }}
82
+ name={`queryParams.${i}.name`}
83
+ />
84
+ <Controller
85
+ control={control}
86
+ render={({ field }) => {
87
+ return (
88
+ <InlineInput {...field} placeholder="Value" className="peer" />
89
+ );
90
+ }}
91
+ name={`queryParams.${i}.value`}
92
+ />
93
+ <Controller
94
+ control={control}
95
+ render={({ field }) => {
96
+ return (
97
+ <button
98
+ className="hover:bg-black/5 p-1 rounded mr-2 text-muted-foreground invisible group-hover:visible peer-focus:visible"
99
+ onClick={() => field.onChange("")}
100
+ >
101
+ <XIcon size={16} />
102
+ </button>
103
+ );
104
+ }}
105
+ name={`queryParams.${i}.value`}
106
+ />
107
+
108
+ <div className="-mx-2 col-span-full border-b border-border"></div>
77
109
  </div>
78
- );
110
+ ));
79
111
  };
@@ -0,0 +1,32 @@
1
+ import { useFormContext } from "react-hook-form";
2
+ import type { PlaygroundForm } from "./Playground.js";
3
+
4
+ export const UrlDisplay = ({ host, path }: { host: string; path: string }) => {
5
+ const { watch } = useFormContext<PlaygroundForm>();
6
+ const data = watch();
7
+ const url = new URL(
8
+ host +
9
+ path
10
+ .split("/")
11
+ .map((v) =>
12
+ v.startsWith("{") && v.endsWith("}")
13
+ ? data.pathParams.find((part) => part.name === v.slice(1, -1))
14
+ ?.value ?? v
15
+ : v,
16
+ )
17
+ .join("/"),
18
+ );
19
+
20
+ data.queryParams.forEach((param) => {
21
+ if (!param.value) {
22
+ return;
23
+ }
24
+ url.searchParams.set(param.name, param.value);
25
+ });
26
+
27
+ return (
28
+ <div className="overflow-auto font-mono whitespace-nowrap">
29
+ {url.toString()}
30
+ </div>
31
+ );
32
+ };
@@ -0,0 +1,22 @@
1
+ import { PlaygroundForm } from "./Playground.js";
2
+
3
+ export const createUrl = (host: string, path: string, data: PlaygroundForm) => {
4
+ const url = new URL(
5
+ host +
6
+ path
7
+ .split("/")
8
+ .map((v) =>
9
+ v.startsWith("{") && v.endsWith("}")
10
+ ? data.pathParams.find((part) => part.name === v.slice(1, -1))
11
+ ?.value ?? v
12
+ : v,
13
+ )
14
+ .join("/"),
15
+ );
16
+
17
+ data.queryParams.forEach((param) => {
18
+ url.searchParams.set(param.name, param.value);
19
+ });
20
+
21
+ return url;
22
+ };
@@ -4,7 +4,10 @@ import { type SchemaObject } from "../../../oas/graphql/index.js";
4
4
  export const isObject = (value: unknown): boolean =>
5
5
  typeof value === "object" && value !== null && !Array.isArray(value);
6
6
 
7
- export const generateSchemaExample = (schema: SchemaObject): any => {
7
+ export const generateSchemaExample = (
8
+ schema: SchemaObject,
9
+ name?: string,
10
+ ): any => {
8
11
  // Directly return the example or default if they exist
9
12
  if (schema.example !== undefined) {
10
13
  return schema.example;
@@ -18,25 +21,37 @@ export const generateSchemaExample = (schema: SchemaObject): any => {
18
21
  }
19
22
 
20
23
  // Recursively process objects and arrays
21
- return processComplexTypes(schema);
24
+ return processComplexTypes(schema, name);
22
25
  };
23
26
 
24
- function processComplexTypes(schema: SchemaObject): any {
25
- if (schema.type === "object" && schema.properties) {
27
+ function processComplexTypes(schema: SchemaObject, name?: string): any {
28
+ const properties = Object.entries(schema.properties ?? {}).concat(
29
+ Object.entries(schema.additionalProperties ?? {}),
30
+ );
31
+ if (schema.type === "object" && properties.length > 0) {
26
32
  const obj: { [key: string]: any } = {};
27
- Object.keys(schema.properties!).forEach((key) => {
28
- obj[key] = generateSchemaExample(schema.properties![key]);
33
+ properties.forEach(([key, propSchema]) => {
34
+ const value = generateSchemaExample(propSchema, key);
35
+ if (value !== undefined) {
36
+ obj[key] = value;
37
+ }
29
38
  });
30
39
  return obj;
31
40
  } else if (schema.type === "array" && schema.items) {
32
- return [generateSchemaExample(schema.items)];
41
+ console.log(name, "array", schema.items, schema);
42
+ const value = generateSchemaExample(schema.items, name);
43
+ if (value !== undefined) {
44
+ return [value];
45
+ }
46
+ return [];
33
47
  }
34
48
  // Fallback for missing or undefined types
35
- return getDefaultForType(schema.type);
49
+ return undefined; //getDefaultForType(schema.type);
36
50
  }
37
51
 
38
52
  function getDefaultForType(type?: string | string[]): any {
39
53
  if (Array.isArray(type)) {
54
+ debugger;
40
55
  return getDefaultForSingleType(type[0]);
41
56
  }
42
57
  return getDefaultForSingleType(type);
@@ -54,6 +69,6 @@ function getDefaultForSingleType(type?: string): any {
54
69
  case "null":
55
70
  return null;
56
71
  default:
57
- return undefined;
72
+ return "undefined";
58
73
  }
59
74
  }
@@ -1,7 +1,7 @@
1
1
  import { Navigate } from "react-router-dom";
2
2
  import type { DevPortalPlugin } from "../../core/plugins.js";
3
3
 
4
- type Redirect = {
4
+ export type Redirect = {
5
5
  from: string;
6
6
  to: string;
7
7
  replace?: boolean;
@@ -51,6 +51,7 @@ export const MdxComponents = {
51
51
  <SyntaxHighlight
52
52
  language={match?.[1] ?? "markup"}
53
53
  className="rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent"
54
+ showLanguageIndicator
54
55
  code={String(children).trim()}
55
56
  />
56
57
  );
@@ -1,7 +1,8 @@
1
- import { cva } from "class-variance-authority";
2
- import { ClassValue } from "clsx";
3
1
  import * as React from "react";
4
- import { JSX } from "react/jsx-runtime";
2
+ import { cva } from "class-variance-authority";
3
+ import { Slot } from "@radix-ui/react-slot";
4
+ import type { ClassValue } from "clsx";
5
+ import type { JSX } from "react/jsx-runtime";
5
6
  import { cn } from "./cn.js";
6
7
 
7
8
  const createVariantComponent = <
@@ -14,15 +15,17 @@ const createVariantComponent = <
14
15
  ) => {
15
16
  const MyVariant = React.forwardRef<
16
17
  HTMLElement,
17
- JSX.IntrinsicElements[E] & { className?: ClassValue }
18
- >(({ className, ...props }, ref) =>
19
- React.createElement(tag, {
18
+ JSX.IntrinsicElements[E] & { className?: ClassValue; asChild?: boolean }
19
+ >(({ className, asChild, ...props }, ref) => {
20
+ const Comp = asChild ? Slot : tag;
21
+
22
+ return React.createElement(Comp, {
20
23
  ...props,
21
24
  ref,
22
25
  className:
23
26
  typeof cvx === "function" ? cvx({ className }) : cn(cvx, className),
24
- }),
25
- );
27
+ });
28
+ });
26
29
 
27
30
  MyVariant.displayName = `VariantComponent(${tag})`;
28
31
 
@@ -1 +0,0 @@
1
- {"version":3,"file":"UrlParts.js","sourceRoot":"","sources":["../../../../../src/lib/plugins/openapi/playground/UrlParts.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAW,aAAa,EAAmB,MAAM,iBAAiB,CAAC;AAC1E,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAuB,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,EAAE,EAAE,MAAM,qBAAqB,CAAC;AAMzC,MAAM,cAAc,GAAG,UAAU,CAC/B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACrC,MAAM,KAAK,GAAG,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACxC,OAAO,CACL,KAAC,WAAW,OACN,KAAK,EACT,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,2CAA2C,CAAC,EACrE,KAAK,EAAE;YACL,0BAA0B;YAC1B,YAAY,EAAE,OAAO,KAAK,GAAG;SAC9B,GACD,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,OAAO,EACP,QAAQ,GAIT,EAAE,EAAE;IACH,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAiB;QAC/C,OAAO;QACP,IAAI,EAAE,UAAU;KACjB,CAAC,CAAC;IAEH,OAAO,CACL,cAAK,SAAS,EAAC,+BAA+B,YAC3C,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACvB,eAEE,SAAS,EAAC,8HAA8H,aAExI,KAAC,WAAW,OACN,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,EAClC,QAAQ,QACR,WAAW,EAAC,MAAM,EAClB,SAAS,EAAC,MAAM,GAChB,EACF,KAAC,cAAc,OACT,QAAQ,CAAC,YAAY,CAAC,QAAQ,CAAC,EACnC,IAAI,EAAE,IAAI,CAAC,IAAI,EACT,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,IAAI,EAC5B,WAAW,EAAC,OAAO,EACnB,SAAS,EAAC,MAAM,GAChB,EAEF,cAAK,SAAS,EAAC,sCAAsC,GAAO,KAjBvD,IAAI,CAAC,EAAE,CAkBR,CACP,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,6 +0,0 @@
1
- query getServerUrl($userId: ID!) {
2
- schema(input: {userId: $userId}) {
3
- serverUrl
4
- }
5
- }
6
-