@scalar/workspace-store 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +35 -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-examples.d.ts +8 -0
  17. package/dist/navigation/helpers/traverse-examples.d.ts.map +1 -0
  18. package/dist/navigation/helpers/traverse-examples.js +46 -0
  19. package/dist/navigation/helpers/traverse-examples.js.map +7 -0
  20. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  21. package/dist/navigation/helpers/traverse-paths.js +9 -1
  22. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  23. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  24. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  25. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  27. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-tags.js +1 -0
  29. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  30. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  31. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  32. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  33. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  34. package/dist/navigation/types.d.ts +2 -1
  35. package/dist/navigation/types.d.ts.map +1 -1
  36. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  37. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -1
  38. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  39. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  40. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -1
  41. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  42. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  43. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -1
  44. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  45. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -2
  46. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  47. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  48. package/dist/schemas/extensions/document/x-tags.d.ts +3 -0
  49. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -1
  50. package/dist/schemas/extensions/document/x-tags.js.map +1 -1
  51. package/dist/schemas/extensions/example/x-disabled.d.ts +18 -0
  52. package/dist/schemas/extensions/example/x-disabled.d.ts.map +1 -0
  53. package/dist/schemas/extensions/example/x-disabled.js +8 -0
  54. package/dist/schemas/extensions/example/x-disabled.js.map +7 -0
  55. package/dist/schemas/extensions/operation/x-badge.d.ts +62 -22
  56. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  57. package/dist/schemas/extensions/operation/x-badge.js +24 -3
  58. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  59. package/dist/schemas/extensions/operation/x-code-samples.d.ts +10 -2
  60. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  61. package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
  62. package/dist/schemas/extensions/operation/x-post-response.d.ts +18 -0
  63. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  64. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  65. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +11 -0
  66. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
  67. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  68. package/dist/schemas/extensions/parameter/x-global.d.ts +13 -0
  69. package/dist/schemas/extensions/parameter/x-global.d.ts.map +1 -0
  70. package/dist/schemas/extensions/parameter/x-global.js +8 -0
  71. package/dist/schemas/extensions/parameter/x-global.js.map +7 -0
  72. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +10 -0
  73. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -1
  74. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  75. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +30 -0
  76. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  77. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  78. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +38 -0
  79. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -1
  80. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +1 -1
  81. package/dist/schemas/extensions/schema/x-variable.d.ts +3 -0
  82. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -1
  83. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  84. package/dist/schemas/extensions/security/x-default-scopes.d.ts +16 -0
  85. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -1
  86. package/dist/schemas/extensions/security/x-default-scopes.js.map +1 -1
  87. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +16 -0
  88. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -1
  89. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  90. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -1
  91. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -1
  92. package/dist/schemas/extensions/security/x-scalar-security-body.js +2 -2
  93. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +2 -2
  94. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -1
  95. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -1
  96. package/dist/schemas/extensions/security/x-scalar-security-query.js +2 -2
  97. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +2 -2
  98. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +41 -0
  99. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  100. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  101. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -1
  102. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -1
  103. package/dist/schemas/extensions/security/x-tokenName.js +2 -2
  104. package/dist/schemas/extensions/security/x-tokenName.js.map +2 -2
  105. package/dist/schemas/extensions/security/x-use-pkce.d.ts +6 -0
  106. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  107. package/dist/schemas/extensions/security/x-use-pkce.js.map +1 -1
  108. package/dist/schemas/extensions/tag/x-display-name.d.ts +11 -0
  109. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -1
  110. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  111. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +18 -0
  112. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  113. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  114. package/dist/schemas/inmemory-workspace.d.ts +95 -64
  115. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  116. package/dist/schemas/inmemory-workspace.js +4 -1
  117. package/dist/schemas/inmemory-workspace.js.map +2 -2
  118. package/dist/schemas/navigation.d.ts +70 -1
  119. package/dist/schemas/navigation.d.ts.map +1 -1
  120. package/dist/schemas/navigation.js +17 -11
  121. package/dist/schemas/navigation.js.map +2 -2
  122. package/dist/schemas/reference-config/appearance.d.ts +9 -2
  123. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  124. package/dist/schemas/reference-config/appearance.js.map +2 -2
  125. package/dist/schemas/reference-config/features.d.ts +11 -2
  126. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  127. package/dist/schemas/reference-config/features.js.map +2 -2
  128. package/dist/schemas/reference-config/index.d.ts +58 -34
  129. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  130. package/dist/schemas/reference-config/index.js +5 -5
  131. package/dist/schemas/reference-config/index.js.map +2 -2
  132. package/dist/schemas/reference-config/meta.d.ts +8 -2
  133. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  134. package/dist/schemas/reference-config/meta.js.map +2 -2
  135. package/dist/schemas/reference-config/routing.d.ts +4 -2
  136. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  137. package/dist/schemas/reference-config/routing.js.map +2 -2
  138. package/dist/schemas/reference-config/settings.d.ts +48 -33
  139. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  140. package/dist/schemas/reference-config/settings.js.map +2 -2
  141. package/dist/schemas/v3.1/strict/callback.d.ts +4 -0
  142. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  143. package/dist/schemas/v3.1/strict/callback.js +2 -2
  144. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  145. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +19 -3
  146. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  147. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  148. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +10 -4
  149. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  150. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  151. package/dist/schemas/v3.1/strict/components.d.ts +34 -0
  152. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  153. package/dist/schemas/v3.1/strict/components.js +1 -1
  154. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  155. package/dist/schemas/v3.1/strict/contact.d.ts +9 -0
  156. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  157. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  158. package/dist/schemas/v3.1/strict/discriminator.d.ts +11 -0
  159. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  160. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  161. package/dist/schemas/v3.1/strict/encoding.d.ts +15 -0
  162. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  163. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  164. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  165. package/dist/schemas/v3.1/strict/example.d.ts +28 -2
  166. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  167. package/dist/schemas/v3.1/strict/example.js +15 -10
  168. package/dist/schemas/v3.1/strict/example.js.map +2 -2
  169. package/dist/schemas/v3.1/strict/external-documentation.d.ts +9 -2
  170. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  171. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  172. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  173. package/dist/schemas/v3.1/strict/header.d.ts +41 -0
  174. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  175. package/dist/schemas/v3.1/strict/header.js +2 -2
  176. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  177. package/dist/schemas/v3.1/strict/info.d.ts +24 -2
  178. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/info.js +7 -5
  180. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  181. package/dist/schemas/v3.1/strict/license.d.ts +9 -0
  182. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  183. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  184. package/dist/schemas/v3.1/strict/link.d.ts +22 -0
  185. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  186. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  187. package/dist/schemas/v3.1/strict/media-type.d.ts +19 -0
  188. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  189. package/dist/schemas/v3.1/strict/media-type.js +2 -2
  190. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  191. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +36 -5
  192. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  193. package/dist/schemas/v3.1/strict/oauth-flow.js +13 -7
  194. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  195. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -0
  196. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  197. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  198. package/dist/schemas/v3.1/strict/openapi-document.d.ts +1431 -1068
  199. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  200. package/dist/schemas/v3.1/strict/openapi-document.js +45 -45
  201. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  202. package/dist/schemas/v3.1/strict/operation.d.ts +43 -17
  203. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  204. package/dist/schemas/v3.1/strict/operation.js +1 -3
  205. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  206. package/dist/schemas/v3.1/strict/parameter.d.ts +66 -6
  207. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  208. package/dist/schemas/v3.1/strict/parameter.js +21 -17
  209. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  210. package/dist/schemas/v3.1/strict/path-item.d.ts +38 -0
  211. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  212. package/dist/schemas/v3.1/strict/path-item.js +1 -1
  213. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  214. package/dist/schemas/v3.1/strict/paths.d.ts +5 -0
  215. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  216. package/dist/schemas/v3.1/strict/paths.js +1 -1
  217. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  218. package/dist/schemas/v3.1/strict/reference.d.ts +21 -4
  219. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  220. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  221. package/dist/schemas/v3.1/strict/request-body.d.ts +10 -0
  222. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  223. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  224. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  225. package/dist/schemas/v3.1/strict/response.d.ts +17 -0
  226. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  227. package/dist/schemas/v3.1/strict/response.js +1 -1
  228. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/responses.d.ts +12 -0
  230. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/responses.js +1 -1
  232. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  233. package/dist/schemas/v3.1/strict/schema.d.ts +144 -1
  234. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  235. package/dist/schemas/v3.1/strict/schema.js +40 -60
  236. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  237. package/dist/schemas/v3.1/strict/security-requirement.d.ts +12 -0
  238. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  239. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  240. package/dist/schemas/v3.1/strict/security-scheme.d.ts +37 -0
  241. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  242. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  243. package/dist/schemas/v3.1/strict/server-variable.d.ts +9 -0
  244. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  245. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  246. package/dist/schemas/v3.1/strict/server.d.ts +10 -0
  247. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  248. package/dist/schemas/v3.1/strict/server.js +1 -1
  249. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  250. package/dist/schemas/v3.1/strict/tag.d.ts +13 -0
  251. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  252. package/dist/schemas/v3.1/strict/tag.js +1 -1
  253. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  254. package/dist/schemas/v3.1/strict/type-guards.d.ts +1 -1
  255. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  256. package/dist/schemas/v3.1/strict/type-guards.js.map +1 -1
  257. package/dist/schemas/v3.1/strict/xml.d.ts +17 -0
  258. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  259. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  260. package/dist/schemas/workspace-specification/config.d.ts +45 -33
  261. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  262. package/dist/schemas/workspace-specification/config.js.map +2 -2
  263. package/dist/schemas/workspace-specification/index.d.ts +55 -34
  264. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  265. package/dist/schemas/workspace-specification/index.js.map +2 -2
  266. package/dist/schemas/workspace-specification/info.d.ts +4 -0
  267. package/dist/schemas/workspace-specification/info.d.ts.map +1 -1
  268. package/dist/schemas/workspace-specification/info.js.map +1 -1
  269. package/dist/schemas/workspace.d.ts +310 -218
  270. package/dist/schemas/workspace.d.ts.map +1 -1
  271. package/dist/schemas/workspace.js +11 -3
  272. package/dist/schemas/workspace.js.map +2 -2
  273. package/dist/server.d.ts +6 -5
  274. package/dist/server.d.ts.map +1 -1
  275. package/dist/server.js.map +2 -2
  276. package/package.json +5 -5
  277. package/dist/mutators/request-example.d.ts +0 -21
  278. package/dist/mutators/request-example.d.ts.map +0 -1
  279. package/dist/mutators/request-example.js +0 -55
  280. package/dist/mutators/request-example.js.map +0 -7
  281. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +0 -9
  282. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +0 -1
  283. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +0 -8
  284. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +0 -7
  285. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  286. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  287. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  288. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  289. package/dist/types.d.ts +0 -18
  290. package/dist/types.d.ts.map +0 -1
  291. package/dist/types.js +0 -1
  292. package/dist/types.js.map +0 -7
