@scalar/workspace-store 0.16.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/client.d.ts +1 -1
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -2
  5. package/dist/client.js.map +2 -2
  6. package/dist/mutators/index.d.ts +6 -24
  7. package/dist/mutators/index.d.ts.map +1 -1
  8. package/dist/mutators/index.js +0 -2
  9. package/dist/mutators/index.js.map +2 -2
  10. package/dist/navigation/helpers/traverse-description.d.ts +1 -1
  11. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-description.js.map +1 -1
  13. package/dist/navigation/helpers/traverse-document.d.ts +2 -182
  14. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  16. package/dist/navigation/helpers/traverse-examples.d.ts +8 -0
  17. package/dist/navigation/helpers/traverse-examples.d.ts.map +1 -0
  18. package/dist/navigation/helpers/traverse-examples.js +46 -0
  19. package/dist/navigation/helpers/traverse-examples.js.map +7 -0
  20. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  21. package/dist/navigation/helpers/traverse-paths.js +9 -1
  22. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  23. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  24. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  25. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  27. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-tags.js +1 -0
  29. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  30. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  31. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  32. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  33. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  34. package/dist/navigation/types.d.ts +2 -1
  35. package/dist/navigation/types.d.ts.map +1 -1
  36. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  37. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -1
  38. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  39. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  40. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -1
  41. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  42. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  43. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -1
  44. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  45. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -2
  46. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  47. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  48. package/dist/schemas/extensions/document/x-tags.d.ts +3 -0
  49. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -1
  50. package/dist/schemas/extensions/document/x-tags.js.map +1 -1
  51. package/dist/schemas/extensions/example/x-disabled.d.ts +18 -0
  52. package/dist/schemas/extensions/example/x-disabled.d.ts.map +1 -0
  53. package/dist/schemas/extensions/example/x-disabled.js +8 -0
  54. package/dist/schemas/extensions/example/x-disabled.js.map +7 -0
  55. package/dist/schemas/extensions/operation/x-badge.d.ts +62 -22
  56. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  57. package/dist/schemas/extensions/operation/x-badge.js +24 -3
  58. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  59. package/dist/schemas/extensions/operation/x-code-samples.d.ts +10 -2
  60. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  61. package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
  62. package/dist/schemas/extensions/operation/x-post-response.d.ts +18 -0
  63. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  64. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  65. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +11 -0
  66. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
  67. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  68. package/dist/schemas/extensions/parameter/x-global.d.ts +13 -0
  69. package/dist/schemas/extensions/parameter/x-global.d.ts.map +1 -0
  70. package/dist/schemas/extensions/parameter/x-global.js +8 -0
  71. package/dist/schemas/extensions/parameter/x-global.js.map +7 -0
  72. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +10 -0
  73. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -1
  74. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  75. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +30 -0
  76. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  77. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  78. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +38 -0
  79. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -1
  80. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +1 -1
  81. package/dist/schemas/extensions/schema/x-variable.d.ts +3 -0
  82. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -1
  83. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  84. package/dist/schemas/extensions/security/x-default-scopes.d.ts +16 -0
  85. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -1
  86. package/dist/schemas/extensions/security/x-default-scopes.js.map +1 -1
  87. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +16 -0
  88. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -1
  89. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  90. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -1
  91. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -1
  92. package/dist/schemas/extensions/security/x-scalar-security-body.js +2 -2
  93. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +2 -2
  94. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -1
  95. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -1
  96. package/dist/schemas/extensions/security/x-scalar-security-query.js +2 -2
  97. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +2 -2
  98. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +41 -0
  99. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  100. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  101. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -1
  102. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -1
  103. package/dist/schemas/extensions/security/x-tokenName.js +2 -2
  104. package/dist/schemas/extensions/security/x-tokenName.js.map +2 -2
  105. package/dist/schemas/extensions/security/x-use-pkce.d.ts +6 -0
  106. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  107. package/dist/schemas/extensions/security/x-use-pkce.js.map +1 -1
  108. package/dist/schemas/extensions/tag/x-display-name.d.ts +11 -0
  109. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -1
  110. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  111. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +18 -0
  112. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  113. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  114. package/dist/schemas/inmemory-workspace.d.ts +95 -64
  115. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  116. package/dist/schemas/inmemory-workspace.js +4 -1
  117. package/dist/schemas/inmemory-workspace.js.map +2 -2
  118. package/dist/schemas/navigation.d.ts +70 -1
  119. package/dist/schemas/navigation.d.ts.map +1 -1
  120. package/dist/schemas/navigation.js +17 -11
  121. package/dist/schemas/navigation.js.map +2 -2
  122. package/dist/schemas/reference-config/appearance.d.ts +9 -2
  123. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  124. package/dist/schemas/reference-config/appearance.js.map +2 -2
  125. package/dist/schemas/reference-config/features.d.ts +11 -2
  126. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  127. package/dist/schemas/reference-config/features.js.map +2 -2
  128. package/dist/schemas/reference-config/index.d.ts +58 -34
  129. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  130. package/dist/schemas/reference-config/index.js +5 -5
  131. package/dist/schemas/reference-config/index.js.map +2 -2
  132. package/dist/schemas/reference-config/meta.d.ts +8 -2
  133. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  134. package/dist/schemas/reference-config/meta.js.map +2 -2
  135. package/dist/schemas/reference-config/routing.d.ts +4 -2
  136. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  137. package/dist/schemas/reference-config/routing.js.map +2 -2
  138. package/dist/schemas/reference-config/settings.d.ts +48 -33
  139. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  140. package/dist/schemas/reference-config/settings.js.map +2 -2
  141. package/dist/schemas/v3.1/strict/callback.d.ts +4 -0
  142. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  143. package/dist/schemas/v3.1/strict/callback.js +2 -2
  144. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  145. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +19 -3
  146. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  147. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  148. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +10 -4
  149. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  150. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  151. package/dist/schemas/v3.1/strict/components.d.ts +34 -0
  152. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  153. package/dist/schemas/v3.1/strict/components.js +1 -1
  154. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  155. package/dist/schemas/v3.1/strict/contact.d.ts +9 -0
  156. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  157. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  158. package/dist/schemas/v3.1/strict/discriminator.d.ts +11 -0
  159. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  160. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  161. package/dist/schemas/v3.1/strict/encoding.d.ts +15 -0
  162. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  163. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  164. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  165. package/dist/schemas/v3.1/strict/example.d.ts +28 -2
  166. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  167. package/dist/schemas/v3.1/strict/example.js +15 -10
  168. package/dist/schemas/v3.1/strict/example.js.map +2 -2
  169. package/dist/schemas/v3.1/strict/external-documentation.d.ts +9 -2
  170. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  171. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  172. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  173. package/dist/schemas/v3.1/strict/header.d.ts +41 -0
  174. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  175. package/dist/schemas/v3.1/strict/header.js +2 -2
  176. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  177. package/dist/schemas/v3.1/strict/info.d.ts +24 -2
  178. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/info.js +7 -5
  180. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  181. package/dist/schemas/v3.1/strict/license.d.ts +9 -0
  182. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  183. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  184. package/dist/schemas/v3.1/strict/link.d.ts +22 -0
  185. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  186. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  187. package/dist/schemas/v3.1/strict/media-type.d.ts +19 -0
  188. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  189. package/dist/schemas/v3.1/strict/media-type.js +2 -2
  190. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  191. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +36 -5
  192. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  193. package/dist/schemas/v3.1/strict/oauth-flow.js +13 -7
  194. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  195. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -0
  196. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  197. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  198. package/dist/schemas/v3.1/strict/openapi-document.d.ts +1431 -1068
  199. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  200. package/dist/schemas/v3.1/strict/openapi-document.js +45 -45
  201. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  202. package/dist/schemas/v3.1/strict/operation.d.ts +43 -17
  203. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  204. package/dist/schemas/v3.1/strict/operation.js +1 -3
  205. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  206. package/dist/schemas/v3.1/strict/parameter.d.ts +66 -6
  207. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  208. package/dist/schemas/v3.1/strict/parameter.js +21 -17
  209. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  210. package/dist/schemas/v3.1/strict/path-item.d.ts +38 -0
  211. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  212. package/dist/schemas/v3.1/strict/path-item.js +1 -1
  213. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  214. package/dist/schemas/v3.1/strict/paths.d.ts +5 -0
  215. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  216. package/dist/schemas/v3.1/strict/paths.js +1 -1
  217. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  218. package/dist/schemas/v3.1/strict/reference.d.ts +21 -4
  219. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  220. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  221. package/dist/schemas/v3.1/strict/request-body.d.ts +10 -0
  222. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  223. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  224. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  225. package/dist/schemas/v3.1/strict/response.d.ts +17 -0
  226. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  227. package/dist/schemas/v3.1/strict/response.js +1 -1
  228. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/responses.d.ts +12 -0
  230. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/responses.js +1 -1
  232. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  233. package/dist/schemas/v3.1/strict/schema.d.ts +144 -1
  234. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  235. package/dist/schemas/v3.1/strict/schema.js +40 -60
  236. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  237. package/dist/schemas/v3.1/strict/security-requirement.d.ts +12 -0
  238. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  239. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  240. package/dist/schemas/v3.1/strict/security-scheme.d.ts +37 -0
  241. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  242. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  243. package/dist/schemas/v3.1/strict/server-variable.d.ts +9 -0
  244. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  245. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  246. package/dist/schemas/v3.1/strict/server.d.ts +10 -0
  247. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  248. package/dist/schemas/v3.1/strict/server.js +1 -1
  249. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  250. package/dist/schemas/v3.1/strict/tag.d.ts +13 -0
  251. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  252. package/dist/schemas/v3.1/strict/tag.js +1 -1
  253. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  254. package/dist/schemas/v3.1/strict/type-guards.d.ts +1 -1
  255. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  256. package/dist/schemas/v3.1/strict/type-guards.js.map +1 -1
  257. package/dist/schemas/v3.1/strict/xml.d.ts +17 -0
  258. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  259. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  260. package/dist/schemas/workspace-specification/config.d.ts +45 -33
  261. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  262. package/dist/schemas/workspace-specification/config.js.map +2 -2
  263. package/dist/schemas/workspace-specification/index.d.ts +55 -34
  264. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  265. package/dist/schemas/workspace-specification/index.js.map +2 -2
  266. package/dist/schemas/workspace-specification/info.d.ts +4 -0
  267. package/dist/schemas/workspace-specification/info.d.ts.map +1 -1
  268. package/dist/schemas/workspace-specification/info.js.map +1 -1
  269. package/dist/schemas/workspace.d.ts +310 -218
  270. package/dist/schemas/workspace.d.ts.map +1 -1
  271. package/dist/schemas/workspace.js +11 -3
  272. package/dist/schemas/workspace.js.map +2 -2
  273. package/dist/server.d.ts +6 -5
  274. package/dist/server.d.ts.map +1 -1
  275. package/dist/server.js.map +2 -2
  276. package/package.json +5 -5
  277. package/dist/mutators/request-example.d.ts +0 -21
  278. package/dist/mutators/request-example.d.ts.map +0 -1
  279. package/dist/mutators/request-example.js +0 -55
  280. package/dist/mutators/request-example.js.map +0 -7
  281. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +0 -9
  282. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +0 -1
  283. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +0 -8
  284. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +0 -7
  285. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  286. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  287. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  288. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  289. package/dist/types.d.ts +0 -18
  290. package/dist/types.d.ts.map +0 -1
  291. package/dist/types.js +0 -1
  292. package/dist/types.js.map +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"x-enum-varnames.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/schema/x-enum-varnames.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB;;;EAG9B,CAAA"}
