@scalar/workspace-store 0.16.0 → 0.16.2

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 (278) hide show
  1. package/CHANGELOG.md +19 -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-paths.d.ts.map +1 -1
  17. package/dist/navigation/helpers/traverse-paths.js +1 -1
  18. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  19. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  20. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  21. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  22. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  23. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  24. package/dist/navigation/helpers/traverse-tags.js +1 -0
  25. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-webhooks.js +1 -1
  29. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  30. package/dist/navigation/types.d.ts +2 -1
  31. package/dist/navigation/types.d.ts.map +1 -1
  32. package/dist/schemas/extensions/document/x-internal.d.ts +4 -0
  33. package/dist/schemas/extensions/document/x-internal.d.ts.map +1 -1
  34. package/dist/schemas/extensions/document/x-internal.js.map +1 -1
  35. package/dist/schemas/extensions/document/x-scalar-icon.d.ts +4 -0
  36. package/dist/schemas/extensions/document/x-scalar-icon.d.ts.map +1 -1
  37. package/dist/schemas/extensions/document/x-scalar-icon.js.map +1 -1
  38. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts +4 -0
  39. package/dist/schemas/extensions/document/x-scalar-ignore.d.ts.map +1 -1
  40. package/dist/schemas/extensions/document/x-scalar-ignore.js.map +1 -1
  41. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -2
  42. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  43. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js.map +2 -2
  44. package/dist/schemas/extensions/document/x-tags.d.ts +3 -0
  45. package/dist/schemas/extensions/document/x-tags.d.ts.map +1 -1
  46. package/dist/schemas/extensions/document/x-tags.js.map +1 -1
  47. package/dist/schemas/extensions/operation/x-badge.d.ts +62 -22
  48. package/dist/schemas/extensions/operation/x-badge.d.ts.map +1 -1
  49. package/dist/schemas/extensions/operation/x-badge.js +24 -3
  50. package/dist/schemas/extensions/operation/x-badge.js.map +2 -2
  51. package/dist/schemas/extensions/operation/x-code-samples.d.ts +10 -2
  52. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  53. package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
  54. package/dist/schemas/extensions/operation/x-post-response.d.ts +18 -0
  55. package/dist/schemas/extensions/operation/x-post-response.d.ts.map +1 -1
  56. package/dist/schemas/extensions/operation/x-post-response.js.map +1 -1
  57. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts +11 -0
  58. package/dist/schemas/extensions/operation/x-scalar-stability.d.ts.map +1 -1
  59. package/dist/schemas/extensions/operation/x-scalar-stability.js.map +1 -1
  60. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts +10 -0
  61. package/dist/schemas/extensions/schema/x-additional-properties-name.d.ts.map +1 -1
  62. package/dist/schemas/extensions/schema/x-additional-properties-name.js.map +1 -1
  63. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts +30 -0
  64. package/dist/schemas/extensions/schema/x-enum-descriptions.d.ts.map +1 -1
  65. package/dist/schemas/extensions/schema/x-enum-descriptions.js.map +1 -1
  66. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts +38 -0
  67. package/dist/schemas/extensions/schema/x-enum-varnames.d.ts.map +1 -1
  68. package/dist/schemas/extensions/schema/x-enum-varnames.js.map +1 -1
  69. package/dist/schemas/extensions/schema/x-variable.d.ts +3 -0
  70. package/dist/schemas/extensions/schema/x-variable.d.ts.map +1 -1
  71. package/dist/schemas/extensions/schema/x-variable.js.map +1 -1
  72. package/dist/schemas/extensions/security/x-default-scopes.d.ts +16 -0
  73. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -1
  74. package/dist/schemas/extensions/security/x-default-scopes.js.map +1 -1
  75. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts +16 -0
  76. package/dist/schemas/extensions/security/x-scalar-credentials-location.d.ts.map +1 -1
  77. package/dist/schemas/extensions/security/x-scalar-credentials-location.js.map +1 -1
  78. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts +15 -1
  79. package/dist/schemas/extensions/security/x-scalar-security-body.d.ts.map +1 -1
  80. package/dist/schemas/extensions/security/x-scalar-security-body.js +2 -2
  81. package/dist/schemas/extensions/security/x-scalar-security-body.js.map +2 -2
  82. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts +15 -1
  83. package/dist/schemas/extensions/security/x-scalar-security-query.d.ts.map +1 -1
  84. package/dist/schemas/extensions/security/x-scalar-security-query.js +2 -2
  85. package/dist/schemas/extensions/security/x-scalar-security-query.js.map +2 -2
  86. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +41 -0
  87. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  88. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  89. package/dist/schemas/extensions/security/x-tokenName.d.ts +12 -1
  90. package/dist/schemas/extensions/security/x-tokenName.d.ts.map +1 -1
  91. package/dist/schemas/extensions/security/x-tokenName.js +2 -2
  92. package/dist/schemas/extensions/security/x-tokenName.js.map +2 -2
  93. package/dist/schemas/extensions/security/x-use-pkce.d.ts +6 -0
  94. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  95. package/dist/schemas/extensions/security/x-use-pkce.js.map +1 -1
  96. package/dist/schemas/extensions/tag/x-display-name.d.ts +11 -0
  97. package/dist/schemas/extensions/tag/x-display-name.d.ts.map +1 -1
  98. package/dist/schemas/extensions/tag/x-display-name.js.map +1 -1
  99. package/dist/schemas/extensions/tag/x-tag-groups.d.ts +18 -0
  100. package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
  101. package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
  102. package/dist/schemas/inmemory-workspace.d.ts +57 -54
  103. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  104. package/dist/schemas/inmemory-workspace.js +4 -1
  105. package/dist/schemas/inmemory-workspace.js.map +2 -2
  106. package/dist/schemas/navigation.d.ts +50 -1
  107. package/dist/schemas/navigation.d.ts.map +1 -1
  108. package/dist/schemas/navigation.js +5 -9
  109. package/dist/schemas/navigation.js.map +2 -2
  110. package/dist/schemas/reference-config/appearance.d.ts +9 -2
  111. package/dist/schemas/reference-config/appearance.d.ts.map +1 -1
  112. package/dist/schemas/reference-config/appearance.js.map +2 -2
  113. package/dist/schemas/reference-config/features.d.ts +11 -2
  114. package/dist/schemas/reference-config/features.d.ts.map +1 -1
  115. package/dist/schemas/reference-config/features.js.map +2 -2
  116. package/dist/schemas/reference-config/index.d.ts +39 -29
  117. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  118. package/dist/schemas/reference-config/index.js +5 -5
  119. package/dist/schemas/reference-config/index.js.map +2 -2
  120. package/dist/schemas/reference-config/meta.d.ts +8 -2
  121. package/dist/schemas/reference-config/meta.d.ts.map +1 -1
  122. package/dist/schemas/reference-config/meta.js.map +2 -2
  123. package/dist/schemas/reference-config/routing.d.ts +4 -2
  124. package/dist/schemas/reference-config/routing.d.ts.map +1 -1
  125. package/dist/schemas/reference-config/routing.js.map +2 -2
  126. package/dist/schemas/reference-config/settings.d.ts +30 -29
  127. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  128. package/dist/schemas/reference-config/settings.js.map +2 -2
  129. package/dist/schemas/v3.1/strict/callback.d.ts +4 -0
  130. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -1
  131. package/dist/schemas/v3.1/strict/callback.js +2 -2
  132. package/dist/schemas/v3.1/strict/callback.js.map +2 -2
  133. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +19 -3
  134. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -1
  135. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +2 -2
  136. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +10 -4
  137. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -1
  138. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/components.d.ts +34 -0
  140. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/components.js +1 -1
  142. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  143. package/dist/schemas/v3.1/strict/contact.d.ts +9 -0
  144. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -1
  145. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  146. package/dist/schemas/v3.1/strict/discriminator.d.ts +11 -0
  147. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -1
  148. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  149. package/dist/schemas/v3.1/strict/encoding.d.ts +15 -0
  150. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -1
  151. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  152. package/dist/schemas/v3.1/strict/encoding.js.map +2 -2
  153. package/dist/schemas/v3.1/strict/example.d.ts +15 -0
  154. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -1
  155. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  156. package/dist/schemas/v3.1/strict/external-documentation.d.ts +9 -2
  157. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -1
  158. package/dist/schemas/v3.1/strict/external-documentation.js +3 -3
  159. package/dist/schemas/v3.1/strict/external-documentation.js.map +2 -2
  160. package/dist/schemas/v3.1/strict/header.d.ts +41 -0
  161. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  162. package/dist/schemas/v3.1/strict/header.js +2 -2
  163. package/dist/schemas/v3.1/strict/header.js.map +2 -2
  164. package/dist/schemas/v3.1/strict/info.d.ts +24 -2
  165. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  166. package/dist/schemas/v3.1/strict/info.js +7 -5
  167. package/dist/schemas/v3.1/strict/info.js.map +2 -2
  168. package/dist/schemas/v3.1/strict/license.d.ts +9 -0
  169. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -1
  170. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  171. package/dist/schemas/v3.1/strict/link.d.ts +22 -0
  172. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -1
  173. package/dist/schemas/v3.1/strict/link.js.map +2 -2
  174. package/dist/schemas/v3.1/strict/media-type.d.ts +19 -0
  175. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  176. package/dist/schemas/v3.1/strict/media-type.js +2 -2
  177. package/dist/schemas/v3.1/strict/media-type.js.map +2 -2
  178. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +36 -5
  179. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  180. package/dist/schemas/v3.1/strict/oauth-flow.js +13 -7
  181. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  182. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -0
  183. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  184. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  185. package/dist/schemas/v3.1/strict/openapi-document.d.ts +819 -932
  186. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  187. package/dist/schemas/v3.1/strict/openapi-document.js +45 -45
  188. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  189. package/dist/schemas/v3.1/strict/operation.d.ts +43 -17
  190. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  191. package/dist/schemas/v3.1/strict/operation.js +1 -3
  192. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  193. package/dist/schemas/v3.1/strict/parameter.d.ts +45 -0
  194. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  195. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  196. package/dist/schemas/v3.1/strict/path-item.d.ts +38 -0
  197. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  198. package/dist/schemas/v3.1/strict/path-item.js +1 -1
  199. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  200. package/dist/schemas/v3.1/strict/paths.d.ts +5 -0
  201. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  202. package/dist/schemas/v3.1/strict/paths.js +1 -1
  203. package/dist/schemas/v3.1/strict/paths.js.map +2 -2
  204. package/dist/schemas/v3.1/strict/reference.d.ts +21 -4
  205. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -1
  206. package/dist/schemas/v3.1/strict/reference.js.map +2 -2
  207. package/dist/schemas/v3.1/strict/request-body.d.ts +10 -0
  208. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  209. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  210. package/dist/schemas/v3.1/strict/request-body.js.map +2 -2
  211. package/dist/schemas/v3.1/strict/response.d.ts +17 -0
  212. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  213. package/dist/schemas/v3.1/strict/response.js +1 -1
  214. package/dist/schemas/v3.1/strict/response.js.map +2 -2
  215. package/dist/schemas/v3.1/strict/responses.d.ts +12 -0
  216. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  217. package/dist/schemas/v3.1/strict/responses.js +1 -1
  218. package/dist/schemas/v3.1/strict/responses.js.map +2 -2
  219. package/dist/schemas/v3.1/strict/schema.d.ts +144 -1
  220. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  221. package/dist/schemas/v3.1/strict/schema.js +40 -60
  222. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  223. package/dist/schemas/v3.1/strict/security-requirement.d.ts +12 -0
  224. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -1
  225. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  226. package/dist/schemas/v3.1/strict/security-scheme.d.ts +37 -0
  227. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  228. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  229. package/dist/schemas/v3.1/strict/server-variable.d.ts +9 -0
  230. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -1
  231. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  232. package/dist/schemas/v3.1/strict/server.d.ts +10 -0
  233. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -1
  234. package/dist/schemas/v3.1/strict/server.js +1 -1
  235. package/dist/schemas/v3.1/strict/server.js.map +2 -2
  236. package/dist/schemas/v3.1/strict/tag.d.ts +13 -0
  237. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
  238. package/dist/schemas/v3.1/strict/tag.js +1 -1
  239. package/dist/schemas/v3.1/strict/tag.js.map +2 -2
  240. package/dist/schemas/v3.1/strict/type-guards.d.ts +1 -1
  241. package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
  242. package/dist/schemas/v3.1/strict/type-guards.js.map +1 -1
  243. package/dist/schemas/v3.1/strict/xml.d.ts +17 -0
  244. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -1
  245. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  246. package/dist/schemas/workspace-specification/config.d.ts +26 -28
  247. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  248. package/dist/schemas/workspace-specification/config.js.map +2 -2
  249. package/dist/schemas/workspace-specification/index.d.ts +35 -28
  250. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  251. package/dist/schemas/workspace-specification/index.js.map +2 -2
  252. package/dist/schemas/workspace-specification/info.d.ts +4 -0
  253. package/dist/schemas/workspace-specification/info.d.ts.map +1 -1
  254. package/dist/schemas/workspace-specification/info.js.map +1 -1
  255. package/dist/schemas/workspace.d.ts +182 -188
  256. package/dist/schemas/workspace.d.ts.map +1 -1
  257. package/dist/schemas/workspace.js +11 -3
  258. package/dist/schemas/workspace.js.map +2 -2
  259. package/dist/server.d.ts +6 -5
  260. package/dist/server.d.ts.map +1 -1
  261. package/dist/server.js.map +2 -2
  262. package/package.json +5 -5
  263. package/dist/mutators/request-example.d.ts +0 -21
  264. package/dist/mutators/request-example.d.ts.map +0 -1
  265. package/dist/mutators/request-example.js +0 -55
  266. package/dist/mutators/request-example.js.map +0 -7
  267. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +0 -9
  268. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +0 -1
  269. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +0 -8
  270. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +0 -7
  271. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +0 -38
  272. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +0 -1
  273. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +0 -45
  274. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +0 -7
  275. package/dist/types.d.ts +0 -18
  276. package/dist/types.d.ts.map +0 -1
  277. package/dist/types.js +0 -1
  278. package/dist/types.js.map +0 -7
