@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,5 +1,6 @@
1
1
  import { Type } from "@scalar/typebox";
2
2
  import { compose } from "../../../schemas/compose.js";
3
+ import { XDefaultScopesSchema } from "../../../schemas/extensions/security/x-default-scopes.js";
3
4
  import {
4
5
  XScalarSecretHTTPSchema,
5
6
  XScalarSecretTokenSchema
@@ -41,7 +42,8 @@ const OAuth2 = compose(
41
42
  type: Type.Literal("oauth2"),
42
43
  /** REQUIRED. An object containing configuration information for the flow types supported. */
43
44
  flows: OAuthFlowsObjectRef
44
- })
45
+ }),
46
+ XDefaultScopesSchema
45
47
  );
46
48
  const OpenIdConnect = compose(
47
49
  DescriptionSchema,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/security-scheme.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport {\n XScalarSecretHTTPSchema,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport { OAuthFlowsObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nexport const DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\nexport const ApiKeySchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n)\n\nexport const HttpSchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n)\n\nexport const OAuth2 = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObjectRef,\n }),\n)\n\nexport const OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchemaDefinition = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB;AAAA,EACE;AAAA,EACA;AAAA,OACK;AACP,SAAS,2BAA2B;AAE7B,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAEM,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH;AAEO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAEO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AACH;AAEO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAOO,MAAM,uCAAuC,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XDefaultScopes, XDefaultScopesSchema } from '@/schemas/extensions/security/x-default-scopes'\nimport {\n type XScalarSecretHTTP,\n XScalarSecretHTTPSchema,\n type XScalarSecretToken,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport type { OAuthFlowsObject } from '@/schemas/v3.1/strict/oauthflows'\nimport { OAuthFlowsObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nexport const DescriptionSchema = Type.Object({\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\ntype Description = {\n /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n}\n\nexport const ApiKeySchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('apiKey'),\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: Type.String(),\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: Type.String(),\n }),\n)\n\nexport type ApiKeyObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'apiKey'\n /** REQUIRED. The name of the header, query or cookie parameter to be used. */\n name: string\n /** REQUIRED. The location of the API key. Valid values are \"query\", \"header\", or \"cookie\". */\n in: string\n} & XScalarSecretToken\n\nexport const HttpSchema = compose(\n DescriptionSchema,\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('http'),\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: Type.String(),\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat: Type.Optional(Type.String()),\n }),\n)\n\nexport type HttpObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'http'\n /** REQUIRED. The name of the HTTP Authentication scheme to be used in the Authorization header as defined in RFC7235. The values used SHOULD be registered in the IANA Authentication Scheme registry. The value is case-insensitive, as defined in RFC7235. */\n scheme: string\n /** A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes. */\n bearerFormat?: string\n} & XScalarSecretHTTP &\n XScalarSecretToken\n\nexport const OAuth2 = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('oauth2'),\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObjectRef,\n }),\n XDefaultScopesSchema,\n)\n\nexport type OAuth2Object = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'oauth2'\n /** REQUIRED. An object containing configuration information for the flow types supported. */\n flows: OAuthFlowsObject\n} & XDefaultScopes\n\nexport const OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\nexport type OpenIdConnectObject = Description & {\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: 'openIdConnect'\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: string\n}\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchemaDefinition = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n\nexport type SecuritySchemeObject = ApiKeyObject | HttpObject | OAuth2Object | OpenIdConnectObject\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAA8B,4BAA4B;AAC1D;AAAA,EAEE;AAAA,EAEA;AAAA,OACK;AAEP,SAAS,2BAA2B;AAE7B,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAOM,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH;AAWO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAYO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AAAA,EACD;AACF;AASO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAcO,MAAM,uCAAuC,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
6
6
  "names": []
7
7
  }
@@ -7,4 +7,13 @@ export declare const ServerVariableObjectSchemaDefinition: import("@scalar/typeb
7
7
  /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
8
8
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
9
  }>;
