@scalar/workspace-store 0.15.8 → 0.16.2

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 (285) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/client.d.ts +1 -1
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -2
  5. package/dist/client.js.map +2 -2
  6. package/dist/mutators/index.d.ts +6 -24
  7. package/dist/mutators/index.d.ts.map +1 -1
  8. package/dist/mutators/index.js +0 -2
  9. package/dist/mutators/index.js.map +2 -2
  10. package/dist/navigation/helpers/traverse-description.d.ts +1 -1
  11. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-description.js.map +1 -1
  13. package/dist/navigation/helpers/traverse-document.d.ts +2 -182
  14. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  16. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  17. package/dist/navigation/helpers/traverse-paths.js +1 -1
  18. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  19. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  20. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  21. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  22. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  23. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  24. package/dist/navigation/helpers/traverse-tags.js +1 -0
  25. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  29. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  30. package/dist/navigation/types.d.ts +2 -1
  31. package/dist/navigation/types.d.ts.map +1 -1
  32. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  33. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -1
  34. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  35. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  36. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -1
  37. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  38. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  39. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -1
  40. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  41. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -2
  42. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  43. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  44. package/dist/schemas/extensions/document/x-tags.d.ts +3 -0
  45. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -1
  46. package/dist/schemas/extensions/document/x-tags.js.map +1 -1
  47. package/dist/schemas/extensions/operation/index.d.ts +2 -0
  48. package/dist/schemas/extensions/operation/index.d.ts.map +1 -0
  49. package/dist/schemas/extensions/operation/index.js +1 -0
  50. package/dist/schemas/extensions/operation/x-badge.d.ts +62 -22
  51. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  52. package/dist/schemas/extensions/operation/x-badge.js +24 -3
  53. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  54. package/dist/schemas/extensions/operation/x-code-samples.d.ts +10 -0
  55. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  56. package/dist/schemas/extensions/operation/x-code-samples.js.map +1 -1
  57. package/dist/schemas/extensions/operation/x-post-response.d.ts +18 -0
  58. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  59. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  60. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +11 -0
  61. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
  62. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  63. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +10 -0
  64. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -1
  65. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  66. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +30 -0
  67. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  68. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  69. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +38 -0
  70. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -1
  71. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +1 -1
  72. package/dist/schemas/extensions/schema/x-variable.d.ts +3 -0
  73. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -1
  74. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  75. package/dist/schemas/extensions/security/x-default-scopes.d.ts +33 -0
  76. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -0
  77. package/dist/schemas/extensions/security/x-default-scopes.js +8 -0
  78. package/dist/schemas/extensions/security/x-default-scopes.js.map +7 -0
  79. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +16 -0
  80. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -1
  81. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  82. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -1
  83. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -1
  84. package/dist/schemas/extensions/security/x-scalar-security-body.js +2 -2
  85. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +2 -2
  86. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -1
  87. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -1
  88. package/dist/schemas/extensions/security/x-scalar-security-query.js +2 -2
  89. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +2 -2
  90. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +68 -3
  91. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  92. package/dist/schemas/extensions/security/x-scalar-security-secrets.js +15 -3
  93. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  94. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -1
  95. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -1
  96. package/dist/schemas/extensions/security/x-tokenName.js +2 -2
  97. package/dist/schemas/extensions/security/x-tokenName.js.map +2 -2
  98. package/dist/schemas/extensions/security/x-use-pkce.d.ts +7 -1
  99. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  100. package/dist/schemas/extensions/security/x-use-pkce.js +1 -3
  101. package/dist/schemas/extensions/security/x-use-pkce.js.map +2 -2
  102. package/dist/schemas/extensions/tag/x-display-name.d.ts +11 -0
  103. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -1
  104. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  105. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +18 -0
  106. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  107. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  108. package/dist/schemas/inmemory-workspace.d.ts +207 -86
  109. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  110. package/dist/schemas/inmemory-workspace.js +4 -1
  111. package/dist/schemas/inmemory-workspace.js.map +2 -2
  112. package/dist/schemas/navigation.d.ts +50 -1
  113. package/dist/schemas/navigation.d.ts.map +1 -1
  114. package/dist/schemas/navigation.js +5 -9
  115. package/dist/schemas/navigation.js.map +2 -2
  116. package/dist/schemas/reference-config/appearance.d.ts +9 -2
  117. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  118. package/dist/schemas/reference-config/appearance.js.map +2 -2
  119. package/dist/schemas/reference-config/features.d.ts +11 -2
  120. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  121. package/dist/schemas/reference-config/features.js.map +2 -2
  122. package/dist/schemas/reference-config/index.d.ts +114 -45
  123. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  124. package/dist/schemas/reference-config/index.js +5 -5
  125. package/dist/schemas/reference-config/index.js.map +2 -2
  126. package/dist/schemas/reference-config/meta.d.ts +8 -2
  127. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  128. package/dist/schemas/reference-config/meta.js.map +2 -2
  129. package/dist/schemas/reference-config/routing.d.ts +4 -2
  130. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  131. package/dist/schemas/reference-config/routing.js.map +2 -2
  132. package/dist/schemas/reference-config/settings.d.ts +105 -45
  133. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  134. package/dist/schemas/reference-config/settings.js.map +2 -2
  135. package/dist/schemas/v3.1/strict/callback.d.ts +4 -0
  136. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  137. package/dist/schemas/v3.1/strict/callback.js +2 -2
  138. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +19 -3
  140. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  142. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +10 -4
  143. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  144. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  145. package/dist/schemas/v3.1/strict/components.d.ts +34 -0
  146. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  147. package/dist/schemas/v3.1/strict/components.js +1 -1
  148. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  149. package/dist/schemas/v3.1/strict/contact.d.ts +9 -0
  150. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  151. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  152. package/dist/schemas/v3.1/strict/discriminator.d.ts +11 -0
  153. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  154. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  155. package/dist/schemas/v3.1/strict/encoding.d.ts +15 -0
  156. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  157. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  158. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  159. package/dist/schemas/v3.1/strict/example.d.ts +15 -0
  160. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  161. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  162. package/dist/schemas/v3.1/strict/external-documentation.d.ts +9 -2
  163. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  164. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  165. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  166. package/dist/schemas/v3.1/strict/header.d.ts +41 -0
  167. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  168. package/dist/schemas/v3.1/strict/header.js +2 -2
  169. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  170. package/dist/schemas/v3.1/strict/info.d.ts +24 -2
  171. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  172. package/dist/schemas/v3.1/strict/info.js +7 -5
  173. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  174. package/dist/schemas/v3.1/strict/license.d.ts +9 -0
  175. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  176. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  177. package/dist/schemas/v3.1/strict/link.d.ts +22 -0
  178. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  180. package/dist/schemas/v3.1/strict/media-type.d.ts +19 -0
  181. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  182. package/dist/schemas/v3.1/strict/media-type.js +2 -2
  183. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  184. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +171 -29
  185. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  186. package/dist/schemas/v3.1/strict/oauth-flow.js +43 -15
  187. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  188. package/dist/schemas/v3.1/strict/oauthflows.d.ts +78 -12
  189. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  190. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  191. package/dist/schemas/v3.1/strict/openapi-document.d.ts +3369 -1476
  192. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  193. package/dist/schemas/v3.1/strict/openapi-document.js +45 -44
  194. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  195. package/dist/schemas/v3.1/strict/operation.d.ts +44 -17
  196. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  197. package/dist/schemas/v3.1/strict/operation.js +2 -3
  198. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  199. package/dist/schemas/v3.1/strict/parameter.d.ts +45 -0
  200. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  201. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  202. package/dist/schemas/v3.1/strict/path-item.d.ts +38 -0
  203. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  204. package/dist/schemas/v3.1/strict/path-item.js +1 -1
  205. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  206. package/dist/schemas/v3.1/strict/paths.d.ts +5 -0
  207. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  208. package/dist/schemas/v3.1/strict/paths.js +1 -1
  209. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  210. package/dist/schemas/v3.1/strict/reference.d.ts +21 -4
  211. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  212. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  213. package/dist/schemas/v3.1/strict/request-body.d.ts +10 -0
  214. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  215. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  216. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  217. package/dist/schemas/v3.1/strict/response.d.ts +17 -0
  218. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  219. package/dist/schemas/v3.1/strict/response.js +1 -1
  220. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  221. package/dist/schemas/v3.1/strict/responses.d.ts +12 -0
  222. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  223. package/dist/schemas/v3.1/strict/responses.js +1 -1
  224. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  225. package/dist/schemas/v3.1/strict/schema.d.ts +144 -1
  226. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  227. package/dist/schemas/v3.1/strict/schema.js +40 -60
  228. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/security-requirement.d.ts +12 -0
  230. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  232. package/dist/schemas/v3.1/strict/security-scheme.d.ts +49 -8
  233. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  234. package/dist/schemas/v3.1/strict/security-scheme.js +3 -1
  235. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  236. package/dist/schemas/v3.1/strict/server-variable.d.ts +9 -0
  237. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  238. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  239. package/dist/schemas/v3.1/strict/server.d.ts +10 -0
  240. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  241. package/dist/schemas/v3.1/strict/server.js +1 -1
  242. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  243. package/dist/schemas/v3.1/strict/tag.d.ts +13 -0
  244. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  245. package/dist/schemas/v3.1/strict/tag.js +1 -1
  246. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  247. package/dist/schemas/v3.1/strict/type-guards.d.ts +1 -1
  248. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  249. package/dist/schemas/v3.1/strict/type-guards.js.map +1 -1
  250. package/dist/schemas/v3.1/strict/xml.d.ts +17 -0
  251. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  252. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  253. package/dist/schemas/workspace-specification/config.d.ts +101 -44
  254. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  255. package/dist/schemas/workspace-specification/config.js.map +2 -2
  256. package/dist/schemas/workspace-specification/index.d.ts +110 -44
  257. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  258. package/dist/schemas/workspace-specification/index.js.map +2 -2
  259. package/dist/schemas/workspace-specification/info.d.ts +4 -0
  260. package/dist/schemas/workspace-specification/info.d.ts.map +1 -1
  261. package/dist/schemas/workspace-specification/info.js.map +1 -1
  262. package/dist/schemas/workspace.d.ts +707 -300
  263. package/dist/schemas/workspace.d.ts.map +1 -1
  264. package/dist/schemas/workspace.js +11 -3
  265. package/dist/schemas/workspace.js.map +2 -2
  266. package/dist/server.d.ts +6 -5
  267. package/dist/server.d.ts.map +1 -1
  268. package/dist/server.js.map +2 -2
  269. package/package.json +9 -14
  270. package/dist/mutators/request-example.d.ts +0 -21
  271. package/dist/mutators/request-example.d.ts.map +0 -1
  272. package/dist/mutators/request-example.js +0 -55
  273. package/dist/mutators/request-example.js.map +0 -7
  274. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +0 -4
  275. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +0 -1
  276. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +0 -8
  277. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +0 -7
  278. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  279. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  280. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  281. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  282. package/dist/types.d.ts +0 -18
  283. package/dist/types.d.ts.map +0 -1
  284. package/dist/types.js +0 -1
  285. /package/dist/{types.js.map → schemas/extensions/operation/index.js.map} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { Type } from "@scalar/typebox";