@@ -1,5 +1,5 @@
1
- import { type Static } from '@scalar/typebox';
2
- import type { RequiredDeep } from 'type-fest';
1
+ import type { RequiredDeep } from 'type-fest/source/required-deep';
2
+ import type { ServerObject } from '../../schemas/v3.1/strict/server.js';
3
3
  export declare const SettingsSchema: import("@scalar/typebox").TObject<{
4
4
  proxyUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
5
  searchKey: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -267,23 +267,6 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
267
267
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
268
268
  }>]>]>>>;
269
269
  }>, import("@scalar/typebox").TObject<{
270
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
271
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
272
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
273
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
274
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
275
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
276
- url: import("@scalar/typebox").TString;
277
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
278
- }>, import("@scalar/typebox").TNull]>>;
279
- }>>;
280
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
281
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
282
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
283
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
284
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
285
- }>>;
286
- }>>>;
287
270
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
288
271
  }>, import("@scalar/typebox").TObject<{
289
272
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
@@ -486,7 +469,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
486
469
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
487
470
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
488
471
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
489
- format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"int8">, import("@scalar/typebox").TLiteral<"int16">, import("@scalar/typebox").TLiteral<"int32">, import("@scalar/typebox").TLiteral<"int64">, import("@scalar/typebox").TLiteral<"uint8">, import("@scalar/typebox").TLiteral<"uint16">, import("@scalar/typebox").TLiteral<"uint32">, import("@scalar/typebox").TLiteral<"uint64">, import("@scalar/typebox").TLiteral<"double-int">, import("@scalar/typebox").TLiteral<"float">, import("@scalar/typebox").TLiteral<"double">, import("@scalar/typebox").TLiteral<"decimal">, import("@scalar/typebox").TLiteral<"decimal128">, import("@scalar/typebox").TLiteral<"sf-integer">, import("@scalar/typebox").TLiteral<"sf-decimal">]>>;
472
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
490
473
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
491
474
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
492
475
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -969,17 +952,17 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
969
952
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
970
953
  }>;