1
+ {"version":3,"file":"x-enum-varnames.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/schema/x-enum-varnames.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,mBAAmB;;;EAG9B,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;;;;;;;;;;;;OAgBG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC5B;;;;;;;;;;;;;;;;OAgBG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAA;CACzB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/schema/x-enum-varnames.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * x-enum-varnames\n *\n * Names the enum values, must be in the same order as the enum values.\n *\n * @example\n * ```yaml\n * enum:\n * - moon\n * - asteroid\n * - comet\n * x-enum-varnames:\n * - Moon\n * - Asteroid\n * - Comet\n * ```\n */\nexport const XEnumVarNamesSchema = Type.Object({\n 'x-enum-varnames': Type.Optional(Type.Array(Type.String())),\n 'x-enumNames': Type.Optional(Type.Array(Type.String())),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * x-enum-varnames\n *\n * Names the enum values, must be in the same order as the enum values.\n *\n * @example\n * ```yaml\n * enum:\n * - moon\n * - asteroid\n * - comet\n * x-enum-varnames:\n * - Moon\n * - Asteroid\n * - Comet\n * ```\n */\nexport const XEnumVarNamesSchema = Type.Object({\n 'x-enum-varnames': Type.Optional(Type.Array(Type.String())),\n 'x-enumNames': Type.Optional(Type.Array(Type.String())),\n})\n\nexport type XEnumVarNames = {\n /**\n * x-enum-varnames\n *\n * Names the enum values, must be in the same order as the enum values.\n *\n * @example\n * ```yaml\n * enum:\n * - moon\n * - asteroid\n * - comet\n * x-enum-varnames:\n * - Moon\n * - Asteroid\n * - Comet\n * ```\n */\n 'x-enum-varnames'?: string[]\n /**\n * x-enumNames\n *\n * Names the enum values, must be in the same order as the enum values.\n *\n * @example\n * ```yaml\n * enum:\n * - moon\n * - asteroid\n * - comet\n * x-enumNames:\n * - Moon\n * - Asteroid\n * - Comet\n * ```\n */\n 'x-enumNames'?: string[]\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAmBd,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,mBAAmB,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA,EAC1D,eAAe,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AACxD,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,7 @@
1
1
  export declare const XVariableSchema: import("@scalar/typebox").TObject<{
2
2
  'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3
3
  }>;
4
+ export type XVariable = {
5
+ 'x-variable'?: string;
6
+ };
4
7
  //# sourceMappingURL=x-variable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-variable.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/schema/x-variable.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;EAE1B,CAAA"}
1
+ {"version":3,"file":"x-variable.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/schema/x-variable.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;EAE1B,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/schema/x-variable.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XVariableSchema = Type.Object({\n 'x-variable': Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XVariableSchema = Type.Object({\n 'x-variable': Type.Optional(Type.String()),\n})\n\nexport type XVariable = {\n 'x-variable'?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kBAAkB,KAAK,OAAO;AAAA,EACzC,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAC3C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -14,4 +14,20 @@
14
14
  export declare const XDefaultScopesSchema: import("@scalar/typebox").TObject<{
15
15
  'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
16
16
  }>;
17
+ export type XDefaultScopes = {
18
+ /**
19
+ * Default selected scopes for the oauth flow
20
+ *
21
+ * @example
22
+ * ```json
23
+ * {
24
+ * "x-default-scopes": [
25
+ * "profile",
26
+ * "email"
27
+ * ]
28
+ * }
29
+ * ```
30
+ */
31
+ 'x-default-scopes'?: string[];
32
+ };
17
33
  //# sourceMappingURL=x-default-scopes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-default-scopes.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-default-scopes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;;EAE/B,CAAA"}
1
+ {"version":3,"file":"x-default-scopes.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-default-scopes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,oBAAoB;;EAE/B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;;;;;;;;OAYG;IACH,kBAAkB,CAAC,EAAE,MAAM,EAAE,CAAA;CAC9B,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-default-scopes.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Default selected scopes for the oauth flow\n *\n * @example\n * ```json\n * {\n * \"x-default-scopes\": [\n * \"profile\",\n * \"email\"\n * ]\n * }\n * ```\n */\nexport const XDefaultScopesSchema = Type.Object({\n 'x-default-scopes': Type.Optional(Type.Array(Type.String())),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Default selected scopes for the oauth flow\n *\n * @example\n * ```json\n * {\n * \"x-default-scopes\": [\n * \"profile\",\n * \"email\"\n * ]\n * }\n * ```\n */\nexport const XDefaultScopesSchema = Type.Object({\n 'x-default-scopes': Type.Optional(Type.Array(Type.String())),\n})\n\nexport type XDefaultScopes = {\n /**\n * Default selected scopes for the oauth flow\n *\n * @example\n * ```json\n * {\n * \"x-default-scopes\": [\n * \"profile\",\n * \"email\"\n * ]\n * }\n * ```\n */\n 'x-default-scopes'?: string[]\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAed,MAAM,uBAAuB,KAAK,OAAO;AAAA,EAC9C,oBAAoB,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAC7D,CAAC;",
6
6
  "names": []
7
7
  }
@@ -14,4 +14,20 @@
14
14
  export declare const XScalarCredentialsLocationSchema: import("@scalar/typebox").TObject<{
15
15
  'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
16
16
  }>;
17
+ /**
18
+ * An OpenAPI extension to specify where OAuth2 credentials should be sent
19
+ *
20
+ * @example
21
+ * ```yaml
22
+ * x-scalar-credentials-location: header
23
+ * ```
24
+ *
25
+ * @example
26
+ * ```yaml
27
+ * x-scalar-credentials-location: body
28
+ * ```
29
+ */
30
+ export type XScalarCredentialsLocation = {
31
+ 'x-scalar-credentials-location'?: 'header' | 'body';
32
+ };
17
33
  //# sourceMappingURL=x-scalar-credentials-location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-credentials-location.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-credentials-location.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gCAAgC;;EAE3C,CAAA"}
1
+ {"version":3,"file":"x-scalar-credentials-location.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-credentials-location.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gCAAgC;;EAE3C,CAAA;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,0BAA0B,GAAG;IACvC,+BAA+B,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;CACpD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-scalar-credentials-location.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to specify where OAuth2 credentials should be sent\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: header\n * ```\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: body\n * ```\n */\nexport const XScalarCredentialsLocationSchema = Type.Object({\n 'x-scalar-credentials-location': Type.Optional(Type.Union([Type.Literal('header'), Type.Literal('body')])),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to specify where OAuth2 credentials should be sent\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: header\n * ```\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: body\n * ```\n */\nexport const XScalarCredentialsLocationSchema = Type.Object({\n 'x-scalar-credentials-location': Type.Optional(Type.Union([Type.Literal('header'), Type.Literal('body')])),\n})\n\n/**\n * An OpenAPI extension to specify where OAuth2 credentials should be sent\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: header\n * ```\n *\n * @example\n * ```yaml\n * x-scalar-credentials-location: body\n * ```\n */\nexport type XScalarCredentialsLocation = {\n 'x-scalar-credentials-location'?: 'header' | 'body'\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAed,MAAM,mCAAmC,KAAK,OAAO;AAAA,EAC1D,iCAAiC,KAAK,SAAS,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,MAAM,CAAC,CAAC,CAAC;AAC3G,CAAC;",
6
6
  "names": []
7
7
  }
@@ -9,7 +9,21 @@
9
9
  * }
10
10
  * ```
11
11
  */
12
- export declare const XScalarSecurityBody: import("@scalar/typebox").TObject<{
12
+ export declare const XScalarSecurityBodySchema: import("@scalar/typebox").TObject<{
13
13
  'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
14
14
  }>;
15
+ /**
16
+ * An OpenAPI extension to set any additional body parameters for the OAuth token request
17
+ *
18
+ * @example
19
+ * ```yaml
20
+ * x-scalar-security-body: {
21
+ * audience: 'https://api.example.com',
22
+ * resource: 'user-profile'
23
+ * }
24
+ * ```
25
+ */
26
+ export type XScalarSecurityBody = {
27
+ 'x-scalar-security-body'?: Record<string, string>;
28
+ };
15
29
  //# sourceMappingURL=x-scalar-security-body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-security-body.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;EAE9B,CAAA"}
1
+ {"version":3,"file":"x-scalar-security-body.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-body.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB;;EAEpC,CAAA;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,wBAAwB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAClD,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { Type } from "@scalar/typebox";
2
- const XScalarSecurityBody = Type.Object({
2
+ const XScalarSecurityBodySchema = Type.Object({
3
3
  "x-scalar-security-body": Type.Optional(Type.Record(Type.String(), Type.String()))
4
4
  });
5
5
  export {
6
- XScalarSecurityBody
6
+ XScalarSecurityBodySchema
7
7
  };
8
8
  //# sourceMappingURL=x-scalar-security-body.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-scalar-security-body.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to set any additional body parameters for the OAuth token request\n *\n * @example\n * ```yaml\n * x-scalar-security-body: {\n * audience: 'https://api.example.com',\n * resource: 'user-profile'\n * }\n * ```\n */\nexport const XScalarSecurityBody = Type.Object({\n 'x-scalar-security-body': Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAad,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,0BAA0B,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AACnF,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to set any additional body parameters for the OAuth token request\n *\n * @example\n * ```yaml\n * x-scalar-security-body: {\n * audience: 'https://api.example.com',\n * resource: 'user-profile'\n * }\n * ```\n */\nexport const XScalarSecurityBodySchema = Type.Object({\n 'x-scalar-security-body': Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n\n/**\n * An OpenAPI extension to set any additional body parameters for the OAuth token request\n *\n * @example\n * ```yaml\n * x-scalar-security-body: {\n * audience: 'https://api.example.com',\n * resource: 'user-profile'\n * }\n * ```\n */\nexport type XScalarSecurityBody = {\n 'x-scalar-security-body'?: Record<string, string>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAad,MAAM,4BAA4B,KAAK,OAAO;AAAA,EACnD,0BAA0B,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AACnF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -9,7 +9,21 @@
9
9
  * }
10
10
  * ```
11
11
  */
12
- export declare const XScalarSecurityQuery: import("@scalar/typebox").TObject<{
12
+ export declare const XScalarSecurityQuerySchema: import("@scalar/typebox").TObject<{
13
13
  'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
14
14
  }>;
15
+ /**
16
+ * An OpenAPI extension set any query parameters for the OAuth authorize request
17
+ *
18
+ * @example
19
+ * ```yaml
20
+ * x-scalar-security-query: {
21
+ * prompt: 'consent',
22
+ * audience: 'scalar'
23
+ * }
24
+ * ```
25
+ */
26
+ export type XScalarSecurityQuery = {
27
+ 'x-scalar-security-query'?: Record<string, string>;
28
+ };
15
29
  //# sourceMappingURL=x-scalar-security-query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-security-query.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-query.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,oBAAoB;;EAE/B,CAAA"}
1
+ {"version":3,"file":"x-scalar-security-query.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-query.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,0BAA0B;;EAErC,CAAA;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,yBAAyB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACnD,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { Type } from "@scalar/typebox";
2
- const XScalarSecurityQuery = Type.Object({
2
+ const XScalarSecurityQuerySchema = Type.Object({
3
3
  "x-scalar-security-query": Type.Optional(Type.Record(Type.String(), Type.String()))
4
4
  });
5
5
  export {
6
- XScalarSecurityQuery
6
+ XScalarSecurityQuerySchema
7
7
  };
8
8
  //# sourceMappingURL=x-scalar-security-query.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-scalar-security-query.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension set any query parameters for the OAuth authorize request\n *\n * @example\n * ```yaml\n * x-scalar-security-query: {\n * prompt: 'consent',\n * audience: 'scalar'\n * }\n * ```\n */\nexport const XScalarSecurityQuery = Type.Object({\n 'x-scalar-security-query': Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAad,MAAM,uBAAuB,KAAK,OAAO;AAAA,EAC9C,2BAA2B,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AACpF,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension set any query parameters for the OAuth authorize request\n *\n * @example\n * ```yaml\n * x-scalar-security-query: {\n * prompt: 'consent',\n * audience: 'scalar'\n * }\n * ```\n */\nexport const XScalarSecurityQuerySchema = Type.Object({\n 'x-scalar-security-query': Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n\n/**\n * An OpenAPI extension set any query parameters for the OAuth authorize request\n *\n * @example\n * ```yaml\n * x-scalar-security-query: {\n * prompt: 'consent',\n * audience: 'scalar'\n * }\n * ```\n */\nexport type XScalarSecurityQuery = {\n 'x-scalar-security-query'?: Record<string, string>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAad,MAAM,6BAA6B,KAAK,OAAO;AAAA,EACpD,2BAA2B,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AACpF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -6,6 +6,14 @@
6
6
  export declare const XScalarSecretTokenSchema: import("@scalar/typebox").TObject<{
7
7
  'x-scalar-secret-token': import("@scalar/typebox").TString;
8
8
  }>;
9
+ /**
10
+ * A scalar secret token
11
+ *
12
+ * We should not export this when exporting the document
13
+ */
14
+ export type XScalarSecretToken = {
15
+ 'x-scalar-secret-token': string;
16
+ };
9
17
  /**
10
18
  * Username and password for HTTP authentication
11
19
  *
@@ -15,6 +23,15 @@ export declare const XScalarSecretHTTPSchema: import("@scalar/typebox").TObject<
15
23
  'x-scalar-secret-username': import("@scalar/typebox").TString;
16
24
  'x-scalar-secret-password': import("@scalar/typebox").TString;
17
25
  }>;
26
+ /**
27
+ * Username and password for HTTP authentication
28
+ *
29
+ * We should not export this when exporting the document
30
+ */
31
+ export type XScalarSecretHTTP = {
32
+ 'x-scalar-secret-username': string;
33
+ 'x-scalar-secret-password': string;
34
+ };
18
35
  /**
19
36
  * Oauth client secret
20
37
  *
@@ -23,6 +40,14 @@ export declare const XScalarSecretHTTPSchema: import("@scalar/typebox").TObject<
23
40
  export declare const XScalarSecretClientSecretSchema: import("@scalar/typebox").TObject<{
24
41
  'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
25
42
  }>;
43
+ /**
44
+ * Oauth client secret
45
+ *
46
+ * We should not export this when exporting the document
47
+ */
48
+ export type XScalarSecretClientSecret = {
49
+ 'x-scalar-secret-client-secret': string;
50
+ };
26
51
  /**
27
52
  * Oauth client ID
28
53
  *
@@ -31,6 +56,14 @@ export declare const XScalarSecretClientSecretSchema: import("@scalar/typebox").
31
56
  export declare const XScalarSecretClientIdSchema: import("@scalar/typebox").TObject<{
32
57
  'x-scalar-secret-client-id': import("@scalar/typebox").TString;
33
58
  }>;
59
+ /**
60
+ * Oauth client ID
61
+ *
62
+ * We should not export this when exporting the document
63
+ */
64
+ export type XScalarSecretClientId = {
65
+ 'x-scalar-secret-client-id': string;
66
+ };
34
67
  /**
35
68
  * Oauth Redirect URI
36
69
  *
@@ -39,4 +72,12 @@ export declare const XScalarSecretClientIdSchema: import("@scalar/typebox").TObj
39
72
  export declare const XScalarSecretRedirectUriSchema: import("@scalar/typebox").TObject<{
40
73
  'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
41
74
  }>;
75
+ /**
76
+ * Oauth Redirect URI
77
+ *
78
+ * We should not export this when exporting the document
79
+ */
80
+ export type XScalarSecretRedirectUri = {
81
+ 'x-scalar-secret-redirect-uri': string;
82
+ };
42
83
  //# sourceMappingURL=x-scalar-security-secrets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-security-secrets.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-secrets.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;EAEnC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;EAGlC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;EAE1C,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;EAEtC,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;EAEzC,CAAA"}
1
+ {"version":3,"file":"x-scalar-security-secrets.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-scalar-security-secrets.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB;;EAEnC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,uBAAuB,EAAE,MAAM,CAAA;CAChC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;EAGlC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,0BAA0B,EAAE,MAAM,CAAA;IAClC,0BAA0B,EAAE,MAAM,CAAA;CACnC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;EAE1C,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,+BAA+B,EAAE,MAAM,CAAA;CACxC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,2BAA2B;;EAEtC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,2BAA2B,EAAE,MAAM,CAAA;CACpC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;EAEzC,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,8BAA8B,EAAE,MAAM,CAAA;CACvC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-scalar-security-secrets.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A scalar secret token\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretTokenSchema = Type.Object({\n 'x-scalar-secret-token': Type.String(),\n})\n\n/**\n * Username and password for HTTP authentication\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretHTTPSchema = Type.Object({\n 'x-scalar-secret-username': Type.String(),\n 'x-scalar-secret-password': Type.String(),\n})\n\n/**\n * Oauth client secret\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretClientSecretSchema = Type.Object({\n 'x-scalar-secret-client-secret': Type.String(),\n})\n\n/**\n * Oauth client ID\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretClientIdSchema = Type.Object({\n 'x-scalar-secret-client-id': Type.String(),\n})\n\n/**\n * Oauth Redirect URI\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretRedirectUriSchema = Type.Object({\n 'x-scalar-secret-redirect-uri': Type.String(),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,yBAAyB,KAAK,OAAO;AACvC,CAAC;AAOM,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,4BAA4B,KAAK,OAAO;AAAA,EACxC,4BAA4B,KAAK,OAAO;AAC1C,CAAC;AAOM,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,iCAAiC,KAAK,OAAO;AAC/C,CAAC;AAOM,MAAM,8BAA8B,KAAK,OAAO;AAAA,EACrD,6BAA6B,KAAK,OAAO;AAC3C,CAAC;AAOM,MAAM,iCAAiC,KAAK,OAAO;AAAA,EACxD,gCAAgC,KAAK,OAAO;AAC9C,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A scalar secret token\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretTokenSchema = Type.Object({\n 'x-scalar-secret-token': Type.String(),\n})\n\n/**\n * A scalar secret token\n *\n * We should not export this when exporting the document\n */\nexport type XScalarSecretToken = {\n 'x-scalar-secret-token': string\n}\n\n/**\n * Username and password for HTTP authentication\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretHTTPSchema = Type.Object({\n 'x-scalar-secret-username': Type.String(),\n 'x-scalar-secret-password': Type.String(),\n})\n\n/**\n * Username and password for HTTP authentication\n *\n * We should not export this when exporting the document\n */\nexport type XScalarSecretHTTP = {\n 'x-scalar-secret-username': string\n 'x-scalar-secret-password': string\n}\n\n/**\n * Oauth client secret\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretClientSecretSchema = Type.Object({\n 'x-scalar-secret-client-secret': Type.String(),\n})\n\n/**\n * Oauth client secret\n *\n * We should not export this when exporting the document\n */\nexport type XScalarSecretClientSecret = {\n 'x-scalar-secret-client-secret': string\n}\n\n/**\n * Oauth client ID\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretClientIdSchema = Type.Object({\n 'x-scalar-secret-client-id': Type.String(),\n})\n\n/**\n * Oauth client ID\n *\n * We should not export this when exporting the document\n */\nexport type XScalarSecretClientId = {\n 'x-scalar-secret-client-id': string\n}\n\n/**\n * Oauth Redirect URI\n *\n * We should not export this when exporting the document\n */\nexport const XScalarSecretRedirectUriSchema = Type.Object({\n 'x-scalar-secret-redirect-uri': Type.String(),\n})\n\n/**\n * Oauth Redirect URI\n *\n * We should not export this when exporting the document\n */\nexport type XScalarSecretRedirectUri = {\n 'x-scalar-secret-redirect-uri': string\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,yBAAyB,KAAK,OAAO;AACvC,CAAC;AAgBM,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,4BAA4B,KAAK,OAAO;AAAA,EACxC,4BAA4B,KAAK,OAAO;AAC1C,CAAC;AAiBM,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,iCAAiC,KAAK,OAAO;AAC/C,CAAC;AAgBM,MAAM,8BAA8B,KAAK,OAAO;AAAA,EACrD,6BAA6B,KAAK,OAAO;AAC3C,CAAC;AAgBM,MAAM,iCAAiC,KAAK,OAAO;AAAA,EACxD,gCAAgC,KAAK,OAAO;AAC9C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -6,7 +6,18 @@
6
6
  * x-tokenName: 'custom_access_token'
7
7
  * ```
8
8
  */
9
- export declare const XTokenName: import("@scalar/typebox").TObject<{
9
+ export declare const XTokenNameSchema: import("@scalar/typebox").TObject<{
10
10
  'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
11
11
  }>;
12
+ /**
13
+ * An OpenAPI extension to specify a custom token name for OAuth2 flows
14
+ *
15
+ * @example
16
+ * ```yaml
17
+ * x-tokenName: 'custom_access_token'
18
+ * ```
19
+ */
20
+ export type XTokenName = {
21
+ 'x-tokenName'?: string;
22
+ };
12
23
  //# sourceMappingURL=x-tokenName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-tokenName.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-tokenName.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;EAErB,CAAA"}
1
+ {"version":3,"file":"x-tokenName.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-tokenName.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB;;EAE3B,CAAA;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import { Type } from "@scalar/typebox";
2
- const XTokenName = Type.Object({
2
+ const XTokenNameSchema = Type.Object({
3
3
  "x-tokenName": Type.Optional(Type.String())
4
4
  });
5
5
  export {
6
- XTokenName
6
+ XTokenNameSchema
7
7
  };
8
8
  //# sourceMappingURL=x-tokenName.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-tokenName.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to specify a custom token name for OAuth2 flows\n *\n * @example\n * ```yaml\n * x-tokenName: 'custom_access_token'\n * ```\n */\nexport const XTokenName = Type.Object({\n 'x-tokenName': Type.Optional(Type.String()),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAUd,MAAM,aAAa,KAAK,OAAO;AAAA,EACpC,eAAe,KAAK,SAAS,KAAK,OAAO,CAAC;AAC5C,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to specify a custom token name for OAuth2 flows\n *\n * @example\n * ```yaml\n * x-tokenName: 'custom_access_token'\n * ```\n */\nexport const XTokenNameSchema = Type.Object({\n 'x-tokenName': Type.Optional(Type.String()),\n})\n\n/**\n * An OpenAPI extension to specify a custom token name for OAuth2 flows\n *\n * @example\n * ```yaml\n * x-tokenName: 'custom_access_token'\n * ```\n */\nexport type XTokenName = {\n 'x-tokenName'?: string\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAUd,MAAM,mBAAmB,KAAK,OAAO;AAAA,EAC1C,eAAe,KAAK,SAAS,KAAK,OAAO,CAAC;AAC5C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -4,4 +4,10 @@ export declare const XusePkceSchema: import("@scalar/typebox").TObject<{
4
4
  */
5
5
  'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
6
6
  }>;
7
+ export type XusePkce = {
8
+ /**
9
+ * Use x-usePkce to enable Proof Key for Code Exchange (PKCE) for the Oauth2 authorization code flow.
10
+ */
11
+ 'x-usePkce': 'SHA-256' | 'plain' | 'no';
12
+ };
7
13
  //# sourceMappingURL=x-use-pkce.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-use-pkce.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-use-pkce.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;IACzB;;OAEG;;EAEH,CAAA"}
1
+ {"version":3,"file":"x-use-pkce.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/security/x-use-pkce.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;IACzB;;OAEG;;EAEH,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG;IACrB;;OAEG;IACH,WAAW,EAAE,SAAS,GAAG,OAAO,GAAG,IAAI,CAAA;CACxC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/security/x-use-pkce.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XusePkceSchema = Type.Object({\n /**\n * Use x-usePkce to enable Proof Key for Code Exchange (PKCE) for the Oauth2 authorization code flow.\n */\n 'x-usePkce': Type.Union([Type.Literal('SHA-256'), Type.Literal('plain'), Type.Literal('no')], { default: 'no' }),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XusePkceSchema = Type.Object({\n /**\n * Use x-usePkce to enable Proof Key for Code Exchange (PKCE) for the Oauth2 authorization code flow.\n */\n 'x-usePkce': Type.Union([Type.Literal('SHA-256'), Type.Literal('plain'), Type.Literal('no')], { default: 'no' }),\n})\n\nexport type XusePkce = {\n /**\n * Use x-usePkce to enable Proof Key for Code Exchange (PKCE) for the Oauth2 authorization code flow.\n */\n 'x-usePkce': 'SHA-256' | 'plain' | 'no'\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIxC,aAAa,KAAK,MAAM,CAAC,KAAK,QAAQ,SAAS,GAAG,KAAK,QAAQ,OAAO,GAAG,KAAK,QAAQ,IAAI,CAAC,GAAG,EAAE,SAAS,KAAK,CAAC;AACjH,CAAC;",
6
6
  "names": []
7
7
  }
@@ -9,4 +9,15 @@
9
9
  export declare const XDisplayNameSchema: import("@scalar/typebox").TObject<{
10
10
  'x-displayName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
11
11
  }>;
12
+ /**
13
+ * An OpenAPI extension to overwrite tag names with a display-friendly version
14
+ *
15
+ * @example
16
+ * ```yaml
17
+ * x-displayName: planets
18
+ * ```
19
+ */
20
+ export type XDisplayName = {
21
+ 'x-displayName'?: string;
22
+ };
12
23
  //# sourceMappingURL=x-display-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-display-name.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-display-name.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;EAE7B,CAAA"}
1
+ {"version":3,"file":"x-display-name.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-display-name.ts"],"names":[],"mappings":"AAEA;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB;;EAE7B,CAAA;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/tag/x-display-name.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to overwrite tag names with a display-friendly version\n *\n * @example\n * ```yaml\n * x-displayName: planets\n * ```\n */\nexport const XDisplayNameSchema = Type.Object({\n 'x-displayName': Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * An OpenAPI extension to overwrite tag names with a display-friendly version\n *\n * @example\n * ```yaml\n * x-displayName: planets\n * ```\n */\nexport const XDisplayNameSchema = Type.Object({\n 'x-displayName': Type.Optional(Type.String()),\n})\n\n/**\n * An OpenAPI extension to overwrite tag names with a display-friendly version\n *\n * @example\n * ```yaml\n * x-displayName: planets\n * ```\n */\nexport type XDisplayName = {\n 'x-displayName'?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAUd,MAAM,qBAAqB,KAAK,OAAO;AAAA,EAC5C,iBAAiB,KAAK,SAAS,KAAK,OAAO,CAAC;AAC9C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -8,6 +8,16 @@ export declare const XTagGroupSchema: import("@scalar/typebox").TObject<{
8
8
  */
9
9
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
10
10
  }>;
11
+ export type XTagGroup = {
12
+ /**
13
+ * The group name.
14
+ */
15
+ name: string;
16
+ /**
17
+ * List of tags to include in this group.
18
+ */
19
+ tags: string[];
20
+ };
11
21
  /**
12
22
  * x-tagGroups
13
23
  *
@@ -25,4 +35,12 @@ export declare const XTagGroupsSchema: import("@scalar/typebox").TObject<{
25
35
  tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
26
36
  }>>>;
27
37
  }>;
38
+ export type XTagGroups = {
39
+ /**
40
+ * x-tagGroups
41
+ *
42
+ * List of tags to include in this group.
43
+ */
44
+ 'x-tagGroups'?: XTagGroup[];
45
+ };
28
46
  //# sourceMappingURL=x-tag-groups.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-tag-groups.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;EAEH,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;QAf3B;;WAEG;;QAEH;;WAEG;;;EAWH,CAAA"}
1
+ {"version":3,"file":"x-tag-groups.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;IAC1B;;OAEG;;IAEH;;OAEG;;EAEH,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAA;CACf,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB;;QA1B3B;;WAEG;;QAEH;;WAEG;;;EAsBH,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,SAAS,EAAE,CAAA;CAC5B,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/extensions/tag/x-tag-groups.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XTagGroupSchema = Type.Object({\n /**\n * The group name.\n */\n name: Type.String(),\n /**\n * List of tags to include in this group.\n */\n tags: Type.Array(Type.String()),\n})\n\n/**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\nexport const XTagGroupsSchema = Type.Object({\n 'x-tagGroups': Type.Optional(Type.Array(XTagGroupSchema)),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIzC,MAAM,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlB,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAChC,CAAC;AAOM,MAAM,mBAAmB,KAAK,OAAO;AAAA,EAC1C,eAAe,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAC1D,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XTagGroupSchema = Type.Object({\n /**\n * The group name.\n */\n name: Type.String(),\n /**\n * List of tags to include in this group.\n */\n tags: Type.Array(Type.String()),\n})\n\nexport type XTagGroup = {\n /**\n * The group name.\n */\n name: string\n /**\n * List of tags to include in this group.\n */\n tags: string[]\n}\n\n/**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\nexport const XTagGroupsSchema = Type.Object({\n 'x-tagGroups': Type.Optional(Type.Array(XTagGroupSchema)),\n})\n\nexport type XTagGroups = {\n /**\n * x-tagGroups\n *\n * List of tags to include in this group.\n */\n 'x-tagGroups'?: XTagGroup[]\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kBAAkB,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIzC,MAAM,KAAK,OAAO;AAAA;AAAA;AAAA;AAAA,EAIlB,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAChC,CAAC;AAkBM,MAAM,mBAAmB,KAAK,OAAO;AAAA,EAC1C,eAAe,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAC1D,CAAC;",
6
6
  "names": []
7
7
  }