2
2
  import { AVAILABLE_CLIENTS } from "@scalar/types/snippetz";
3
- import { AppearanceSchema, defaultAppearance } from "../../schemas/reference-config/appearance.js";
4
- import { FeaturesSchema, defaultFeatures } from "../../schemas/reference-config/features.js";
5
- import { MetaSchema, defaultMeta } from "../../schemas/reference-config/meta.js";
6
- import { RoutingSchema, defaultRouting } from "../../schemas/reference-config/routing.js";
7
- import { SettingsSchema, defaultSettings } from "../../schemas/reference-config/settings.js";
3
+ import { AppearanceSchema, defaultAppearance } from "./appearance.js";
4
+ import { FeaturesSchema, defaultFeatures } from "./features.js";
5
+ import { MetaSchema, defaultMeta } from "./meta.js";
6
+ import { RoutingSchema, defaultRouting } from "./routing.js";
7
+ import { SettingsSchema, defaultSettings } from "./settings.js";
8
8
  const ReferenceConfigSchema = Type.Partial(
9
9
  Type.Object({
10
10
  /** Document level title */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/index.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport { AVAILABLE_CLIENTS } from '@scalar/types/snippetz'\nimport type { RequiredDeep } from 'type-fest'\n\nimport { AppearanceSchema, defaultAppearance } from '@/schemas/reference-config/appearance'\nimport { FeaturesSchema, defaultFeatures } from '@/schemas/reference-config/features'\nimport { MetaSchema, defaultMeta } from '@/schemas/reference-config/meta'\nimport { RoutingSchema, defaultRouting } from '@/schemas/reference-config/routing'\nimport { SettingsSchema, defaultSettings } from '@/schemas/reference-config/settings'\nimport type { MutableArray } from '@/types'\n\n/**\n * ReferenceConfigSchema defines the shape of the configuration object\n * for the API Reference. All properties are optional due to Type.Partial.\n * This schema is used for validating and typing the configuration.\n */\nexport const ReferenceConfigSchema = Type.Partial(\n Type.Object({\n /** Document level title */\n title: Type.String(),\n /** Unique slug to identify the document */\n slug: Type.String(),\n /** Settings for the API reference (controls behavior and options) */\n settings: SettingsSchema,\n /** Routing configuration (controls navigation) */\n routing: RoutingSchema,\n /** Appearance configuration (controls theming and UI options) */\n appearance: AppearanceSchema,\n /** Features configuration (toggles for enabling/disabling features) */\n features: FeaturesSchema,\n /** Meta information */\n meta: MetaSchema,\n /** List of enabled HTTP clients for code samples */\n httpClients: Type.Array(Type.Union(AVAILABLE_CLIENTS.map((client) => Type.Literal(client)))),\n }),\n)\n\nexport type ReferenceConfig = Static<typeof ReferenceConfigSchema>\n\nexport const defaultReferenceConfig: RequiredDeep<ReferenceConfig> = {\n title: 'Scalar API Reference',\n slug: 'scalar-api-reference',\n\n /**\n * Default settings for the API reference.\n */\n settings: defaultSettings,\n\n /**\n * Default routing configuration for the API reference.\n */\n routing: defaultRouting,\n /**\n * Default appearance configuration for the API reference.\n */\n appearance: defaultAppearance,\n\n /**\n * Default features configuration for the API reference.\n */\n features: defaultFeatures,\n\n /**\n * Default meta configuration for the API reference.\n */\n meta: defaultMeta,\n\n /**\n * Default HTTP clients for the API reference.\n */\n httpClients: AVAILABLE_CLIENTS as MutableArray<typeof AVAILABLE_CLIENTS>,\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAClC,SAAS,yBAAyB;AAGlC,SAAS,kBAAkB,yBAAyB;AACpD,SAAS,gBAAgB,uBAAuB;AAChD,SAAS,YAAY,mBAAmB;AACxC,SAAS,eAAe,sBAAsB;AAC9C,SAAS,gBAAgB,uBAAuB;AAQzC,MAAM,wBAAwB,KAAK;AAAA,EACxC,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,UAAU;AAAA;AAAA,IAEV,SAAS;AAAA;AAAA,IAET,YAAY;AAAA;AAAA,IAEZ,UAAU;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,aAAa,KAAK,MAAM,KAAK,MAAM,kBAAkB,IAAI,CAAC,WAAW,KAAK,QAAQ,MAAM,CAAC,CAAC,CAAC;AAAA,EAC7F,CAAC;AACH;AAIO,MAAM,yBAAwD;AAAA,EACnE,OAAO;AAAA,EACP,MAAM;AAAA;AAAA;AAAA;AAAA,EAKN,UAAU;AAAA;AAAA;AAAA;AAAA,EAKV,SAAS;AAAA;AAAA;AAAA;AAAA,EAIT,YAAY;AAAA;AAAA;AAAA;AAAA,EAKZ,UAAU;AAAA;AAAA;AAAA;AAAA,EAKV,MAAM;AAAA;AAAA;AAAA;AAAA,EAKN,aAAa;AACf;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\nimport { AVAILABLE_CLIENTS, type AvailableClientsArray } from '@scalar/types/snippetz'\nimport type { RequiredDeep } from 'type-fest/source/required-deep'\n\nimport { type Appearance, AppearanceSchema, defaultAppearance } from './appearance'\nimport { type Features, FeaturesSchema, defaultFeatures } from './features'\nimport { type Meta, MetaSchema, defaultMeta } from './meta'\nimport { type Routing, RoutingSchema, defaultRouting } from './routing'\nimport { type Settings, SettingsSchema, defaultSettings } from './settings'\n\n/**\n * ReferenceConfigSchema defines the shape of the configuration object\n * for the API Reference. All properties are optional due to Type.Partial.\n * This schema is used for validating and typing the configuration.\n */\nexport const ReferenceConfigSchema = Type.Partial(\n Type.Object({\n /** Document level title */\n title: Type.String(),\n /** Unique slug to identify the document */\n slug: Type.String(),\n /** Settings for the API reference (controls behavior and options) */\n settings: SettingsSchema,\n /** Routing configuration (controls navigation) */\n routing: RoutingSchema,\n /** Appearance configuration (controls theming and UI options) */\n appearance: AppearanceSchema,\n /** Features configuration (toggles for enabling/disabling features) */\n features: FeaturesSchema,\n /** Meta information */\n meta: MetaSchema,\n /** List of enabled HTTP clients for code samples */\n httpClients: Type.Array(Type.Union(AVAILABLE_CLIENTS.map((client) => Type.Literal(client)))),\n }),\n)\n\nexport type ReferenceConfig = {\n title?: string\n slug?: string\n settings?: Settings\n routing?: Routing\n appearance?: Appearance\n features?: Features\n meta?: Meta\n httpClients?: AvailableClientsArray | typeof AVAILABLE_CLIENTS\n}\n\nexport const defaultReferenceConfig: RequiredDeep<ReferenceConfig> = {\n title: 'Scalar API Reference',\n slug: 'scalar-api-reference',\n\n /**\n * Default settings for the API reference.\n */\n settings: defaultSettings,\n\n /**\n * Default routing configuration for the API reference.\n */\n routing: defaultRouting,\n /**\n * Default appearance configuration for the API reference.\n */\n appearance: defaultAppearance,\n\n /**\n * Default features configuration for the API reference.\n */\n features: defaultFeatures,\n\n /**\n * Default meta configuration for the API reference.\n */\n meta: defaultMeta,\n\n /**\n * Default HTTP clients for the API reference.\n */\n httpClients: AVAILABLE_CLIENTS,\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,yBAAqD;AAG9D,SAA0B,kBAAkB,yBAAyB;AACrE,SAAwB,gBAAgB,uBAAuB;AAC/D,SAAoB,YAAY,mBAAmB;AACnD,SAAuB,eAAe,sBAAsB;AAC5D,SAAwB,gBAAgB,uBAAuB;AAOxD,MAAM,wBAAwB,KAAK;AAAA,EACxC,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,UAAU;AAAA;AAAA,IAEV,SAAS;AAAA;AAAA,IAET,YAAY;AAAA;AAAA,IAEZ,UAAU;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,aAAa,KAAK,MAAM,KAAK,MAAM,kBAAkB,IAAI,CAAC,WAAW,KAAK,QAAQ,MAAM,CAAC,CAAC,CAAC;AAAA,EAC7F,CAAC;AACH;AAaO,MAAM,yBAAwD;AAAA,EACnE,OAAO;AAAA,EACP,MAAM;AAAA;AAAA;AAAA;AAAA,EAKN,UAAU;AAAA;AAAA;AAAA;AAAA,EAKV,SAAS;AAAA;AAAA;AAAA;AAAA,EAIT,YAAY;AAAA;AAAA;AAAA;AAAA,EAKZ,UAAU;AAAA;AAAA;AAAA;AAAA,EAKV,MAAM;AAAA;AAAA;AAAA;AAAA,EAKN,aAAa;AACf;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const MetaSchema: import("@scalar/typebox").TObject<{
3
2
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
3
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -7,6 +6,13 @@ export declare const MetaSchema: import("@scalar/typebox").TObject<{
7
6
  ogImage: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8
7
  twitterCard: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
8
  }>;
10
- export type Meta = Static<typeof MetaSchema>;
9
+ export type Meta = {
10
+ title?: string;
11
+ description?: string;
12
+ ogTitle?: string;
13
+ ogDescription?: string;
14
+ ogImage?: string;
15
+ twitterCard?: string;
16
+ };
11
17
  export declare const defaultMeta: Required<Meta>;
12
18
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/meta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,UAAU;;;;;;;EAStB,CAAA;AAED,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAE5C,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,IAAI,CAOtC,CAAA"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/meta.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;EAStB,CAAA;AAED,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,IAAI,CAOtC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/meta.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const MetaSchema = Type.Partial(\n Type.Object({\n title: Type.String(),\n description: Type.String(),\n ogTitle: Type.String(),\n ogDescription: Type.String(),\n ogImage: Type.String(),\n twitterCard: Type.String(),\n }),\n)\n\nexport type Meta = Static<typeof MetaSchema>\n\nexport const defaultMeta: Required<Meta> = {\n title: 'Scalar API Reference',\n description: 'Scalar API Reference',\n ogTitle: 'Scalar API Reference',\n ogDescription: 'Scalar API Reference',\n ogImage: 'https://scalar.com/images/scalar-logo.png',\n twitterCard: 'summary_large_image',\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,aAAa,KAAK;AAAA,EAC7B,KAAK,OAAO;AAAA,IACV,OAAO,KAAK,OAAO;AAAA,IACnB,aAAa,KAAK,OAAO;AAAA,IACzB,SAAS,KAAK,OAAO;AAAA,IACrB,eAAe,KAAK,OAAO;AAAA,IAC3B,SAAS,KAAK,OAAO;AAAA,IACrB,aAAa,KAAK,OAAO;AAAA,EAC3B,CAAC;AACH;AAIO,MAAM,cAA8B;AAAA,EACzC,OAAO;AAAA,EACP,aAAa;AAAA,EACb,SAAS;AAAA,EACT,eAAe;AAAA,EACf,SAAS;AAAA,EACT,aAAa;AACf;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const MetaSchema = Type.Partial(\n Type.Object({\n title: Type.String(),\n description: Type.String(),\n ogTitle: Type.String(),\n ogDescription: Type.String(),\n ogImage: Type.String(),\n twitterCard: Type.String(),\n }),\n)\n\nexport type Meta = {\n title?: string\n description?: string\n ogTitle?: string\n ogDescription?: string\n ogImage?: string\n twitterCard?: string\n}\n\nexport const defaultMeta: Required<Meta> = {\n title: 'Scalar API Reference',\n description: 'Scalar API Reference',\n ogTitle: 'Scalar API Reference',\n ogDescription: 'Scalar API Reference',\n ogImage: 'https://scalar.com/images/scalar-logo.png',\n twitterCard: 'summary_large_image',\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,aAAa,KAAK;AAAA,EAC7B,KAAK,OAAO;AAAA,IACV,OAAO,KAAK,OAAO;AAAA,IACnB,aAAa,KAAK,OAAO;AAAA,IACzB,SAAS,KAAK,OAAO;AAAA,IACrB,eAAe,KAAK,OAAO;AAAA,IAC3B,SAAS,KAAK,OAAO;AAAA,IACrB,aAAa,KAAK,OAAO;AAAA,EAC3B,CAAC;AACH;AAWO,MAAM,cAA8B;AAAA,EACzC,OAAO;AAAA,EACP,aAAa;AAAA,EACb,SAAS;AAAA,EACT,eAAe;AAAA,EACf,SAAS;AAAA,EACT,aAAa;AACf;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,10 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const RoutingSchema: import("@scalar/typebox").TObject<{
3
2
  basePath: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
3
  pathNotFound: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
4
  }>;
6
- export type Routing = Static<typeof RoutingSchema>;
5
+ export type Routing = {
6
+ basePath?: string;
7
+ pathNotFound?: string;
8
+ };
7
9
  export declare const defaultRouting: Required<Routing>;
8
10
  //# sourceMappingURL=routing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/routing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,aAAa;;;EAKzB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,aAAa,CAAC,CAAA;AAElD,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,CAG5C,CAAA"}
1
+ {"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/routing.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;EAKzB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,CAG5C,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/routing.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const RoutingSchema = Type.Partial(\n Type.Object({\n basePath: Type.String(),\n pathNotFound: Type.String(),\n }),\n)\n\nexport type Routing = Static<typeof RoutingSchema>\n\nexport const defaultRouting: Required<Routing> = {\n basePath: '/',\n pathNotFound: '/',\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,gBAAgB,KAAK;AAAA,EAChC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,cAAc,KAAK,OAAO;AAAA,EAC5B,CAAC;AACH;AAIO,MAAM,iBAAoC;AAAA,EAC/C,UAAU;AAAA,EACV,cAAc;AAChB;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const RoutingSchema = Type.Partial(\n Type.Object({\n basePath: Type.String(),\n pathNotFound: Type.String(),\n }),\n)\n\nexport type Routing = {\n basePath?: string\n pathNotFound?: string\n}\n\nexport const defaultRouting: Required<Routing> = {\n basePath: '/',\n pathNotFound: '/',\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,gBAAgB,KAAK;AAAA,EAChC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,cAAc,KAAK,OAAO;AAAA,EAC5B,CAAC;AACH;AAOO,MAAM,iBAAoC;AAAA,EAC/C,UAAU;AAAA,EACV,cAAc;AAChB;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
- import { type Static } from '@scalar/typebox';
2
- import type { RequiredDeep } from 'type-fest';
1
+ import type { RequiredDeep } from 'type-fest/source/required-deep';
2
+ import type { ServerObject } from '../../schemas/v3.1/strict/server.js';
3
3
  export declare const SettingsSchema: import("@scalar/typebox").TObject<{
4
4
  proxyUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
5
  searchKey: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -267,23 +267,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
267
267
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
268
268
  }>]>]>>>;
269
269
  }>, import("@scalar/typebox").TObject<{
270
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
271
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
272
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
273
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
274
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
275
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
276
- url: import("@scalar/typebox").TString;
277
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
278
- }>, import("@scalar/typebox").TNull]>>;
279
- }>>;
280
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
281
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
282
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
283
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
284
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
285
- }>>;
286
- }>>>;
270
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
287
271
  }>, import("@scalar/typebox").TObject<{
288
272
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
289
273
  name: import("@scalar/typebox").TString;
@@ -485,7 +469,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
485
469
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
486
470
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
487
471
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
488
- format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"int8">, import("@scalar/typebox").TLiteral<"int16">, import("@scalar/typebox").TLiteral<"int32">, import("@scalar/typebox").TLiteral<"int64">, import("@scalar/typebox").TLiteral<"uint8">, import("@scalar/typebox").TLiteral<"uint16">, import("@scalar/typebox").TLiteral<"uint32">, import("@scalar/typebox").TLiteral<"uint64">, import("@scalar/typebox").TLiteral<"double-int">, import("@scalar/typebox").TLiteral<"float">, import("@scalar/typebox").TLiteral<"double">, import("@scalar/typebox").TLiteral<"decimal">, import("@scalar/typebox").TLiteral<"decimal128">, import("@scalar/typebox").TLiteral<"sf-integer">, import("@scalar/typebox").TLiteral<"sf-decimal">]>>;
472
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
489
473
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
490
474
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
491
475
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -968,17 +952,17 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
968
952
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
969
953
  }>;
