@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
@@ -12,19 +12,25 @@ export declare const InfoObjectSchema: import("@sinclair/typebox").TIntersect<[i
12
12
  /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */
13
13
  termsOfService: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14
14
  /** The contact information for the exposed API. */
15
- contact: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
15
+ contact: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
16
16
  name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17
17
  url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
18
  email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
19
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
19
+ }>>;
20
20
  /** The license information for the exposed API. */
21
- license: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
21
+ license: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
22
22
  name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
23
  identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
24
  url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
25
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
25
+ }>>;
26
26
  /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */
27
27
  version: import("@sinclair/typebox").TString;
28
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
28
+ }>, import("@sinclair/typebox").TObject<{
29
+ 'x-scalar-sdk-installation': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
30
+ lang: import("@sinclair/typebox").TString;
31
+ source: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
32
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
33
+ }>>>;
34
+ }>]>;
29
35
  export type InfoObject = Static<typeof InfoObjectSchema>;
30
36
  //# sourceMappingURL=info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAMrD;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAEzB,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;;;;;IAEnD,mDAAmD;;;;;;IAEnD,oMAAoM;;kJAIvM,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAMrD;;GAEG;AACH,eAAO,MAAM,gBAAgB;IAEzB,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;;;;;IAEnD,mDAAmD;;;;;;IAEnD,oMAAoM;;;;;;;;IAIvM,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { ContactObjectSchema } from "./contact.js";
3
3
  import { LicenseObjectSchema } from "./license.js";
4
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
+ import { XScalarSdkInstallationSchema } from "../../../schemas/extensions/document/x-scalar-sdk-installation.js";
5
5
  import { compose } from "../../../schemas/compose.js";
6
6
  const InfoObjectSchema = compose(
7
7
  Type.Object({
@@ -20,7 +20,7 @@ const InfoObjectSchema = compose(
20
20
  /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */
21
21
  version: Type.String()
22
22
  }),
23
- ExtensionsSchema
23
+ XScalarSdkInstallationSchema
24
24
  );
25
25
  export {
26
26
  InfoObjectSchema
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/info.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ContactObjectSchema } from './contact'\nimport { LicenseObjectSchema } from './license'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectSchema),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectSchema),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n ExtensionsSchema,\n)\n\nexport type InfoObject = Static<typeof InfoObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAKjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE3C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,OAAO;AAAA,EACvB,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ContactObjectSchema } from './contact'\nimport { LicenseObjectSchema } from './license'\nimport { XScalarSdkInstallationSchema } from '@/schemas/extensions/document/x-scalar-sdk-installation'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectSchema),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectSchema),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n XScalarSdkInstallationSchema,\n)\n\nexport type InfoObject = Static<typeof InfoObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,oCAAoC;AAC7C,SAAS,eAAe;AAKjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE3C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,OAAO;AAAA,EACvB,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,12 +1,12 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
2
  /** The license information for the exposed API. */