971
954
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
972
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
973
955
  url: import("@scalar/typebox").TString;
956
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
974
957
  }>;
975
958
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
976
959
  title: import("@scalar/typebox").TString;
960
+ version: import("@scalar/typebox").TString;
977
961
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
978
962
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
979
963
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
980
964
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
981
965
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
982
- version: import("@scalar/typebox").TString;
983
966
  }>, import("@scalar/typebox").TObject<{
984
967
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
985
968
  lang: import("@scalar/typebox").TString;
@@ -1240,10 +1223,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1240
1223
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1241
1224
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1242
1225
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1243
- }>, import("@scalar/typebox").TObject<{
1244
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1245
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1246
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1226
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1247
1227
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1248
1228
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1249
1229
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1263,7 +1243,12 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1263
1243
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1264
1244
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1265
1245
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1266
- }>]>;
1246
+ }>, import("@scalar/typebox").TObject<{
1247
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1248
+ name: import("@scalar/typebox").TString;
1249
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1250
+ }>>>;
1251
+ }>]>]>;
1267
1252
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1268
1253
  id: import("@scalar/typebox").TString;
1269
1254
  title: import("@scalar/typebox").TString;
@@ -1311,7 +1296,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1311
1296
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1312
1297
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1313
1298
  }>]>;
1314
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1299
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1315
1300
  id: import("@scalar/typebox").TString;
1316
1301
  title: import("@scalar/typebox").TString;
1317
1302
  }>, import("@scalar/typebox").TObject<{
@@ -1336,6 +1321,17 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1336
1321
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1337
1322
  id: import("@scalar/typebox").TString;
1338
1323
  title: import("@scalar/typebox").TString;
1324
+ }>, import("@scalar/typebox").TObject<{
1325
+ type: import("@scalar/typebox").TLiteral<"tag">;
1326
+ name: import("@scalar/typebox").TString;
1327
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1328
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1329
+ isGroup: import("@scalar/typebox").TBoolean;
1330
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1331
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1332
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1333
+ id: import("@scalar/typebox").TString;
1334
+ title: import("@scalar/typebox").TString;
1339
1335
  }>, import("@scalar/typebox").TObject<{
1340
1336
  type: import("@scalar/typebox").TLiteral<"webhook">;
1341
1337
  ref: import("@scalar/typebox").TString;
@@ -1346,6 +1342,11 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1346
1342
  }, "ServerObject">>>;
1347
1343
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1348
1344
  }>;
1349
- export type Settings = Static<typeof SettingsSchema>;
1345
+ export type Settings = {
1346
+ proxyUrl?: string;
1347
+ searchKey?: string;
1348
+ servers?: ServerObject[];
1349
+ baseServerUrl?: string;
1350
+ };
1350
1351
  export declare const defaultSettings: RequiredDeep<Settings>;