970
954
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
971
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
972
955
  url: import("@scalar/typebox").TString;
956
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
973
957
  }>;
974
958
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
975
959
  title: import("@scalar/typebox").TString;
960
+ version: import("@scalar/typebox").TString;
976
961
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
977
962
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
978
963
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
979
964
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
980
965
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
981
- version: import("@scalar/typebox").TString;
982
966
  }>, import("@scalar/typebox").TObject<{
983
967
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
984
968
  lang: import("@scalar/typebox").TString;
@@ -1085,7 +1069,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1085
1069
  SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1086
1070
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1087
1071
  }>, import("@scalar/typebox").TObject<{
1088
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1072
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1089
1073
  }>, import("@scalar/typebox").TObject<{
1090
1074
  type: import("@scalar/typebox").TLiteral<"apiKey">;
1091
1075
  name: import("@scalar/typebox").TString;
@@ -1093,10 +1077,10 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1093
1077
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1094
1078
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1095
1079
  }>, import("@scalar/typebox").TObject<{
1096
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1080
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1097
1081
  }>, import("@scalar/typebox").TObject<{
1098
- 'x-scalar-secret-username': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1099
- 'x-scalar-secret-password': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1082
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1083
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1100
1084
  }>, import("@scalar/typebox").TObject<{
1101
1085
  type: import("@scalar/typebox").TLiteral<"http">;
1102
1086
  scheme: import("@scalar/typebox").TString;
@@ -1106,6 +1090,8 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1106
1090
  }>, import("@scalar/typebox").TObject<{
1107
1091
  type: import("@scalar/typebox").TLiteral<"oauth2">;
1108
1092
  flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
1093
+ }>, import("@scalar/typebox").TObject<{
1094
+ 'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1109
1095
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1110
1096
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1111
1097
  }>, import("@scalar/typebox").TObject<{
@@ -1132,38 +1118,93 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1132
1118
  mapping: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1133
1119
  }>;