@@ -1,7 +1,14 @@
1
+ import { type XDefaultScopes } from '../../../schemas/extensions/security/x-default-scopes.js';
2
+ import { type XScalarSecretHTTP, type XScalarSecretToken } from '../../../schemas/extensions/security/x-scalar-security-secrets.js';
3
+ import type { OAuthFlowsObject } from '../../../schemas/v3.1/strict/oauthflows.js';
1
4
  export declare const DescriptionSchema: import("@scalar/typebox").TObject<{
2
5
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
3
6
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
7
  }>;
8
+ type Description = {
9
+ /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
10
+ description?: string;
11
+ };
5
12
  export declare const ApiKeySchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6
13
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
7
14
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -15,6 +22,14 @@ export declare const ApiKeySchema: import("@scalar/typebox").TIntersect<[import(
15
22
  /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
16
23
  in: import("@scalar/typebox").TString;
17
24
  }>]>;
25
+ export type ApiKeyObject = Description & {
26
+ /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
27
+ type: 'apiKey';
28
+ /** REQUIRED. The name of the header, query or cookie parameter to be used. */
29
+ name: string;
30
+ /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
31
+ in: string;
32
+ } & XScalarSecretToken;
18
33
  export declare const HttpSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
19
34
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
20
35
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -31,6 +46,14 @@ export declare const HttpSchema: import("@scalar/typebox").TIntersect<[import("@
31
46
  /** 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. */
32
47
  bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
33
48
  }>]>;
