@scalar/workspace-store 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (286) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/client.d.ts +25035 -6283
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +5 -2
  5. package/dist/client.js.map +2 -2
  6. package/dist/helpers/general.d.ts +1 -0
  7. package/dist/helpers/general.d.ts.map +1 -1
  8. package/dist/helpers/general.js +5 -1
  9. package/dist/helpers/general.js.map +2 -2
  10. package/dist/navigation/helpers/traverse-document.d.ts +2 -2
  11. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  12. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  13. package/dist/navigation/helpers/traverse-paths.d.ts +2 -2
  14. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-paths.js +4 -0
  16. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  17. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -2
  18. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  19. package/dist/navigation/helpers/traverse-schemas.js +1 -1
  20. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  21. package/dist/navigation/helpers/traverse-tags.d.ts +2 -2
  22. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  23. package/dist/navigation/helpers/traverse-tags.js +2 -2
  24. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  25. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -2
  26. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  27. package/dist/navigation/helpers/traverse-webhooks.js +4 -0
  28. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  29. package/dist/navigation/types.d.ts +11 -10
  30. package/dist/navigation/types.d.ts.map +1 -1
  31. package/dist/schemas/typebox-coerce.d.ts +26 -0
  32. package/dist/schemas/typebox-coerce.d.ts.map +1 -0
  33. package/dist/schemas/typebox-coerce.js +8 -0
  34. package/dist/schemas/typebox-coerce.js.map +7 -0
  35. package/dist/schemas/v3.1/compose.d.ts +6 -0
  36. package/dist/schemas/v3.1/compose.d.ts.map +1 -0
  37. package/dist/schemas/v3.1/compose.js +8 -0
  38. package/dist/schemas/v3.1/compose.js.map +7 -0
  39. package/dist/schemas/v3.1/strict/callback.d.ts +3 -0
  40. package/dist/schemas/v3.1/strict/callback.d.ts.map +1 -0
  41. package/dist/schemas/v3.1/strict/callback.js +15 -0
  42. package/dist/schemas/v3.1/strict/callback.js.map +7 -0
  43. package/dist/schemas/v3.1/strict/components.d.ts +7824 -0
  44. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -0
  45. package/dist/schemas/v3.1/strict/components.js +46 -0
  46. package/dist/schemas/v3.1/strict/components.js.map +7 -0
  47. package/dist/schemas/{openapi-v3 → v3.1/strict}/contact.d.ts +4 -2
  48. package/dist/schemas/v3.1/strict/contact.d.ts.map +1 -0
  49. package/dist/schemas/v3.1/strict/contact.js +18 -0
  50. package/dist/schemas/v3.1/strict/contact.js.map +7 -0
  51. package/dist/schemas/{openapi-v3 → v3.1/strict}/discriminator.d.ts +4 -2
  52. package/dist/schemas/v3.1/strict/discriminator.d.ts.map +1 -0
  53. package/dist/schemas/v3.1/strict/discriminator.js +16 -0
  54. package/dist/schemas/v3.1/strict/discriminator.js.map +7 -0
  55. package/dist/schemas/{openapi-v3 → v3.1/strict}/encoding.d.ts +7 -16
  56. package/dist/schemas/v3.1/strict/encoding.d.ts.map +1 -0
  57. package/dist/schemas/v3.1/strict/encoding.js +17 -0
  58. package/dist/schemas/v3.1/strict/encoding.js.map +7 -0
  59. package/dist/schemas/{openapi-v3 → v3.1/strict}/example.d.ts +4 -2
  60. package/dist/schemas/v3.1/strict/example.d.ts.map +1 -0
  61. package/dist/schemas/v3.1/strict/example.js +20 -0
  62. package/dist/schemas/v3.1/strict/example.js.map +7 -0
  63. package/dist/schemas/v3.1/strict/extensions.d.ts +4 -0
  64. package/dist/schemas/v3.1/strict/extensions.d.ts.map +1 -0
  65. package/dist/schemas/v3.1/strict/extensions.js +6 -0
  66. package/dist/schemas/v3.1/strict/extensions.js.map +7 -0
  67. package/dist/schemas/v3.1/strict/external-documentation.d.ts +10 -0
  68. package/dist/schemas/v3.1/strict/external-documentation.d.ts.map +1 -0
  69. package/dist/schemas/v3.1/strict/external-documentation.js +16 -0
  70. package/dist/schemas/v3.1/strict/external-documentation.js.map +7 -0
  71. package/dist/schemas/v3.1/strict/header.d.ts +133 -0
  72. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -0
  73. package/dist/schemas/v3.1/strict/header.js +48 -0
  74. package/dist/schemas/v3.1/strict/header.js.map +7 -0
  75. package/dist/schemas/{openapi-v3 → v3.1/strict}/info.d.ts +8 -6
  76. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -0
  77. package/dist/schemas/v3.1/strict/info.js +28 -0
  78. package/dist/schemas/v3.1/strict/info.js.map +7 -0
  79. package/dist/schemas/{openapi-v3 → v3.1/strict}/license.d.ts +4 -2
  80. package/dist/schemas/v3.1/strict/license.d.ts.map +1 -0
  81. package/dist/schemas/v3.1/strict/license.js +18 -0
  82. package/dist/schemas/v3.1/strict/license.js.map +7 -0
  83. package/dist/schemas/{openapi-v3 → v3.1/strict}/link.d.ts +8 -6
  84. package/dist/schemas/v3.1/strict/link.d.ts.map +1 -0
  85. package/dist/schemas/v3.1/strict/link.js +25 -0
  86. package/dist/schemas/v3.1/strict/link.js.map +7 -0
  87. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +329 -0
  88. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -0
  89. package/dist/schemas/v3.1/strict/media-header-encoding.js +19 -0
  90. package/dist/schemas/v3.1/strict/media-header-encoding.js.map +7 -0
  91. package/dist/schemas/{openapi-v3 → v3.1/strict}/media-type.d.ts +20 -34
  92. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -0
  93. package/dist/schemas/v3.1/strict/media-type.js +27 -0
  94. package/dist/schemas/v3.1/strict/media-type.js.map +7 -0
  95. package/dist/schemas/{openapi-v3 → v3.1/strict}/oauth-flow.d.ts +4 -2
  96. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -0
  97. package/dist/schemas/v3.1/strict/oauth-flow.js +20 -0
  98. package/dist/schemas/v3.1/strict/oauth-flow.js.map +7 -0
  99. package/dist/schemas/{openapi-v3 → v3.1/strict}/oauthflows.d.ts +12 -10
  100. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -0
  101. package/dist/schemas/v3.1/strict/oauthflows.js +21 -0
  102. package/dist/schemas/v3.1/strict/oauthflows.js.map +7 -0
  103. package/dist/schemas/v3.1/strict/openapi-document.d.ts +49 -0
  104. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -0
  105. package/dist/schemas/v3.1/strict/openapi-document.js +55 -0
  106. package/dist/schemas/v3.1/strict/openapi-document.js.map +7 -0
  107. package/dist/schemas/v3.1/strict/operation.d.ts +572 -0
  108. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -0
  109. package/dist/schemas/v3.1/strict/operation.js +46 -0
  110. package/dist/schemas/v3.1/strict/operation.js.map +7 -0
  111. package/dist/schemas/v3.1/strict/parameter.d.ts +396 -0
  112. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -0
  113. package/dist/schemas/v3.1/strict/parameter.js +56 -0
  114. package/dist/schemas/v3.1/strict/parameter.js.map +7 -0
  115. package/dist/schemas/v3.1/strict/path-item.d.ts +205 -0
  116. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -0
  117. package/dist/schemas/v3.1/strict/path-item.js +41 -0
  118. package/dist/schemas/v3.1/strict/path-item.js.map +7 -0
  119. package/dist/schemas/v3.1/strict/path-operations.d.ts +7816 -0
  120. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -0
  121. package/dist/schemas/v3.1/strict/path-operations.js +19 -0
  122. package/dist/schemas/v3.1/strict/path-operations.js.map +7 -0
  123. package/dist/schemas/v3.1/strict/paths.d.ts +3536 -0
  124. package/dist/schemas/{openapi-v3/openapi-document.d.ts.map → v3.1/strict/paths.d.ts.map} +1 -1
  125. package/dist/schemas/v3.1/strict/paths.js +16 -0
  126. package/dist/schemas/v3.1/strict/paths.js.map +7 -0
  127. package/dist/schemas/{openapi-v3 → v3.1/strict}/reference.d.ts +15 -6
  128. package/dist/schemas/v3.1/strict/reference.d.ts.map +1 -0
  129. package/dist/schemas/v3.1/strict/reference.js +26 -0
  130. package/dist/schemas/v3.1/strict/reference.js.map +7 -0
  131. package/dist/schemas/v3.1/strict/request-body.d.ts +112 -0
  132. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -0
  133. package/dist/schemas/v3.1/strict/request-body.js +19 -0
  134. package/dist/schemas/v3.1/strict/request-body.js.map +7 -0
  135. package/dist/schemas/v3.1/strict/response.d.ts +242 -0
  136. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -0
  137. package/dist/schemas/v3.1/strict/response.js +23 -0
  138. package/dist/schemas/v3.1/strict/response.js.map +7 -0
  139. package/dist/schemas/v3.1/strict/responses.d.ts +254 -0
  140. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -0
  141. package/dist/schemas/v3.1/strict/responses.js +13 -0
  142. package/dist/schemas/v3.1/strict/responses.js.map +7 -0
  143. package/dist/schemas/{openapi-v3 → v3.1/strict}/schema.d.ts +12 -8
  144. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -0
  145. package/dist/schemas/v3.1/strict/schema.js +34 -0
  146. package/dist/schemas/v3.1/strict/schema.js.map +7 -0
  147. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-requirement.d.ts +3 -1
  148. package/dist/schemas/v3.1/strict/security-requirement.d.ts.map +1 -0
  149. package/dist/schemas/v3.1/strict/security-requirement.js +15 -0
  150. package/dist/schemas/v3.1/strict/security-requirement.js.map +7 -0
  151. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.d.ts +40 -38
  152. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -0
  153. package/dist/schemas/{openapi-v3 → v3.1/strict}/security-scheme.js +21 -16
  154. package/dist/schemas/v3.1/strict/security-scheme.js.map +7 -0
  155. package/dist/schemas/{openapi-v3 → v3.1/strict}/server-variable.d.ts +4 -2
  156. package/dist/schemas/v3.1/strict/server-variable.d.ts.map +1 -0
  157. package/dist/schemas/v3.1/strict/server-variable.js +18 -0
  158. package/dist/schemas/v3.1/strict/server-variable.js.map +7 -0
  159. package/dist/schemas/{openapi-v3 → v3.1/strict}/server.d.ts +6 -4
  160. package/dist/schemas/v3.1/strict/server.d.ts.map +1 -0
  161. package/dist/schemas/v3.1/strict/server.js +19 -0
  162. package/dist/schemas/v3.1/strict/server.js.map +7 -0
  163. package/dist/schemas/v3.1/strict/tag.d.ts +17 -0
  164. package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -0
  165. package/dist/schemas/v3.1/strict/tag.js +25 -0
  166. package/dist/schemas/v3.1/strict/tag.js.map +7 -0
  167. package/dist/schemas/{openapi-v3 → v3.1/strict}/xml.d.ts +4 -2
  168. package/dist/schemas/v3.1/strict/xml.d.ts.map +1 -0
  169. package/dist/schemas/v3.1/strict/xml.js +22 -0
  170. package/dist/schemas/v3.1/strict/xml.js.map +7 -0
  171. package/dist/schemas/v3.1/type-guard.d.ts +3 -0
  172. package/dist/schemas/v3.1/type-guard.d.ts.map +1 -0
  173. package/dist/schemas/v3.1/type-guard.js +7 -0
  174. package/dist/schemas/v3.1/type-guard.js.map +7 -0
  175. package/dist/schemas/workspace.d.ts +49 -14750
  176. package/dist/schemas/workspace.d.ts.map +1 -1
  177. package/dist/schemas/workspace.js +5 -4
  178. package/dist/schemas/workspace.js.map +2 -2
  179. package/dist/schemas.d.ts.map +1 -1
  180. package/dist/schemas.js.map +2 -2
  181. package/dist/server.d.ts +2579 -5
  182. package/dist/server.d.ts.map +1 -1
  183. package/dist/server.js +14 -6
  184. package/dist/server.js.map +2 -2
  185. package/package.json +5 -4
  186. package/dist/schemas/openapi-v3/callback.d.ts +0 -1156
  187. package/dist/schemas/openapi-v3/callback.d.ts.map +0 -1
  188. package/dist/schemas/openapi-v3/callback.js +0 -11
  189. package/dist/schemas/openapi-v3/callback.js.map +0 -7
  190. package/dist/schemas/openapi-v3/components.d.ts +0 -2597
  191. package/dist/schemas/openapi-v3/components.d.ts.map +0 -1
  192. package/dist/schemas/openapi-v3/components.js +0 -38
  193. package/dist/schemas/openapi-v3/components.js.map +0 -7
  194. package/dist/schemas/openapi-v3/contact.d.ts.map +0 -1
  195. package/dist/schemas/openapi-v3/contact.js +0 -13
  196. package/dist/schemas/openapi-v3/contact.js.map +0 -7
  197. package/dist/schemas/openapi-v3/discriminator.d.ts.map +0 -1
  198. package/dist/schemas/openapi-v3/discriminator.js +0 -11
  199. package/dist/schemas/openapi-v3/discriminator.js.map +0 -7
  200. package/dist/schemas/openapi-v3/encoding.d.ts.map +0 -1
  201. package/dist/schemas/openapi-v3/encoding.js +0 -13
  202. package/dist/schemas/openapi-v3/encoding.js.map +0 -7
  203. package/dist/schemas/openapi-v3/example.d.ts.map +0 -1
  204. package/dist/schemas/openapi-v3/example.js +0 -15
  205. package/dist/schemas/openapi-v3/example.js.map +0 -7
  206. package/dist/schemas/openapi-v3/external-documentation.d.ts +0 -8
  207. package/dist/schemas/openapi-v3/external-documentation.d.ts.map +0 -1
  208. package/dist/schemas/openapi-v3/external-documentation.js +0 -11
  209. package/dist/schemas/openapi-v3/external-documentation.js.map +0 -7
  210. package/dist/schemas/openapi-v3/header.d.ts +0 -18
  211. package/dist/schemas/openapi-v3/header.d.ts.map +0 -1
  212. package/dist/schemas/openapi-v3/header.js +0 -13
  213. package/dist/schemas/openapi-v3/header.js.map +0 -7
  214. package/dist/schemas/openapi-v3/info.d.ts.map +0 -1
  215. package/dist/schemas/openapi-v3/info.js +0 -23
  216. package/dist/schemas/openapi-v3/info.js.map +0 -7
  217. package/dist/schemas/openapi-v3/license.d.ts.map +0 -1
  218. package/dist/schemas/openapi-v3/license.js +0 -13
  219. package/dist/schemas/openapi-v3/license.js.map +0 -7
  220. package/dist/schemas/openapi-v3/link.d.ts.map +0 -1
  221. package/dist/schemas/openapi-v3/link.js +0 -20
  222. package/dist/schemas/openapi-v3/link.js.map +0 -7
  223. package/dist/schemas/openapi-v3/media-type.d.ts.map +0 -1
  224. package/dist/schemas/openapi-v3/media-type.js +0 -19
  225. package/dist/schemas/openapi-v3/media-type.js.map +0 -7
  226. package/dist/schemas/openapi-v3/oauth-flow.d.ts.map +0 -1
  227. package/dist/schemas/openapi-v3/oauth-flow.js +0 -15
  228. package/dist/schemas/openapi-v3/oauth-flow.js.map +0 -7
  229. package/dist/schemas/openapi-v3/oauthflows.d.ts.map +0 -1
  230. package/dist/schemas/openapi-v3/oauthflows.js +0 -16
  231. package/dist/schemas/openapi-v3/oauthflows.js.map +0 -7
  232. package/dist/schemas/openapi-v3/openapi-document.d.ts +0 -4941
  233. package/dist/schemas/openapi-v3/openapi-document.js +0 -35
  234. package/dist/schemas/openapi-v3/openapi-document.js.map +0 -7
  235. package/dist/schemas/openapi-v3/operation-without-callback.d.ts +0 -200
  236. package/dist/schemas/openapi-v3/operation-without-callback.d.ts.map +0 -1
  237. package/dist/schemas/openapi-v3/operation-without-callback.js +0 -39
  238. package/dist/schemas/openapi-v3/operation-without-callback.js.map +0 -7
  239. package/dist/schemas/openapi-v3/parameter.d.ts +0 -25
  240. package/dist/schemas/openapi-v3/parameter.d.ts.map +0 -1
  241. package/dist/schemas/openapi-v3/parameter.js +0 -22
  242. package/dist/schemas/openapi-v3/parameter.js.map +0 -7
  243. package/dist/schemas/openapi-v3/path-item.d.ts +0 -1167
  244. package/dist/schemas/openapi-v3/path-item.d.ts.map +0 -1
  245. package/dist/schemas/openapi-v3/path-item.js +0 -37
  246. package/dist/schemas/openapi-v3/path-item.js.map +0 -7
  247. package/dist/schemas/openapi-v3/paths.d.ts +0 -1154
  248. package/dist/schemas/openapi-v3/paths.d.ts.map +0 -1
  249. package/dist/schemas/openapi-v3/paths.js +0 -11
  250. package/dist/schemas/openapi-v3/paths.js.map +0 -7
  251. package/dist/schemas/openapi-v3/reference.d.ts.map +0 -1
  252. package/dist/schemas/openapi-v3/reference.js +0 -17
  253. package/dist/schemas/openapi-v3/reference.js.map +0 -7
  254. package/dist/schemas/openapi-v3/request-body.d.ts +0 -56
  255. package/dist/schemas/openapi-v3/request-body.d.ts.map +0 -1
  256. package/dist/schemas/openapi-v3/request-body.js +0 -14
  257. package/dist/schemas/openapi-v3/request-body.js.map +0 -7
  258. package/dist/schemas/openapi-v3/response.d.ts +0 -88
  259. package/dist/schemas/openapi-v3/response.d.ts.map +0 -1
  260. package/dist/schemas/openapi-v3/response.js +0 -19
  261. package/dist/schemas/openapi-v3/response.js.map +0 -7
  262. package/dist/schemas/openapi-v3/responses.d.ts +0 -99
  263. package/dist/schemas/openapi-v3/responses.d.ts.map +0 -1
  264. package/dist/schemas/openapi-v3/responses.js +0 -8
  265. package/dist/schemas/openapi-v3/responses.js.map +0 -7
  266. package/dist/schemas/openapi-v3/schema.d.ts.map +0 -1
  267. package/dist/schemas/openapi-v3/schema.js +0 -22
  268. package/dist/schemas/openapi-v3/schema.js.map +0 -7
  269. package/dist/schemas/openapi-v3/security-requirement.d.ts.map +0 -1
  270. package/dist/schemas/openapi-v3/security-requirement.js +0 -10
  271. package/dist/schemas/openapi-v3/security-requirement.js.map +0 -7
  272. package/dist/schemas/openapi-v3/security-scheme.d.ts.map +0 -1
  273. package/dist/schemas/openapi-v3/security-scheme.js.map +0 -7
  274. package/dist/schemas/openapi-v3/server-variable.d.ts.map +0 -1
  275. package/dist/schemas/openapi-v3/server-variable.js +0 -13
  276. package/dist/schemas/openapi-v3/server-variable.js.map +0 -7
  277. package/dist/schemas/openapi-v3/server.d.ts.map +0 -1
  278. package/dist/schemas/openapi-v3/server.js +0 -14
  279. package/dist/schemas/openapi-v3/server.js.map +0 -7
  280. package/dist/schemas/openapi-v3/tag.d.ts +0 -13
  281. package/dist/schemas/openapi-v3/tag.d.ts.map +0 -1
  282. package/dist/schemas/openapi-v3/tag.js +0 -14
  283. package/dist/schemas/openapi-v3/tag.js.map +0 -7
  284. package/dist/schemas/openapi-v3/xml.d.ts.map +0 -1
  285. package/dist/schemas/openapi-v3/xml.js +0 -17
  286. package/dist/schemas/openapi-v3/xml.js.map +0 -7
