@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,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server-variable.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchemaDefinition = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport const ServerVariableObjectSchemaDefinition = Type.Object({\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum: Type.Optional(Type.Array(Type.String())),\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default: Type.Optional(Type.String()),\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n})\n\n/** An object representing a Server Variable for server URL template substitution. */\nexport type ServerVariableObject = {\n /** An enumeration of string values to be used if the substitution options are from a limited set. The array MUST NOT be empty. */\n enum?: string[]\n /** REQUIRED. The default value to use for substitution, which SHALL be sent if an alternate value is not supplied. If the enum is defined, the value MUST exist in the enum's values. Note that this behavior is different from the Schema Object's default keyword, which documents the receiver's behavior rather than inserting the value into the data. */\n default?: string\n /** An optional description for the server variable. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,uCAAuC,KAAK,OAAO;AAAA;AAAA,EAE9D,MAAM,KAAK,SAAS,KAAK,MAAM,KAAK,OAAO,CAAC,CAAC;AAAA;AAAA,EAE7C,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ import type { ServerVariableObject } from './server-variable.js';
1
2
  /** An object representing a Server. */
2
3
  export declare const ServerObjectSchemaDefinition: import("@scalar/typebox").TObject<{
3
4
  /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
@@ -7,4 +8,13 @@ export declare const ServerObjectSchemaDefinition: import("@scalar/typebox").TOb
7
8
  /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
8
9
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
9
10
  }>;
11
+ /** An object representing a Server. */
12
+ export type ServerObject = {
13
+ /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
14
+ url: string;
15
+ /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */
16
+ description?: string;
17
+ /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */
18
+ variables?: Record<string, ServerVariableObject>;
19
+ };
10
20
  //# sourceMappingURL=server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server.ts"],"names":[],"mappings":"AAIA,uCAAuC;AACvC,eAAO,MAAM,4BAA4B;IACvC,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;EAEpH,CAAA"}
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,uCAAuC;AACvC,eAAO,MAAM,4BAA4B;IACvC,4SAA4S;;IAE5S,gIAAgI;;IAEhI,oHAAoH;;EAEpH,CAAA;AAEF,uCAAuC;AACvC,MAAM,MAAM,YAAY,GAAG;IACzB,4SAA4S;IAC5S,GAAG,EAAE,MAAM,CAAA;IACX,gIAAgI;IAChI,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oHAAoH;IACpH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAA;CACjD,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { Type } from "@scalar/typebox";
2
- import { ServerVariableObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
2
+ import { ServerVariableObjectRef } from "./ref-definitions.js";
3
3
  const ServerObjectSchemaDefinition = Type.Object({
4
4
  /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */
5
5
  url: Type.String(),
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/server.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { ServerVariableObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/** An object representing a Server. */\nexport const ServerObjectSchemaDefinition = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectRef)),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,+BAA+B;AAGjC,MAAM,+BAA+B,KAAK,OAAO;AAAA;AAAA,EAEtD,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB,CAAC;AAC9E,CAAC;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { ServerVariableObjectRef } from './ref-definitions'\nimport type { ServerVariableObject } from './server-variable'\n\n/** An object representing a Server. */\nexport const ServerObjectSchemaDefinition = Type.Object({\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: Type.String(),\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables: Type.Optional(Type.Record(Type.String(), ServerVariableObjectRef)),\n})\n\n/** An object representing a Server. */\nexport type ServerObject = {\n /** REQUIRED. A URL to the target host. This URL supports Server Variables and MAY be relative, to indicate that the host location is relative to the location where the document containing the Server Object is being served. Variable substitutions will be made when a variable is named in {braces}. */\n url: string\n /** An optional string describing the host designated by the URL. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** A map between a variable name and its value. The value is used for substitution in the server's URL template. */\n variables?: Record<string, ServerVariableObject>\n}\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,+BAA+B;AAIjC,MAAM,+BAA+B,KAAK,OAAO;AAAA;AAAA,EAEtD,KAAK,KAAK,OAAO;AAAA;AAAA,EAEjB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB,CAAC;AAC9E,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,7 @@
1
+ import { type XInternal } from '../../../schemas/extensions/document/x-internal.js';
2
+ import { type XScalarIgnore } from '../../../schemas/extensions/document/x-scalar-ignore.js';
3
+ import { type XDisplayName } from '../../../schemas/extensions/tag/x-display-name.js';
4
+ import type { ExternalDocumentationObject } from './external-documentation.js';
1
5
  /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
2
6
  export declare const TagObjectSchemaDefinition: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3
7
  /** REQUIRED. The name of the tag. */
@@ -13,4 +17,13 @@ export declare const TagObjectSchemaDefinition: import("@scalar/typebox").TInter
13
17
  }>, import("@scalar/typebox").TObject<{
14
18
  'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
15
19
  }>]>;
20
+ /** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */
21
+ export type TagObject = {
22
+ /** REQUIRED. The name of the tag. */
23
+ name: string;
24
+ /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
25
+ description?: string;
26
+ /** Additional external documentation for this tag. */
27
+ externalDocs?: ExternalDocumentationObject;
28
+ } & XDisplayName & XInternal & XScalarIgnore;
16
29
  //# sourceMappingURL=tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAQA,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;IAMzD,CAAA"}
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/tag.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,0CAA0C,CAAA;AAC1F,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,+CAA+C,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAsB,MAAM,yCAAyC,CAAA;AAE/F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAA;AAG3E,sKAAsK;AACtK,eAAO,MAAM,yBAAyB;IAElC,qCAAqC;;IAErC,6FAA6F;;IAE7F,sDAAsD;;;;;;;;IAMzD,CAAA;AAED,sKAAsK;AACtK,MAAM,MAAM,SAAS,GAAG;IACtB,qCAAqC;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,6FAA6F;IAC7F,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sDAAsD;IACtD,YAAY,CAAC,EAAE,2BAA2B,CAAA;CAC3C,GAAG,YAAY,GACd,SAAS,GACT,aAAa,CAAA"}
@@ -3,7 +3,7 @@ import { compose } from "../../../schemas/compose.js";
3
3
  import { XInternalSchema } from "../../../schemas/extensions/document/x-internal.js";
4
4
  import { XScalarIgnoreSchema } from "../../../schemas/extensions/document/x-scalar-ignore.js";
5
5
  import { XDisplayNameSchema } from "../../../schemas/extensions/tag/x-display-name.js";
6
- import { ExternalDocumentationObjectRef } from "../../../schemas/v3.1/strict/ref-definitions.js";
6
+ import { ExternalDocumentationObjectRef } from "./ref-definitions.js";
7
7
  const TagObjectSchemaDefinition = compose(
8
8
  Type.Object({
9
9
  /** REQUIRED. The name of the tag. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/tag.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\nimport { ExternalDocumentationObjectRef } from '@/schemas/v3.1/strict/ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n)\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAS,uBAAuB;AAChC,SAAS,2BAA2B;AACpC,SAAS,0BAA0B;AACnC,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { type XInternal, XInternalSchema } from '@/schemas/extensions/document/x-internal'\nimport { type XScalarIgnore, XScalarIgnoreSchema } from '@/schemas/extensions/document/x-scalar-ignore'\nimport { type XDisplayName, XDisplayNameSchema } from '@/schemas/extensions/tag/x-display-name'\n\nimport type { ExternalDocumentationObject } from './external-documentation'\nimport { ExternalDocumentationObjectRef } from './ref-definitions'\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport const TagObjectSchemaDefinition = compose(\n Type.Object({\n /** REQUIRED. The name of the tag. */\n name: Type.String(),\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Additional external documentation for this tag. */\n externalDocs: Type.Optional(ExternalDocumentationObjectRef),\n }),\n XDisplayNameSchema,\n XInternalSchema,\n XScalarIgnoreSchema,\n)\n\n/** Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances. */\nexport type TagObject = {\n /** REQUIRED. The name of the tag. */\n name: string\n /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */\n description?: string\n /** Additional external documentation for this tag. */\n externalDocs?: ExternalDocumentationObject\n} & XDisplayName &\n XInternal &\n XScalarIgnore\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAErB,SAAS,eAAe;AACxB,SAAyB,uBAAuB;AAChD,SAA6B,2BAA2B;AACxD,SAA4B,0BAA0B;AAGtD,SAAS,sCAAsC;AAGxC,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,OAAO;AAAA;AAAA,IAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,cAAc,KAAK,SAAS,8BAA8B;AAAA,EAC5D,CAAC;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import type { SchemaObject } from '../../../schemas/v3.1/strict/openapi-document.js';
1
+ import type { SchemaObject } from './schema.js';
2
2
  export declare const isObjectSchema: (schema: SchemaObject) => schema is Extract<SchemaObject, {
3
3
  type: "object";
4
4
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"type-guards.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/type-guards.ts"],"names":[],"mappings":"AAAA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EAAE;IAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAQhE,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/type-guards.ts"],
4
- "sourcesContent": ["import type { SchemaObject } from '@/schemas/v3.1/strict/openapi-document'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
4
+ "sourcesContent": ["import type { SchemaObject } from './schema'\n\nexport const isObjectSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'object' }> => {\n return (\n 'type' in schema && (schema.type === 'object' || (Array.isArray(schema.type) && schema.type.includes('object')))\n )\n}\n\nexport const isArraySchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'array' }> => {\n return 'type' in schema && (schema.type === 'array' || (Array.isArray(schema.type) && schema.type.includes('array')))\n}\n\nexport const isStringSchema = (schema: SchemaObject): schema is Extract<SchemaObject, { type: 'string' }> => {\n return (\n 'type' in schema && (schema.type === 'string' || (Array.isArray(schema.type) && schema.type.includes('string')))\n )\n}\n\nexport const isNumberSchema = (\n schema: SchemaObject,\n): schema is Extract<SchemaObject, { type: 'number' | 'integer' }> => {\n return (\n 'type' in schema &&\n (schema.type === 'number' ||\n schema.type === 'integer' ||\n (Array.isArray(schema.type) && schema.type.includes('number')) ||\n (Array.isArray(schema.type) && schema.type.includes('integer')))\n )\n}\n"],
5
5
  "mappings": "AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,gBAAgB,CAAC,WAA6E;AACzG,SAAO,UAAU,WAAW,OAAO,SAAS,WAAY,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,OAAO;AACpH;AAEO,MAAM,iBAAiB,CAAC,WAA8E;AAC3G,SACE,UAAU,WAAW,OAAO,SAAS,YAAa,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ;AAEjH;AAEO,MAAM,iBAAiB,CAC5B,WACoE;AACpE,SACE,UAAU,WACT,OAAO,SAAS,YACf,OAAO,SAAS,aACf,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,QAAQ,KAC3D,MAAM,QAAQ,OAAO,IAAI,KAAK,OAAO,KAAK,SAAS,SAAS;AAEnE;",
6
6
  "names": []
7
7
  }