1134
1120
  OAuthFlowsObject: import("@scalar/typebox").TObject<{
1135
- implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1136
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1121
+ implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1122
+ refreshUrl: import("@scalar/typebox").TString;
1137
1123
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1138
1124
  }>, import("@scalar/typebox").TObject<{
1139
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1125
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1140
1126
  }>, import("@scalar/typebox").TObject<{
1127
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1128
+ }>, import("@scalar/typebox").TObject<{
1129
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1130
+ }>, import("@scalar/typebox").TObject<{
1131
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1132
+ }>, import("@scalar/typebox").TObject<{
1133
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1134
+ }>, import("@scalar/typebox").TObject<{
1135
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1136
+ }>]>, import("@scalar/typebox").TObject<{
1141
1137
  authorizationUrl: import("@scalar/typebox").TString;
1138
+ }>, import("@scalar/typebox").TObject<{
1139
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1142
1140
  }>]>>;
1143
- password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1144
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1141
+ password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1142
+ refreshUrl: import("@scalar/typebox").TString;
1145
1143
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1146
1144
  }>, import("@scalar/typebox").TObject<{
1147
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1145
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1146
+ }>, import("@scalar/typebox").TObject<{
1147
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1148
1148
  }>, import("@scalar/typebox").TObject<{
1149
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1150
+ }>, import("@scalar/typebox").TObject<{
1151
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1152
+ }>, import("@scalar/typebox").TObject<{
1153
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1154
+ }>, import("@scalar/typebox").TObject<{
1155
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1156
+ }>]>, import("@scalar/typebox").TObject<{
1149
1157
  tokenUrl: import("@scalar/typebox").TString;
1158
+ }>, import("@scalar/typebox").TObject<{
1159
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1160
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1161
+ }>, import("@scalar/typebox").TObject<{
1162
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1150
1163
  }>]>>;