1351
1352
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAI7C,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,OAAO,cAAc,CAAC,CAAA;AAEpD,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAA;AAGlE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/reference-config/settings.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport type { RequiredDeep } from 'type-fest'\n\nimport { ServerObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\n\nexport const SettingsSchema = Type.Partial(\n Type.Object({\n proxyUrl: Type.String(),\n searchKey: Type.String(),\n /** Array of server configurations */\n servers: Type.Array(ServerObjectSchema),\n /** Base server URL for API requests */\n baseServerUrl: Type.String(),\n }),\n)\n\nexport type Settings = Static<typeof SettingsSchema>\n\nexport const defaultSettings: RequiredDeep<Settings> = {\n proxyUrl: 'https://proxy.scalar.com',\n searchKey: 'k',\n servers: [],\n baseServerUrl: '',\n}\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAGlC,SAAS,0BAA0B;AAE5B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,WAAW,KAAK,OAAO;AAAA;AAAA,IAEvB,SAAS,KAAK,MAAM,kBAAkB;AAAA;AAAA,IAEtC,eAAe,KAAK,OAAO;AAAA,EAC7B,CAAC;AACH;AAIO,MAAM,kBAA0C;AAAA,EACrD,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS,CAAC;AAAA,EACV,eAAe;AACjB;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { RequiredDeep } from 'type-fest/source/required-deep'\n\nimport { ServerObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\nimport type { ServerObject } from '@/schemas/v3.1/strict/server'\n\nexport const SettingsSchema = Type.Partial(\n Type.Object({\n proxyUrl: Type.String(),\n searchKey: Type.String(),\n /** Array of server configurations */\n servers: Type.Array(ServerObjectSchema),\n /** Base server URL for API requests */\n baseServerUrl: Type.String(),\n }),\n)\n\nexport type Settings = {\n proxyUrl?: string\n searchKey?: string\n servers?: ServerObject[]\n baseServerUrl?: string\n}\n\nexport const defaultSettings: RequiredDeep<Settings> = {\n proxyUrl: 'https://proxy.scalar.com',\n searchKey: 'k',\n servers: [],\n baseServerUrl: '',\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,0BAA0B;AAG5B,MAAM,iBAAiB,KAAK;AAAA,EACjC,KAAK,OAAO;AAAA,IACV,UAAU,KAAK,OAAO;AAAA,IACtB,WAAW,KAAK,OAAO;AAAA;AAAA,IAEvB,SAAS,KAAK,MAAM,kBAAkB;AAAA;AAAA,IAEtC,eAAe,KAAK,OAAO;AAAA,EAC7B,CAAC;AACH;AASO,MAAM,kBAA0C;AAAA,EACrD,UAAU;AAAA,EACV,WAAW;AAAA,EACX,SAAS,CAAC;AAAA,EACV,eAAe;AACjB;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,5 @@
1
+ import type { PathItemObject } from './path-item.js';
2
+ import { type ReferenceType } from './reference.js';
1
3
  export declare const CallbackObjectSchemaDefinition: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2
4
  $ref: import("@scalar/typebox").TString;
3
5
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -8,4 +10,6 @@ export declare const CallbackObjectSchemaDefinition: import("@scalar/typebox").T
8
10
  }>]>, import("@scalar/typebox").TObject<{
9
11
  '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
10
12
  }>]>]>>;
13
+ /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */
14
+ export type CallbackObject = Record<string, ReferenceType<PathItemObject>>;
11
15
  //# sourceMappingURL=callback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/callback.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,8BAA8B;;;;;;;;;OAI1C,CAAA"}
1
+ {"version":3,"file":"callback.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/callback.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D,eAAO,MAAM,8BAA8B;;;;;;;;;OAI1C,CAAA;AAED,oHAAoH;AACpH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { Type } from "@scalar/typebox";
2
- import { PathItemObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
3
- import { reference } from "../../../schemas/v3.1/strict/reference.js";
2
+ import { PathItemObjectRef } from "./ref-definitions.js";
3
+ import { reference } from "./reference.js";
4
4
  const CallbackObjectSchemaDefinition = Type.Record(
5
5
  Type.String(),
6
6
  /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/callback.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { PathItemObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\nimport { reference } from '@/schemas/v3.1/strict/reference'\n\nexport const CallbackObjectSchemaDefinition = Type.Record(\n Type.String(),\n /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\n Type.Union([PathItemObjectRef, reference(PathItemObjectRef)]),\n)\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,yBAAyB;AAClC,SAAS,iBAAiB;AAEnB,MAAM,iCAAiC,KAAK;AAAA,EACjD,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC;AAC9D;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { PathItemObject } from './path-item'\nimport { PathItemObjectRef } from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\n\nexport const CallbackObjectSchemaDefinition = Type.Record(\n Type.String(),\n /** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\n Type.Union([PathItemObjectRef, reference(PathItemObjectRef)]),\n)\n\n/** A Path Item Object used to define a callback request and expected responses. A complete example is available. */\nexport type CallbackObject = Record<string, ReferenceType<PathItemObject>>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,yBAAyB;AAClC,SAA6B,iBAAiB;AAEvC,MAAM,iCAAiC,KAAK;AAAA,EACjD,KAAK,OAAO;AAAA;AAAA,EAEZ,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC;AAC9D;",
6
6
  "names": []
7
7
  }
@@ -1,16 +1,32 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const xScalarClientConfigCookieSchema: import("@scalar/typebox").TObject<{
3
2
  name: import("@scalar/typebox").TString;
4
3
  value: import("@scalar/typebox").TString;
5
4
  domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6
5
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7
6
  }>;
8
- export type XScalarClientConfigCookie = Static<typeof xScalarClientConfigCookieSchema>;
7
+ export type XScalarClientConfigCookie = {
8
+ /**
9
+ * Defines the cookie name and its value. A cookie definition begins with a name-value pair.
10
+ */
11
+ name: string;
12
+ /**
13
+ * Defines the cookie value.
14
+ */
15
+ value: string;
16
+ /**
17
+ * Defines the host to which the cookie will be sent.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * Indicates the path that must exist in the requested URL for the browser to send the Cookie header.
22
+ */
23
+ path?: string;
24
+ };
9
25
  export declare const xScalarClientConfigCookiesSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
10
26
  name: import("@scalar/typebox").TString;
11
27
  value: import("@scalar/typebox").TString;
12
28
  domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
13
29
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
30
  }>>;
15
- export type XScalarClientConfigCookies = Static<typeof xScalarClientConfigCookiesSchema>;
31
+ export type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>;
16
32
  //# sourceMappingURL=x-scalar-client-config-cookies.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-client-config-cookies.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEtF,eAAO,MAAM,gCAAgC;;;;;GAA8D,CAAA;AAC3G,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,OAAO,gCAAgC,CAAC,CAAA"}
1
+ {"version":3,"file":"x-scalar-client-config-cookies.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;GAA8D,CAAA;AAC3G,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n path: Type.Optional(Type.String()),\n})\n\nexport type XScalarClientConfigCookie = Static<typeof xScalarClientConfigCookieSchema>\n\nexport const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema)\nexport type XScalarClientConfigCookies = Static<typeof xScalarClientConfigCookiesSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AACnC,CAAC;AAIM,MAAM,mCAAmC,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n path: Type.Optional(Type.String()),\n})\n\nexport type XScalarClientConfigCookie = {\n /**\n * Defines the cookie name and its value. A cookie definition begins with a name-value pair.\n */\n name: string\n /**\n * Defines the cookie value.\n */\n value: string\n /**\n * Defines the host to which the cookie will be sent.\n */\n domain?: string\n /**\n * Indicates the path that must exist in the requested URL for the browser to send the Cookie header.\n */\n path?: string\n}\n\nexport const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema)\nexport type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AACnC,CAAC;AAqBM,MAAM,mCAAmC,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;",
6
6
  "names": []
7
7
  }
@@ -1,9 +1,11 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  export declare const xScalarClientConfigEnvVarSchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
3
2
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
3
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5
4
  }>, import("@scalar/typebox").TString]>;
6
- export type xScalarClientConfigEnvVar = Static<typeof xScalarClientConfigEnvVarSchema>;
5
+ export type xScalarClientConfigEnvVar = {
6
+ description?: string;
7
+ default?: string;
8
+ } | string;
7
9
  export declare const xScalarClientConfigEnvironmentSchema: import("@scalar/typebox").TObject<{
8
10
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
11
  color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -13,7 +15,11 @@ export declare const xScalarClientConfigEnvironmentSchema: import("@scalar/typeb
13
15
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
14
16
  }>, import("@scalar/typebox").TString]>>;
15
17
  }>;
