@scalar/workspace-store 0.11.0 → 0.14.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 (441) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +60 -7
  3. package/dist/client.d.ts +253 -32
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +181 -279
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/apply-selective-updates.d.ts +2 -2
  8. package/dist/helpers/apply-selective-updates.d.ts.map +1 -1
  9. package/dist/helpers/apply-selective-updates.js +2 -2
  10. package/dist/helpers/apply-selective-updates.js.map +2 -2
  11. package/dist/helpers/deep-clone.d.ts +21 -0
  12. package/dist/helpers/deep-clone.d.ts.map +1 -0
  13. package/dist/helpers/deep-clone.js +18 -0
  14. package/dist/helpers/deep-clone.js.map +7 -0
  15. package/dist/helpers/get-resolved-ref.d.ts +19 -0
  16. package/dist/helpers/get-resolved-ref.d.ts.map +1 -0
  17. package/dist/helpers/get-resolved-ref.js +13 -0
  18. package/dist/helpers/get-resolved-ref.js.map +7 -0
  19. package/dist/helpers/merge-object.d.ts +9 -1
  20. package/dist/helpers/merge-object.d.ts.map +1 -1
  21. package/dist/helpers/merge-object.js +10 -2
  22. package/dist/helpers/merge-object.js.map +2 -2
  23. package/dist/helpers/overrides-proxy.d.ts +43 -1
  24. package/dist/helpers/overrides-proxy.d.ts.map +1 -1
  25. package/dist/helpers/overrides-proxy.js +2 -2
  26. package/dist/helpers/overrides-proxy.js.map +2 -2
  27. package/dist/mutators/helpers.d.ts +2 -34830
  28. package/dist/mutators/helpers.d.ts.map +1 -1
  29. package/dist/mutators/helpers.js.map +2 -2
  30. package/dist/mutators/request-example.d.ts.map +1 -1
  31. package/dist/mutators/request-example.js +4 -7
  32. package/dist/mutators/request-example.js.map +2 -2
  33. package/dist/navigation/helpers/traverse-document.js +2 -2
  34. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  35. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  36. package/dist/navigation/helpers/traverse-paths.js +8 -5
  37. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  38. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  39. package/dist/navigation/helpers/traverse-schemas.js +8 -5
  40. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  41. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  42. package/dist/navigation/helpers/traverse-webhooks.js +9 -5
  43. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  44. package/dist/navigation/types.d.ts +3 -3
  45. package/dist/navigation/types.d.ts.map +1 -1
  46. package/dist/plugins.d.ts +93 -0
  47. package/dist/plugins.d.ts.map +1 -0
  48. package/dist/plugins.js +107 -0
  49. package/dist/plugins.js.map +7 -0
  50. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  51. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -0
  52. package/dist/schemas/extensions/document/x-internal.js +8 -0
  53. package/dist/schemas/extensions/document/x-internal.js.map +7 -0
  54. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  55. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -0
  56. package/dist/schemas/extensions/document/x-scalar-icon.js +8 -0
  57. package/dist/schemas/extensions/document/x-scalar-icon.js.map +7 -0
  58. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  59. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -0
  60. package/dist/schemas/extensions/document/x-scalar-ignore.js +8 -0
  61. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +7 -0
  62. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -0
  63. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -0
  64. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js +16 -0
  65. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +7 -0
  66. package/dist/schemas/extensions/operation/x-badge.d.ts +58 -0
  67. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -0
  68. package/dist/schemas/extensions/operation/x-badge.js +41 -0
  69. package/dist/schemas/extensions/operation/x-badge.js.map +7 -0
  70. package/dist/schemas/extensions/operation/x-code-samples.d.ts +23 -0
  71. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -0
  72. package/dist/schemas/extensions/operation/x-code-samples.js +16 -0
  73. package/dist/schemas/extensions/operation/x-code-samples.js.map +7 -0
  74. package/dist/schemas/extensions/operation/x-post-response.d.ts +19 -0
  75. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -0
  76. package/dist/schemas/extensions/operation/x-post-response.js +8 -0
  77. package/dist/schemas/extensions/operation/x-post-response.js.map +7 -0
  78. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +18 -0
  79. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -0
  80. package/dist/schemas/extensions/operation/x-scalar-stability.js +16 -0
  81. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +7 -0
  82. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +11 -0
  83. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -0
  84. package/dist/schemas/extensions/schema/x-additional-properties-name.js +8 -0
  85. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +7 -0
  86. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +17 -0
  87. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -0
  88. package/dist/schemas/extensions/schema/x-enum-descriptions.js +8 -0
  89. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +7 -0
  90. package/dist/schemas/extensions/schema/x-variable.d.ts +4 -0
  91. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -0
  92. package/dist/schemas/extensions/schema/x-variable.js +8 -0
  93. package/dist/schemas/extensions/schema/x-variable.js.map +7 -0
  94. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +17 -0
  95. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -0
  96. package/dist/schemas/extensions/security/x-scalar-credentials-location.js +8 -0
  97. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +7 -0
  98. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +4 -0
  99. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +1 -0
  100. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +8 -0
  101. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +7 -0
  102. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -0
  103. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -0
  104. package/dist/schemas/extensions/security/x-scalar-security-body.js +8 -0
  105. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +7 -0
  106. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -0
  107. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -0
  108. package/dist/schemas/extensions/security/x-scalar-security-query.js +8 -0
  109. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +7 -0
  110. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +18 -0
  111. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -0
  112. package/dist/schemas/extensions/security/x-scalar-security-secrets.js +13 -0
  113. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +7 -0
  114. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -0
  115. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -0
  116. package/dist/schemas/extensions/security/x-tokenName.js +8 -0
  117. package/dist/schemas/extensions/security/x-tokenName.js.map +7 -0
  118. package/dist/schemas/extensions/security/x-use-pkce.d.ts +7 -0
  119. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -0
  120. package/dist/schemas/extensions/security/x-use-pkce.js +13 -0
  121. package/dist/schemas/extensions/security/x-use-pkce.js.map +7 -0
  122. package/dist/schemas/extensions/tag/x-display-name.d.ts +12 -0
  123. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -0
  124. package/dist/schemas/extensions/tag/x-display-name.js +8 -0
  125. package/dist/schemas/extensions/tag/x-display-name.js.map +7 -0
  126. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +28 -0
  127. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -0
  128. package/dist/schemas/extensions/tag/x-tag-groups.js +19 -0
  129. package/dist/schemas/extensions/tag/x-tag-groups.js.map +7 -0
  130. package/dist/schemas/inmemory-workspace.d.ts +144 -8
  131. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  132. package/dist/schemas/inmemory-workspace.js +13 -2
  133. package/dist/schemas/inmemory-workspace.js.map +2 -2
  134. package/dist/schemas/reference-config/index.d.ts +12 -4
  135. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  136. package/dist/schemas/reference-config/index.js +0 -6
  137. package/dist/schemas/reference-config/index.js.map +2 -2
  138. package/dist/schemas/reference-config/settings.d.ts +12 -1
  139. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  140. package/dist/schemas/reference-config/settings.js +9 -2
  141. package/dist/schemas/reference-config/settings.js.map +2 -2
  142. package/dist/schemas/typebox-coerce.d.ts.map +1 -1
  143. package/dist/schemas/typebox-coerce.js +1 -3
  144. package/dist/schemas/typebox-coerce.js.map +2 -2
  145. package/dist/schemas/typebox-types.d.ts +14 -0
  146. package/dist/schemas/typebox-types.d.ts.map +1 -0
  147. package/dist/schemas/typebox-types.js +19 -0
  148. package/dist/schemas/typebox-types.js.map +7 -0
  149. package/dist/schemas/v3.1/loose/callback.d.ts +10 -0
  150. package/dist/schemas/v3.1/loose/callback.d.ts.map +1 -0
  151. package/dist/schemas/v3.1/loose/callback.js +11 -0
  152. package/dist/schemas/v3.1/loose/callback.js.map +7 -0
  153. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts +16 -0
  154. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -0
  155. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js +13 -0
  156. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-cookies.js.map +7 -0
  157. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts +27 -0
  158. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -0
  159. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js +23 -0
  160. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-environments.js.map +7 -0
  161. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts +38 -0
  162. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -0
  163. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js +45 -0
  164. package/dist/schemas/v3.1/loose/client-config-extensions/x-scalar-client-config-request-example.js.map +7 -0
  165. package/dist/schemas/v3.1/loose/components.d.ts +43 -0
  166. package/dist/schemas/v3.1/loose/components.d.ts.map +1 -0
  167. package/dist/schemas/v3.1/loose/components.js +41 -0
  168. package/dist/schemas/v3.1/loose/components.js.map +7 -0
  169. package/dist/schemas/v3.1/loose/contact.d.ts +10 -0
  170. package/dist/schemas/v3.1/loose/contact.d.ts.map +1 -0
  171. package/dist/schemas/v3.1/loose/contact.js +13 -0
  172. package/dist/schemas/v3.1/loose/contact.js.map +7 -0
  173. package/dist/schemas/v3.1/loose/discriminator.d.ts +12 -0
  174. package/dist/schemas/v3.1/loose/discriminator.d.ts.map +1 -0
  175. package/dist/schemas/v3.1/loose/discriminator.js +11 -0
  176. package/dist/schemas/v3.1/loose/discriminator.js.map +7 -0
  177. package/dist/schemas/v3.1/loose/encoding.d.ts +15 -0
  178. package/dist/schemas/v3.1/loose/encoding.d.ts.map +1 -0
  179. package/dist/schemas/v3.1/loose/encoding.js +12 -0
  180. package/dist/schemas/v3.1/loose/encoding.js.map +7 -0
  181. package/dist/schemas/v3.1/loose/example.d.ts +16 -0
  182. package/dist/schemas/v3.1/loose/example.d.ts.map +1 -0
  183. package/dist/schemas/v3.1/loose/example.js +15 -0
  184. package/dist/schemas/v3.1/loose/example.js.map +7 -0
  185. package/dist/schemas/v3.1/loose/external-documentation.d.ts +8 -0
  186. package/dist/schemas/v3.1/loose/external-documentation.d.ts.map +1 -0
  187. package/dist/schemas/v3.1/loose/external-documentation.js +11 -0
  188. package/dist/schemas/v3.1/loose/external-documentation.js.map +7 -0
  189. package/dist/schemas/v3.1/loose/header.d.ts +355 -0
  190. package/dist/schemas/v3.1/loose/header.d.ts.map +1 -0
  191. package/dist/schemas/v3.1/loose/header.js +43 -0
  192. package/dist/schemas/v3.1/loose/header.js.map +7 -0
  193. package/dist/schemas/v3.1/loose/info.d.ts +48 -0
  194. package/dist/schemas/v3.1/loose/info.d.ts.map +1 -0
  195. package/dist/schemas/v3.1/loose/info.js +29 -0
  196. package/dist/schemas/v3.1/loose/info.js.map +7 -0
  197. package/dist/schemas/v3.1/loose/license.d.ts +10 -0
  198. package/dist/schemas/v3.1/loose/license.d.ts.map +1 -0
  199. package/dist/schemas/v3.1/loose/license.js +13 -0
  200. package/dist/schemas/v3.1/loose/license.js.map +7 -0
  201. package/dist/schemas/v3.1/loose/link.d.ts +30 -0
  202. package/dist/schemas/v3.1/loose/link.d.ts.map +1 -0
  203. package/dist/schemas/v3.1/loose/link.js +20 -0
  204. package/dist/schemas/v3.1/loose/link.js.map +7 -0
  205. package/dist/schemas/v3.1/loose/media-header-encoding.d.ts +1012 -0
  206. package/dist/schemas/v3.1/loose/media-header-encoding.d.ts.map +1 -0
  207. package/dist/schemas/v3.1/loose/media-header-encoding.js +19 -0
  208. package/dist/schemas/v3.1/loose/media-header-encoding.js.map +7 -0
  209. package/dist/schemas/v3.1/loose/media-type.d.ts +161 -0
  210. package/dist/schemas/v3.1/loose/media-type.d.ts.map +1 -0
  211. package/dist/schemas/v3.1/loose/media-type.js +18 -0
  212. package/dist/schemas/v3.1/loose/media-type.js.map +7 -0
  213. package/dist/schemas/v3.1/loose/oauth-flow.d.ts +95 -0
  214. package/dist/schemas/v3.1/loose/oauth-flow.d.ts.map +1 -0
  215. package/dist/schemas/v3.1/loose/oauth-flow.js +57 -0
  216. package/dist/schemas/v3.1/loose/oauth-flow.js.map +7 -0
  217. package/dist/schemas/v3.1/loose/oauthflows.d.ts +43 -0
  218. package/dist/schemas/v3.1/loose/oauthflows.d.ts.map +1 -0
  219. package/dist/schemas/v3.1/loose/oauthflows.js +21 -0
  220. package/dist/schemas/v3.1/loose/oauthflows.js.map +7 -0
  221. package/dist/schemas/v3.1/loose/openapi-document.d.ts +115 -0
  222. package/dist/schemas/v3.1/loose/openapi-document.d.ts.map +1 -0
  223. package/dist/schemas/v3.1/loose/openapi-document.js +64 -0
  224. package/dist/schemas/v3.1/loose/openapi-document.js.map +7 -0
  225. package/dist/schemas/v3.1/loose/operation.d.ts +1645 -0
  226. package/dist/schemas/v3.1/loose/operation.d.ts.map +1 -0
  227. package/dist/schemas/v3.1/loose/operation.js +61 -0
  228. package/dist/schemas/v3.1/loose/operation.js.map +7 -0
  229. package/dist/schemas/v3.1/loose/parameter.d.ts +1074 -0
  230. package/dist/schemas/v3.1/loose/parameter.d.ts.map +1 -0
  231. package/dist/schemas/v3.1/loose/parameter.js +54 -0
  232. package/dist/schemas/v3.1/loose/parameter.js.map +7 -0
  233. package/dist/schemas/v3.1/loose/path-item.d.ts +551 -0
  234. package/dist/schemas/v3.1/loose/path-item.d.ts.map +1 -0
  235. package/dist/schemas/v3.1/loose/path-item.js +42 -0
  236. package/dist/schemas/v3.1/loose/path-item.js.map +7 -0
  237. package/dist/schemas/v3.1/loose/path-operations.d.ts +2196 -0
  238. package/dist/schemas/v3.1/loose/path-operations.d.ts.map +1 -0
  239. package/dist/schemas/v3.1/loose/path-operations.js +21 -0
  240. package/dist/schemas/v3.1/loose/path-operations.js.map +7 -0
  241. package/dist/schemas/v3.1/loose/paths.d.ts +20 -0
  242. package/dist/schemas/v3.1/loose/paths.d.ts.map +1 -0
  243. package/dist/schemas/v3.1/loose/paths.js +11 -0
  244. package/dist/schemas/v3.1/loose/paths.js.map +7 -0
  245. package/dist/schemas/v3.1/loose/reference.d.ts +26 -0
  246. package/dist/schemas/v3.1/loose/reference.d.ts.map +1 -0
  247. package/dist/schemas/v3.1/loose/reference.js +24 -0
  248. package/dist/schemas/v3.1/loose/reference.js.map +7 -0
  249. package/dist/schemas/v3.1/loose/request-body.d.ts +339 -0
  250. package/dist/schemas/v3.1/loose/request-body.d.ts.map +1 -0
  251. package/dist/schemas/v3.1/loose/request-body.js +14 -0
  252. package/dist/schemas/v3.1/loose/request-body.js.map +7 -0
  253. package/dist/schemas/v3.1/loose/response.d.ts +698 -0
  254. package/dist/schemas/v3.1/loose/response.d.ts.map +1 -0
  255. package/dist/schemas/v3.1/loose/response.js +18 -0
  256. package/dist/schemas/v3.1/loose/response.js.map +7 -0
  257. package/dist/schemas/v3.1/loose/responses.d.ts +710 -0
  258. package/dist/schemas/v3.1/loose/responses.d.ts.map +1 -0
  259. package/dist/schemas/v3.1/loose/responses.js +11 -0
  260. package/dist/schemas/v3.1/loose/responses.js.map +7 -0
  261. package/dist/schemas/v3.1/loose/schema.d.ts +373 -0
  262. package/dist/schemas/v3.1/loose/schema.d.ts.map +1 -0
  263. package/dist/schemas/v3.1/loose/schema.js +146 -0
  264. package/dist/schemas/v3.1/loose/schema.js.map +7 -0
  265. package/dist/schemas/v3.1/loose/security-requirement.d.ts +11 -0
  266. package/dist/schemas/v3.1/loose/security-requirement.d.ts.map +1 -0
  267. package/dist/schemas/v3.1/loose/security-requirement.js +10 -0
  268. package/dist/schemas/v3.1/loose/security-requirement.js.map +7 -0
  269. package/dist/schemas/v3.1/loose/security-scheme.d.ts +169 -0
  270. package/dist/schemas/v3.1/loose/security-scheme.d.ts.map +1 -0
  271. package/dist/schemas/v3.1/loose/security-scheme.js +64 -0
  272. package/dist/schemas/v3.1/loose/security-scheme.js.map +7 -0
  273. package/dist/schemas/v3.1/loose/server-variable.d.ts +10 -0
  274. package/dist/schemas/v3.1/loose/server-variable.d.ts.map +1 -0
  275. package/dist/schemas/v3.1/loose/server-variable.js +13 -0
  276. package/dist/schemas/v3.1/loose/server-variable.js.map +7 -0
  277. package/dist/schemas/v3.1/loose/server.d.ts +14 -0
  278. package/dist/schemas/v3.1/loose/server.d.ts.map +1 -0
  279. package/dist/schemas/v3.1/loose/server.js +14 -0
  280. package/dist/schemas/v3.1/loose/server.js.map +7 -0
  281. package/dist/schemas/v3.1/loose/tag.d.ts +19 -0
  282. package/dist/schemas/v3.1/loose/tag.d.ts.map +1 -0
  283. package/dist/schemas/v3.1/loose/tag.js +23 -0
  284. package/dist/schemas/v3.1/loose/tag.js.map +7 -0
  285. package/dist/schemas/v3.1/loose/xml.d.ts +18 -0
  286. package/dist/schemas/v3.1/loose/xml.d.ts.map +1 -0
  287. package/dist/schemas/v3.1/loose/xml.js +17 -0
  288. package/dist/schemas/v3.1/loose/xml.js.map +7 -0
  289. package/dist/schemas/v3.1/strict/callback.d.ts +1 -8
  290. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  291. package/dist/schemas/v3.1/strict/callback.js +5 -10
  292. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  293. package/dist/schemas/v3.1/strict/components.d.ts +24 -28
  294. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  295. package/dist/schemas/v3.1/strict/components.js +35 -32
  296. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  297. package/dist/schemas/v3.1/strict/contact.d.ts +2 -2
  298. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  299. package/dist/schemas/v3.1/strict/contact.js +8 -13
  300. package/dist/schemas/v3.1/strict/contact.js.map +2 -2
  301. package/dist/schemas/v3.1/strict/discriminator.d.ts +2 -2
  302. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  303. package/dist/schemas/v3.1/strict/discriminator.js +6 -11
  304. package/dist/schemas/v3.1/strict/discriminator.js.map +2 -2
  305. package/dist/schemas/v3.1/strict/encoding.d.ts +3 -10
  306. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  307. package/dist/schemas/v3.1/strict/encoding.js +7 -12
  308. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  309. package/dist/schemas/v3.1/strict/example.d.ts +2 -2
  310. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  311. package/dist/schemas/v3.1/strict/example.js +10 -15
  312. package/dist/schemas/v3.1/strict/example.js.map +2 -2
  313. package/dist/schemas/v3.1/strict/external-documentation.d.ts +2 -2
  314. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  315. package/dist/schemas/v3.1/strict/external-documentation.js +6 -11
  316. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  317. package/dist/schemas/v3.1/strict/header.d.ts +292 -54
  318. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  319. package/dist/schemas/v3.1/strict/header.js +14 -17
  320. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  321. package/dist/schemas/v3.1/strict/info.d.ts +11 -5
  322. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  323. package/dist/schemas/v3.1/strict/info.js +2 -2
  324. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  325. package/dist/schemas/v3.1/strict/license.d.ts +2 -2
  326. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  327. package/dist/schemas/v3.1/strict/license.js +8 -13
  328. package/dist/schemas/v3.1/strict/license.js.map +2 -2
  329. package/dist/schemas/v3.1/strict/link.d.ts +6 -6
  330. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  331. package/dist/schemas/v3.1/strict/link.js +14 -19
  332. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  333. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +1389 -164
  334. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -1
  335. package/dist/schemas/v3.1/strict/media-type.d.ts +145 -19
  336. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  337. package/dist/schemas/v3.1/strict/media-type.js +13 -20
  338. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  339. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +24 -8
  340. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  341. package/dist/schemas/v3.1/strict/oauth-flow.js +9 -9
  342. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  343. package/dist/schemas/v3.1/strict/oauthflows.d.ts +12 -4
  344. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  345. package/dist/schemas/v3.1/strict/oauthflows.js +10 -13
  346. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  347. package/dist/schemas/v3.1/strict/openapi-document.d.ts +7 -5
  348. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  349. package/dist/schemas/v3.1/strict/openapi-document.js +0 -2
  350. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  351. package/dist/schemas/v3.1/strict/operation.d.ts +4711 -343
  352. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  353. package/dist/schemas/v3.1/strict/operation.js +40 -35
  354. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  355. package/dist/schemas/v3.1/strict/parameter.d.ts +1226 -164
  356. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  357. package/dist/schemas/v3.1/strict/parameter.js +23 -25
  358. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  359. package/dist/schemas/v3.1/strict/path-item.d.ts +1320 -102
  360. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  361. package/dist/schemas/v3.1/strict/path-item.js +35 -40
  362. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  363. package/dist/schemas/v3.1/strict/path-operations.d.ts +10601 -11739
  364. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
  365. package/dist/schemas/v3.1/strict/path-operations.js +3 -1
  366. package/dist/schemas/v3.1/strict/path-operations.js.map +2 -2
  367. package/dist/schemas/v3.1/strict/paths.d.ts +3 -5514
  368. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  369. package/dist/schemas/v3.1/strict/paths.js +4 -9
  370. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  371. package/dist/schemas/v3.1/strict/reference.d.ts +12 -5
  372. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  373. package/dist/schemas/v3.1/strict/reference.js +4 -4
  374. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  375. package/dist/schemas/v3.1/strict/request-body.d.ts +468 -56
  376. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  377. package/dist/schemas/v3.1/strict/request-body.js +8 -13
  378. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  379. package/dist/schemas/v3.1/strict/response.d.ts +1121 -130
  380. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  381. package/dist/schemas/v3.1/strict/response.js +11 -16
  382. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  383. package/dist/schemas/v3.1/strict/responses.d.ts +2352 -139
  384. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  385. package/dist/schemas/v3.1/strict/responses.js +4 -6
  386. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  387. package/dist/schemas/v3.1/strict/schema.d.ts +232 -15
  388. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  389. package/dist/schemas/v3.1/strict/schema.js +206 -31
  390. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  391. package/dist/schemas/v3.1/strict/security-requirement.d.ts +1 -1
  392. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  393. package/dist/schemas/v3.1/strict/security-requirement.js +4 -9
  394. package/dist/schemas/v3.1/strict/security-requirement.js.map +2 -2
  395. package/dist/schemas/v3.1/strict/security-scheme.d.ts +56 -26
  396. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  397. package/dist/schemas/v3.1/strict/security-scheme.js +11 -8
  398. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  399. package/dist/schemas/v3.1/strict/server-variable.d.ts +2 -2
  400. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  401. package/dist/schemas/v3.1/strict/server-variable.js +8 -13
  402. package/dist/schemas/v3.1/strict/server-variable.js.map +2 -2
  403. package/dist/schemas/v3.1/strict/server.d.ts +4 -4
  404. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  405. package/dist/schemas/v3.1/strict/server.js +8 -13
  406. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  407. package/dist/schemas/v3.1/strict/tag.d.ts +7 -3
  408. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  409. package/dist/schemas/v3.1/strict/tag.js +6 -8
  410. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  411. package/dist/schemas/v3.1/strict/xml.d.ts +2 -2
  412. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  413. package/dist/schemas/v3.1/strict/xml.js +12 -17
  414. package/dist/schemas/v3.1/strict/xml.js.map +2 -2
  415. package/dist/schemas/workspace-specification/config.d.ts +10 -2
  416. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  417. package/dist/schemas/workspace-specification/index.d.ts +39 -13
  418. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  419. package/dist/schemas/workspace.d.ts +63 -34
  420. package/dist/schemas/workspace.d.ts.map +1 -1
  421. package/dist/schemas/workspace.js +1 -0
  422. package/dist/schemas/workspace.js.map +2 -2
  423. package/dist/server.d.ts +2 -3290
  424. package/dist/server.d.ts.map +1 -1
  425. package/dist/server.js +1 -1
  426. package/dist/server.js.map +2 -2
  427. package/dist/types.d.ts +0 -6
  428. package/dist/types.d.ts.map +1 -1
  429. package/package.json +22 -12
  430. package/dist/helpers/proxy.d.ts +0 -63
  431. package/dist/helpers/proxy.d.ts.map +0 -1
  432. package/dist/helpers/proxy.js +0 -107
  433. package/dist/helpers/proxy.js.map +0 -7
  434. package/dist/schemas/v3.1/strict/extensions.d.ts +0 -4
  435. package/dist/schemas/v3.1/strict/extensions.d.ts.map +0 -1
  436. package/dist/schemas/v3.1/strict/extensions.js +0 -6
  437. package/dist/schemas/v3.1/strict/extensions.js.map +0 -7
  438. package/dist/schemas/v3.1/type-guard.d.ts +0 -10
  439. package/dist/schemas/v3.1/type-guard.d.ts.map +0 -1
  440. package/dist/schemas/v3.1/type-guard.js +0 -7
  441. package/dist/schemas/v3.1/type-guard.js.map +0 -7
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/schema.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { DiscriminatorObjectSchema } from './discriminator'\nimport { XMLObjectSchema } from './xml'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\nconst SchemaExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tags': Type.Array(Type.String()),\n }),\n)\n\n/**\n * The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12. The empty schema (which allows any instance to validate) MAY be represented by the boolean value true and a schema which allows no instance to validate MAY be represented by the boolean value false.\n *\n * For more information about the keywords, see JSON Schema Core and JSON Schema Validation.\n *\n * Unless stated otherwise, the keyword definitions follow those of JSON Schema and do not add any additional semantics; this includes keywords such as $schema, $id, $ref, and $dynamicRef being URIs rather than URLs. Where JSON Schema indicates that behavior is defined by the application (e.g. for annotations), OAS also defers the definition of semantics to the application consuming the OpenAPI document.\n */\nexport const SchemaObjectSchema = compose(\n Type.Object({\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObjectSchema),\n /** This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. */\n xml: Type.Optional(XMLObjectSchema),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\n /**\n * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.\n *\n * @deprecated The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Any()),\n /**\n * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.\n * Each example should be a valid instance of the schema.\n */\n examples: Type.Optional(Type.Array(Type.Unknown())),\n }),\n ExtensionsSchema,\n SchemaExtensionsSchema,\n Type.Record(Type.String(), Type.Unknown()),\n)\n\nexport type SchemaObject = Static<typeof SchemaObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,iCAAiC;AAC1C,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAExB,MAAM,yBAAyB,KAAK;AAAA,EAClC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,EACpC,CAAC;AACH;AASO,MAAM,qBAAqB;AAAA,EAChC,KAAK,OAAO;AAAA;AAAA,IAEV,eAAe,KAAK,SAAS,yBAAyB;AAAA;AAAA,IAEtD,KAAK,KAAK,SAAS,eAAe;AAAA;AAAA,IAElC,cAAc,KAAK,SAAS,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAM7D,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,IAKjC,UAAU,KAAK,SAAS,KAAK,MAAM,KAAK,QAAQ,CAAC,CAAC;AAAA,EACpD,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,QAAQ,CAAC;AAC3C;",
4
+ "sourcesContent": ["import { Type, type Static, type TAny, type TIntersect, type TObject, type TSchema } from '@sinclair/typebox'\n\nimport { DiscriminatorObjectSchema } from './discriminator'\nimport { XMLObjectSchema } from './xml'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { compose } from '@/schemas/compose'\nimport { XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { reference } from '@/schemas/v3.1/strict/reference'\nimport { XVariableSchema } from '@/schemas/extensions/schema/x-variable'\nimport { XAdditionalPropertiesNameSchema } from '@/schemas/extensions/schema/x-additional-properties-name'\n\n/**\n * Builds the recursive schema schema\n *\n * We hit the typescript limit if we type this out correctly with the sub schemas (string, number etc)\n */\nexport const schemaObjectSchemaBuilder = <S extends TSchema>(schema: S) => {\n const baseSchema = compose(\n Type.Object({\n // Base JSON Schema\n type: Type.Optional(\n Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Literal('string'),\n Type.Literal('number'),\n Type.Literal('integer'),\n Type.Literal('object'),\n Type.Literal('array'),\n Type.Array(\n Type.Union([\n Type.Literal('null'),\n Type.Literal('boolean'),\n Type.Literal('string'),\n Type.Literal('number'),\n Type.Literal('integer'),\n Type.Literal('object'),\n Type.Literal('array'),\n ]),\n ),\n ]),\n ),\n /** Different subtypes */\n format: Type.Optional(\n Type.String(),\n // This is a big performance hit, so we're not using it\n // Type.Union([\n // // Date and time formats\n // Type.Literal('date'),\n // Type.Literal('date-time'),\n // Type.Literal('date-time-local'),\n // Type.Literal('time'),\n // Type.Literal('time-local'),\n // Type.Literal('duration'),\n // Type.Literal('http-date'),\n // // Network formats\n // Type.Literal('email'),\n // Type.Literal('idn-email'),\n // Type.Literal('hostname'),\n // Type.Literal('idn-hostname'),\n // Type.Literal('ipv4'),\n // Type.Literal('ipv6'),\n // Type.Literal('uri'),\n // Type.Literal('uri-reference'),\n // Type.Literal('uri-template'),\n // Type.Literal('iri'),\n // Type.Literal('iri-reference'),\n // Type.Literal('uuid'),\n // // Content formats\n // Type.Literal('binary'),\n // Type.Literal('byte'),\n // Type.Literal('base64url'),\n // Type.Literal('html'),\n // Type.Literal('commonmark'),\n // Type.Literal('password'),\n // Type.Literal('regex'),\n // Type.Literal('json-pointer'),\n // Type.Literal('relative-json-pointer'),\n // Type.Literal('media-range'),\n // // Character formats\n // Type.Literal('char'),\n // // Integer formats\n // Type.Literal('int8'),\n // Type.Literal('int16'),\n // Type.Literal('int32'),\n // Type.Literal('int64'),\n // Type.Literal('uint8'),\n // Type.Literal('uint16'),\n // Type.Literal('uint32'),\n // Type.Literal('uint64'),\n // Type.Literal('double-int'),\n // // Number formats\n // Type.Literal('float'),\n // Type.Literal('double'),\n // Type.Literal('decimal'),\n // Type.Literal('decimal128'),\n // // Structured field string formats\n // Type.Literal('sf-string'),\n // Type.Literal('sf-token'),\n // Type.Literal('sf-binary'),\n // Type.Literal('sf-boolean'),\n // Type.Literal('sf-integer'),\n // Type.Literal('sf-decimal'),\n // ]),\n ),\n /** A title for the schema. */\n title: Type.Optional(Type.String()),\n /** A description of the schema. */\n description: Type.Optional(Type.String()),\n /** Default value for the schema. */\n default: Type.Optional(Type.Unknown()),\n /** Array of allowed values. */\n enum: Type.Optional(Type.Array(Type.Unknown())),\n /** Constant value that must match exactly. */\n const: Type.Optional(Type.Unknown()),\n\n // Composition\n /** All schemas must be valid. */\n allOf: Type.Optional(Type.Array(Type.Union([schema, reference(schema)]))),\n /** Exactly one schema must be valid. */\n oneOf: Type.Optional(Type.Array(Type.Union([schema, reference(schema)]))),\n /** At least one schema must be valid. */\n anyOf: Type.Optional(Type.Array(Type.Union([schema, reference(schema)]))),\n /** Schema must not be valid. */\n not: Type.Optional(Type.Union([schema, reference(schema)])),\n\n // OpenAPI 3.0\n /**\n * Whether the schema is nullable.\n *\n * @deprecated this was deprecated in OpenAPI 3.1 and replaced with type: [null]\n * @see https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0\n */\n nullable: Type.Optional(Type.Boolean()),\n\n // OpenAPI 3.1\n /** Media type for content validation. */\n contentMediaType: Type.Optional(Type.String()),\n /** Content encoding. */\n contentEncoding: Type.Optional(Type.String()),\n /** Schema for content validation. */\n contentSchema: Type.Optional(Type.Union([schema, reference(schema)])),\n /** Whether the schema is deprecated. */\n deprecated: Type.Optional(Type.Boolean()),\n /** Adds support for polymorphism. The discriminator is used to determine which of a set of schemas a payload is expected to satisfy. See Composition and Inheritance for more details. */\n discriminator: Type.Optional(DiscriminatorObjectSchema),\n /** Whether the schema is read-only. */\n readOnly: Type.Optional(Type.Boolean()),\n /** Whether the schema is write-only. */\n writeOnly: Type.Optional(Type.Boolean()),\n /** This MAY be used only on property schemas. It has no effect on root schemas. Adds additional metadata to describe the XML representation of this property. */\n xml: Type.Optional(XMLObjectSchema),\n /** Additional external documentation for this schema. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\n /**\n * A free-form field to include an example of an instance for this schema. To represent examples that cannot be naturally represented in JSON or YAML, a string value can be used to contain the example with escaping where necessary.\n *\n * @deprecated The example field has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.\n */\n example: Type.Optional(Type.Unknown()),\n /**\n * An array of examples of valid instances for this schema. This keyword follows the JSON Schema Draft 2020-12 specification.\n * Each example should be a valid instance of the schema.\n */\n examples: Type.Optional(Type.Array(Type.Unknown())),\n\n // OpenAPI Extensions\n 'x-tags': Type.Optional(Type.Array(Type.String())),\n\n // Array\n /** Maximum number of items in array. */\n maxItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of items in array. */\n minItems: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Whether array items must be unique. */\n uniqueItems: Type.Optional(Type.Boolean()),\n /** Schema for array items. */\n items: Type.Optional(Type.Union([schema, reference(schema)])),\n /** Schema for tuple validation. */\n prefixItems: Type.Optional(Type.Array(Type.Union([schema, reference(schema)]))),\n\n // Object\n /** Maximum number of properties. */\n maxProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum number of properties. */\n minProperties: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Array of required property names. */\n required: Type.Optional(Type.Array(Type.String())),\n /** Object property definitions. */\n properties: Type.Optional(Type.Record(Type.String(), Type.Union([schema, reference(schema)]))),\n /** Schema for additional properties. */\n additionalProperties: Type.Optional(Type.Union([Type.Boolean(), Type.Union([schema, reference(schema)])])),\n /** Properties matching regex patterns. */\n patternProperties: Type.Optional(Type.Record(Type.String(), Type.Union([schema, reference(schema)]))),\n\n // String\n /** Maximum string length. */\n maxLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Minimum string length. */\n minLength: Type.Optional(Type.Integer({ minimum: 0 })),\n /** Regular expression pattern. */\n pattern: Type.Optional(Type.String()),\n\n // Number\n /** Number must be a multiple of this value. */\n multipleOf: Type.Optional(Type.Number()),\n /** Maximum value (inclusive). */\n maximum: Type.Optional(Type.Number()),\n /** Maximum value (exclusive). */\n exclusiveMaximum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n /** Minimum value (inclusive). */\n minimum: Type.Optional(Type.Number()),\n /** Minimum value (exclusive). */\n exclusiveMinimum: Type.Optional(Type.Union([Type.Boolean(), Type.Number()])),\n }),\n XScalarIgnoreSchema,\n XInternalSchema,\n XVariableSchema,\n XAdditionalPropertiesNameSchema,\n )\n\n /**\n * _resolvedRefSchema is required due to everything being optional on the schema so ANY object is a valid schema.\n * With this helper we add a phantom property which will exist everywhere the object has been parsed against the schema.\n */\n return baseSchema as unknown as TIntersect<\n [\n typeof baseSchema,\n typeof XScalarIgnoreSchema,\n typeof XInternalSchema,\n typeof XVariableSchema,\n typeof XAdditionalPropertiesNameSchema,\n TObject<{ _resolvedRefSchema: TAny }>,\n ]\n >\n}\n\nexport const SchemaObjectSchema = Type.Recursive(schemaObjectSchemaBuilder)\nexport type SchemaObject = Static<typeof SchemaObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAiF;AAE1F,SAAS,iCAAiC;AAC1C,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,eAAe;AACxB,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAChC,SAAS,uCAAuC;AAOzC,MAAM,4BAA4B,CAAoB,WAAc;AACzE,QAAM,aAAa;AAAA,IACjB,KAAK,OAAO;AAAA;AAAA,MAEV,MAAM,KAAK;AAAA,QACT,KAAK,MAAM;AAAA,UACT,KAAK,QAAQ,MAAM;AAAA,UACnB,KAAK,QAAQ,SAAS;AAAA,UACtB,KAAK,QAAQ,QAAQ;AAAA,UACrB,KAAK,QAAQ,QAAQ;AAAA,UACrB,KAAK,QAAQ,SAAS;AAAA,UACtB,KAAK,QAAQ,QAAQ;AAAA,UACrB,KAAK,QAAQ,OAAO;AAAA,UACpB,KAAK;AAAA,YACH,KAAK,MAAM;AAAA,cACT,KAAK,QAAQ,MAAM;AAAA,cACnB,KAAK,QAAQ,SAAS;AAAA,cACtB,KAAK,QAAQ,QAAQ;AAAA,cACrB,KAAK,QAAQ,QAAQ;AAAA,cACrB,KAAK,QAAQ,SAAS;AAAA,cACtB,KAAK,QAAQ,QAAQ;AAAA,cACrB,KAAK,QAAQ,OAAO;AAAA,YACtB,CAAC;AAAA,UACH;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,MAEA,QAAQ,KAAK;AAAA,QACX,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MA4Dd;AAAA;AAAA,MAEA,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAElC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAExC,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,MAErC,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,QAAQ,CAAC,CAAC;AAAA;AAAA,MAE9C,OAAO,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA;AAAA,MAInC,OAAO,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,MAExE,OAAO,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,MAExE,OAAO,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,MAExE,KAAK,KAAK,SAAS,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAS1D,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA;AAAA,MAItC,kBAAkB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAE7C,iBAAiB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAE5C,eAAe,KAAK,SAAS,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC;AAAA;AAAA,MAEpE,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,MAExC,eAAe,KAAK,SAAS,yBAAyB;AAAA;AAAA,MAEtD,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,MAEtC,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,MAEvC,KAAK,KAAK,SAAS,eAAe;AAAA;AAAA,MAElC,cAAc,KAAK,SAAS,iCAAiC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAM7D,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,MAKrC,UAAU,KAAK,SAAS,KAAK,MAAM,KAAK,QAAQ,CAAC,CAAC;AAAA;AAAA,MAGlD,UAAU,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA;AAAA,MAIjD,UAAU,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAEpD,UAAU,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAEpD,aAAa,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,MAEzC,OAAO,KAAK,SAAS,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC;AAAA;AAAA,MAE5D,aAAa,KAAK,SAAS,KAAK,MAAM,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA;AAAA,MAI9E,eAAe,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAEzD,eAAe,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAEzD,UAAU,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,MAEjD,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,MAE7F,sBAAsB,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,GAAG,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,MAEzG,mBAAmB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,QAAQ,UAAU,MAAM,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA;AAAA,MAIpG,WAAW,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAErD,WAAW,KAAK,SAAS,KAAK,QAAQ,EAAE,SAAS,EAAE,CAAC,CAAC;AAAA;AAAA,MAErD,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA;AAAA,MAIpC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAEvC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAEpC,kBAAkB,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,GAAG,KAAK,OAAO,CAAC,CAAC,CAAC;AAAA;AAAA,MAE3E,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,MAEpC,kBAAkB,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,GAAG,KAAK,OAAO,CAAC,CAAC,CAAC;AAAA,IAC7E,CAAC;AAAA,IACD;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAMA,SAAO;AAUT;AAEO,MAAM,qBAAqB,KAAK,UAAU,yBAAyB;",
6
6
  "names": []
7
7
  }
