@scalar/workspace-store 0.14.2 → 0.15.1

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 (499) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/client.d.ts +24 -4
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +58 -52
  5. package/dist/client.js.map +2 -2
  6. package/dist/events/definitions.d.ts +155 -0
  7. package/dist/events/definitions.d.ts.map +1 -0
  8. package/dist/events/definitions.js +13 -0
  9. package/dist/events/definitions.js.map +7 -0
  10. package/dist/events/index.d.ts +3 -0
  11. package/dist/events/index.d.ts.map +1 -0
  12. package/dist/events/index.js +7 -0
  13. package/dist/events/index.js.map +7 -0
  14. package/dist/events/listeners.d.ts +8 -0
  15. package/dist/events/listeners.d.ts.map +1 -0
  16. package/dist/events/listeners.js +23 -0
  17. package/dist/events/listeners.js.map +7 -0
  18. package/dist/helpers/apply-selective-updates.d.ts +1 -1
  19. package/dist/helpers/apply-selective-updates.d.ts.map +1 -1
  20. package/dist/helpers/apply-selective-updates.js +1 -1
  21. package/dist/helpers/apply-selective-updates.js.map +2 -2
  22. package/dist/helpers/deep-clone.d.ts.map +1 -1
  23. package/dist/helpers/general.d.ts.map +1 -1
  24. package/dist/helpers/get-resolved-ref.d.ts.map +1 -1
  25. package/dist/helpers/merge-object.d.ts.map +1 -1
  26. package/dist/helpers/merge-object.js.map +2 -2
  27. package/dist/helpers/overrides-proxy.d.ts.map +1 -1
  28. package/dist/helpers/overrides-proxy.js.map +2 -2
  29. package/dist/mutators/cookie.d.ts.map +1 -1
  30. package/dist/mutators/environment.d.ts +1 -1
  31. package/dist/mutators/environment.d.ts.map +1 -1
  32. package/dist/mutators/environment.js.map +1 -1
  33. package/dist/mutators/helpers.d.ts.map +1 -1
  34. package/dist/mutators/index.d.ts +9 -9
  35. package/dist/mutators/request-example.d.ts.map +1 -1
  36. package/dist/mutators/request.d.ts +1 -1
  37. package/dist/mutators/request.d.ts.map +1 -1
  38. package/dist/mutators/request.js.map +2 -2
  39. package/dist/mutators/security-schemes.d.ts +1 -2
  40. package/dist/mutators/security-schemes.d.ts.map +1 -1
  41. package/dist/mutators/security-schemes.js.map +2 -2
  42. package/dist/mutators/server.d.ts +2 -2
  43. package/dist/mutators/server.d.ts.map +1 -1
  44. package/dist/mutators/server.js +4 -2
  45. package/dist/mutators/server.js.map +2 -2
  46. package/dist/navigation/helpers/get-tag.d.ts.map +1 -1
  47. package/dist/navigation/helpers/traverse-description.d.ts +3 -1
  48. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  49. package/dist/navigation/helpers/traverse-document.d.ts +30 -30
  50. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  51. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  52. package/dist/navigation/helpers/traverse-paths.d.ts +5 -1
  53. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  54. package/dist/navigation/helpers/traverse-paths.js +3 -3
  55. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  56. package/dist/navigation/helpers/traverse-schemas.d.ts +5 -1
  57. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  58. package/dist/navigation/helpers/traverse-schemas.js +1 -1
  59. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  60. package/dist/navigation/helpers/traverse-tags.d.ts +6 -2
  61. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  62. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  63. package/dist/navigation/helpers/traverse-webhooks.d.ts +6 -2
  64. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  65. package/dist/navigation/helpers/traverse-webhooks.js +2 -2
  66. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  67. package/dist/navigation/helpers/utils.d.ts.map +1 -1
  68. package/dist/navigation/helpers/utils.js.map +2 -2
  69. package/dist/navigation/index.d.ts +1 -1
  70. package/dist/navigation/index.d.ts.map +1 -1
  71. package/dist/navigation/index.js.map +2 -2
  72. package/dist/navigation/types.d.ts +1 -2
  73. package/dist/navigation/types.d.ts.map +1 -1
  74. package/dist/plugins.d.ts +5 -37
  75. package/dist/plugins.d.ts.map +1 -1
  76. package/dist/plugins.js +0 -21
  77. package/dist/plugins.js.map +2 -2
  78. package/dist/preprocessing/server.d.ts +23 -0
  79. package/dist/preprocessing/server.d.ts.map +1 -0
  80. package/dist/preprocessing/server.js +84 -0
  81. package/dist/preprocessing/server.js.map +7 -0
  82. package/dist/schemas/compose.d.ts +1 -1
  83. package/dist/schemas/compose.d.ts.map +1 -1
  84. package/dist/schemas/compose.js +1 -1
  85. package/dist/schemas/compose.js.map +2 -2
  86. package/dist/schemas/extensions/document/x-internal.d.ts +2 -2
  87. package/dist/schemas/extensions/document/x-internal.js +1 -1
  88. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  89. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +2 -2
  90. package/dist/schemas/extensions/document/x-scalar-icon.js +1 -1
  91. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  92. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +2 -2
  93. package/dist/schemas/extensions/document/x-scalar-ignore.js +1 -1
  94. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  95. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +7 -5
  96. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  97. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js +1 -1
  98. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  99. package/dist/schemas/extensions/document/x-tags.d.ts +4 -0
  100. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -0
  101. package/dist/schemas/extensions/document/x-tags.js +8 -0
  102. package/dist/schemas/extensions/document/x-tags.js.map +7 -0
  103. package/dist/schemas/extensions/operation/x-badge.d.ts +10 -10
  104. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  105. package/dist/schemas/extensions/operation/x-badge.js +1 -1
  106. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  107. package/dist/schemas/extensions/operation/x-code-samples.d.ts +17 -17
  108. package/dist/schemas/extensions/operation/x-code-samples.js +1 -1
  109. package/dist/schemas/extensions/operation/x-code-samples.js.map +1 -1
  110. package/dist/schemas/extensions/operation/x-post-response.d.ts +2 -2
  111. package/dist/schemas/extensions/operation/x-post-response.js +1 -1
  112. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  113. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +2 -2
  114. package/dist/schemas/extensions/operation/x-scalar-stability.js +1 -1
  115. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  116. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +2 -2
  117. package/dist/schemas/extensions/schema/x-additional-properties-name.js +1 -1
  118. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  119. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +2 -2
  120. package/dist/schemas/extensions/schema/x-enum-descriptions.js +1 -1
  121. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  122. package/dist/schemas/extensions/schema/x-variable.d.ts +2 -2
  123. package/dist/schemas/extensions/schema/x-variable.js +1 -1
  124. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  125. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +2 -2
  126. package/dist/schemas/extensions/security/x-scalar-credentials-location.js +1 -1
  127. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  128. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +2 -2
  129. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +1 -1
  130. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +1 -1
  131. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +2 -2
  132. package/dist/schemas/extensions/security/x-scalar-security-body.js +1 -1
  133. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +1 -1
  134. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +2 -2
  135. package/dist/schemas/extensions/security/x-scalar-security-query.js +1 -1
  136. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +1 -1
  137. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +5 -5
  138. package/dist/schemas/extensions/security/x-scalar-security-secrets.js +1 -1
  139. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +1 -1
  140. package/dist/schemas/extensions/security/x-tokenName.d.ts +2 -2
  141. package/dist/schemas/extensions/security/x-tokenName.js +1 -1
  142. package/dist/schemas/extensions/security/x-tokenName.js.map +1 -1
  143. package/dist/schemas/extensions/security/x-use-pkce.d.ts +2 -2
  144. package/dist/schemas/extensions/security/x-use-pkce.js +1 -1
  145. package/dist/schemas/extensions/security/x-use-pkce.js.map +1 -1
  146. package/dist/schemas/extensions/tag/x-display-name.d.ts +2 -2
  147. package/dist/schemas/extensions/tag/x-display-name.js +1 -1
  148. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  149. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +7 -7
  150. package/dist/schemas/extensions/tag/x-tag-groups.js +1 -1
  151. package/dist/schemas/extensions/tag/x-tag-groups.js.map +1 -1
  152. package/dist/schemas/inmemory-workspace.d.ts +2470 -190
  153. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  154. package/dist/schemas/inmemory-workspace.js +2 -3
  155. package/dist/schemas/inmemory-workspace.js.map +2 -2
  156. package/dist/schemas/navigation.d.ts +140 -134
  157. package/dist/schemas/navigation.d.ts.map +1 -1
  158. package/dist/schemas/navigation.js +13 -9
  159. package/dist/schemas/navigation.js.map +2 -2
  160. package/dist/schemas/reference-config/appearance.d.ts +9 -9
  161. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  162. package/dist/schemas/reference-config/appearance.js +1 -1
  163. package/dist/schemas/reference-config/appearance.js.map +2 -2
  164. package/dist/schemas/reference-config/features.d.ts +11 -11
  165. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  166. package/dist/schemas/reference-config/features.js +1 -1
  167. package/dist/schemas/reference-config/features.js.map +2 -2
  168. package/dist/schemas/reference-config/index.d.ts +1247 -46
  169. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  170. package/dist/schemas/reference-config/index.js +5 -5
  171. package/dist/schemas/reference-config/index.js.map +2 -2
  172. package/dist/schemas/reference-config/meta.d.ts +8 -8
  173. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  174. package/dist/schemas/reference-config/meta.js +1 -1
  175. package/dist/schemas/reference-config/meta.js.map +2 -2
  176. package/dist/schemas/reference-config/routing.d.ts +4 -4
  177. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  178. package/dist/schemas/reference-config/routing.js +1 -1
  179. package/dist/schemas/reference-config/routing.js.map +2 -2
  180. package/dist/schemas/reference-config/settings.d.ts +1215 -14
  181. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  182. package/dist/schemas/reference-config/settings.js +2 -2
  183. package/dist/schemas/reference-config/settings.js.map +2 -2
  184. package/dist/schemas/typebox-coerce.d.ts +1 -1
  185. package/dist/schemas/typebox-coerce.d.ts.map +1 -1
  186. package/dist/schemas/typebox-coerce.js +2 -2
  187. package/dist/schemas/typebox-coerce.js.map +2 -2
  188. package/dist/schemas/v3.1/strict/callback.d.ts +1 -2
  189. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  190. package/dist/schemas/v3.1/strict/callback.js +5 -4
  191. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  192. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +11 -11
  193. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  194. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +1 -1
  195. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  196. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +19 -19
  197. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  198. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +1 -1
  199. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  200. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +27 -27
  201. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -1
  202. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +1 -1
  203. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +2 -2
  204. package/dist/schemas/v3.1/strict/components.d.ts +22 -42
  205. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  206. package/dist/schemas/v3.1/strict/components.js +24 -29
  207. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  208. package/dist/schemas/v3.1/strict/contact.d.ts +4 -6
  209. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  210. package/dist/schemas/v3.1/strict/contact.js +3 -3
  211. package/dist/schemas/v3.1/strict/contact.js.map +2 -2
  212. package/dist/schemas/v3.1/strict/discriminator.d.ts +3 -5
  213. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  214. package/dist/schemas/v3.1/strict/discriminator.js +3 -3
  215. package/dist/schemas/v3.1/strict/discriminator.js.map +2 -2
  216. package/dist/schemas/v3.1/strict/encoding.d.ts +10 -4
  217. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  218. package/dist/schemas/v3.1/strict/encoding.js +5 -4
  219. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  220. package/dist/schemas/v3.1/strict/example.d.ts +5 -7
  221. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  222. package/dist/schemas/v3.1/strict/example.js +3 -3
  223. package/dist/schemas/v3.1/strict/example.js.map +2 -2
  224. package/dist/schemas/v3.1/strict/external-documentation.d.ts +3 -5
  225. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  226. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  227. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  228. package/dist/schemas/v3.1/strict/header.d.ts +39 -347
  229. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  230. package/dist/schemas/v3.1/strict/header.js +8 -11
  231. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  232. package/dist/schemas/v3.1/strict/info.d.ts +13 -23
  233. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  234. package/dist/schemas/v3.1/strict/info.js +7 -8
  235. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  236. package/dist/schemas/v3.1/strict/license.d.ts +4 -6
  237. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  238. package/dist/schemas/v3.1/strict/license.js +3 -3
  239. package/dist/schemas/v3.1/strict/license.js.map +2 -2
  240. package/dist/schemas/v3.1/strict/link.d.ts +7 -17
  241. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  242. package/dist/schemas/v3.1/strict/link.js +5 -5
  243. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  244. package/dist/schemas/v3.1/strict/media-type.d.ts +10 -164
  245. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  246. package/dist/schemas/v3.1/strict/media-type.js +7 -10
  247. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  248. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +59 -60
  249. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  250. package/dist/schemas/v3.1/strict/oauth-flow.js +3 -3
  251. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  252. package/dist/schemas/v3.1/strict/oauthflows.d.ts +30 -32
  253. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  254. package/dist/schemas/v3.1/strict/oauthflows.js +6 -6
  255. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  256. package/dist/schemas/v3.1/strict/openapi-document.d.ts +33908 -112
  257. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  258. package/dist/schemas/v3.1/strict/openapi-document.js +139 -24
  259. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  260. package/dist/schemas/v3.1/strict/operation.d.ts +52 -4946
  261. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  262. package/dist/schemas/v3.1/strict/operation.js +22 -19
  263. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  264. package/dist/schemas/v3.1/strict/parameter.d.ts +51 -1397
  265. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  266. package/dist/schemas/v3.1/strict/parameter.js +10 -11
  267. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  268. package/dist/schemas/v3.1/strict/path-item.d.ts +15 -1412
  269. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  270. package/dist/schemas/v3.1/strict/path-item.js +15 -16
  271. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  272. package/dist/schemas/v3.1/strict/paths.d.ts +1 -4
  273. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  274. package/dist/schemas/v3.1/strict/paths.js +5 -5
  275. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  276. package/dist/schemas/v3.1/strict/ref-definitions.d.ts +63 -0
  277. package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -0
  278. package/dist/schemas/v3.1/strict/ref-definitions.js +88 -0
  279. package/dist/schemas/v3.1/strict/ref-definitions.js.map +7 -0
  280. package/dist/schemas/v3.1/strict/reference.d.ts +8 -8
  281. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  282. package/dist/schemas/v3.1/strict/reference.js +1 -1
  283. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  284. package/dist/schemas/v3.1/strict/request-body.d.ts +4 -520
  285. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  286. package/dist/schemas/v3.1/strict/request-body.js +5 -5
  287. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  288. package/dist/schemas/v3.1/strict/response.d.ts +5 -1231
  289. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  290. package/dist/schemas/v3.1/strict/response.js +7 -8
  291. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  292. package/dist/schemas/v3.1/strict/responses.d.ts +1 -2461
  293. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  294. package/dist/schemas/v3.1/strict/responses.js +5 -5
  295. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  296. package/dist/schemas/v3.1/strict/schema.d.ts +337 -192
  297. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  298. package/dist/schemas/v3.1/strict/schema.js +215 -207
  299. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  300. package/dist/schemas/v3.1/strict/security-requirement.d.ts +1 -3
  301. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  302. package/dist/schemas/v3.1/strict/security-requirement.js +3 -3
  303. package/dist/schemas/v3.1/strict/security-requirement.js.map +2 -2
  304. package/dist/schemas/v3.1/strict/security-scheme.d.ts +60 -130
  305. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  306. package/dist/schemas/v3.1/strict/security-scheme.js +5 -5
  307. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  308. package/dist/schemas/v3.1/strict/server-variable.d.ts +4 -6
  309. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  310. package/dist/schemas/v3.1/strict/server-variable.js +3 -3
  311. package/dist/schemas/v3.1/strict/server-variable.js.map +2 -2
  312. package/dist/schemas/v3.1/strict/server.d.ts +4 -10
  313. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  314. package/dist/schemas/v3.1/strict/server.js +5 -5
  315. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  316. package/dist/schemas/v3.1/strict/tag.d.ts +10 -15
  317. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  318. package/dist/schemas/v3.1/strict/tag.js +6 -6
  319. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  320. package/dist/schemas/v3.1/strict/xml.d.ts +6 -8
  321. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  322. package/dist/schemas/v3.1/strict/xml.js +3 -3
  323. package/dist/schemas/v3.1/strict/xml.js.map +2 -2
  324. package/dist/schemas/workspace-specification/config.d.ts +1248 -47
  325. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  326. package/dist/schemas/workspace-specification/config.js +1 -1
  327. package/dist/schemas/workspace-specification/config.js.map +2 -2
  328. package/dist/schemas/workspace-specification/index.d.ts +1260 -224
  329. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  330. package/dist/schemas/workspace-specification/index.js +2 -3
  331. package/dist/schemas/workspace-specification/index.js.map +2 -2
  332. package/dist/schemas/workspace-specification/info.d.ts +3 -3
  333. package/dist/schemas/workspace-specification/info.js +1 -1
  334. package/dist/schemas/workspace-specification/info.js.map +1 -1
  335. package/dist/schemas/workspace.d.ts +8520 -199
  336. package/dist/schemas/workspace.d.ts.map +1 -1
  337. package/dist/schemas/workspace.js +6 -8
  338. package/dist/schemas/workspace.js.map +2 -2
  339. package/dist/schemas.d.ts +1 -1
  340. package/dist/schemas.d.ts.map +1 -1
  341. package/dist/schemas.js +1 -4
  342. package/dist/schemas.js.map +2 -2
  343. package/dist/server.d.ts +2 -4
  344. package/dist/server.d.ts.map +1 -1
  345. package/dist/server.js +7 -5
  346. package/dist/server.js.map +2 -2
  347. package/package.json +12 -6
  348. package/dist/schemas/typebox-types.d.ts +0 -14
  349. package/dist/schemas/typebox-types.d.ts.map +0 -1
  350. package/dist/schemas/typebox-types.js +0 -19
  351. package/dist/schemas/typebox-types.js.map +0 -7
  352. package/dist/schemas/v3.1/loose/callback.d.ts +0 -10
  353. package/dist/schemas/v3.1/loose/callback.d.ts.map +0 -1
  354. package/dist/schemas/v3.1/loose/callback.js +0 -11
  355. package/dist/schemas/v3.1/loose/callback.js.map +0 -7
  356. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts +0 -16
  357. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +0 -1
  358. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js +0 -13
  359. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js.map +0 -7
  360. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts +0 -27
  361. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts.map +0 -1
  362. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js +0 -23
  363. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js.map +0 -7
  364. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  365. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  366. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  367. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  368. package/dist/schemas/v3.1/loose/components.d.ts +0 -43
  369. package/dist/schemas/v3.1/loose/components.d.ts.map +0 -1
  370. package/dist/schemas/v3.1/loose/components.js +0 -41
  371. package/dist/schemas/v3.1/loose/components.js.map +0 -7
  372. package/dist/schemas/v3.1/loose/contact.d.ts +0 -10
  373. package/dist/schemas/v3.1/loose/contact.d.ts.map +0 -1
  374. package/dist/schemas/v3.1/loose/contact.js +0 -13
  375. package/dist/schemas/v3.1/loose/contact.js.map +0 -7
  376. package/dist/schemas/v3.1/loose/discriminator.d.ts +0 -12
  377. package/dist/schemas/v3.1/loose/discriminator.d.ts.map +0 -1
  378. package/dist/schemas/v3.1/loose/discriminator.js +0 -11
  379. package/dist/schemas/v3.1/loose/discriminator.js.map +0 -7
  380. package/dist/schemas/v3.1/loose/encoding.d.ts +0 -15
  381. package/dist/schemas/v3.1/loose/encoding.d.ts.map +0 -1
  382. package/dist/schemas/v3.1/loose/encoding.js +0 -12
  383. package/dist/schemas/v3.1/loose/encoding.js.map +0 -7
  384. package/dist/schemas/v3.1/loose/example.d.ts +0 -16
  385. package/dist/schemas/v3.1/loose/example.d.ts.map +0 -1
  386. package/dist/schemas/v3.1/loose/example.js +0 -15
  387. package/dist/schemas/v3.1/loose/example.js.map +0 -7
  388. package/dist/schemas/v3.1/loose/external-documentation.d.ts +0 -8
  389. package/dist/schemas/v3.1/loose/external-documentation.d.ts.map +0 -1
  390. package/dist/schemas/v3.1/loose/external-documentation.js +0 -11
  391. package/dist/schemas/v3.1/loose/external-documentation.js.map +0 -7
  392. package/dist/schemas/v3.1/loose/header.d.ts +0 -355
  393. package/dist/schemas/v3.1/loose/header.d.ts.map +0 -1
  394. package/dist/schemas/v3.1/loose/header.js +0 -43
  395. package/dist/schemas/v3.1/loose/header.js.map +0 -7
  396. package/dist/schemas/v3.1/loose/info.d.ts +0 -48
  397. package/dist/schemas/v3.1/loose/info.d.ts.map +0 -1
  398. package/dist/schemas/v3.1/loose/info.js +0 -29
  399. package/dist/schemas/v3.1/loose/info.js.map +0 -7
  400. package/dist/schemas/v3.1/loose/license.d.ts +0 -10
  401. package/dist/schemas/v3.1/loose/license.d.ts.map +0 -1
  402. package/dist/schemas/v3.1/loose/license.js +0 -13
  403. package/dist/schemas/v3.1/loose/license.js.map +0 -7
  404. package/dist/schemas/v3.1/loose/link.d.ts +0 -30
  405. package/dist/schemas/v3.1/loose/link.d.ts.map +0 -1
  406. package/dist/schemas/v3.1/loose/link.js +0 -20
  407. package/dist/schemas/v3.1/loose/link.js.map +0 -7
  408. package/dist/schemas/v3.1/loose/media-header-encoding.d.ts +0 -1012
  409. package/dist/schemas/v3.1/loose/media-header-encoding.d.ts.map +0 -1
  410. package/dist/schemas/v3.1/loose/media-header-encoding.js +0 -19
  411. package/dist/schemas/v3.1/loose/media-header-encoding.js.map +0 -7
  412. package/dist/schemas/v3.1/loose/media-type.d.ts +0 -161
  413. package/dist/schemas/v3.1/loose/media-type.d.ts.map +0 -1
  414. package/dist/schemas/v3.1/loose/media-type.js +0 -18
  415. package/dist/schemas/v3.1/loose/media-type.js.map +0 -7
  416. package/dist/schemas/v3.1/loose/oauth-flow.d.ts +0 -95
  417. package/dist/schemas/v3.1/loose/oauth-flow.d.ts.map +0 -1
  418. package/dist/schemas/v3.1/loose/oauth-flow.js +0 -57
  419. package/dist/schemas/v3.1/loose/oauth-flow.js.map +0 -7
  420. package/dist/schemas/v3.1/loose/oauthflows.d.ts +0 -43
  421. package/dist/schemas/v3.1/loose/oauthflows.d.ts.map +0 -1
  422. package/dist/schemas/v3.1/loose/oauthflows.js +0 -21
  423. package/dist/schemas/v3.1/loose/oauthflows.js.map +0 -7
  424. package/dist/schemas/v3.1/loose/openapi-document.d.ts +0 -115
  425. package/dist/schemas/v3.1/loose/openapi-document.d.ts.map +0 -1
  426. package/dist/schemas/v3.1/loose/openapi-document.js +0 -64
  427. package/dist/schemas/v3.1/loose/openapi-document.js.map +0 -7
  428. package/dist/schemas/v3.1/loose/operation.d.ts +0 -1645
  429. package/dist/schemas/v3.1/loose/operation.d.ts.map +0 -1
  430. package/dist/schemas/v3.1/loose/operation.js +0 -61
  431. package/dist/schemas/v3.1/loose/operation.js.map +0 -7
  432. package/dist/schemas/v3.1/loose/parameter.d.ts +0 -1074
  433. package/dist/schemas/v3.1/loose/parameter.d.ts.map +0 -1
  434. package/dist/schemas/v3.1/loose/parameter.js +0 -54
  435. package/dist/schemas/v3.1/loose/parameter.js.map +0 -7
  436. package/dist/schemas/v3.1/loose/path-item.d.ts +0 -551
  437. package/dist/schemas/v3.1/loose/path-item.d.ts.map +0 -1
  438. package/dist/schemas/v3.1/loose/path-item.js +0 -42
  439. package/dist/schemas/v3.1/loose/path-item.js.map +0 -7
  440. package/dist/schemas/v3.1/loose/path-operations.d.ts +0 -2196
  441. package/dist/schemas/v3.1/loose/path-operations.d.ts.map +0 -1
  442. package/dist/schemas/v3.1/loose/path-operations.js +0 -21
  443. package/dist/schemas/v3.1/loose/path-operations.js.map +0 -7
  444. package/dist/schemas/v3.1/loose/paths.d.ts +0 -20
  445. package/dist/schemas/v3.1/loose/paths.d.ts.map +0 -1
  446. package/dist/schemas/v3.1/loose/paths.js +0 -11
  447. package/dist/schemas/v3.1/loose/paths.js.map +0 -7
  448. package/dist/schemas/v3.1/loose/reference.d.ts +0 -26
  449. package/dist/schemas/v3.1/loose/reference.d.ts.map +0 -1
  450. package/dist/schemas/v3.1/loose/reference.js +0 -24
  451. package/dist/schemas/v3.1/loose/reference.js.map +0 -7
  452. package/dist/schemas/v3.1/loose/request-body.d.ts +0 -339
  453. package/dist/schemas/v3.1/loose/request-body.d.ts.map +0 -1
  454. package/dist/schemas/v3.1/loose/request-body.js +0 -14
  455. package/dist/schemas/v3.1/loose/request-body.js.map +0 -7
  456. package/dist/schemas/v3.1/loose/response.d.ts +0 -698
  457. package/dist/schemas/v3.1/loose/response.d.ts.map +0 -1
  458. package/dist/schemas/v3.1/loose/response.js +0 -18
  459. package/dist/schemas/v3.1/loose/response.js.map +0 -7
  460. package/dist/schemas/v3.1/loose/responses.d.ts +0 -710
  461. package/dist/schemas/v3.1/loose/responses.d.ts.map +0 -1
  462. package/dist/schemas/v3.1/loose/responses.js +0 -11
  463. package/dist/schemas/v3.1/loose/responses.js.map +0 -7
  464. package/dist/schemas/v3.1/loose/schema.d.ts +0 -373
  465. package/dist/schemas/v3.1/loose/schema.d.ts.map +0 -1
  466. package/dist/schemas/v3.1/loose/schema.js +0 -146
  467. package/dist/schemas/v3.1/loose/schema.js.map +0 -7
  468. package/dist/schemas/v3.1/loose/security-requirement.d.ts +0 -11
  469. package/dist/schemas/v3.1/loose/security-requirement.d.ts.map +0 -1
  470. package/dist/schemas/v3.1/loose/security-requirement.js +0 -10
  471. package/dist/schemas/v3.1/loose/security-requirement.js.map +0 -7
  472. package/dist/schemas/v3.1/loose/security-scheme.d.ts +0 -169
  473. package/dist/schemas/v3.1/loose/security-scheme.d.ts.map +0 -1
  474. package/dist/schemas/v3.1/loose/security-scheme.js +0 -64
  475. package/dist/schemas/v3.1/loose/security-scheme.js.map +0 -7
  476. package/dist/schemas/v3.1/loose/server-variable.d.ts +0 -10
  477. package/dist/schemas/v3.1/loose/server-variable.d.ts.map +0 -1
  478. package/dist/schemas/v3.1/loose/server-variable.js +0 -13
  479. package/dist/schemas/v3.1/loose/server-variable.js.map +0 -7
  480. package/dist/schemas/v3.1/loose/server.d.ts +0 -14
  481. package/dist/schemas/v3.1/loose/server.d.ts.map +0 -1
  482. package/dist/schemas/v3.1/loose/server.js +0 -14
  483. package/dist/schemas/v3.1/loose/server.js.map +0 -7
  484. package/dist/schemas/v3.1/loose/tag.d.ts +0 -19
  485. package/dist/schemas/v3.1/loose/tag.d.ts.map +0 -1
  486. package/dist/schemas/v3.1/loose/tag.js +0 -23
  487. package/dist/schemas/v3.1/loose/tag.js.map +0 -7
  488. package/dist/schemas/v3.1/loose/xml.d.ts +0 -18
  489. package/dist/schemas/v3.1/loose/xml.d.ts.map +0 -1
  490. package/dist/schemas/v3.1/loose/xml.js +0 -17
  491. package/dist/schemas/v3.1/loose/xml.js.map +0 -7
  492. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +0 -1560
  493. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +0 -1
  494. package/dist/schemas/v3.1/strict/media-header-encoding.js +0 -19
  495. package/dist/schemas/v3.1/strict/media-header-encoding.js.map +0 -7
  496. package/dist/schemas/v3.1/strict/path-operations.d.ts +0 -10628
  497. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +0 -1
  498. package/dist/schemas/v3.1/strict/path-operations.js +0 -21
  499. package/dist/schemas/v3.1/strict/path-operations.js.map +0 -7