16
- export type xScalarClientConfigEnvironment = Static<typeof xScalarClientConfigEnvironmentSchema>;
18
+ export type xScalarClientConfigEnvironment = {
19
+ description?: string;
20
+ color?: string;
21
+ variables: Record<string, xScalarClientConfigEnvVar>;
22
+ };
17
23
  export declare const xScalarClientConfigEnvironmentsSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
18
24
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
19
25
  color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -23,5 +29,5 @@ export declare const xScalarClientConfigEnvironmentsSchema: import("@scalar/type
23
29
  default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
24
30
  }>, import("@scalar/typebox").TString]>>;
25
31
  }>>;
26
- export type XScalarClientConfigEnvironments = Static<typeof xScalarClientConfigEnvironmentsSchema>;
32
+ export type XScalarClientConfigEnvironments = Record<string, xScalarClientConfigEnvironment>;
27
33
  //# sourceMappingURL=x-scalar-client-config-environments.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"x-scalar-client-config-environments.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,+BAA+B;;;uCAQ1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAA;AAEtF,eAAO,MAAM,oCAAoC;;;IAG/C,iCAAiC;;;;;EAEjC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAC,OAAO,oCAAoC,CAAC,CAAA;AAEhG,eAAO,MAAM,qCAAqC;;;IANhD,iCAAiC;;;;;GAMkF,CAAA;AAErH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,OAAO,qCAAqC,CAAC,CAAA"}