@@ -8,6 +8,6 @@ import { type Static } from '@sinclair/typebox';
8
8
  *
9
9
  * An empty Security Requirement Object ({}) indicates anonymous access is supported.
10
10
  */
11
- export declare const SecurityRequirementObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
11
+ export declare const SecurityRequirementObjectSchema: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
12
12
  export type SecurityRequirementObject = Static<typeof SecurityRequirementObjectSchema>;
13
13
  //# sourceMappingURL=security-requirement.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"security-requirement.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-requirement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,2UAO3C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
1
+ {"version":3,"file":"security-requirement.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-requirement.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,mJAI3C,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA"}
@@ -1,13 +1,8 @@
1
- import { compose } from "../../../schemas/compose.js";
2
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
1
  import { Type } from "@sinclair/typebox";
4
- const SecurityRequirementObjectSchema = compose(
5
- Type.Record(
6
- Type.String(),
7
- /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */
8
- Type.Array(Type.String())
9
- ),
10
- ExtensionsSchema
2
+ const SecurityRequirementObjectSchema = Type.Record(
3
+ Type.String(),
4
+ /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type "oauth2" or "openIdConnect", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */
5
+ Type.Array(Type.String())
11
6
  );
12
7
  export {
13
8
  SecurityRequirementObjectSchema
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/security-requirement.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**\n * Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.\n *\n * A Security Requirement Object MAY refer to multiple security schemes in which case all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.\n *\n * When the security field is defined on the OpenAPI Object or Operation Object and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request. This enables support for scenarios where the API allows multiple, independent security schemes.\n *\n * An empty Security Requirement Object ({}) indicates anonymous access is supported.\n */\nexport const SecurityRequirementObjectSchema = compose(\n Type.Record(\n Type.String(),\n /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type \"oauth2\" or \"openIdConnect\", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */\n Type.Array(Type.String()),\n ),\n ExtensionsSchema,\n)\n\nexport type SecurityRequirementObject = Static<typeof SecurityRequirementObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAW3B,MAAM,kCAAkC;AAAA,EAC7C,KAAK;AAAA,IACH,KAAK,OAAO;AAAA;AAAA,IAEZ,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,EAC1B;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\n\n/**\n * Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.\n *\n * A Security Requirement Object MAY refer to multiple security schemes in which case all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.\n *\n * When the security field is defined on the OpenAPI Object or Operation Object and contains multiple Security Requirement Objects, only one of the entries in the list needs to be satisfied to authorize the request. This enables support for scenarios where the API allows multiple, independent security schemes.\n *\n * An empty Security Requirement Object ({}) indicates anonymous access is supported.\n */\nexport const SecurityRequirementObjectSchema = Type.Record(\n Type.String(),\n /** Each name MUST correspond to a security scheme which is declared in the Security Schemes under the Components Object. If the security scheme is of type \"oauth2\" or \"openIdConnect\", then the value is a list of scope names required for the execution, and the list MAY be empty if authorization does not require a specified scope. For other security scheme types, the array MAY contain a list of role names which are required for the execution, but are not otherwise defined or exchanged in-band. */\n Type.Array(Type.String()),\n)\n\nexport type SecurityRequirementObject = Static<typeof SecurityRequirementObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAW3B,MAAM,kCAAkC,KAAK;AAAA,EAClD,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,KAAK,OAAO,CAAC;AAC1B;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,14 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
- export declare const DescriptionSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
2
+ export declare const DescriptionSchema: import("@sinclair/typebox").TObject<{
3
3
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
4
4
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
6
- export declare const ApiKeySchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
5
+ }>;
6
+ export declare const ApiKeySchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
7
7
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
8
8
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
9
+ }>, import("@sinclair/typebox").TObject<{
10
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
+ }>, import("@sinclair/typebox").TObject<{
10
12
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
11
13
  type: import("@sinclair/typebox").TLiteral<"apiKey">;
12
14
  /** REQUIRED. The name of the header, query or cookie parameter to be used. */
@@ -14,10 +16,15 @@ export declare const ApiKeySchema: import("@sinclair/typebox").TIntersect<[impor
14
16
  /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
15
17
  in: import("@sinclair/typebox").TString;
16
18
  }>]>;
17
- export declare const HttpSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
19
+ export declare const HttpSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
18
20
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
19
21
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
20
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
22
+ }>, import("@sinclair/typebox").TObject<{
23
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
+ }>, import("@sinclair/typebox").TObject<{
25
+ 'x-scalar-secret-username': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
+ 'x-scalar-secret-password': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
+ }>, import("@sinclair/typebox").TObject<{
21
28
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
22
29
  type: import("@sinclair/typebox").TLiteral<"http">;
23
30
  /** 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. */
@@ -25,10 +32,10 @@ export declare const HttpSchema: import("@sinclair/typebox").TIntersect<[import(
25
32
  /** 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. */
26
33
  bearerFormat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
34
  }>]>;
28
- export declare const OAuth2: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
35
+ export declare const OAuth2: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
29
36
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
30
37
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
31
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
38
+ }>, import("@sinclair/typebox").TObject<{
32
39
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
33
40
  type: import("@sinclair/typebox").TLiteral<"oauth2">;
34
41
  /** REQUIRED. An object containing configuration information for the flow types supported. */
@@ -36,34 +43,42 @@ export declare const OAuth2: import("@sinclair/typebox").TIntersect<[import("@si
36
43
  implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
37
44
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
38
45
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
46
+ }>, import("@sinclair/typebox").TObject<{
47
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
39
48
  }>, import("@sinclair/typebox").TObject<{
40
49
  authorizationUrl: import("@sinclair/typebox").TString;
41
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
50
+ }>]>>;
42
51
  password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
43
52
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
44
53
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
54
+ }>, import("@sinclair/typebox").TObject<{
55
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
45
56
  }>, import("@sinclair/typebox").TObject<{
46
57
  tokenUrl: import("@sinclair/typebox").TString;
47
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
58
+ }>]>>;
48
59
  clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
49
60
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
50
61
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
62
+ }>, import("@sinclair/typebox").TObject<{
63
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
51
64
  }>, import("@sinclair/typebox").TObject<{
52
65
  tokenUrl: import("@sinclair/typebox").TString;
53
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
66
+ }>]>>;
54
67
  authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