10
+ /** An object representing a Server Variable for server URL template substitution. */
11
+ export type ServerVariableObject = {
12
+ /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */
13
+ enum?: string[];
14
+ /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */
15
+ default?: string;
16
+ /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
17
+ description?: string;
18
+ };
10
19
  //# sourceMappingURL=server-variable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server-variable.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server-variable.ts"],"names":[],"mappings":"AAEA,qFAAqF;AACrF,eAAO,MAAM,oCAAoC;IAC/C,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;EAEnH,CAAA"}
1
+ {"version":3,"file":"server-variable.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server-variable.ts"],"names":[],"mappings":"AAEA,qFAAqF;AACrF,eAAO,MAAM,oCAAoC;IAC/C,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;EAEnH,CAAA;AAEF,qFAAqF;AACrF,MAAM,MAAM,oBAAoB,GAAG;IACjC,kIAAkI;IAClI,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,+VAA+V;IAC/V,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mHAAmH;IACnH,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server-variable.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchemaDefinition = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchemaDefinition = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport type ServerVariableObject = {\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum?: string[]\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default?: string\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,uCAAuC,KAAK,OAAO;AAAA;AAAA,EAE9D,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,EAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ import type { ServerVariableObject } from './server-variable.js';
1
2
  /** An object representing a Server. */
2
3
  export declare const ServerObjectSchemaDefinition: import("@scalar/typebox").TObject<{
3
4
  /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
@@ -7,4 +8,13 @@ export declare const ServerObjectSchemaDefinition: import("@scalar/typebox").TOb
7
8
  /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
8
9
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
9
10
  }>;
11
+ /** An object representing a Server. */
12
+ export type ServerObject = {
13
+ /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
14
+ url: string;
15
+ /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
16
+ description?: string;
17
+ /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
18
+ variables?: Record<string, ServerVariableObject>;
19
+ };
10
20
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server.ts"],"names":[],"mappings":"AAIA,uCAAuC;AACvC,eAAO,MAAM,4BAA4B;IACvC,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;EAEpH,CAAA"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,uCAAuC;AACvC,eAAO,MAAM,4BAA4B;IACvC,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;EAEpH,CAAA;AAEF,uCAAuC;AACvC,MAAM,MAAM,YAAY,GAAG;IACzB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAA;IACX,gIAAgI;IAChI,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oHAAoH;IACpH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;CACjD,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Type } from "@scalar/typebox";
2
- import { ServerVariableObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
2
+ import { ServerVariableObjectRef } from "./ref-definitions.js";
3
3
  const ServerObjectSchemaDefinition = Type.Object({
4
4
  /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
5
5
  url: Type.String(),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { ServerVariableObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/** An object representing a Server. */\nexport const ServerObjectSchemaDefinition = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectRef)),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,+BAA+B;AAGjC,MAAM,+BAA+B,KAAK,OAAO;AAAA;AAAA,EAEtD,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB,CAAC;AAC9E,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { ServerVariableObjectRef } from './ref-definitions'\nimport type { ServerVariableObject } from './server-variable'\n\n/** An object representing a Server. */\nexport const ServerObjectSchemaDefinition = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectRef)),\n})\n\n/** An object representing a Server. */\nexport type ServerObject = {\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: string\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables?: Record<string, ServerVariableObject>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,+BAA+B;AAIjC,MAAM,+BAA+B,KAAK,OAAO;AAAA;AAAA,EAEtD,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB,CAAC;AAC9E,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,7 @@
1
+ import { type XInternal } from '../../../schemas/extensions/document/x-internal.js';
2
+ import { type XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
3
+ import { type XDisplayName } from '../../../schemas/extensions/tag/x-display-name.js';
4
+ import type { ExternalDocumentationObject } from './external-documentation.js';
1
5
  /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
2
6
  export declare const TagObjectSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3
7
  /** REQUIRED. The name of the tag. */
@@ -13,4 +17,13 @@ export declare const TagObjectSchemaDefinition: import("@scalar/typebox").TInter
13
17
  }>, import("@scalar/typebox").TObject<{
14
18
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
15
19
  }>]>;