49
+ export type HttpObject = Description & {
50
+ /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
51
+ type: 'http';
52
+ /** 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. */
53
+ scheme: string;
54
+ /** 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. */
55
+ bearerFormat?: string;
56
+ } & XScalarSecretHTTP & XScalarSecretToken;
34
57
  export declare const OAuth2: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
35
58
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
36
59
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -42,6 +65,12 @@ export declare const OAuth2: import("@scalar/typebox").TIntersect<[import("@scal
42
65
  }>, import("@scalar/typebox").TObject<{
43
66
  'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
44
67
  }>]>;
68
+ export type OAuth2Object = Description & {
69
+ /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
70
+ type: 'oauth2';
71
+ /** REQUIRED. An object containing configuration information for the flow types supported. */
72
+ flows: OAuthFlowsObject;
73
+ } & XDefaultScopes;
45
74
  export declare const OpenIdConnect: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
46
75
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
47
76
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -51,6 +80,12 @@ export declare const OpenIdConnect: import("@scalar/typebox").TIntersect<[import
51
80
  /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
52
81
  openIdConnectUrl: import("@scalar/typebox").TString;
53
82
  }>]>;
83
+ export type OpenIdConnectObject = Description & {
84
+ /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
85
+ type: 'openIdConnect';
86
+ /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
87
+ openIdConnectUrl: string;
88
+ };
54
89
  /**
55
90
  * Defines a security scheme that can be used by the operations.
56
91
  *
@@ -102,4 +137,6 @@ export declare const SecuritySchemeObjectSchemaDefinition: import("@scalar/typeb
102
137
  /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
103
138
  openIdConnectUrl: import("@scalar/typebox").TString;
104
139
  }>]>]>;
140
+ export type SecuritySchemeObject = ApiKeyObject | HttpObject | OAuth2Object | OpenIdConnectObject;
141
+ export {};
105
142
  //# sourceMappingURL=security-scheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,iBAAiB;IAC5B,qGAAqG;;EAErG,CAAA;AAEF,eAAO,MAAM,YAAY;IAJvB,qGAAqG;;;;;IAQnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGjG,CAAA;AAED,eAAO,MAAM,UAAU;IAjBrB,qGAAqG;;;;;;;;IAsBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAG1M,CAAA;AAED,eAAO,MAAM,MAAM;IA/BjB,qGAAqG;;;IAkCnG,4HAA4H;;IAE5H,6FAA6F;;;;IAIhG,CAAA;AAED,eAAO,MAAM,aAAa;IA1CxB,qGAAqG;;;IA6CnG,4HAA4H;;IAE5H,+FAA+F;;IAGlG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;IAzD/C,qGAAqG;;;;;IAQnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAZhG,qGAAqG;;;;;;;;IAsBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IA1BzM,qGAAqG;;;IAkCnG,4HAA4H;;IAE5H,6FAA6F;;;;;IApC/F,qGAAqG;;;IA6CnG,4HAA4H;;IAE5H,+FAA+F;;MAUc,CAAA"}
1
+ {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,gDAAgD,CAAA;AAC1G,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,kBAAkB,EAExB,MAAM,yDAAyD,CAAA;AAChE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAGxE,eAAO,MAAM,iBAAiB;IAC5B,qGAAqG;;EAErG,CAAA;AAEF,KAAK,WAAW,GAAG;IACjB,qGAAqG;IACrG,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,YAAY;IATvB,qGAAqG;;;;;IAanG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGjG,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACvC,4HAA4H;IAC5H,IAAI,EAAE,QAAQ,CAAA;IACd,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAA;IACZ,8FAA8F;IAC9F,EAAE,EAAE,MAAM,CAAA;CACX,GAAG,kBAAkB,CAAA;AAEtB,eAAO,MAAM,UAAU;IA/BrB,qGAAqG;;;;;;;;IAoCnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAG1M,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,4HAA4H;IAC5H,IAAI,EAAE,MAAM,CAAA;IACZ,gQAAgQ;IAChQ,MAAM,EAAE,MAAM,CAAA;IACd,uMAAuM;IACvM,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,GAAG,iBAAiB,GACnB,kBAAkB,CAAA;AAEpB,eAAO,MAAM,MAAM;IAvDjB,qGAAqG;;;IA0DnG,4HAA4H;;IAE5H,6FAA6F;;;;IAIhG,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACvC,4HAA4H;IAC5H,IAAI,EAAE,QAAQ,CAAA;IACd,6FAA6F;IAC7F,KAAK,EAAE,gBAAgB,CAAA;CACxB,GAAG,cAAc,CAAA;AAElB,eAAO,MAAM,aAAa;IAzExB,qGAAqG;;;IA4EnG,4HAA4H;;IAE5H,+FAA+F;;IAGlG,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG;IAC9C,4HAA4H;IAC5H,IAAI,EAAE,eAAe,CAAA;IACrB,+FAA+F;IAC/F,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;IA/F/C,qGAAqG;;;;;IAanG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAjBhG,qGAAqG;;;;;;;;IAoCnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IAxCzM,qGAAqG;;;IA0DnG,4HAA4H;;IAE5H,6FAA6F;;;;;IA5D/F,qGAAqG;;;IA4EnG,4HAA4H;;IAE5H,+FAA+F;;MAiBc,CAAA;AAEjH,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,mBAAmB,CAAA"}
@@ -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 { XDefaultScopesSchema } from '@/schemas/extensions/security/x-default-scopes'\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 XDefaultScopesSchema,\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,SAAS,4BAA4B;AACrC;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;AAAA,EACD;AACF;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,6 @@ 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
- }>>>;
292
275
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
293
276
  }>, import("@scalar/typebox").TObject<{
294
277
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
@@ -491,7 +474,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
491
474
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
492
475
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
493
476
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
494
- 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>;
495
478
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
496
479
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
497
480
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -974,17 +957,17 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
974
957
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
975
958
  }>;
976
959
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
977
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
978
960
  url: import("@scalar/typebox").TString;
961
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
979
962
  }>;
980
963
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
981
964
  title: import("@scalar/typebox").TString;
965
+ version: import("@scalar/typebox").TString;
982
966
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
983
967
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
984
968
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
985
969
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
986
970
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
987
- version: import("@scalar/typebox").TString;
988
971
  }>, import("@scalar/typebox").TObject<{
989
972
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
990
973
  lang: import("@scalar/typebox").TString;
@@ -1036,7 +1019,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1036
1019
  }>]>, import("@scalar/typebox").TObject<{
1037
1020
  '$ref-value': import("@scalar/typebox").TRef<"ResponseObject">;
1038
1021
  }>]>]>>;
1039
- ParameterObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1022
+ ParameterObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1040
1023
  name: import("@scalar/typebox").TString;
1041
1024
  in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"path">, import("@scalar/typebox").TLiteral<"cookie">]>;
1042
1025
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1044,6 +1027,8 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1044
1027
  deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1045
1028
  allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1046
1029
  }>, import("@scalar/typebox").TObject<{
1030
+ 'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1031
+ }>]>, import("@scalar/typebox").TObject<{
1047
1032
  style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1048
1033
  explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1049
1034
  schema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -1067,7 +1052,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1067
1052
  }>]>, import("@scalar/typebox").TObject<{
1068
1053
  '$ref-value': import("@scalar/typebox").TRef<"ExampleObject">;
1069
1054
  }>]>]>>>;
1070
- }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1055
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1071
1056
  name: import("@scalar/typebox").TString;
1072
1057
  in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"path">, import("@scalar/typebox").TLiteral<"cookie">]>;
1073
1058
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1075,14 +1060,18 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1075
1060
  deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1076
1061
  allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1077
1062
  }>, import("@scalar/typebox").TObject<{
1063
+ 'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1064
+ }>]>, import("@scalar/typebox").TObject<{
1078
1065
  content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
1079
1066
  }>]>]>;
1080
- ExampleObject: import("@scalar/typebox").TObject<{
1067
+ ExampleObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1081
1068
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1082
1069
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1083
1070
  value: import("@scalar/typebox").TOptional<import("@scalar/typebox").TAny>;
1084
1071
  externalValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1085
- }>;
1072
+ }>, import("@scalar/typebox").TObject<{
1073
+ 'x-disabled': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1074
+ }>]>;
1086
1075
  RequestBodyObject: import("@scalar/typebox").TObject<{
1087
1076
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1088
1077
  content: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>;
@@ -1245,10 +1234,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1245
1234
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1246
1235
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1247
1236
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1248
- }>, import("@scalar/typebox").TObject<{
1249
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1250
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1251
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1237
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1252
1238
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1253
1239
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1254
1240
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1268,7 +1254,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1268
1254
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1269
1255
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1270
1256
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1271
- }>]>;
1257
+ }>, import("@scalar/typebox").TObject<{
1258
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1259
+ name: import("@scalar/typebox").TString;
1260
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1261
+ }>>>;
1262
+ }>]>]>;
1272
1263
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1273
1264
  id: import("@scalar/typebox").TString;
1274
1265
  title: import("@scalar/typebox").TString;
@@ -1285,6 +1276,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1285
1276
  method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1286
1277
  path: import("@scalar/typebox").TString;
1287
1278
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1279
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1288
1280
  }>]>;
1289
1281
  TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1290
1282
  id: import("@scalar/typebox").TString;
@@ -1316,7 +1308,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1316
1308
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1317
1309
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1318
1310
  }>]>;
1319
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1311
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1320
1312
  id: import("@scalar/typebox").TString;
1321
1313
  title: import("@scalar/typebox").TString;
1322
1314
  }>, import("@scalar/typebox").TObject<{
@@ -1331,6 +1323,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1331
1323
  method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1332
1324
  path: import("@scalar/typebox").TString;
1333
1325
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1326
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1334
1327
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1335
1328
  id: import("@scalar/typebox").TString;
1336
1329
  title: import("@scalar/typebox").TString;
@@ -1341,12 +1334,29 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1341
1334
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1342
1335
  id: import("@scalar/typebox").TString;
1343
1336
  title: import("@scalar/typebox").TString;
1337
+ }>, import("@scalar/typebox").TObject<{
1338
+ type: import("@scalar/typebox").TLiteral<"tag">;
1339
+ name: import("@scalar/typebox").TString;
1340
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1341
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1342
+ isGroup: import("@scalar/typebox").TBoolean;
1343
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1344
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1345
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1346
+ id: import("@scalar/typebox").TString;
1347
+ title: import("@scalar/typebox").TString;
1344
1348
  }>, import("@scalar/typebox").TObject<{
1345
1349
  type: import("@scalar/typebox").TLiteral<"webhook">;
1346
1350
  ref: import("@scalar/typebox").TString;
1347
1351
  method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1348
1352
  name: import("@scalar/typebox").TString;
1349
1353
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1354
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1355
+ id: import("@scalar/typebox").TString;
1356
+ title: import("@scalar/typebox").TString;
1357
+ }>, import("@scalar/typebox").TObject<{
1358
+ type: import("@scalar/typebox").TLiteral<"example">;
1359
+ name: import("@scalar/typebox").TString;
1350
1360
  }>]>]>;
1351
1361
  }, "ServerObject">>>;
1352
1362
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1383,10 +1393,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1383
1393
  ogImage: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1384
1394
  twitterCard: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1385
1395
  }>>;
1386
- 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">[]>>>;
1396
+ 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" | "fsharp/httpclient" | "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">[]>>>;
1387
1397
  }>>;
1388
1398
  }>;
1389
- export type Config = Static<typeof ConfigSchema>;
1399
+ export type Config = {
1400
+ 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>;
1401
+ };
1390
1402
  export type DocumentConfiguration = Config & PartialDeep<{
1391
1403
  'x-scalar-reference-config': {
1392
1404
  tagSort: TraverseSpecOptions['tagsSorter'];