1
+ {"version":3,"file":"x-scalar-client-config-environments.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;uCAQ1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GACjC;IACE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GACD,MAAM,CAAA;AAEV,eAAO,MAAM,oCAAoC;;;IAG/C,iCAAiC;;;;;EAEjC,CAAA;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA;CACrD,CAAA;AAED,eAAO,MAAM,qCAAqC;;;IAVhD,iCAAiC;;;;;GAUkF,CAAA;AAErH,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,8BAA8B,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigEnvVarSchema = Type.Union([\n Type.Partial(\n Type.Object({\n description: Type.String(),\n default: Type.String(),\n }),\n ),\n Type.String(),\n])\n\nexport type xScalarClientConfigEnvVar = Static<typeof xScalarClientConfigEnvVarSchema>\n\nexport const xScalarClientConfigEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.Optional(Type.String()),\n /** A map of variables by name */\n variables: Type.Record(Type.String(), xScalarClientConfigEnvVarSchema),\n})\n\nexport type xScalarClientConfigEnvironment = Static<typeof xScalarClientConfigEnvironmentSchema>\n\nexport const xScalarClientConfigEnvironmentsSchema = Type.Record(Type.String(), xScalarClientConfigEnvironmentSchema)\n\nexport type XScalarClientConfigEnvironments = Static<typeof xScalarClientConfigEnvironmentsSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAE3B,MAAM,kCAAkC,KAAK,MAAM;AAAA,EACxD,KAAK;AAAA,IACH,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,OAAO;AAAA,MACzB,SAAS,KAAK,OAAO;AAAA,IACvB,CAAC;AAAA,EACH;AAAA,EACA,KAAK,OAAO;AACd,CAAC;AAIM,MAAM,uCAAuC,KAAK,OAAO;AAAA,EAC9D,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAElC,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;AACvE,CAAC;AAIM,MAAM,wCAAwC,KAAK,OAAO,KAAK,OAAO,GAAG,oCAAoC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigEnvVarSchema = Type.Union([\n Type.Partial(\n Type.Object({\n description: Type.String(),\n default: Type.String(),\n }),\n ),\n Type.String(),\n])\n\nexport type xScalarClientConfigEnvVar =\n | {\n description?: string\n default?: string\n }\n | string\n\nexport const xScalarClientConfigEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.Optional(Type.String()),\n /** A map of variables by name */\n variables: Type.Record(Type.String(), xScalarClientConfigEnvVarSchema),\n})\n\nexport type xScalarClientConfigEnvironment = {\n description?: string\n color?: string\n variables: Record<string, xScalarClientConfigEnvVar>\n}\n\nexport const xScalarClientConfigEnvironmentsSchema = Type.Record(Type.String(), xScalarClientConfigEnvironmentSchema)\n\nexport type XScalarClientConfigEnvironments = Record<string, xScalarClientConfigEnvironment>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kCAAkC,KAAK,MAAM;AAAA,EACxD,KAAK;AAAA,IACH,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,OAAO;AAAA,MACzB,SAAS,KAAK,OAAO;AAAA,IACvB,CAAC;AAAA,EACH;AAAA,EACA,KAAK,OAAO;AACd,CAAC;AASM,MAAM,uCAAuC,KAAK,OAAO;AAAA,EAC9D,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAElC,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;AACvE,CAAC;AAQM,MAAM,wCAAwC,KAAK,OAAO,KAAK,OAAO,GAAG,oCAAoC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,14 @@
1
+ import type { CallbackObject } from './callback.js';
2
+ import type { ExampleObject } from './example.js';
3
+ import type { HeaderObject } from './header.js';
4
+ import type { LinkObject } from './link.js';
5
+ import type { ParameterObject } from './parameter.js';
6
+ import type { PathItemObject } from './path-item.js';
7
+ import { type ReferenceType } from './reference.js';
8
+ import type { RequestBodyObject } from './request-body.js';
9
+ import type { ResponsesObject } from './responses.js';
10
+ import type { SchemaObject } from './schema.js';
11
+ import type { SecuritySchemeObject } from './security-scheme.js';
1
12
  /** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */
2
13
  export declare const ComponentsObjectSchemaDefinition: import("@scalar/typebox").TObject<{
3
14
  /** An object to hold reusable Schema Objects. */
@@ -102,4 +113,27 @@ export declare const ComponentsObjectSchemaDefinition: import("@scalar/typebox")
102
113
  /** An object to hold reusable Path Item Objects. */
103
114
  pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
104
115
  }>;
116
+ /** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */
117
+ export type ComponentsObject = {
118
+ /** An object to hold reusable Schema Objects. */
119
+ schemas?: Record<string, ReferenceType<SchemaObject>>;
120
+ /** An object to hold reusable Response Objects. */
121
+ responses?: ResponsesObject;
122
+ /** An object to hold reusable Parameter Objects. */
123
+ parameters?: Record<string, ReferenceType<ParameterObject>>;
124
+ /** An object to hold reusable Example Objects. */
125
+ examples?: Record<string, ReferenceType<ExampleObject>>;
126
+ /** An object to hold reusable Request Body Objects. */
127
+ requestBodies?: Record<string, ReferenceType<RequestBodyObject>>;
128
+ /** An object to hold reusable Header Objects. */
129
+ headers?: Record<string, ReferenceType<HeaderObject>>;
130
+ /** An object to hold reusable Security Scheme Objects. */
131
+ securitySchemes?: Record<string, ReferenceType<SecuritySchemeObject>>;
132
+ /** An object to hold reusable Link Objects. */
133
+ links?: Record<string, ReferenceType<LinkObject>>;
134
+ /** An object to hold reusable Callback Objects. */
135
+ callbacks?: Record<string, ReferenceType<CallbackObject>>;
136
+ /** An object to hold reusable Path Item Objects. */
137
+ pathItems?: Record<string, PathItemObject>;
138
+ };
105
139
  //# sourceMappingURL=components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAiBA,kOAAkO;AAClO,eAAO,MAAM,gCAAgC;IAC3C,iDAAiD;;;;;;;;;;;IAEjD,mDAAmD;;;;;;;;;;;IAEnD,oDAAoD;;;;;;;;;;;IAIpD,kDAAkD;;;;;;;;;;;IAElD,uDAAuD;;;;;;;;;;;IAIvD,iDAAiD;;;;;;;;;;;IAEjD,0DAA0D;;;;;;;;;;;IAI1D,+CAA+C;;;;;;;;;;;IAE/C,mDAAmD;;;;;;;;;;;IAEnD,oDAAoD;;EAEpD,CAAA"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAajD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,kOAAkO;AAClO,eAAO,MAAM,gCAAgC;IAC3C,iDAAiD;;;;;;;;;;;IAEjD,mDAAmD;;;;;;;;;;;IAEnD,oDAAoD;;;;;;;;;;;IAIpD,kDAAkD;;;;;;;;;;;IAElD,uDAAuD;;;;;;;;;;;IAIvD,iDAAiD;;;;;;;;;;;IAEjD,0DAA0D;;;;;;;;;;;IAI1D,+CAA+C;;;;;;;;;;;IAE/C,mDAAmD;;;;;;;;;;;IAEnD,oDAAoD;;EAEpD,CAAA;AAEF,kOAAkO;AAClO,MAAM,MAAM,gBAAgB,GAAG;IAC7B,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;IACrD,mDAAmD;IACnD,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAA;IAC3D,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAA;IACvD,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAChE,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;IACrD,0DAA0D;IAC1D,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,oBAAoB,CAAC,CAAC,CAAA;IACrE,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;IACjD,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA;IACzD,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;CAC3C,CAAA"}
@@ -10,7 +10,7 @@ import {
10
10
  ResponseObjectRef,
11
11
  SchemaObjectRef,
12
12
  SecuritySchemeObjectRef
13
- } from "../../../schemas/v3.1/strict/ref-definitions.js";
13
+ } from "./ref-definitions.js";
14
14
  import { reference } from "./reference.js";