20
+ /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
21
+ export type TagObject = {
22
+ /** REQUIRED. The name of the tag. */
23
+ name: string;
24
+ /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
25
+ description?: string;
26
+ /** Additional external documentation for this tag. */
27
+ externalDocs?: ExternalDocumentationObject;
28
+ } & XDisplayName & XInternal & XScalarIgnore;
16
29
  //# sourceMappingURL=tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAQA,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;IAMzD,CAAA"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,+CAA+C,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,yCAAyC,CAAA;AAE/F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAG3E,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;IAMzD,CAAA;AAED,sKAAsK;AACtK,MAAM,MAAM,SAAS,GAAG;IACtB,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,GAAG,YAAY,GACd,SAAS,GACT,aAAa,CAAA"}
@@ -3,7 +3,7 @@ import { compose } from "../../../schemas/compose.js";
3
3
  import { XInternalSchema } from "../../../schemas/extensions/document/x-internal.js";
4
4
  import { XScalarIgnoreSchema } from "../../../schemas/extensions/document/x-scalar-ignore.js";
5
5
  import { XDisplayNameSchema } from "../../../schemas/extensions/tag/x-display-name.js";
6
- import { ExternalDocumentationObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
6
+ import { ExternalDocumentationObjectRef } from "./ref-definitions.js";
7
7
  const TagObjectSchemaDefinition = compose(
8
8
  Type.Object({
9
9
  /** REQUIRED. The name of the tag. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/tag.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\nimport { ExternalDocumentationObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n)\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AACnC,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XInternal, XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { type XScalarIgnore, XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { type XDisplayName, XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\n\nimport type { ExternalDocumentationObject } from './external-documentation'\nimport { ExternalDocumentationObjectRef } from './ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n)\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport type TagObject = {\n /** REQUIRED. The name of the tag. */\n name: string\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** Additional external documentation for this tag. */\n externalDocs?: ExternalDocumentationObject\n} & XDisplayName &\n XInternal &\n XScalarIgnore\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAyB,uBAAuB;AAChD,SAA6B,2BAA2B;AACxD,SAA4B,0BAA0B;AAGtD,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import type { SchemaObject } from '../../../schemas/v3.1/strict/openapi-document.js';
1
+ import type { SchemaObject } from './schema.js';
2
2
  export declare const isObjectSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
3
3
  type: "object";
4
4
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AAE1E,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,QAAQ,YAAY,KACnB,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA"}
1
+ {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAErG,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,QAAQ,YAAY,KAAG,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAIvG,CAAA;AAED,eAAO,MAAM,cAAc,GACzB,QAAQ,YAAY,KACnB,MAAM,IAAI,OAAO,CAAC,YAAY,EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/type-guards.ts"],
4
- "sourcesContent": ["import type { SchemaObject } from '@/schemas/v3.1/strict/openapi-document'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
4
+ "sourcesContent": ["import type { SchemaObject } from './schema'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
5
5
  "mappings": "AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,gBAAgB,CAAC,WAA6E;AACzG,SAAO,UAAU,WAAW,OAAO,SAAS,WAAY,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,OAAO;AACpH;AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,iBAAiB,CAC5B,WACoE;AACpE,SACE,UAAU,WACT,OAAO,SAAS,YACf,OAAO,SAAS,aACf,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ,KAC3D,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,SAAS;AAEnE;",
6
6
  "names": []
7
7
  }
@@ -15,4 +15,21 @@ export declare const XMLObjectSchemaDefinition: import("@scalar/typebox").TObjec
15
15
  /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). */
16
16
  wrapped: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
17
17
  }>;
18
+ /**
19
+ * A metadata object that allows for more fine-tuned XML model definitions.
20
+ *
21
+ * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.
22
+ */
23
+ export type XMLObject = {
24
+ /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */
25
+ name?: string;
26
+ /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */
27
+ namespace?: string;
28
+ /** The prefix to be used for the name. */
29
+ prefix?: string;
30
+ /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */
31
+ attribute?: boolean;
32
+ /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). */
33
+ wrapped?: boolean;
34
+ };
18
35
  //# sourceMappingURL=xml.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;IACpC,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA"}
1
+ {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;IACpC,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,wWAAwW;IACxW,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,yHAAyH;IACzH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2RAA2R;IAC3R,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/xml.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport const XMLObjectSchemaDefinition = Type.Object({\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name: Type.Optional(Type.String()),\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace: Type.Optional(Type.String()),\n /** The prefix to be used for the name. */\n prefix: Type.Optional(Type.String()),\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute: Type.Optional(Type.Boolean()),\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped: Type.Optional(Type.Boolean()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport const XMLObjectSchemaDefinition = Type.Object({\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name: Type.Optional(Type.String()),\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace: Type.Optional(Type.String()),\n /** The prefix to be used for the name. */\n prefix: Type.Optional(Type.String()),\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute: Type.Optional(Type.Boolean()),\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped: Type.Optional(Type.Boolean()),\n})\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport type XMLObject = {\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name?: string\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace?: string\n /** The prefix to be used for the name. */\n prefix?: string\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute?: boolean\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped?: boolean\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,4BAA4B,KAAK,OAAO;AAAA;AAAA,EAEnD,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,WAAW,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEtC,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEnC,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AACvC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  import type { PartialDeep } from 'type-fest';
3
2
  import type { TraverseSpecOptions } from '../../navigation/types.js';
3
+ import { type ReferenceConfig } from '../../schemas/reference-config/index.js';
4
4
  export declare const ConfigSchema: import("@scalar/typebox").TObject<{
5
5
  'x-scalar-reference-config': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
6
6
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -272,23 +272,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
272
272
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
273
273
  }>]>]>>>;
274
274
  }>, import("@scalar/typebox").TObject<{
275
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
276
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
277
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
278
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
279
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
280
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
281
- url: import("@scalar/typebox").TString;
282
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
283
- }>, import("@scalar/typebox").TNull]>>;
284
- }>>;
285
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
286
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
287
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
288
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
289
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
290
- }>>;
291
- }>>>;
275
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
292
276
  }>, import("@scalar/typebox").TObject<{
293
277
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
294
278
  name: import("@scalar/typebox").TString;
@@ -490,7 +474,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
490
474
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
491
475
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
492
476
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
493
- 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">]>>;
477
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
494
478
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
495
479
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
496
480
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -973,17 +957,17 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
973
957
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
974
958
  }>;