1151
- clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1152
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1164
+ clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1165
+ refreshUrl: import("@scalar/typebox").TString;
1153
1166
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1154
1167
  }>, import("@scalar/typebox").TObject<{
1155
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1168
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1169
+ }>, import("@scalar/typebox").TObject<{
1170
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1156
1171
  }>, import("@scalar/typebox").TObject<{
1172
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1173
+ }>, import("@scalar/typebox").TObject<{
1174
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1175
+ }>, import("@scalar/typebox").TObject<{
1176
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1177
+ }>, import("@scalar/typebox").TObject<{
1178
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1179
+ }>]>, import("@scalar/typebox").TObject<{
1157
1180
  tokenUrl: import("@scalar/typebox").TString;
1181
+ }>, import("@scalar/typebox").TObject<{
1182
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1158
1183
  }>]>>;
1159
- authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1160
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1184
+ authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1185
+ refreshUrl: import("@scalar/typebox").TString;
1161
1186
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1162
1187
  }>, import("@scalar/typebox").TObject<{
1163
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1188
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1189
+ }>, import("@scalar/typebox").TObject<{
1190
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1164
1191
  }>, import("@scalar/typebox").TObject<{
1192
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1193
+ }>, import("@scalar/typebox").TObject<{
1194
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1195
+ }>, import("@scalar/typebox").TObject<{
1196
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1197
+ }>, import("@scalar/typebox").TObject<{
1198
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1199
+ }>]>, import("@scalar/typebox").TObject<{
1165
1200
  authorizationUrl: import("@scalar/typebox").TString;
1166
1201
  tokenUrl: import("@scalar/typebox").TString;
1202
+ }>, import("@scalar/typebox").TObject<{
1203
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1204
+ }>, import("@scalar/typebox").TObject<{
1205
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1206
+ }>, import("@scalar/typebox").TObject<{
1207
+ 'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
1167
1208
  }>]>>;