15
15
  const ComponentsObjectSchemaDefinition = Type.Object({
16
16
  /** An object to hold reusable Schema Objects. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/components.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport {\n CallbackObjectRef,\n ExampleObjectRef,\n HeaderObjectRef,\n LinkObjectRef,\n ParameterObjectRef,\n PathItemObjectRef,\n RequestBodyObjectRef,\n ResponseObjectRef,\n SchemaObjectRef,\n SecuritySchemeObjectRef,\n} from '@/schemas/v3.1/strict/ref-definitions'\n\nimport { reference } from './reference'\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchemaDefinition = Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), Type.Union([SchemaObjectRef, reference(SchemaObjectRef)]))),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectRef, reference(ResponseObjectRef)]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(\n Type.Record(Type.String(), Type.Union([ParameterObjectRef, reference(ParameterObjectRef)])),\n ),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectRef, reference(RequestBodyObjectRef)])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(\n Type.Record(Type.String(), Type.Union([SecuritySchemeObjectRef, reference(SecuritySchemeObjectRef)])),\n ),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectRef, reference(LinkObjectRef)]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObjectRef, reference(CallbackObjectRef)]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectRef)),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB;AAGnB,MAAM,mCAAmC,KAAK,OAAO;AAAA;AAAA,EAE1D,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE5G,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAElH,YAAY,KAAK;AAAA,IACf,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,oBAAoB,UAAU,kBAAkB,CAAC,CAAC,CAAC;AAAA,EAC5F;AAAA;AAAA,EAEA,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,kBAAkB,UAAU,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE/G,eAAe,KAAK;AAAA,IAClB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,UAAU,oBAAoB,CAAC,CAAC,CAAC;AAAA,EAChG;AAAA;AAAA,EAEA,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE5G,iBAAiB,KAAK;AAAA,IACpB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,yBAAyB,UAAU,uBAAuB,CAAC,CAAC,CAAC;AAAA,EACtG;AAAA;AAAA,EAEA,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,eAAe,UAAU,aAAa,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAEtG,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAElH,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,iBAAiB,CAAC;AACxE,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { CallbackObject } from './callback'\nimport type { ExampleObject } from './example'\nimport type { HeaderObject } from './header'\nimport type { LinkObject } from './link'\nimport type { ParameterObject } from './parameter'\nimport type { PathItemObject } from './path-item'\nimport {\n CallbackObjectRef,\n ExampleObjectRef,\n HeaderObjectRef,\n LinkObjectRef,\n ParameterObjectRef,\n PathItemObjectRef,\n RequestBodyObjectRef,\n ResponseObjectRef,\n SchemaObjectRef,\n SecuritySchemeObjectRef,\n} from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\nimport type { RequestBodyObject } from './request-body'\nimport type { ResponsesObject } from './responses'\nimport type { SchemaObject } from './schema'\nimport type { SecuritySchemeObject } from './security-scheme'\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchemaDefinition = Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), Type.Union([SchemaObjectRef, reference(SchemaObjectRef)]))),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectRef, reference(ResponseObjectRef)]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(\n Type.Record(Type.String(), Type.Union([ParameterObjectRef, reference(ParameterObjectRef)])),\n ),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectRef, reference(RequestBodyObjectRef)])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(\n Type.Record(Type.String(), Type.Union([SecuritySchemeObjectRef, reference(SecuritySchemeObjectRef)])),\n ),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectRef, reference(LinkObjectRef)]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObjectRef, reference(CallbackObjectRef)]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectRef)),\n})\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport type ComponentsObject = {\n /** An object to hold reusable Schema Objects. */\n schemas?: Record<string, ReferenceType<SchemaObject>>\n /** An object to hold reusable Response Objects. */\n responses?: ResponsesObject\n /** An object to hold reusable Parameter Objects. */\n parameters?: Record<string, ReferenceType<ParameterObject>>\n /** An object to hold reusable Example Objects. */\n examples?: Record<string, ReferenceType<ExampleObject>>\n /** An object to hold reusable Request Body Objects. */\n requestBodies?: Record<string, ReferenceType<RequestBodyObject>>\n /** An object to hold reusable Header Objects. */\n headers?: Record<string, ReferenceType<HeaderObject>>\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes?: Record<string, ReferenceType<SecuritySchemeObject>>\n /** An object to hold reusable Link Objects. */\n links?: Record<string, ReferenceType<LinkObject>>\n /** An object to hold reusable Callback Objects. */\n callbacks?: Record<string, ReferenceType<CallbackObject>>\n /** An object to hold reusable Path Item Objects. */\n pathItems?: Record<string, PathItemObject>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAQrB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAA6B,iBAAiB;AAOvC,MAAM,mCAAmC,KAAK,OAAO;AAAA;AAAA,EAE1D,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE5G,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAElH,YAAY,KAAK;AAAA,IACf,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,oBAAoB,UAAU,kBAAkB,CAAC,CAAC,CAAC;AAAA,EAC5F;AAAA;AAAA,EAEA,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,kBAAkB,UAAU,gBAAgB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE/G,eAAe,KAAK;AAAA,IAClB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,UAAU,oBAAoB,CAAC,CAAC,CAAC;AAAA,EAChG;AAAA;AAAA,EAEA,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAE5G,iBAAiB,KAAK;AAAA,IACpB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,yBAAyB,UAAU,uBAAuB,CAAC,CAAC,CAAC;AAAA,EACtG;AAAA;AAAA,EAEA,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,eAAe,UAAU,aAAa,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAEtG,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,mBAAmB,UAAU,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA;AAAA,EAElH,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,iBAAiB,CAAC;AACxE,CAAC;",
6
6
  "names": []
7
7
  }
@@ -7,4 +7,13 @@ export declare const ContactObjectSchemaDefinition: import("@scalar/typebox").TO
7
7
  /** The email address of the contact person/organization. This MUST be in the form of an email address. */
8
8
  email: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9
9
  }>;
10
+ /** Contact information for the exposed API. */
11
+ export type ContactObject = {
12
+ /** The identifying name of the contact person/organization. */
13
+ name?: string;
14
+ /** The URI for the contact information. This MUST be in the form of a URI. */
15
+ url?: string;
16
+ /** The email address of the contact person/organization. This MUST be in the form of an email address. */
17
+ email?: string;
18
+ };
10
19
  //# sourceMappingURL=contact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/contact.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,6BAA6B;IACxC,+DAA+D;;IAE/D,8EAA8E;;IAE9E,0GAA0G;;EAE1G,CAAA"}