@@ -1,36 +1,26 @@
1
- import { type Static } from '@sinclair/typebox';
2
1
  /**
3
2
  * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
4
3
  */
5
- export declare const InfoObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
4
+ export declare const InfoObjectSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6
5
  /** REQUIRED. The title of the API. */
7
- title: import("@sinclair/typebox").TString;
6
+ title: import("@scalar/typebox").TString;
8
7
  /** A short summary of the API. */
9
- summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
10
9
  /** A description of the API. CommonMark syntax MAY be used for rich text representation. */
11
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
12
11
  /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */
13
- termsOfService: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
+ termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
13
  /** The contact information for the exposed API. */
15
- contact: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
16
- name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17
- url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
- email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
19
- }>>;
14
+ contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
20
15
  /** The license information for the exposed API. */
21
- license: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
22
- name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
- identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
- url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25
- }>>;
16
+ license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
26
17
  /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */
27
- version: import("@sinclair/typebox").TString;
28
- }>, import("@sinclair/typebox").TObject<{
29
- 'x-scalar-sdk-installation': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
30
- lang: import("@sinclair/typebox").TString;
31
- source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
32
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
+ version: import("@scalar/typebox").TString;
19
+ }>, import("@scalar/typebox").TObject<{
20
+ 'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
21
+ lang: import("@scalar/typebox").TString;
22
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
23
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
33
24
  }>>>;