@@ -15,4 +15,21 @@ export declare const XMLObjectSchemaDefinition: import("@scalar/typebox").TObjec
15
15
  /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). */
16
16
  wrapped: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
17
17
  }>;
18
+ /**
19
+ * A metadata object that allows for more fine-tuned XML model definitions.
20
+ *
21
+ * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.
22
+ */
23
+ export type XMLObject = {
24
+ /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being "array" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */
25
+ name?: string;
26
+ /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */
27
+ namespace?: string;
28
+ /** The prefix to be used for the name. */
29
+ prefix?: string;
30
+ /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */
31
+ attribute?: boolean;
32
+ /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being "array" (outside the items). */
33
+ wrapped?: boolean;
34
+ };
18
35
  //# sourceMappingURL=xml.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;IACpC,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA"}
1
+ {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB;IACpC,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA;AAEF;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,wWAAwW;IACxW,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,yHAAyH;IACzH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2RAA2R;IAC3R,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/xml.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport const XMLObjectSchemaDefinition = Type.Object({\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name: Type.Optional(Type.String()),\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace: Type.Optional(Type.String()),\n /** The prefix to be used for the name. */\n prefix: Type.Optional(Type.String()),\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute: Type.Optional(Type.Boolean()),\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped: Type.Optional(Type.Boolean()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport const XMLObjectSchemaDefinition = Type.Object({\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name: Type.Optional(Type.String()),\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace: Type.Optional(Type.String()),\n /** The prefix to be used for the name. */\n prefix: Type.Optional(Type.String()),\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute: Type.Optional(Type.Boolean()),\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped: Type.Optional(Type.Boolean()),\n})\n\n/**\n * A metadata object that allows for more fine-tuned XML model definitions.\n *\n * When using arrays, XML element names are not inferred (for singular/plural forms) and the name field SHOULD be used to add that information. See examples for expected behavior.\n */\nexport type XMLObject = {\n /** Replaces the name of the element/attribute used for the described schema property. When defined within items, it will affect the name of the individual XML elements within the list. When defined alongside type being \"array\" (outside the items), it will affect the wrapping element if and only if wrapped is true. If wrapped is false, it will be ignored. */\n name?: string\n /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */\n namespace?: string\n /** The prefix to be used for the name. */\n prefix?: string\n /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */\n attribute?: boolean\n /** MAY be used only for an array definition. Signifies whether the array is wrapped (for example, <books><book/><book/></books>) or unwrapped (<book/><book/>). Default value is false. The definition takes effect only when defined alongside type being \"array\" (outside the items). */\n wrapped?: boolean\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,4BAA4B,KAAK,OAAO;AAAA;AAAA,EAEnD,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,WAAW,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEtC,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEnC,WAAW,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AACvC,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- import { type Static } from '@scalar/typebox';
2
1
  import type { PartialDeep } from 'type-fest';
3
2
  import type { TraverseSpecOptions } from '../../navigation/types.js';
3
+ import { type ReferenceConfig } from '../../schemas/reference-config/index.js';
4
4
  export declare const ConfigSchema: import("@scalar/typebox").TObject<{
5
5
  'x-scalar-reference-config': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
6
6
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -272,23 +272,6 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
272
272
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
273
273
  }>]>]>>>;
274
274
  }>, import("@scalar/typebox").TObject<{
275
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
276
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
277
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
278
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
279
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
280
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
281
- url: import("@scalar/typebox").TString;
282
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
283
- }>, import("@scalar/typebox").TNull]>>;
284
- }>>;
285
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
286
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
287
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
288
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
289
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
290
- }>>;
291
- }>>>;
292
275
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
293
276
  }>, import("@scalar/typebox").TObject<{
294
277
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
@@ -491,7 +474,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
491
474
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
492
475
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
493
476
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
494
- 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">]>>;
477
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
495
478
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
496
479
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
497
480
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -974,17 +957,17 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
974
957
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
975
958
  }>;