55
68
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
56
69
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
70
+ }>, import("@sinclair/typebox").TObject<{
71
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
57
72
  }>, import("@sinclair/typebox").TObject<{
58
73
  authorizationUrl: import("@sinclair/typebox").TString;
59
74
  tokenUrl: import("@sinclair/typebox").TString;
60
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
75
+ }>]>>;
61
76
  }>;
62
77
  }>]>;
63
- export declare const OpenIdConnect: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
78
+ export declare const OpenIdConnect: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
64
79
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
65
80
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
66
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
81
+ }>, import("@sinclair/typebox").TObject<{
67
82
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
68
83
  type: import("@sinclair/typebox").TLiteral<"openIdConnect">;
69
84
  /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
@@ -74,30 +89,37 @@ export declare const OpenIdConnect: import("@sinclair/typebox").TIntersect<[impo
74
89
  *
75
90
  * 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.
76
91
  */
77
- export declare const SecuritySchemeObjectSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
92
+ export declare const SecuritySchemeObjectSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
78
93
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
79
94
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
80
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
95
+ }>, import("@sinclair/typebox").TObject<{
96
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
97
+ }>, import("@sinclair/typebox").TObject<{
81
98
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
82
99
  type: import("@sinclair/typebox").TLiteral<"apiKey">;
83
100
  /** REQUIRED. The name of the header, query or cookie parameter to be used. */
84
101
  name: import("@sinclair/typebox").TString;
85
102
  /** REQUIRED. The location of the API key. Valid values are "query", "header", or "cookie". */
86
103
  in: import("@sinclair/typebox").TString;
87
- }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
104
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
88
105
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
89
106
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
90
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
107
+ }>, import("@sinclair/typebox").TObject<{
108
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
109
+ }>, import("@sinclair/typebox").TObject<{
110
+ 'x-scalar-secret-username': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
111
+ 'x-scalar-secret-password': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
112
+ }>, import("@sinclair/typebox").TObject<{
91
113
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
92
114
  type: import("@sinclair/typebox").TLiteral<"http">;
93
115
  /** 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. */
94
116
  scheme: import("@sinclair/typebox").TString;
95
117
  /** 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. */
96
118
  bearerFormat: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
97
- }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
119
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
98
120
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
99
121
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
100
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
122
+ }>, import("@sinclair/typebox").TObject<{
101
123
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
102
124
  type: import("@sinclair/typebox").TLiteral<"oauth2">;
103
125
  /** REQUIRED. An object containing configuration information for the flow types supported. */
@@ -105,33 +127,41 @@ export declare const SecuritySchemeObjectSchema: import("@sinclair/typebox").TUn
105
127
  implicit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
106
128
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
107
129
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
130
+ }>, import("@sinclair/typebox").TObject<{
131
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
108
132
  }>, import("@sinclair/typebox").TObject<{
109
133
  authorizationUrl: import("@sinclair/typebox").TString;
110
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
134
+ }>]>>;
111
135
  password: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