975
959
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
976
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
977
960
  url: import("@scalar/typebox").TString;
961
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
978
962
  }>;
979
963
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
980
964
  title: import("@scalar/typebox").TString;
965
+ version: import("@scalar/typebox").TString;
981
966
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
982
967
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
983
968
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
984
969
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
985
970
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
986
- version: import("@scalar/typebox").TString;
987
971
  }>, import("@scalar/typebox").TObject<{
988
972
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
989
973
  lang: import("@scalar/typebox").TString;
@@ -1090,7 +1074,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1090
1074
  SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1091
1075
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1092
1076
  }>, import("@scalar/typebox").TObject<{
1093
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1077
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1094
1078
  }>, import("@scalar/typebox").TObject<{
1095
1079
  type: import("@scalar/typebox").TLiteral<"apiKey">;
1096
1080
  name: import("@scalar/typebox").TString;
@@ -1098,10 +1082,10 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1098
1082
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1099
1083
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1100
1084
  }>, import("@scalar/typebox").TObject<{
1101
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1085
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1102
1086
  }>, import("@scalar/typebox").TObject<{
1103
- 'x-scalar-secret-username': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1104
- 'x-scalar-secret-password': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1087
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1088
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1105
1089
  }>, import("@scalar/typebox").TObject<{
1106
1090
  type: import("@scalar/typebox").TLiteral<"http">;
1107
1091
  scheme: import("@scalar/typebox").TString;
@@ -1111,6 +1095,8 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1111
1095
  }>, import("@scalar/typebox").TObject<{
1112
1096
  type: import("@scalar/typebox").TLiteral<"oauth2">;
1113
1097
  flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
1098
+ }>, import("@scalar/typebox").TObject<{
1099
+ 'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1114
1100
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1115
1101
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1116
1102
  }>, import("@scalar/typebox").TObject<{
@@ -1137,38 +1123,93 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1137
1123
  mapping: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1138
1124
  }>;