1168
1209
  }>;
1169
1210
  ServerVariableObject: import("@scalar/typebox").TObject<{
@@ -1182,10 +1223,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1182
1223
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1183
1224
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1184
1225
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1185
- }>, import("@scalar/typebox").TObject<{
1186
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1187
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1188
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1226
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1189
1227
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1190
1228
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1191
1229
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1203,8 +1241,14 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1203
1241
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1204
1242
  }>>>;
1205
1243
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1244
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1206
1245
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1207
- }>]>;
1246
+ }>, import("@scalar/typebox").TObject<{
1247
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1248
+ name: import("@scalar/typebox").TString;
1249
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1250
+ }>>>;
1251
+ }>]>]>;
1208
1252
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1209
1253
  id: import("@scalar/typebox").TString;
1210
1254
  title: import("@scalar/typebox").TString;
@@ -1252,7 +1296,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1252
1296
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1253
1297
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1254
1298
  }>]>;
1255
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1299
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1256
1300
  id: import("@scalar/typebox").TString;
1257
1301
  title: import("@scalar/typebox").TString;
1258
1302
  }>, import("@scalar/typebox").TObject<{
@@ -1277,6 +1321,17 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1277
1321
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1278
1322
  id: import("@scalar/typebox").TString;
1279
1323
  title: import("@scalar/typebox").TString;
1324
+ }>, import("@scalar/typebox").TObject<{
1325
+ type: import("@scalar/typebox").TLiteral<"tag">;
1326
+ name: import("@scalar/typebox").TString;
1327
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1328
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1329
+ isGroup: import("@scalar/typebox").TBoolean;
1330
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1331
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1332
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1333
+ id: import("@scalar/typebox").TString;
1334
+ title: import("@scalar/typebox").TString;
1280
1335
  }>, import("@scalar/typebox").TObject<{
1281
1336
  type: import("@scalar/typebox").TLiteral<"webhook">;
1282
1337
  ref: import("@scalar/typebox").TString;
@@ -1287,6 +1342,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1287
1342
  }, "ServerObject">>>;
1288
1343
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1289
1344
  }>;
1290
- export type Settings = Static<typeof SettingsSchema>;
1345
+ export type Settings = {
1346
+ proxyUrl?: string;
1347
+ searchKey?: string;
1348
+ servers?: ServerObject[];
1349
+ baseServerUrl?: string;
1350
+ };
1291
1351
  export declare const defaultSettings: RequiredDeep<Settings>;