34
25
  }>]>;
35
- export type InfoObject = Static<typeof InfoObjectSchema>;
36
26
  //# sourceMappingURL=info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAMrD;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAEzB,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;;;;;IAEnD,mDAAmD;;;;;;IAEnD,oMAAoM;;;;;;;;IAIvM,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAMA;;GAEG;AACH,eAAO,MAAM,0BAA0B;IAEnC,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;IAEnD,mDAAmD;;IAEnD,oMAAoM;;;;;;;;IAIvM,CAAA"}
@@ -1,9 +1,8 @@
1
- import { Type } from "@sinclair/typebox";
2
- import { ContactObjectSchema } from "./contact.js";
3
- import { LicenseObjectSchema } from "./license.js";
4
- import { XScalarSdkInstallationSchema } from "../../../schemas/extensions/document/x-scalar-sdk-installation.js";
1
+ import { Type } from "@scalar/typebox";
5
2
  import { compose } from "../../../schemas/compose.js";
6
- const InfoObjectSchema = compose(
3
+ import { XScalarSdkInstallationSchema } from "../../../schemas/extensions/document/x-scalar-sdk-installation.js";
4
+ import { ContactObjectRef, LicenseObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
5
+ const InfoObjectSchemaDefinition = compose(
7
6
  Type.Object({
8
7
  /** REQUIRED. The title of the API. */
9
8
  title: Type.String(),
@@ -14,15 +13,15 @@ const InfoObjectSchema = compose(
14
13
  /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */
15
14
  termsOfService: Type.Optional(Type.String()),
16
15
  /** The contact information for the exposed API. */
17
- contact: Type.Optional(ContactObjectSchema),
16
+ contact: Type.Optional(ContactObjectRef),
18
17
  /** The license information for the exposed API. */
19
- license: Type.Optional(LicenseObjectSchema),
18
+ license: Type.Optional(LicenseObjectRef),
20
19
  /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */
21
20
  version: Type.String()
22
21
  }),
23
22
  XScalarSdkInstallationSchema
24
23
  );
25
24
  export {
26
- InfoObjectSchema
25
+ InfoObjectSchemaDefinition
27
26
  };
28
27
  //# sourceMappingURL=info.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/info.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ContactObjectSchema } from './contact'\nimport { LicenseObjectSchema } from './license'\nimport { XScalarSdkInstallationSchema } from '@/schemas/extensions/document/x-scalar-sdk-installation'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectSchema),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectSchema),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n XScalarSdkInstallationSchema,\n)\n\nexport type InfoObject = Static<typeof InfoObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,oCAAoC;AAC7C,SAAS,eAAe;AAKjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE3C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,OAAO;AAAA,EACvB,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XScalarSdkInstallationSchema } from '@/schemas/extensions/document/x-scalar-sdk-installation'\nimport { ContactObjectRef, LicenseObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectRef),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectRef),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n XScalarSdkInstallationSchema,\n)\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAS,oCAAoC;AAC7C,SAAS,kBAAkB,wBAAwB;AAK5C,MAAM,6BAA6B;AAAA,EACxC,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE3C,SAAS,KAAK,SAAS,gBAAgB;AAAA;AAAA,IAEvC,SAAS,KAAK,SAAS,gBAAgB;AAAA;AAAA,IAEvC,SAAS,KAAK,OAAO;AAAA,EACvB,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,10 @@
1
- import { type Static } from '@sinclair/typebox';
2
1
  /** The license information for the exposed API. */
3
- export declare const LicenseObjectSchema: import("@sinclair/typebox").TObject<{
2
+ export declare const LicenseObjectSchemaDefinition: import("@scalar/typebox").TObject<{
4
3
  /** REQUIRED. The license name used for the API. */
5
- name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
4
+ name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6
5
  /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
7
- identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6
+ identifier: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8
7
  /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */
9
- url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
+ url: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
10
9
  }>;
11
- export type LicenseObject = Static<typeof LicenseObjectSchema>;
12
10
  //# sourceMappingURL=license.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/license.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB;IAC9B,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;EAE9I,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
1
+ {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/license.ts"],"names":[],"mappings":"AAEA,mDAAmD;AACnD,eAAO,MAAM,6BAA6B;IACxC,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;EAE9I,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Type } from "@sinclair/typebox";
2
- const LicenseObjectSchema = Type.Object({
1
+ import { Type } from "@scalar/typebox";
2
+ const LicenseObjectSchemaDefinition = Type.Object({
3
3
  /** REQUIRED. The license name used for the API. */
4
4
  name: Type.Optional(Type.String()),
5
5
  /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
@@ -8,6 +8,6 @@ const LicenseObjectSchema = Type.Object({
8
8
  url: Type.Optional(Type.String())
9
9
  });
10
10
  export {
11
- LicenseObjectSchema
11
+ LicenseObjectSchemaDefinition
12
12
  };
13
13
  //# sourceMappingURL=license.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/license.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObjectSchema = Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n})\n\nexport type LicenseObject = Static<typeof LicenseObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAG3B,MAAM,sBAAsB,KAAK,OAAO;AAAA;AAAA,EAE7C,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAClC,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObjectSchemaDefinition = Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,gCAAgC,KAAK,OAAO;AAAA;AAAA,EAEvD,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAClC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,3 @@
1
- import { type Static } from '@sinclair/typebox';
2
1
  /**
3
2
  * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.
4
3
  *
@@ -6,27 +5,18 @@ import { type Static } from '@sinclair/typebox';
6
5
  *
7
6
  * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.
8
7
  */
9
- export declare const LinkObjectSchema: import("@sinclair/typebox").TObject<{
8
+ export declare const LinkObjectSchemaDefinition: import("@scalar/typebox").TObject<{
10
9
  /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
11
- operationRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
+ operationRef: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
12
11
  /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
13
- operationId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
+ operationId: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
13
  /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */
15
- parameters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
14
+ parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>>;
16
15
  /** A literal value or {expression} to use as a request body when calling the target operation. */
17
- requestBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
16
+ requestBody: import("@scalar/typebox").TOptional<import("@scalar/typebox").TAny>;
18
17
  /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
19
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
20
19
  /** A server object to be used by the target operation. */
21
- server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
22
- url: import("@sinclair/typebox").TString;
23
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
- variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
25
- enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
26
- default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
28
- }>>>;
29
- }>>;
20
+ server: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ServerObject">>;
30
21
  }>;
31
- export type LinkObject = Static<typeof LinkObjectSchema>;
32
22
  //# sourceMappingURL=link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAGrD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;IAC3B,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;;;;;;;;;EAE1D,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/link.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;IACrC,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;EAE1D,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Type } from "@sinclair/typebox";
2
- import { ServerObjectSchema } from "./server.js";
3
- const LinkObjectSchema = Type.Object({
1
+ import { Type } from "@scalar/typebox";
2
+ import { ServerObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
3
+ const LinkObjectSchemaDefinition = Type.Object({
4
4
  /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
5
5
  operationRef: Type.Optional(Type.String()),
6
6
  /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
@@ -12,9 +12,9 @@ const LinkObjectSchema = Type.Object({
12
12
  /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
13
13
  description: Type.Optional(Type.String()),
14
14
  /** A server object to be used by the target operation. */
15
- server: Type.Optional(ServerObjectSchema)
15
+ server: Type.Optional(ServerObjectRef)
16
16
  });
17
17
  export {
18
- LinkObjectSchema
18
+ LinkObjectSchemaDefinition
19
19
  };
20
20
  //# sourceMappingURL=link.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/link.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerObjectSchema } from './server'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchema = Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectSchema),\n})\n\nexport type LinkObject = Static<typeof LinkObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,0BAA0B;AAS5B,MAAM,mBAAmB,KAAK,OAAO;AAAA;AAAA,EAE1C,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,EAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,QAAQ,KAAK,SAAS,kBAAkB;AAC1C,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { ServerObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchemaDefinition = Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectRef),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,uBAAuB;AASzB,MAAM,6BAA6B,KAAK,OAAO;AAAA;AAAA,EAEpD,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,EAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,QAAQ,KAAK,SAAS,eAAe;AACvC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,170 +1,16 @@
1
- import { type TSchema } from '@sinclair/typebox';
2
- export declare const mediaTypeObjectSchemaBuilder: <E extends TSchema>(encoding: E) => import("@sinclair/typebox").TObject<{
1
+ /**
2
+ * Each Media Type Object provides schema and examples for the media type identified by its key.
3
+ *
4
+ * When example or examples are provided, the example SHOULD match the specified schema and be in the correct format as specified by the media type and its encoding. The example and examples fields are mutually exclusive, and if either is present it SHALL override any example in the schema. See Working With Examples for further guidance regarding the different ways of specifying examples, including non-JSON/YAML values.
5
+ */
6
+ export declare const MediaTypeObjectSchemaDefinition: import("@scalar/typebox").TObject<{
3
7
  /** The schema defining the content of the request, response, parameter, or header. */
4
- schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
5
- type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"null">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"integer">, import("@sinclair/typebox").TLiteral<"object">, import("@sinclair/typebox").TLiteral<"array">, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"null">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"integer">, import("@sinclair/typebox").TLiteral<"object">, import("@sinclair/typebox").TLiteral<"array">]>>]>>;
6
- format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
- title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
- default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
10
- enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
11
- const: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
12
- allOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
13
- oneOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
14
- anyOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
15
- not: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
16
- nullable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17
- contentMediaType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
- contentEncoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
19
- contentSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
20
- deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
21
- discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
22
- propertyName: import("@sinclair/typebox").TString;
23
- mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
24
- }>>;
25
- readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
26
- writeOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
27
- xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
28
- name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
29
- namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
30
- prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
31
- attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
32
- wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
33
- }>>;
34
- externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
35
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
36
- url: import("@sinclair/typebox").TString;
37
- }>>;
38
- example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
39
- examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
40
- 'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
41
- maxItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
42
- minItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
43
- uniqueItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
44
- items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
45
- prefixItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
46
- maxProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
47
- minProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
48
- required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
49
- properties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
50
- additionalProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>]>>;
51
- patternProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
52
- maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
53
- minLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
54
- pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
55
- multipleOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
56
- maximum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
57
- exclusiveMaximum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNumber]>>;
58
- minimum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
59
- exclusiveMinimum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNumber]>>;
60
- }>, import("@sinclair/typebox").TObject<{
61
- 'x-scalar-ignore': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
62
- }>, import("@sinclair/typebox").TObject<{
63
- 'x-internal': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
64
- }>, import("@sinclair/typebox").TObject<{
65
- 'x-variable': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
66
- }>, import("@sinclair/typebox").TObject<{
67
- 'x-additionalPropertiesName': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
68
- }>]>, import("@sinclair/typebox").TObject<{
69
- 'x-scalar-ignore': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
70
- }>, import("@sinclair/typebox").TObject<{
71
- 'x-internal': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
72
- }>, import("@sinclair/typebox").TObject<{
73
- 'x-variable': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
74
- }>, import("@sinclair/typebox").TObject<{
75
- 'x-additionalPropertiesName': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
76
- }>, import("@sinclair/typebox").TObject<{
77
- _resolvedRefSchema: import("@sinclair/typebox").TAny;
78
- }>]>>, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
79
- type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"null">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"integer">, import("@sinclair/typebox").TLiteral<"object">, import("@sinclair/typebox").TLiteral<"array">, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"null">, import("@sinclair/typebox").TLiteral<"boolean">, import("@sinclair/typebox").TLiteral<"string">, import("@sinclair/typebox").TLiteral<"number">, import("@sinclair/typebox").TLiteral<"integer">, import("@sinclair/typebox").TLiteral<"object">, import("@sinclair/typebox").TLiteral<"array">]>>]>>;
80
- format: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
81
- title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
82
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
83
- default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
84
- enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
85
- const: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
86
- allOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
87
- oneOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
88
- anyOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
89
- not: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
90
- nullable: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
91
- contentMediaType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
92
- contentEncoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
93
- contentSchema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
94
- deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
95
- discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
96
- propertyName: import("@sinclair/typebox").TString;
97
- mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
98
- }>>;
99
- readOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
100
- writeOnly: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
101
- xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
102
- name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
103
- namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
104
- prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
105
- attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
106
- wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
107
- }>>;
108
- externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
109
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
110
- url: import("@sinclair/typebox").TString;
111
- }>>;
112
- example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnknown>;
113
- examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
114
- 'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
115
- maxItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
116
- minItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
117
- uniqueItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
118
- items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>;
119
- prefixItems: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
120
- maxProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
121
- minProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
122
- required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
123
- properties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
124
- additionalProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>]>>;
125
- patternProperties: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TThis, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TThis>]>>>;
126
- maxLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
127
- minLength: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
128
- pattern: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
129
- multipleOf: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
130
- maximum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
131
- exclusiveMaximum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNumber]>>;
132
- minimum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
133
- exclusiveMinimum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNumber]>>;
134
- }>, import("@sinclair/typebox").TObject<{
135
- 'x-scalar-ignore': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
136
- }>, import("@sinclair/typebox").TObject<{
137
- 'x-internal': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
138
- }>, import("@sinclair/typebox").TObject<{
139
- 'x-variable': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
140
- }>, import("@sinclair/typebox").TObject<{
141
- 'x-additionalPropertiesName': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
142
- }>]>, import("@sinclair/typebox").TObject<{
143
- 'x-scalar-ignore': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
144
- }>, import("@sinclair/typebox").TObject<{
145
- 'x-internal': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
146
- }>, import("@sinclair/typebox").TObject<{
147
- 'x-variable': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
148
- }>, import("@sinclair/typebox").TObject<{
149
- 'x-additionalPropertiesName': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
150
- }>, import("@sinclair/typebox").TObject<{
151
- _resolvedRefSchema: import("@sinclair/typebox").TAny;
152
- }>]>>>]>>;
8
+ schema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@scalar/typebox").TRef<"SchemaObject">>]>>;
153
9
  /** Example of the media type */