976
959
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
977
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
978
960
  url: import("@scalar/typebox").TString;
961
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
979
962
  }>;
980
963
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
981
964
  title: import("@scalar/typebox").TString;
965
+ version: import("@scalar/typebox").TString;
982
966
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
983
967
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
984
968
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
985
969
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
986
970
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
987
- version: import("@scalar/typebox").TString;
988
971
  }>, import("@scalar/typebox").TObject<{
989
972
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
990
973
  lang: import("@scalar/typebox").TString;
@@ -1245,10 +1228,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1245
1228
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1246
1229
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1247
1230
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1248
- }>, import("@scalar/typebox").TObject<{
1249
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1250
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1251
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1231
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1252
1232
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1253
1233
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1254
1234
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1268,7 +1248,12 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1268
1248
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1269
1249
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1270
1250
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1271
- }>]>;
1251
+ }>, import("@scalar/typebox").TObject<{
1252
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1253
+ name: import("@scalar/typebox").TString;
1254
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1255
+ }>>>;
1256
+ }>]>]>;
1272
1257
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1273
1258
  id: import("@scalar/typebox").TString;
1274
1259
  title: import("@scalar/typebox").TString;
@@ -1316,7 +1301,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1316
1301
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1317
1302
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1318
1303
  }>]>;