3
- export declare const LicenseObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
3
+ export declare const LicenseObjectSchema: import("@sinclair/typebox").TObject<{
4
4
  /** REQUIRED. The license name used for the API. */
5
5
  name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6
6
  /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
7
7
  identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
8
  /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */
9
9
  url: 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 LicenseObject = Static<typeof LicenseObjectSchema>;
12
12
  //# sourceMappingURL=license.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/license.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB;IAE5B,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;kJAIjJ,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
1
+ {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/license.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB;IAC9B,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;EAE9I,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
@@ -1,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 LicenseObjectSchema = compose(
5
- Type.Object({
6
- /** REQUIRED. The license name used for the API. */
7
- name: Type.Optional(Type.String()),
8
- /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
9
- identifier: Type.Optional(Type.String()),
10
- /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */
11
- url: Type.Optional(Type.String())
12
- }),
13
- ExtensionsSchema
14
- );
2
+ const LicenseObjectSchema = Type.Object({
3
+ /** REQUIRED. The license name used for the API. */
4
+ name: Type.Optional(Type.String()),
5
+ /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
6
+ identifier: Type.Optional(Type.String()),
7
+ /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */
8
+ url: Type.Optional(Type.String())
9
+ });
15
10
  export {
16
11
  LicenseObjectSchema
17
12
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/license.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/** The license information for the exposed API. */\nexport const LicenseObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type LicenseObject = Static<typeof LicenseObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,sBAAsB;AAAA,EACjC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAClC,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObjectSchema = Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n})\n\nexport type LicenseObject = Static<typeof LicenseObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAG3B,MAAM,sBAAsB,KAAK,OAAO;AAAA;AAAA,EAE7C,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAClC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,7 @@ import { type Static } from '@sinclair/typebox';
6
6
  *
7
7
  * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.
8
8
  */
9
- export declare const LinkObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
9
+ export declare const LinkObjectSchema: import("@sinclair/typebox").TObject<{
10
10
  /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
11
11
  operationRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
12
  /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
@@ -18,15 +18,15 @@ export declare const LinkObjectSchema: import("@sinclair/typebox").TIntersect<[i
18
18
  /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
19
19
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
20
20
  /** A server object to be used by the target operation. */
21
- server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
21
+ server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
22
22
  url: import("@sinclair/typebox").TString;
23
23
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
- variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
24
+ variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
25
25
  enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
26
26
  default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
27
  description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
28
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>>;
29
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
30
- }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
28
+ }>>>;
29
+ }>>;
30
+ }>;
31
31
  export type LinkObject = Static<typeof LinkObjectSchema>;
32
32
  //# sourceMappingURL=link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAKrD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;IAEzB,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;;;;;;;;;kJAI7D,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAGrD;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;IAC3B,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;;;;;;;;;EAE1D,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
@@ -1,24 +1,19 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { ServerObjectSchema } from "./server.js";
3
- import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
- import { compose } from "../../../schemas/compose.js";
5
- const LinkObjectSchema = compose(
6
- Type.Object({
7
- /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
8
- operationRef: Type.Optional(Type.String()),
9
- /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
10
- operationId: Type.Optional(Type.String()),
11
- /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */
12
- parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),
13
- /** A literal value or {expression} to use as a request body when calling the target operation. */
14
- requestBody: Type.Optional(Type.Any()),
15
- /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
16
- description: Type.Optional(Type.String()),
17
- /** A server object to be used by the target operation. */
18
- server: Type.Optional(ServerObjectSchema)
19
- }),
20
- ExtensionsSchema
21
- );
3
+ const LinkObjectSchema = Type.Object({
4
+ /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
5
+ operationRef: Type.Optional(Type.String()),
6
+ /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
7
+ operationId: Type.Optional(Type.String()),
8
+ /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */
9
+ parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),
10
+ /** A literal value or {expression} to use as a request body when calling the target operation. */
11
+ requestBody: Type.Optional(Type.Any()),
12
+ /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
13
+ description: Type.Optional(Type.String()),
14
+ /** A server object to be used by the target operation. */
15
+ server: Type.Optional(ServerObjectSchema)
16
+ });
22
17
  export {
23
18
  LinkObjectSchema
24
19
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/link.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerObjectSchema } from './server'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchema = compose(\n Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectSchema),\n }),\n ExtensionsSchema,\n)\n\nexport type LinkObject = Static<typeof LinkObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AASjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,IAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,IAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,QAAQ,KAAK,SAAS,kBAAkB;AAAA,EAC1C,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerObjectSchema } from './server'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchema = Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectSchema),\n})\n\nexport type LinkObject = Static<typeof LinkObjectSchema>\n"],
5
+ "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,0BAA0B;AAS5B,MAAM,mBAAmB,KAAK,OAAO;AAAA;AAAA,EAE1C,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,EAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,QAAQ,KAAK,SAAS,kBAAkB;AAC1C,CAAC;",
6
6
  "names": []
7
7
  }