112
136
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
113
137
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
138
+ }>, import("@sinclair/typebox").TObject<{
139
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
114
140
  }>, import("@sinclair/typebox").TObject<{
115
141
  tokenUrl: import("@sinclair/typebox").TString;
116
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
142
+ }>]>>;
117
143
  clientCredentials: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
118
144
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
119
145
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
146
+ }>, import("@sinclair/typebox").TObject<{
147
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
120
148
  }>, import("@sinclair/typebox").TObject<{
121
149
  tokenUrl: import("@sinclair/typebox").TString;
122
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
150
+ }>]>>;
123
151
  authorizationCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
124
152
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
125
153
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
154
+ }>, import("@sinclair/typebox").TObject<{
155
+ 'x-scalar-secret-token': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
126
156
  }>, import("@sinclair/typebox").TObject<{
127
157
  authorizationUrl: import("@sinclair/typebox").TString;
128
158
  tokenUrl: import("@sinclair/typebox").TString;
129
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
159
+ }>]>>;
130
160
  }>;
131
- }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
161
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
132
162
  /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
133
163
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
134
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TObject<{
164
+ }>, import("@sinclair/typebox").TObject<{
135
165
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
136
166
  type: import("@sinclair/typebox").TLiteral<"openIdConnect">;
137
167
  /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */
@@ -1 +1 @@
1
- {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,eAAO,MAAM,iBAAiB;IAE1B,qGAAqG;;kJAIxG,CAAA;AAED,eAAO,MAAM,YAAY;IANrB,qGAAqG;;;IASrG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;IAGjG,CAAA;AAED,eAAO,MAAM,UAAU;IAlBnB,qGAAqG;;;IAqBrG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;IAG1M,CAAA;AAED,eAAO,MAAM,MAAM;IA9Bf,qGAAqG;;;IAiCrG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGhG,CAAA;AAED,eAAO,MAAM,aAAa;IAxCtB,qGAAqG;;;IA2CrG,4HAA4H;;IAE5H,+FAA+F;;IAGlG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;IAvDnC,qGAAqG;;;IASrG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAb9F,qGAAqG;;;IAqBrG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IAzBvM,qGAAqG;;;IAiCrG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAnC7F,qGAAqG;;;IA2CrG,4HAA4H;;IAE5H,+FAA+F;;MAUI,CAAA;AAEvG,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"security-scheme.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/security-scheme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAQrD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGhG,CAAA;AAED,eAAO,MAAM,aAAa;IAzCxB,qGAAqG;;;IA4CnG,4HAA4H;;IAE5H,+FAA+F;;IAGlG,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;IAxDrC,qGAAqG;;;;;IAQnG,4HAA4H;;IAE5H,8EAA8E;;IAE9E,8FAA8F;;;IAZhG,qGAAqG;;;;;;;;IAsBnG,4HAA4H;;IAE5H,gQAAgQ;;IAEhQ,uMAAuM;;;IA1BzM,qGAAqG;;;IAkCnG,4HAA4H;;IAE5H,6FAA6F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IApC/F,qGAAqG;;;IA4CnG,4HAA4H;;IAE5H,+FAA+F;;MAUI,CAAA;AAEvG,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
@@ -1,16 +1,17 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { OAuthFlowsObjectSchema } from "./oauthflows.js";
3
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
3
  import { compose } from "../../../schemas/compose.js";
5
- const DescriptionSchema = compose(
6
- Type.Object({
7
- /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
8
- description: Type.Optional(Type.String())
9
- }),
10
- ExtensionsSchema
11
- );
4
+ import {
5
+ XScalarSecretHTTPSchema,
6
+ XScalarSecretTokenSchema
7
+ } from "../../../schemas/extensions/security/x-scalar-security-secrets.js";
8
+ const DescriptionSchema = Type.Object({
9
+ /** A description for security scheme. CommonMark syntax MAY be used for rich text representation. */
10
+ description: Type.Optional(Type.String())
11
+ });
12
12
  const ApiKeySchema = compose(
13
13
  DescriptionSchema,
14
+ XScalarSecretTokenSchema,
14
15
  Type.Object({
15
16
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
16
17
  type: Type.Literal("apiKey"),
@@ -22,6 +23,8 @@ const ApiKeySchema = compose(
22
23
  );
23
24
  const HttpSchema = compose(
24
25
  DescriptionSchema,
26
+ XScalarSecretTokenSchema,
27
+ XScalarSecretHTTPSchema,
25
28
  Type.Object({
26
29
  /** REQUIRED. The type of the security scheme. Valid values are "apiKey", "http", "mutualTLS", "oauth2", "openIdConnect". */
27
30
  type: Type.Literal("http"),
@@ -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, type Static } from '@sinclair/typebox'\nimport { OAuthFlowsObjectSchema } from './oauthflows'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\nexport const DescriptionSchema = compose(\n 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 ExtensionsSchema,\n)\n\nexport const ApiKeySchema = 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('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 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: OAuthFlowsObjectSchema,\n }),\n)\n\nexport const OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchema = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n\nexport type SecuritySchemeObject = Static<typeof SecuritySchemeObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,8BAA8B;AACvC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAEjB,MAAM,oBAAoB;AAAA,EAC/B,KAAK,OAAO;AAAA;AAAA,IAEV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC1C,CAAC;AAAA,EACD;AACF;AAEO,MAAM,eAAe;AAAA,EAC1B;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,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAEO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AACH;AAEO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAOO,MAAM,6BAA6B,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { OAuthFlowsObjectSchema } from './oauthflows'\nimport { compose } from '@/schemas/compose'\nimport {\n XScalarSecretHTTPSchema,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\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: OAuthFlowsObjectSchema,\n }),\n)\n\nexport const OpenIdConnect = compose(\n DescriptionSchema,\n Type.Object({\n /** REQUIRED. The type of the security scheme. Valid values are \"apiKey\", \"http\", \"mutualTLS\", \"oauth2\", \"openIdConnect\". */\n type: Type.Literal('openIdConnect'),\n /** REQUIRED. Well-known URL to discover the [[OpenID-Connect-Discovery]] provider metadata. */\n openIdConnectUrl: Type.String(),\n }),\n)\n\n/**\n * Defines a security scheme that can be used by the operations.\n *\n * Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, client credentials and authorization code) as defined in RFC6749, and [[OpenID-Connect-Core]]. Please note that as of 2020, the implicit flow is about to be deprecated by OAuth 2.0 Security Best Current Practice. Recommended for most use cases is Authorization Code Grant flow with PKCE.\n */\nexport const SecuritySchemeObjectSchema = Type.Union([ApiKeySchema, HttpSchema, OAuth2, OpenIdConnect])\n\nexport type SecuritySchemeObject = Static<typeof SecuritySchemeObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,8BAA8B;AACvC,SAAS,eAAe;AACxB;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEA,MAAM,oBAAoB,KAAK,OAAO;AAAA;AAAA,EAE3C,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;AAEM,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,IAAI,KAAK,OAAO;AAAA,EAClB,CAAC;AACH;AAEO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,MAAM;AAAA;AAAA,IAEzB,QAAQ,KAAK,OAAO;AAAA;AAAA,IAEpB,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC3C,CAAC;AACH;AAEO,MAAM,SAAS;AAAA,EACpB;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,QAAQ;AAAA;AAAA,IAE3B,OAAO;AAAA,EACT,CAAC;AACH;AAEO,MAAM,gBAAgB;AAAA,EAC3B;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,QAAQ,eAAe;AAAA;AAAA,IAElC,kBAAkB,KAAK,OAAO;AAAA,EAChC,CAAC;AACH;AAOO,MAAM,6BAA6B,KAAK,MAAM,CAAC,cAAc,YAAY,QAAQ,aAAa,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,12 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
2
  /** An object representing a Server Variable for server URL template substitution. */
3
- export declare const ServerVariableObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
3
+ export declare const ServerVariableObjectSchema: import("@sinclair/typebox").TObject<{
4
4
  /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */
5
5
  enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
6
6
  /** 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. */
7
7
  default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
9
9
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
10
+ }>;
11
11
  export type ServerVariableObject = Static<typeof ServerVariableObjectSchema>;
12
12
  //# 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,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,qFAAqF;AACrF,eAAO,MAAM,0BAA0B;IAEnC,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;kJAItH,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
1
+ {"version":3,"file":"server-variable.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server-variable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,qFAAqF;AACrF,eAAO,MAAM,0BAA0B;IACrC,kIAAkI;;IAElI,+VAA+V;;IAE/V,mHAAmH;;EAEnH,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA"}
@@ -1,17 +1,12 @@
1
- import { compose } from "../../../schemas/compose.js";
2
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
1
  import { Type } from "@sinclair/typebox";
4
- const ServerVariableObjectSchema = compose(
5
- Type.Object({
6
- /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */
7
- enum: Type.Optional(Type.Array(Type.String())),
8
- /** 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. */
9
- default: Type.Optional(Type.String()),
10
- /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
11
- description: Type.Optional(Type.String())
12
- }),
13
- ExtensionsSchema
14
- );
2
+ const ServerVariableObjectSchema = Type.Object({
3
+ /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */
4
+ enum: Type.Optional(Type.Array(Type.String())),
5
+ /** 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. */
6
+ default: Type.Optional(Type.String()),
7
+ /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */
8
+ description: Type.Optional(Type.String())
9
+ });
15
10
  export {
16
11
  ServerVariableObjectSchema
17
12
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server-variable.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchema = compose(\n 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 ExtensionsSchema,\n)\n\nexport type ServerVariableObject = Static<typeof ServerVariableObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,6BAA6B;AAAA,EACxC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,IAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC1C,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchema = 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\nexport type ServerVariableObject = Static<typeof ServerVariableObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAG3B,MAAM,6BAA6B,KAAK,OAAO;AAAA;AAAA,EAEpD,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,16 +1,16 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
2
  /** An object representing a Server. */
3
- export declare const ServerObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
3
+ export declare const ServerObjectSchema: import("@sinclair/typebox").TObject<{
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: import("@sinclair/typebox").TString;
6
6
  /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
7
7
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
9
- variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
9
+ variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
10
10
  enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
11
11
  default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
12
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>>;
14
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
13
+ }>>>;
14
+ }>;
15
15
  export type ServerObject = Static<typeof ServerObjectSchema>;
16
16
  //# 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":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD,uCAAuC;AACvC,eAAO,MAAM,kBAAkB;IAE3B,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;;;;;kJAIvH,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAGrD,uCAAuC;AACvC,eAAO,MAAM,kBAAkB;IAC7B,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;;;;;EAEpH,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
@@ -1,18 +1,13 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { ServerVariableObjectSchema } from "./server-variable.js";
3
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
- import { compose } from "../../../schemas/compose.js";
5
- const ServerObjectSchema = compose(
6
- Type.Object({
7
- /** 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}. */
8
- url: Type.String(),
9
- /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
10
- description: Type.Optional(Type.String()),
11
- /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
12
- variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectSchema))
13
- }),
14
- ExtensionsSchema
15
- );
3
+ const ServerObjectSchema = Type.Object({
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
+ url: Type.String(),
6
+ /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
7
+ description: Type.Optional(Type.String()),
8
+ /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
9
+ variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectSchema))
10
+ });
16
11
  export {
17
12
  ServerObjectSchema
18
13
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerVariableObjectSchema } from './server-variable'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\n/** An object representing a Server. */\nexport const ServerObjectSchema = compose(\n 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(), ServerVariableObjectSchema)),\n }),\n ExtensionsSchema,\n)\n\nexport type ServerObject = Static<typeof ServerObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,kCAAkC;AAC3C,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAGjB,MAAM,qBAAqB;AAAA,EAChC,KAAK,OAAO;AAAA;AAAA,IAEV,KAAK,KAAK,OAAO;AAAA;AAAA,IAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,0BAA0B,CAAC;AAAA,EACjF,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerVariableObjectSchema } from './server-variable'\n\n/** An object representing a Server. */\nexport const ServerObjectSchema = 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(), ServerVariableObjectSchema)),\n})\n\nexport type ServerObject = Static<typeof ServerObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,kCAAkC;AAGpC,MAAM,qBAAqB,KAAK,OAAO;AAAA;AAAA,EAE5C,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,0BAA0B,CAAC;AACjF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -6,12 +6,16 @@ export declare const TagObjectSchema: import("@sinclair/typebox").TIntersect<[im
6
6
  /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
7
7
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  /** Additional external documentation for this tag. */
9
- externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
9
+ externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
10
10
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
11
  url: import("@sinclair/typebox").TString;
12
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
12
+ }>>;
13
13
  }>, import("@sinclair/typebox").TObject<{
14
14
  'x-displayName': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
15
+ }>, import("@sinclair/typebox").TObject<{
16
+ 'x-internal': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17
+ }>, import("@sinclair/typebox").TObject<{
18
+ 'x-scalar-ignore': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
19
+ }>]>;
16
20
  export type TagObject = Static<typeof TagObjectSchema>;
17
21
  //# 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":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAWrD,sKAAsK;AACtK,eAAO,MAAM,eAAe;IAExB,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;kJAKzD,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAOrD,sKAAsK;AACtK,eAAO,MAAM,eAAe;IAExB,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;;;;IAMzD,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,eAAe,CAAC,CAAA"}