1319
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1304
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1320
1305
  id: import("@scalar/typebox").TString;
1321
1306
  title: import("@scalar/typebox").TString;
1322
1307
  }>, import("@scalar/typebox").TObject<{
@@ -1341,6 +1326,17 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1341
1326
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1342
1327
  id: import("@scalar/typebox").TString;
1343
1328
  title: import("@scalar/typebox").TString;
1329
+ }>, import("@scalar/typebox").TObject<{
1330
+ type: import("@scalar/typebox").TLiteral<"tag">;
1331
+ name: import("@scalar/typebox").TString;
1332
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1333
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1334
+ isGroup: import("@scalar/typebox").TBoolean;
1335
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1336
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1337
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1338
+ id: import("@scalar/typebox").TString;
1339
+ title: import("@scalar/typebox").TString;
1344
1340
  }>, import("@scalar/typebox").TObject<{
1345
1341
  type: import("@scalar/typebox").TLiteral<"webhook">;
1346
1342
  ref: import("@scalar/typebox").TString;
@@ -1386,7 +1382,9 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1386
1382
  httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">[]>>>;
1387
1383
  }>>;
1388
1384
  }>;
1389
- export type Config = Static<typeof ConfigSchema>;
1385
+ export type Config = {
1386
+ 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>;
1387
+ };
1390
1388
  export type DocumentConfiguration = Config & PartialDeep<{
1391
1389
  'x-scalar-reference-config': {
1392
1390
  tagSort: TraverseSpecOptions['tagsSorter'];
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAG7D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC,cAAc,CAAC,CAAA;QACjD,UAAU,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAA;QAC7C,QAAQ,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;QACzC,qBAAqB,CAAC,EAAE,CAAC,OAAO,EAAE;YAChC,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,KAAK,MAAM,CAAA;QACZ,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC5D,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC1D,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;KAC7E,CAAA;CACF,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/workspace-specification/config.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = Static<typeof ConfigSchema>\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n getHeadingId: TraverseSpecOptions['getHeadingId']\n getOperationId: TraverseSpecOptions['getOperationId']\n getWebhookId: TraverseSpecOptions['getWebhookId']\n getModelId: TraverseSpecOptions['getModelId']\n getTagId: TraverseSpecOptions['getTagId']\n generateOperationSlug?: (details: {\n path: string\n operationId?: string\n method: string\n summary?: string\n }) => string\n generateHeadingSlug?: (details: { slug?: string }) => string\n generateTagSlug?: (details: { name?: string }) => string\n generateModelSlug?: (details: { name?: string }) => string\n generateWebhookSlug?: (details: { name: string; method?: string }) => string\n }\n }>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAIlC,SAAS,6BAA6B;AAE/B,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { type ReferenceConfig, ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = {\n 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>\n}\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n getHeadingId: TraverseSpecOptions['getHeadingId']\n getOperationId: TraverseSpecOptions['getOperationId']\n getWebhookId: TraverseSpecOptions['getWebhookId']\n getModelId: TraverseSpecOptions['getModelId']\n getTagId: TraverseSpecOptions['getTagId']\n generateOperationSlug?: (details: {\n path: string\n operationId?: string\n method: string\n summary?: string\n }) => string\n generateHeadingSlug?: (details: { slug?: string }) => string\n generateTagSlug?: (details: { name?: string }) => string\n generateModelSlug?: (details: { name?: string }) => string\n generateWebhookSlug?: (details: { name: string; method?: string }) => string\n }\n }>\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAIrB,SAA+B,6BAA6B;AAErD,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,8 @@
1
- import { type Static } from '@scalar/typebox';
1
+ import type { PartialDeep } from 'type-fest/source/partial-deep';
2
+ import type { OpenApiDocument } from '../../schemas/v3.1/strict/openapi-document.js';
3
+ import { type WorkspaceMeta } from '../../schemas/workspace.js';
4
+ import { type Config } from '../../schemas/workspace-specification/config.js';
5
+ import { type Info } from '../../schemas/workspace-specification/info.js';
2
6
  export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3