@@ -1,14 +0,0 @@
1
- import { Type } from "@sinclair/typebox";
2
- import { ExternalDocumentationObject } from "./external-documentation.js";
3
- const TagObject = Type.Object({
4
- /** REQUIRED. The name of the tag. */
5
- name: Type.String(),
6
- /** A description for the tag. CommonMark syntax MAY be used for rich text representation. */
7
- description: Type.Optional(Type.String()),
8
- /** Additional external documentation for this tag. */
9
- externalDocs: Type.Optional(ExternalDocumentationObject)
10
- });
11
- export {
12
- TagObject
13
- };
14
- //# sourceMappingURL=tag.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/schemas/openapi-v3/tag.ts"],
4
- "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ExternalDocumentationObject } from './external-documentation'\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 TagObject = 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(ExternalDocumentationObject),\n})\n"],
5
- "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,mCAAmC;AAGrC,MAAM,YAAY,KAAK,OAAO;AAAA;AAAA,EAEnC,MAAM,KAAK,OAAO;AAAA;AAAA,EAElB,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,cAAc,KAAK,SAAS,2BAA2B;AACzD,CAAC;",
6
- "names": []
7
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"xml.d.ts","sourceRoot":"","sources":["../../../src/schemas/openapi-v3/xml.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,SAAS;IACpB,wWAAwW;;IAExW,4FAA4F;;IAE5F,0CAA0C;;IAE1C,yHAAyH;;IAEzH,2RAA2R;;EAE3R,CAAA"}
@@ -1,17 +0,0 @@
1
- import { Type } from "@sinclair/typebox";
2
- const XMLObject = Type.Object({
3
- /** 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. */
4
- name: Type.Optional(Type.String()),
5
- /** The URI of the namespace definition. Value MUST be in the form of a non-relative URI. */
6
- namespace: Type.Optional(Type.String()),
7
- /** The prefix to be used for the name. */
8
- prefix: Type.Optional(Type.String()),
9
- /** Declares whether the property definition translates to an attribute instead of an element. Default value is false. */
10
- attribute: Type.Optional(Type.Boolean()),
11
- /** 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). */
12
- wrapped: Type.Optional(Type.Boolean())
13
- });
14
- export {
15
- XMLObject
16
- };
17
- //# sourceMappingURL=xml.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/schemas/openapi-v3/xml.ts"],
4
- "sourcesContent": ["import { Type } from '@sinclair/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 XMLObject = 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"],
5
- "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,YAAY,KAAK,OAAO;AAAA;AAAA,EAEnC,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
- "names": []
7
- }