1292
1352
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAI7C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAGlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/settings.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport type { RequiredDeep } from 'type-fest'\n\nimport { ServerObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\n\nexport const SettingsSchema = Type.Partial(\n Type.Object({\n proxyUrl: Type.String(),\n searchKey: Type.String(),\n /** Array of server configurations */\n servers: Type.Array(ServerObjectSchema),\n /** Base server URL for API requests */\n baseServerUrl: Type.String(),\n }),\n)\n\nexport type Settings = Static<typeof SettingsSchema>\n\nexport const defaultSettings: RequiredDeep<Settings> = {\n proxyUrl: 'https://proxy.scalar.com',\n searchKey: 'k',\n servers: [],\n baseServerUrl: '',\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAGlC,SAAS,0BAA0B;AAE5B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,WAAW,KAAK,OAAO;AAAA;AAAA,IAEvB,SAAS,KAAK,MAAM,kBAAkB;AAAA;AAAA,IAEtC,eAAe,KAAK,OAAO;AAAA,EAC7B,CAAC;AACH;AAIO,MAAM,kBAA0C;AAAA,EACrD,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS,CAAC;AAAA,EACV,eAAe;AACjB;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { RequiredDeep } from 'type-fest/source/required-deep'\n\nimport { ServerObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\nimport type { ServerObject } from '@/schemas/v3.1/strict/server'\n\nexport const SettingsSchema = Type.Partial(\n Type.Object({\n proxyUrl: Type.String(),\n searchKey: Type.String(),\n /** Array of server configurations */\n servers: Type.Array(ServerObjectSchema),\n /** Base server URL for API requests */\n baseServerUrl: Type.String(),\n }),\n)\n\nexport type Settings = {\n proxyUrl?: string\n searchKey?: string\n servers?: ServerObject[]\n baseServerUrl?: string\n}\n\nexport const defaultSettings: RequiredDeep<Settings> = {\n proxyUrl: 'https://proxy.scalar.com',\n searchKey: 'k',\n servers: [],\n baseServerUrl: '',\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,0BAA0B;AAG5B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,WAAW,KAAK,OAAO;AAAA;AAAA,IAEvB,SAAS,KAAK,MAAM,kBAAkB;AAAA;AAAA,IAEtC,eAAe,KAAK,OAAO;AAAA,EAC7B,CAAC;AACH;AASO,MAAM,kBAA0C;AAAA,EACrD,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS,CAAC;AAAA,EACV,eAAe;AACjB;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,5 @@
1
+ import type { PathItemObject } from './path-item.js';
2
+ import { type ReferenceType } from './reference.js';
1
3
  export declare const CallbackObjectSchemaDefinition: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2
4
  $ref: import("@scalar/typebox").TString;
3
5
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -8,4 +10,6 @@ export declare const CallbackObjectSchemaDefinition: import("@scalar/typebox").T
8
10
  }>]>, import("@scalar/typebox").TObject<{
9
11
  '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
10
12
  }>]>]>>;
13
+ /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */
14
+ export type CallbackObject = Record<string, ReferenceType<PathItemObject>>;
11
15
  //# sourceMappingURL=callback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/callback.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,8BAA8B;;;;;;;;;OAI1C,CAAA"}
1
+ {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/callback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D,eAAO,MAAM,8BAA8B;;;;;;;;;OAI1C,CAAA;AAED,oHAAoH;AACpH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { Type } from "@scalar/typebox";
2
- import { PathItemObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
3
- import { reference } from "../../../schemas/v3.1/strict/reference.js";
2
+ import { PathItemObjectRef } from "./ref-definitions.js";
3
+ import { reference } from "./reference.js";
4
4
  const CallbackObjectSchemaDefinition = Type.Record(
5
5
  Type.String(),
6
6
  /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/callback.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { PathItemObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\nimport { reference } from '@/schemas/v3.1/strict/reference'\n\nexport const CallbackObjectSchemaDefinition = Type.Record(\n Type.String(),\n /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\n Type.Union([PathItemObjectRef, reference(PathItemObjectRef)]),\n)\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,yBAAyB;AAClC,SAAS,iBAAiB;AAEnB,MAAM,iCAAiC,KAAK;AAAA,EACjD,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC;AAC9D;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { PathItemObject } from './path-item'\nimport { PathItemObjectRef } from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\n\nexport const CallbackObjectSchemaDefinition = Type.Record(\n Type.String(),\n /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\n Type.Union([PathItemObjectRef, reference(PathItemObjectRef)]),\n)\n\n/** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\nexport type CallbackObject = Record<string, ReferenceType<PathItemObject>>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,yBAAyB;AAClC,SAA6B,iBAAiB;AAEvC,MAAM,iCAAiC,KAAK;AAAA,EACjD,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC;AAC9D;",
6
6
  "names": []
7
7
  }
@@ -1,16 +1,32 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const xScalarClientConfigCookieSchema: import("@scalar/typebox").TObject<{
3
2
  name: import("@scalar/typebox").TString;
4
3
  value: import("@scalar/typebox").TString;
5
4
  domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6
5
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7
6
  }>;
8
- export type XScalarClientConfigCookie = Static<typeof xScalarClientConfigCookieSchema>;
7
+ export type XScalarClientConfigCookie = {
8
+ /**
9
+ * Defines the cookie name and its value. A cookie definition begins with a name-value pair.
10
+ */
11
+ name: string;
12
+ /**
13
+ * Defines the cookie value.
14
+ */
15
+ value: string;
16
+ /**
17
+ * Defines the host to which the cookie will be sent.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * Indicates the path that must exist in the requested URL for the browser to send the Cookie header.
22
+ */
23
+ path?: string;
24
+ };
9
25
  export declare const xScalarClientConfigCookiesSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
10
26
  name: import("@scalar/typebox").TString;
11
27
  value: import("@scalar/typebox").TString;
12
28
  domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
13
29
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
30
  }>>;
15
- export type XScalarClientConfigCookies = Static<typeof xScalarClientConfigCookiesSchema>;
31
+ export type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>;
16
32
  //# sourceMappingURL=x-scalar-client-config-cookies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-client-config-cookies.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEtF,eAAO,MAAM,gCAAgC;;;;;GAA8D,CAAA;AAC3G,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
1
+ {"version":3,"file":"x-scalar-client-config-cookies.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;GAA8D,CAAA;AAC3G,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n path: Type.Optional(Type.String()),\n})\n\nexport type XScalarClientConfigCookie = Static<typeof xScalarClientConfigCookieSchema>\n\nexport const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema)\nexport type XScalarClientConfigCookies = Static<typeof xScalarClientConfigCookiesSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AACnC,CAAC;AAIM,MAAM,mCAAmC,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n path: Type.Optional(Type.String()),\n})\n\nexport type XScalarClientConfigCookie = {\n /**\n * Defines the cookie name and its value. A cookie definition begins with a name-value pair.\n */\n name: string\n /**\n * Defines the cookie value.\n */\n value: string\n /**\n * Defines the host to which the cookie will be sent.\n */\n domain?: string\n /**\n * Indicates the path that must exist in the requested URL for the browser to send the Cookie header.\n */\n path?: string\n}\n\nexport const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema)\nexport type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AACnC,CAAC;AAqBM,MAAM,mCAAmC,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;",
6
6
  "names": []
7
7
  }
@@ -1,9 +1,11 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const xScalarClientConfigEnvVarSchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
3
2
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
3
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
4
  }>, import("@scalar/typebox").TString]>;