7
  workspace: import("@scalar/typebox").TLiteral<"draft">;
4
8
  info: import("@scalar/typebox").TObject<{
@@ -280,23 +284,6 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
280
284
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
281
285
  }>]>]>>>;
282
286
  }>, import("@scalar/typebox").TObject<{
283
- 'x-scalar-client-config-request-example': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
284
- name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
285
- body: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
286
- encoding: import("@scalar/typebox").TLiteral<typeof import("../v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js").exampleBodyMime[number]>;
287
- content: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TAny>, import("@scalar/typebox").TString]>;
288
- file: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
289
- url: import("@scalar/typebox").TString;
290
- base64: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
291
- }>, import("@scalar/typebox").TNull]>>;
292
- }>>;
293
- parameters: import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
294
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
295
- query: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
296
- header: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
297
- cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
298
- }>>;
299
- }>>>;
300
287
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
301
288
  }>, import("@scalar/typebox").TObject<{
302
289
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
@@ -499,7 +486,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
499
486
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
500
487
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
501
488
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
502
- 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">]>>;
489
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
503
490
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
504
491
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
505
492
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TNumber]>>;
@@ -982,17 +969,17 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
982
969
  variables: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"ServerVariableObject">>>;
983
970
  }>;
984
971
  ExternalDocumentationObject: import("@scalar/typebox").TObject<{
985
- description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
986
972
  url: import("@scalar/typebox").TString;
973
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
987
974
  }>;