1139
1125
  OAuthFlowsObject: import("@scalar/typebox").TObject<{
1140
- implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1141
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1126
+ implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1127
+ refreshUrl: import("@scalar/typebox").TString;
1142
1128
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1143
1129
  }>, import("@scalar/typebox").TObject<{
1144
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1130
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1145
1131
  }>, import("@scalar/typebox").TObject<{
1132
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1133
+ }>, import("@scalar/typebox").TObject<{
1134
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1135
+ }>, import("@scalar/typebox").TObject<{
1136
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1137
+ }>, import("@scalar/typebox").TObject<{
1138
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1139
+ }>, import("@scalar/typebox").TObject<{
1140
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1141
+ }>]>, import("@scalar/typebox").TObject<{
1146
1142
  authorizationUrl: import("@scalar/typebox").TString;
1143
+ }>, import("@scalar/typebox").TObject<{
1144
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1147
1145
  }>]>>;
1148
- password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1149
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1146
+ password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1147
+ refreshUrl: import("@scalar/typebox").TString;
1150
1148
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1151
1149
  }>, import("@scalar/typebox").TObject<{
1152
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1150
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1151
+ }>, import("@scalar/typebox").TObject<{
1152
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1153
1153
  }>, import("@scalar/typebox").TObject<{
1154
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1155
+ }>, import("@scalar/typebox").TObject<{
1156
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1157
+ }>, import("@scalar/typebox").TObject<{
1158
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1159
+ }>, import("@scalar/typebox").TObject<{
1160
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1161
+ }>]>, import("@scalar/typebox").TObject<{
1154
1162
  tokenUrl: import("@scalar/typebox").TString;
1163
+ }>, import("@scalar/typebox").TObject<{
1164
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1165
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1166
+ }>, import("@scalar/typebox").TObject<{
1167
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1155
1168
  }>]>>;
1156
- clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1157
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1169
+ clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1170
+ refreshUrl: import("@scalar/typebox").TString;
1158
1171
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1159
1172
  }>, import("@scalar/typebox").TObject<{
1160
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1173
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1174
+ }>, import("@scalar/typebox").TObject<{
1175
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1161
1176
  }>, import("@scalar/typebox").TObject<{
1177
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1178
+ }>, import("@scalar/typebox").TObject<{
1179
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1180
+ }>, import("@scalar/typebox").TObject<{
1181
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1182
+ }>, import("@scalar/typebox").TObject<{
1183
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1184
+ }>]>, import("@scalar/typebox").TObject<{
1162
1185
  tokenUrl: import("@scalar/typebox").TString;
1186
+ }>, import("@scalar/typebox").TObject<{
1187
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1163
1188
  }>]>>;