154
- example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
10
+ example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TAny>;
155
11
  /** Examples of the media type */
156
- examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
157
- summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
158
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
159
- value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
160
- externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
161
- }>, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@sinclair/typebox").TObject<{
162
- summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
163
- description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
164
- value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
165
- externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
166
- }>>]>>>;
12
+ examples: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"ExampleObject">, import("../../../schemas/v3.1/strict/reference.js").ReferenceType<import("@scalar/typebox").TRef<"ExampleObject">>]>>>;
167
13
  /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */
168
- encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, E>>;
14
+ encoding: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"EncodingObject">>>;
169
15
  }>;
170
16
  //# sourceMappingURL=media-type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAKtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAEvE,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;IAIjC,gaAAga;;EAEha,CAAA"}
1
+ {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;IAC1C,sFAAsF;;IAEtF,gCAAgC;;IAEhC,iCAAiC;;IAEjC,gaAAga;;EAEha,CAAA"}
@@ -1,20 +1,17 @@
1
- import { Type } from "@sinclair/typebox";
2
- import { ExampleObjectSchema } from "../../../schemas/v3.1/strict/example.js";
1
+ import { Type } from "@scalar/typebox";
2
+ import { EncodingObjectRef, ExampleObjectRef, SchemaObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
3
3
  import { reference } from "../../../schemas/v3.1/strict/reference.js";
4
- import { SchemaObjectSchema } from "../../../schemas/v3.1/strict/schema.js";
5
- const mediaTypeObjectSchemaBuilder = (encoding) => Type.Object({
4
+ const MediaTypeObjectSchemaDefinition = Type.Object({
6
5
  /** The schema defining the content of the request, response, parameter, or header. */
7
- schema: Type.Optional(Type.Union([SchemaObjectSchema, reference(SchemaObjectSchema)])),
6
+ schema: Type.Optional(Type.Union([SchemaObjectRef, reference(SchemaObjectRef)])),
8
7
  /** Example of the media type */
9
8
  example: Type.Optional(Type.Any()),
10
9
  /** Examples of the media type */
11
- examples: Type.Optional(
12
- Type.Record(Type.String(), Type.Union([ExampleObjectSchema, reference(ExampleObjectSchema)]))
13
- ),
10
+ examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),
14
11
  /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */
15
- encoding: Type.Optional(Type.Record(Type.String(), encoding))
12
+ encoding: Type.Optional(Type.Record(Type.String(), EncodingObjectRef))
16
13
  });
17
14
  export {
18
- mediaTypeObjectSchemaBuilder
15
+ MediaTypeObjectSchemaDefinition
19
16
  };
20
17
  //# sourceMappingURL=media-type.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/media-type.ts"],
4
- "sourcesContent": ["import { Type, type TSchema } from '@sinclair/typebox'\nimport { ExampleObjectSchema } from '@/schemas/v3.1/strict/example'\nimport { reference } from '@/schemas/v3.1/strict/reference'\nimport { SchemaObjectSchema } from '@/schemas/v3.1/strict/schema'\n\nexport const mediaTypeObjectSchemaBuilder = <E extends TSchema>(encoding: E) =>\n Type.Object({\n /** The schema defining the content of the request, response, parameter, or header. */\n schema: Type.Optional(Type.Union([SchemaObjectSchema, reference(SchemaObjectSchema)])),\n /** Example of the media type */\n example: Type.Optional(Type.Any()),\n /** Examples of the media type */\n examples: Type.Optional(\n Type.Record(Type.String(), Type.Union([ExampleObjectSchema, reference(ExampleObjectSchema)])),\n ),\n /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */\n encoding: Type.Optional(Type.Record(Type.String(), encoding)),\n })\n"],
5
- "mappings": "AAAA,SAAS,YAA0B;AACnC,SAAS,2BAA2B;AACpC,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AAE5B,MAAM,+BAA+B,CAAoB,aAC9D,KAAK,OAAO;AAAA;AAAA,EAEV,QAAQ,KAAK,SAAS,KAAK,MAAM,CAAC,oBAAoB,UAAU,kBAAkB,CAAC,CAAC,CAAC;AAAA;AAAA,EAErF,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAEjC,UAAU,KAAK;AAAA,IACb,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,qBAAqB,UAAU,mBAAmB,CAAC,CAAC,CAAC;AAAA,EAC9F;AAAA;AAAA,EAEA,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,QAAQ,CAAC;AAC9D,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { EncodingObjectRef, ExampleObjectRef, SchemaObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\nimport { reference } from '@/schemas/v3.1/strict/reference'\n\n/**\n * Each Media Type Object provides schema and examples for the media type identified by its key.\n *\n * When example or examples are provided, the example SHOULD match the specified schema and be in the correct format as specified by the media type and its encoding. The example and examples fields are mutually exclusive, and if either is present it SHALL override any example in the schema. See Working With Examples for further guidance regarding the different ways of specifying examples, including non-JSON/YAML values.\n */\nexport const MediaTypeObjectSchemaDefinition = Type.Object({\n /** The schema defining the content of the request, response, parameter, or header. */\n schema: Type.Optional(Type.Union([SchemaObjectRef, reference(SchemaObjectRef)])),\n /** Example of the media type */\n example: Type.Optional(Type.Any()),\n /** Examples of the media type */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),\n /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */\n encoding: Type.Optional(Type.Record(Type.String(), EncodingObjectRef)),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,mBAAmB,kBAAkB,uBAAuB;AACrE,SAAS,iBAAiB;AAOnB,MAAM,kCAAkC,KAAK,OAAO;AAAA;AAAA,EAEzD,QAAQ,KAAK,SAAS,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE/E,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAEjC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,kBAAkB,UAAU,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE/G,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,iBAAiB,CAAC;AACvE,CAAC;",
6
6
  "names": []
7
7
  }