6
- export type xScalarClientConfigEnvVar = Static<typeof xScalarClientConfigEnvVarSchema>;
5
+ export type xScalarClientConfigEnvVar = {
6
+ description?: string;
7
+ default?: string;
8
+ } | string;
7
9
  export declare const xScalarClientConfigEnvironmentSchema: import("@scalar/typebox").TObject<{
8
10
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
11
  color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -13,7 +15,11 @@ export declare const xScalarClientConfigEnvironmentSchema: import("@scalar/typeb
13
15
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
16
  }>, import("@scalar/typebox").TString]>>;
15
17
  }>;
16
- export type xScalarClientConfigEnvironment = Static<typeof xScalarClientConfigEnvironmentSchema>;
18
+ export type xScalarClientConfigEnvironment = {
19
+ description?: string;
20
+ color?: string;
21
+ variables: Record<string, xScalarClientConfigEnvVar>;
22
+ };
17
23
  export declare const xScalarClientConfigEnvironmentsSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
18
24
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
19
25
  color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -23,5 +29,5 @@ export declare const xScalarClientConfigEnvironmentsSchema: import("@scalar/type
23
29
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
24
30
  }>, import("@scalar/typebox").TString]>>;
25
31
  }>>;
26
- export type XScalarClientConfigEnvironments = Static<typeof xScalarClientConfigEnvironmentsSchema>;
32
+ export type XScalarClientConfigEnvironments = Record<string, xScalarClientConfigEnvironment>;
27
33
  //# sourceMappingURL=x-scalar-client-config-environments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-client-config-environments.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,+BAA+B;;;uCAQ1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEtF,eAAO,MAAM,oCAAoC;;;IAG/C,iCAAiC;;;;;EAEjC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAEhG,eAAO,MAAM,qCAAqC;;;IANhD,iCAAiC;;;;;GAMkF,CAAA;AAErH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,OAAO,qCAAqC,CAAC,CAAA"}
1
+ {"version":3,"file":"x-scalar-client-config-environments.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;uCAQ1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GACjC;IACE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GACD,MAAM,CAAA;AAEV,eAAO,MAAM,oCAAoC;;;IAG/C,iCAAiC;;;;;EAEjC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA;CACrD,CAAA;AAED,eAAO,MAAM,qCAAqC;;;IAVhD,iCAAiC;;;;;GAUkF,CAAA;AAErH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigEnvVarSchema = Type.Union([\n Type.Partial(\n Type.Object({\n description: Type.String(),\n default: Type.String(),\n }),\n ),\n Type.String(),\n])\n\nexport type xScalarClientConfigEnvVar = Static<typeof xScalarClientConfigEnvVarSchema>\n\nexport const xScalarClientConfigEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.Optional(Type.String()),\n /** A map of variables by name */\n variables: Type.Record(Type.String(), xScalarClientConfigEnvVarSchema),\n})\n\nexport type xScalarClientConfigEnvironment = Static<typeof xScalarClientConfigEnvironmentSchema>\n\nexport const xScalarClientConfigEnvironmentsSchema = Type.Record(Type.String(), xScalarClientConfigEnvironmentSchema)\n\nexport type XScalarClientConfigEnvironments = Static<typeof xScalarClientConfigEnvironmentsSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,kCAAkC,KAAK,MAAM;AAAA,EACxD,KAAK;AAAA,IACH,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,OAAO;AAAA,MACzB,SAAS,KAAK,OAAO;AAAA,IACvB,CAAC;AAAA,EACH;AAAA,EACA,KAAK,OAAO;AACd,CAAC;AAIM,MAAM,uCAAuC,KAAK,OAAO;AAAA,EAC9D,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAElC,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;AACvE,CAAC;AAIM,MAAM,wCAAwC,KAAK,OAAO,KAAK,OAAO,GAAG,oCAAoC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigEnvVarSchema = Type.Union([\n Type.Partial(\n Type.Object({\n description: Type.String(),\n default: Type.String(),\n }),\n ),\n Type.String(),\n])\n\nexport type xScalarClientConfigEnvVar =\n | {\n description?: string\n default?: string\n }\n | string\n\nexport const xScalarClientConfigEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.Optional(Type.String()),\n /** A map of variables by name */\n variables: Type.Record(Type.String(), xScalarClientConfigEnvVarSchema),\n})\n\nexport type xScalarClientConfigEnvironment = {\n description?: string\n color?: string\n variables: Record<string, xScalarClientConfigEnvVar>\n}\n\nexport const xScalarClientConfigEnvironmentsSchema = Type.Record(Type.String(), xScalarClientConfigEnvironmentSchema)\n\nexport type XScalarClientConfigEnvironments = Record<string, xScalarClientConfigEnvironment>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kCAAkC,KAAK,MAAM;AAAA,EACxD,KAAK;AAAA,IACH,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,OAAO;AAAA,MACzB,SAAS,KAAK,OAAO;AAAA,IACvB,CAAC;AAAA,EACH;AAAA,EACA,KAAK,OAAO;AACd,CAAC;AASM,MAAM,uCAAuC,KAAK,OAAO;AAAA,EAC9D,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAElC,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;AACvE,CAAC;AAQM,MAAM,wCAAwC,KAAK,OAAO,KAAK,OAAO,GAAG,oCAAoC;",
6
6
  "names": []
7
7
  }