1164
- authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1165
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1189
+ authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1190
+ refreshUrl: import("@scalar/typebox").TString;
1166
1191
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1167
1192
  }>, import("@scalar/typebox").TObject<{
1168
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1193
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1194
+ }>, import("@scalar/typebox").TObject<{
1195
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1169
1196
  }>, import("@scalar/typebox").TObject<{
1197
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1198
+ }>, import("@scalar/typebox").TObject<{
1199
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1200
+ }>, import("@scalar/typebox").TObject<{
1201
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1202
+ }>, import("@scalar/typebox").TObject<{
1203
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1204
+ }>]>, import("@scalar/typebox").TObject<{
1170
1205
  authorizationUrl: import("@scalar/typebox").TString;
1171
1206
  tokenUrl: import("@scalar/typebox").TString;
1207
+ }>, import("@scalar/typebox").TObject<{
1208
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1209
+ }>, import("@scalar/typebox").TObject<{
1210
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1211
+ }>, import("@scalar/typebox").TObject<{
1212
+ 'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
1172
1213
  }>]>>;
1173
1214
  }>;
1174
1215
  ServerVariableObject: import("@scalar/typebox").TObject<{
@@ -1187,10 +1228,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1187
1228
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1188
1229
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1189
1230
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1190
- }>, import("@scalar/typebox").TObject<{
1191
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1192
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1193
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1231
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1194
1232
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1195
1233
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1196
1234
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1208,8 +1246,14 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1208
1246
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1209
1247
  }>>>;
1210
1248
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1249
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1211
1250
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1212
- }>]>;
1251
+ }>, import("@scalar/typebox").TObject<{
1252
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1253
+ name: import("@scalar/typebox").TString;
1254
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1255
+ }>>>;
1256
+ }>]>]>;
1213
1257
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1214
1258
  id: import("@scalar/typebox").TString;
1215
1259
  title: import("@scalar/typebox").TString;
@@ -1257,7 +1301,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1257
1301
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1258
1302
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1259
1303
  }>]>;
1260
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1304
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1261
1305
  id: import("@scalar/typebox").TString;
1262
1306
  title: import("@scalar/typebox").TString;
1263
1307
  }>, import("@scalar/typebox").TObject<{
@@ -1282,6 +1326,17 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1282
1326
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1283
1327
  id: import("@scalar/typebox").TString;
1284
1328
  title: import("@scalar/typebox").TString;
1329
+ }>, import("@scalar/typebox").TObject<{
1330
+ type: import("@scalar/typebox").TLiteral<"tag">;
1331
+ name: import("@scalar/typebox").TString;
1332
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1333
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1334
+ isGroup: import("@scalar/typebox").TBoolean;
1335
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1336
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1337
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1338
+ id: import("@scalar/typebox").TString;
1339
+ title: import("@scalar/typebox").TString;
1285
1340
  }>, import("@scalar/typebox").TObject<{
1286
1341
  type: import("@scalar/typebox").TLiteral<"webhook">;
1287
1342
  ref: import("@scalar/typebox").TString;
@@ -1327,7 +1382,9 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1327
1382
  httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">[]>>>;
1328
1383
  }>>;
1329
1384
  }>;
1330
- export type Config = Static<typeof ConfigSchema>;
1385
+ export type Config = {
1386
+ 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>;
1387
+ };
1331
1388
  export type DocumentConfiguration = Config & PartialDeep<{
1332
1389
  'x-scalar-reference-config': {
1333
1390
  tagSort: TraverseSpecOptions['tagsSorter'];
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,EAAE,KAAK,eAAe,EAAyB,MAAM,4BAA4B,CAAA;AAExF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG;IACnB,2BAA2B,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,CAAA;CAC3D,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,MAAM,GACxC,WAAW,CAAC;IACV,2BAA2B,EAAE;QAC3B,OAAO,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAA;QAC1C,gBAAgB,EAAE,mBAAmB,CAAC,kBAAkB,CAAC,CAAA;QACzD,YAAY,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;QACjD,cAAc,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAA;QACrD,YAAY,EAAE,mBAAmB,CAAC,cAAc,CAAC,CAAA;QACjD,UAAU,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAA;QAC7C,QAAQ,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;QACzC,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE;YAChC,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,KAAK,MAAM,CAAA;QACZ,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC5D,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC1D,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;KAC7E,CAAA;CACF,CAAC,CAAA"}