1
+ {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/contact.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,6BAA6B;IACxC,+DAA+D;;IAE/D,8EAA8E;;IAE9E,0GAA0G;;EAE1G,CAAA;AAEF,+CAA+C;AAC/C,MAAM,MAAM,aAAa,GAAG;IAC1B,+DAA+D;IAC/D,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8EAA8E;IAC9E,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,0GAA0G;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/contact.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** Contact information for the exposed API. */\nexport const ContactObjectSchemaDefinition = Type.Object({\n /** The identifying name of the contact person/organization. */\n name: Type.Optional(Type.String()),\n /** The URI for the contact information. This MUST be in the form of a URI. */\n url: Type.Optional(Type.String()),\n /** The email address of the contact person/organization. This MUST be in the form of an email address. */\n email: Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** Contact information for the exposed API. */\nexport const ContactObjectSchemaDefinition = Type.Object({\n /** The identifying name of the contact person/organization. */\n name: Type.Optional(Type.String()),\n /** The URI for the contact information. This MUST be in the form of a URI. */\n url: Type.Optional(Type.String()),\n /** The email address of the contact person/organization. This MUST be in the form of an email address. */\n email: Type.Optional(Type.String()),\n})\n\n/** Contact information for the exposed API. */\nexport type ContactObject = {\n /** The identifying name of the contact person/organization. */\n name?: string\n /** The URI for the contact information. This MUST be in the form of a URI. */\n url?: string\n /** The email address of the contact person/organization. This MUST be in the form of an email address. */\n email?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,gCAAgC,KAAK,OAAO;AAAA;AAAA,EAEvD,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEhC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AACpC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -9,4 +9,15 @@ export declare const DiscriminatorObjectSchemaDefinition: import("@scalar/typebo
9
9
  /** An object to hold mappings between payload values and schema names or URI references. */
10
10
  mapping: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
11
11
  }>;
12
+ /**
13
+ * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.
14
+ *
15
+ * Note that discriminator MUST NOT change the validation outcome of the schema.
16
+ */
17
+ export type DiscriminatorObject = {
18
+ /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */
19
+ propertyName: string;
20
+ /** An object to hold mappings between payload values and schema names or URI references. */
21
+ mapping?: Record<string, string>;
22
+ };
12
23
  //# sourceMappingURL=discriminator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"discriminator.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/discriminator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,mCAAmC;IAC9C,mNAAmN;;IAEnN,4FAA4F;;EAE5F,CAAA"}
1
+ {"version":3,"file":"discriminator.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/discriminator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,mCAAmC;IAC9C,mNAAmN;;IAEnN,4FAA4F;;EAE5F,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,mNAAmN;IACnN,YAAY,EAAE,MAAM,CAAA;IACpB,4FAA4F;IAC5F,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/discriminator.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport const DiscriminatorObjectSchemaDefinition = Type.Object({\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: Type.String(),\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping: Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport const DiscriminatorObjectSchemaDefinition = Type.Object({\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: Type.String(),\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping: Type.Optional(Type.Record(Type.String(), Type.String())),\n})\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport type DiscriminatorObject = {\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: string\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping?: Record<string, string>\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,sCAAsC,KAAK,OAAO;AAAA;AAAA,EAE7D,cAAc,KAAK,OAAO;AAAA;AAAA,EAE1B,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AAClE,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,5 @@
1
+ import type { HeaderObject } from './header.js';
2
+ import { type ReferenceType } from './reference.js';
1
3
  /**
2
4
  * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.
3
5
  *
@@ -20,4 +22,17 @@ export declare const EncodingObjectSchemaDefinition: import("@scalar/typebox").T
20
22
  '$ref-value': import("@scalar/typebox").TRef<"HeaderObject">;
21
23
  }>]>]>>>;
22
24
  }>;
25
+ /**
26
+ * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.
27
+ *
28
+ * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.
29
+ *
30
+ * See Appendix E for a detailed examination of percent-encoding concerns for form media types.
31
+ */
32
+ export type EncodingObject = {
33
+ /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */
34
+ contentType?: string;
35
+ /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */
36
+ headers?: Record<string, ReferenceType<HeaderObject>>;
37
+ };
23
38
  //# sourceMappingURL=encoding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/encoding.ts"],"names":[],"mappings":"AAMA;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;IACzC,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;EAEjO,CAAA"}
1
+ {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/encoding.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAE5C,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAE3D;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B;IACzC,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;EAEjO,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,sRAAsR;IACtR,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iOAAiO;IACjO,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;CACtD,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Type } from "@scalar/typebox";
2
- import { HeaderObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
2
+ import { HeaderObjectRef } from "./ref-definitions.js";
3
3
  import { reference } from "./reference.js";
4
4
  const EncodingObjectSchemaDefinition = Type.Object({
5
5
  /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/encoding.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { HeaderObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\nimport { reference } from './reference'\n\n/**\n * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.\n *\n * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns for form media types.\n */\nexport const EncodingObjectSchemaDefinition = Type.Object({\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType: Type.Optional(Type.String()),\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,uBAAuB;AAEhC,SAAS,iBAAiB;AASnB,MAAM,iCAAiC,KAAK,OAAO;AAAA;AAAA,EAExD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAC9G,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { HeaderObject } from './header'\nimport { HeaderObjectRef } from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\n\n/**\n * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.\n *\n * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns for form media types.\n */\nexport const EncodingObjectSchemaDefinition = Type.Object({\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType: Type.Optional(Type.String()),\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n})\n\n/**\n * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.\n *\n * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns for form media types.\n */\nexport type EncodingObject = {\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType?: string\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers?: Record<string, ReferenceType<HeaderObject>>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,uBAAuB;AAChC,SAA6B,iBAAiB;AASvC,MAAM,iCAAiC,KAAK,OAAO;AAAA;AAAA,EAExD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,UAAU,eAAe,CAAC,CAAC,CAAC,CAAC;AAC9G,CAAC;",
6
6
  "names": []
7
7
  }
@@ -13,4 +13,19 @@ export declare const ExampleObjectSchemaDefinition: import("@scalar/typebox").TO
13
13
  /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */
14
14
  externalValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
15
15
  }>;
16
+ /**
17
+ * An object grouping an internal or external example value with basic summary and description metadata. This object is typically used in fields named examples (plural), and is a referenceable alternative to older example (singular) fields that do not support referencing or metadata.
18
+ *
19
+ * Examples allow demonstration of the usage of properties, parameters and objects within OpenAPI.
20
+ */
21
+ export type ExampleObject = {
22
+ /** Short description for the example. */
23
+ summary?: string;
24
+ /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */
25
+ description?: string;
26
+ /** Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. */
27
+ value?: any;
28
+ /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */
29
+ externalValue?: string;
30
+ };
16
31
  //# sourceMappingURL=example.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/example.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;IACxC,yCAAyC;;IAEzC,oGAAoG;;IAEpG,6PAA6P;;IAE7P,+QAA+Q;;EAE/Q,CAAA"}
1
+ {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/example.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,6BAA6B;IACxC,yCAAyC;;IAEzC,oGAAoG;;IAEpG,6PAA6P;;IAE7P,+QAA+Q;;EAE/Q,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,oGAAoG;IACpG,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,6PAA6P;IAC7P,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,+QAA+Q;IAC/Q,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA"}