988
975
  InfoObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
989
976
  title: import("@scalar/typebox").TString;
977
+ version: import("@scalar/typebox").TString;
990
978
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
991
979
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
992
980
  termsOfService: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
993
981
  contact: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ContactObject">>;
994
982
  license: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"LicenseObject">>;
995
- version: import("@scalar/typebox").TString;
996
983
  }>, import("@scalar/typebox").TObject<{
997
984
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
998
985
  lang: import("@scalar/typebox").TString;
@@ -1253,10 +1240,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1253
1240
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1254
1241
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1255
1242
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1256
- }>, import("@scalar/typebox").TObject<{
1257
- 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1258
- tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1259
- }>, import("@scalar/typebox").TRef<"TagObject">]>>>;
1243
+ }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1260
1244
  'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1261
1245
  'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1262
1246
  'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
@@ -1276,7 +1260,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1276
1260
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1277
1261
  'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1278
1262
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1279
- }>]>;
1263
+ }>, import("@scalar/typebox").TObject<{
1264
+ 'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1265
+ name: import("@scalar/typebox").TString;
1266
+ tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
1267
+ }>>>;
1268
+ }>]>]>;
1280
1269
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1281
1270
  id: import("@scalar/typebox").TString;
1282
1271
  title: import("@scalar/typebox").TString;
@@ -1324,7 +1313,7 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1324
1313
  isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1325
1314
  xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1326
1315
  }>]>;
1327
- TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1316
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1328
1317
  id: import("@scalar/typebox").TString;
1329
1318
  title: import("@scalar/typebox").TString;
1330
1319
  }>, import("@scalar/typebox").TObject<{
@@ -1349,6 +1338,17 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1349
1338
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1350
1339
  id: import("@scalar/typebox").TString;
1351
1340
  title: import("@scalar/typebox").TString;
1341
+ }>, import("@scalar/typebox").TObject<{
1342
+ type: import("@scalar/typebox").TLiteral<"tag">;
1343
+ name: import("@scalar/typebox").TString;
1344
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1345
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1346
+ isGroup: import("@scalar/typebox").TBoolean;
1347
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1348
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1349
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1350
+ id: import("@scalar/typebox").TString;
1351
+ title: import("@scalar/typebox").TString;
1352
1352
  }>, import("@scalar/typebox").TObject<{
1353
1353
  type: import("@scalar/typebox").TLiteral<"webhook">;
1354
1354
  ref: import("@scalar/typebox").TString;
@@ -1399,5 +1399,12 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
1399
1399
  "x-scalar-active-document": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1400
1400
  "x-scalar-theme": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1401
1401
  }>]>;
1402
- export type WorkspaceSpecification = Static<typeof WorkspaceSpecificationSchema>;
1402
+ export type WorkspaceSpecification = {
1403
+ workspace: 'draft';
1404
+ info: Info;
1405
+ documents?: Record<string, {
1406
+ $ref: string;
1407
+ }>;
1408
+ overrides?: Record<string, PartialDeep<OpenApiDocument>>;
1409
+ } & Config & WorkspaceMeta;
1403
1410
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAOnD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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C,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC,CAAA;CACzD,GAAG,MAAM,GACR,aAAa,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/workspace-specification/index.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { WorkspaceMetaSchema } from '@/schemas/workspace'\nimport { ConfigSchema } from '@/schemas/workspace-specification/config'\nimport { InfoSchema } from '@/schemas/workspace-specification/info'\n\nexport const WorkspaceSpecificationSchema = compose(\n Type.Object({\n workspace: Type.Union([Type.Literal('draft')]),\n info: InfoSchema,\n documents: Type.Optional(\n Type.Record(\n Type.String(),\n Type.Object({\n $ref: Type.String(),\n }),\n ),\n ),\n overrides: Type.Optional(Type.Record(Type.String(), Type.Any())),\n }),\n ConfigSchema,\n WorkspaceMetaSchema,\n)\n\nexport type WorkspaceSpecification = Static<typeof WorkspaceSpecificationSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,eAAe;AACxB,SAAS,2BAA2B;AACpC,SAAS,oBAAoB;AAC7B,SAAS,kBAAkB;AAEpB,MAAM,+BAA+B;AAAA,EAC1C,KAAK,OAAO;AAAA,IACV,WAAW,KAAK,MAAM,CAAC,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IAC7C,MAAM;AAAA,IACN,WAAW,KAAK;AAAA,MACd,KAAK;AAAA,QACH,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,UACV,MAAM,KAAK,OAAO;AAAA,QACpB,CAAC;AAAA,MACH;AAAA,IACF;AAAA,IACA,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA,EACjE,CAAC;AAAA,EACD;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest/source/partial-deep'\n\nimport { compose } from '@/schemas/compose'\nimport type { OpenApiDocument } from '@/schemas/v3.1/strict/openapi-document'\nimport { type WorkspaceMeta, WorkspaceMetaSchema } from '@/schemas/workspace'\nimport { type Config, ConfigSchema } from '@/schemas/workspace-specification/config'\nimport { type Info, InfoSchema } from '@/schemas/workspace-specification/info'\n\nexport const WorkspaceSpecificationSchema = compose(\n Type.Object({\n workspace: Type.Union([Type.Literal('draft')]),\n info: InfoSchema,\n documents: Type.Optional(\n Type.Record(\n Type.String(),\n Type.Object({\n $ref: Type.String(),\n }),\n ),\n ),\n overrides: Type.Optional(Type.Record(Type.String(), Type.Any())),\n }),\n ConfigSchema,\n WorkspaceMetaSchema,\n)\n\nexport type WorkspaceSpecification = {\n workspace: 'draft'\n info: Info\n documents?: Record<string, { $ref: string }>\n overrides?: Record<string, PartialDeep<OpenApiDocument>>\n} & Config &\n WorkspaceMeta\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGrB,SAAS,eAAe;AAExB,SAA6B,2BAA2B;AACxD,SAAsB,oBAAoB;AAC1C,SAAoB,kBAAkB;AAE/B,MAAM,+BAA+B;AAAA,EAC1C,KAAK,OAAO;AAAA,IACV,WAAW,KAAK,MAAM,CAAC,KAAK,QAAQ,OAAO,CAAC,CAAC;AAAA,IAC7C,MAAM;AAAA,IACN,WAAW,KAAK;AAAA,MACd,KAAK;AAAA,QACH,KAAK,OAAO;AAAA,QACZ,KAAK,OAAO;AAAA,UACV,MAAM,KAAK,OAAO;AAAA,QACpB,CAAC;AAAA,MACH;AAAA,IACF;AAAA,IACA,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA,EACjE,CAAC;AAAA,EACD;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
@@ -2,4 +2,8 @@ export declare const InfoSchema: import("@scalar/typebox").TObject<{
2
2
  title: import("@scalar/typebox").TString;
3
3
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4
4
  }>;
5
+ export type Info = {
6
+ title: string;
7
+ description?: string;
8
+ };
5
9
  //# sourceMappingURL=info.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/info.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;EAGrB,CAAA"}
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/info.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;EAGrB,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/schemas/workspace-specification/info.ts"],
4
- "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const InfoSchema = Type.Object({\n title: Type.String(),\n description: Type.Optional(Type.String()),\n})\n"],
4
+ "sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const InfoSchema = Type.Object({\n title: Type.String(),\n description: Type.Optional(Type.String()),\n})\n\nexport type Info = {\n title: string\n description?: string\n}\n"],
5
5
  "mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,aAAa,KAAK,OAAO;AAAA,EACpC,OAAO,KAAK,OAAO;AAAA,EACnB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAC1C,CAAC;",
6
6
  "names": []
7
7
  }