@scalar/workspace-store 0.6.0 → 0.8.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 (218) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +116 -0
  3. package/dist/client.d.ts +71 -44614
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +146 -11
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/apply-selective-updates.d.ts +17 -0
  8. package/dist/helpers/apply-selective-updates.d.ts.map +1 -0
  9. package/dist/helpers/apply-selective-updates.js +13 -0
  10. package/dist/helpers/apply-selective-updates.js.map +7 -0
  11. package/dist/helpers/general.d.ts +33 -0
  12. package/dist/helpers/general.d.ts.map +1 -1
  13. package/dist/helpers/general.js +14 -1
  14. package/dist/helpers/general.js.map +2 -2
  15. package/dist/helpers/json-path-utils.d.ts +1 -1
  16. package/dist/helpers/json-path-utils.d.ts.map +1 -1
  17. package/dist/helpers/json-path-utils.js.map +2 -2
  18. package/dist/helpers/merge-object.d.ts +23 -0
  19. package/dist/helpers/merge-object.d.ts.map +1 -0
  20. package/dist/helpers/merge-object.js +20 -0
  21. package/dist/helpers/merge-object.js.map +7 -0
  22. package/dist/helpers/proxy.d.ts +1 -1
  23. package/dist/helpers/proxy.d.ts.map +1 -1
  24. package/dist/helpers/proxy.js.map +2 -2
  25. package/dist/mutators/cookie.d.ts +17 -0
  26. package/dist/mutators/cookie.d.ts.map +1 -0
  27. package/dist/mutators/cookie.js +31 -0
  28. package/dist/mutators/cookie.js.map +7 -0
  29. package/dist/mutators/environment.d.ts +17 -0
  30. package/dist/mutators/environment.d.ts.map +1 -0
  31. package/dist/mutators/environment.js +31 -0
  32. package/dist/mutators/environment.js.map +7 -0
  33. package/dist/mutators/helpers.d.ts +34492 -0
  34. package/dist/mutators/helpers.d.ts.map +1 -0
  35. package/dist/mutators/helpers.js +11 -0
  36. package/dist/mutators/helpers.js.map +7 -0
  37. package/dist/mutators/index.d.ts +108 -0
  38. package/dist/mutators/index.d.ts.map +1 -0
  39. package/dist/mutators/index.js +67 -0
  40. package/dist/mutators/index.js.map +7 -0
  41. package/dist/mutators/request-example.d.ts +21 -0
  42. package/dist/mutators/request-example.d.ts.map +1 -0
  43. package/dist/mutators/request-example.js +58 -0
  44. package/dist/mutators/request-example.js.map +7 -0
  45. package/dist/mutators/request.d.ts +22 -0
  46. package/dist/mutators/request.d.ts.map +1 -0
  47. package/dist/mutators/request.js +53 -0
  48. package/dist/mutators/request.js.map +7 -0
  49. package/dist/mutators/security-schemes.d.ts +14 -0
  50. package/dist/mutators/security-schemes.d.ts.map +1 -0
  51. package/dist/mutators/security-schemes.js +27 -0
  52. package/dist/mutators/security-schemes.js.map +7 -0
  53. package/dist/mutators/server.d.ts +12 -0
  54. package/dist/mutators/server.d.ts.map +1 -0
  55. package/dist/mutators/server.js +24 -0
  56. package/dist/mutators/server.js.map +7 -0
  57. package/dist/schemas/compose.d.ts.map +1 -0
  58. package/dist/schemas/{v3.1/compose.js.map → compose.js.map} +1 -1
  59. package/dist/schemas/reference-config/appearance.d.ts +13 -0
  60. package/dist/schemas/reference-config/appearance.d.ts.map +1 -0
  61. package/dist/schemas/reference-config/appearance.js +26 -0
  62. package/dist/schemas/reference-config/appearance.js.map +7 -0
  63. package/dist/schemas/reference-config/features.d.ts +15 -0
  64. package/dist/schemas/reference-config/features.d.ts.map +1 -0
  65. package/dist/schemas/reference-config/features.js +30 -0
  66. package/dist/schemas/reference-config/features.js.map +7 -0
  67. package/dist/schemas/reference-config/index.d.ts +53 -0
  68. package/dist/schemas/reference-config/index.d.ts.map +1 -0
  69. package/dist/schemas/reference-config/index.js +66 -0
  70. package/dist/schemas/reference-config/index.js.map +7 -0
  71. package/dist/schemas/reference-config/meta.d.ts +12 -0
  72. package/dist/schemas/reference-config/meta.d.ts.map +1 -0
  73. package/dist/schemas/reference-config/meta.js +24 -0
  74. package/dist/schemas/reference-config/meta.js.map +7 -0
  75. package/dist/schemas/reference-config/routing.d.ts +8 -0
  76. package/dist/schemas/reference-config/routing.d.ts.map +1 -0
  77. package/dist/schemas/reference-config/routing.js +16 -0
  78. package/dist/schemas/reference-config/routing.js.map +7 -0
  79. package/dist/schemas/reference-config/settings.d.ts +8 -0
  80. package/dist/schemas/reference-config/settings.d.ts.map +1 -0
  81. package/dist/schemas/reference-config/settings.js +16 -0
  82. package/dist/schemas/reference-config/settings.js.map +7 -0
  83. package/dist/schemas/v3.1/strict/callback.js +1 -1
  84. package/dist/schemas/v3.1/strict/callback.js.map +1 -1
  85. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +16 -0
  86. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +1 -0
  87. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +13 -0
  88. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +7 -0
  89. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +27 -0
  90. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +1 -0
  91. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +23 -0
  92. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +7 -0
  93. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts +38 -0
  94. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.d.ts.map +1 -0
  95. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js +45 -0
  96. package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-request-example.js.map +7 -0
  97. package/dist/schemas/v3.1/strict/components.d.ts +45 -7821
  98. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  99. package/dist/schemas/v3.1/strict/components.js +4 -2
  100. package/dist/schemas/v3.1/strict/components.js.map +2 -2
  101. package/dist/schemas/v3.1/strict/contact.js +1 -1
  102. package/dist/schemas/v3.1/strict/contact.js.map +1 -1
  103. package/dist/schemas/v3.1/strict/discriminator.js +1 -1
  104. package/dist/schemas/v3.1/strict/discriminator.js.map +1 -1
  105. package/dist/schemas/v3.1/strict/encoding.js +1 -1
  106. package/dist/schemas/v3.1/strict/encoding.js.map +1 -1
  107. package/dist/schemas/v3.1/strict/example.js +1 -1
  108. package/dist/schemas/v3.1/strict/example.js.map +1 -1
  109. package/dist/schemas/v3.1/strict/external-documentation.js +1 -1
  110. package/dist/schemas/v3.1/strict/external-documentation.js.map +1 -1
  111. package/dist/schemas/v3.1/strict/header.d.ts +2 -0
  112. package/dist/schemas/v3.1/strict/header.d.ts.map +1 -1
  113. package/dist/schemas/v3.1/strict/header.js +1 -1
  114. package/dist/schemas/v3.1/strict/header.js.map +1 -1
  115. package/dist/schemas/v3.1/strict/info.js +1 -1
  116. package/dist/schemas/v3.1/strict/info.js.map +1 -1
  117. package/dist/schemas/v3.1/strict/license.js +1 -1
  118. package/dist/schemas/v3.1/strict/license.js.map +1 -1
  119. package/dist/schemas/v3.1/strict/link.js +1 -1
  120. package/dist/schemas/v3.1/strict/link.js.map +1 -1
  121. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts +6 -0
  122. package/dist/schemas/v3.1/strict/media-header-encoding.d.ts.map +1 -1
  123. package/dist/schemas/v3.1/strict/media-type.d.ts +1 -0
  124. package/dist/schemas/v3.1/strict/media-type.d.ts.map +1 -1
  125. package/dist/schemas/v3.1/strict/media-type.js +1 -1
  126. package/dist/schemas/v3.1/strict/media-type.js.map +1 -1
  127. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +73 -2
  128. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  129. package/dist/schemas/v3.1/strict/oauth-flow.js +45 -8
  130. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  131. package/dist/schemas/v3.1/strict/oauthflows.d.ts +11 -10
  132. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  133. package/dist/schemas/v3.1/strict/oauthflows.js +12 -9
  134. package/dist/schemas/v3.1/strict/oauthflows.js.map +2 -2
  135. package/dist/schemas/v3.1/strict/openapi-document.d.ts +16 -0
  136. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  137. package/dist/schemas/v3.1/strict/openapi-document.js +9 -2
  138. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  139. package/dist/schemas/v3.1/strict/operation.d.ts +29 -2
  140. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  141. package/dist/schemas/v3.1/strict/operation.js +8 -1
  142. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  143. package/dist/schemas/v3.1/strict/parameter.d.ts +11 -5
  144. package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
  145. package/dist/schemas/v3.1/strict/parameter.js +2 -2
  146. package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
  147. package/dist/schemas/v3.1/strict/path-item.d.ts +11 -2
  148. package/dist/schemas/v3.1/strict/path-item.d.ts.map +1 -1
  149. package/dist/schemas/v3.1/strict/path-item.js +7 -1
  150. package/dist/schemas/v3.1/strict/path-item.js.map +2 -2
  151. package/dist/schemas/v3.1/strict/path-operations.d.ts +4133 -260
  152. package/dist/schemas/v3.1/strict/path-operations.d.ts.map +1 -1
  153. package/dist/schemas/v3.1/strict/paths.d.ts +1935 -15
  154. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  155. package/dist/schemas/v3.1/strict/paths.js +1 -1
  156. package/dist/schemas/v3.1/strict/paths.js.map +1 -1
  157. package/dist/schemas/v3.1/strict/reference.js +1 -1
  158. package/dist/schemas/v3.1/strict/reference.js.map +1 -1
  159. package/dist/schemas/v3.1/strict/request-body.d.ts +2 -0
  160. package/dist/schemas/v3.1/strict/request-body.d.ts.map +1 -1
  161. package/dist/schemas/v3.1/strict/request-body.js +1 -1
  162. package/dist/schemas/v3.1/strict/request-body.js.map +1 -1
  163. package/dist/schemas/v3.1/strict/response.d.ts +4 -0
  164. package/dist/schemas/v3.1/strict/response.d.ts.map +1 -1
  165. package/dist/schemas/v3.1/strict/response.js +1 -1
  166. package/dist/schemas/v3.1/strict/response.js.map +1 -1
  167. package/dist/schemas/v3.1/strict/responses.d.ts +4 -0
  168. package/dist/schemas/v3.1/strict/responses.d.ts.map +1 -1
  169. package/dist/schemas/v3.1/strict/responses.js +1 -1
  170. package/dist/schemas/v3.1/strict/responses.js.map +1 -1
  171. package/dist/schemas/v3.1/strict/schema.d.ts +6 -1
  172. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  173. package/dist/schemas/v3.1/strict/schema.js +8 -3
  174. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  175. package/dist/schemas/v3.1/strict/security-requirement.js +1 -1
  176. package/dist/schemas/v3.1/strict/security-requirement.js.map +1 -1
  177. package/dist/schemas/v3.1/strict/security-scheme.d.ts +22 -20
  178. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  179. package/dist/schemas/v3.1/strict/security-scheme.js +1 -1
  180. package/dist/schemas/v3.1/strict/security-scheme.js.map +1 -1
  181. package/dist/schemas/v3.1/strict/server-variable.js +1 -1
  182. package/dist/schemas/v3.1/strict/server-variable.js.map +1 -1
  183. package/dist/schemas/v3.1/strict/server.js +1 -1
  184. package/dist/schemas/v3.1/strict/server.js.map +1 -1
  185. package/dist/schemas/v3.1/strict/tag.js +1 -1
  186. package/dist/schemas/v3.1/strict/tag.js.map +1 -1
  187. package/dist/schemas/v3.1/strict/xml.js +1 -1
  188. package/dist/schemas/v3.1/strict/xml.js.map +1 -1
  189. package/dist/schemas/v3.1/type-guard.d.ts +5 -0
  190. package/dist/schemas/v3.1/type-guard.d.ts.map +1 -1
  191. package/dist/schemas/v3.1/type-guard.js +1 -3
  192. package/dist/schemas/v3.1/type-guard.js.map +2 -2
  193. package/dist/schemas/workspace-specification/config.d.ts +48 -0
  194. package/dist/schemas/workspace-specification/config.d.ts.map +1 -0
  195. package/dist/schemas/workspace-specification/config.js +11 -0
  196. package/dist/schemas/workspace-specification/config.js.map +7 -0
  197. package/dist/schemas/workspace-specification/index.d.ts +163 -0
  198. package/dist/schemas/workspace-specification/index.d.ts.map +1 -0
  199. package/dist/schemas/workspace-specification/index.js +27 -0
  200. package/dist/schemas/workspace-specification/index.js.map +7 -0
  201. package/dist/schemas/workspace-specification/info.d.ts +5 -0
  202. package/dist/schemas/workspace-specification/info.d.ts.map +1 -0
  203. package/dist/schemas/workspace-specification/info.js +9 -0
  204. package/dist/schemas/workspace-specification/info.js.map +7 -0
  205. package/dist/schemas/workspace.d.ts +147 -79
  206. package/dist/schemas/workspace.d.ts.map +1 -1
  207. package/dist/schemas/workspace.js +19 -4
  208. package/dist/schemas/workspace.js.map +2 -2
  209. package/dist/server.d.ts +1371 -673
  210. package/dist/server.d.ts.map +1 -1
  211. package/dist/types.d.ts +57 -0
  212. package/dist/types.d.ts.map +1 -0
  213. package/dist/types.js +1 -0
  214. package/dist/types.js.map +7 -0
  215. package/package.json +23 -9
  216. package/dist/schemas/v3.1/compose.d.ts.map +0 -1
  217. /package/dist/schemas/{v3.1/compose.d.ts → compose.d.ts} +0 -0
  218. /package/dist/schemas/{v3.1/compose.js → compose.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAcrD,kOAAkO;AAClO,eAAO,MAAM,sBAAsB;IAE/B,iDAAiD;;;;;;;;;;;;;;;;;;;;;IAEjD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,OAAO,kBAAkB,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAA;QACvG,mIAAmI;QACnI,eAAe,EAAE,SAAS,CACxB,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,OAAO,0BAA0B,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAC5F,CAAA;QACD,wIAAwI;QACxI,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,OAAO,gBAAgB,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAA;QACnG,yIAAyI;QACzI,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,OAAO,oBAAoB,EAAE,OAAO,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAA;QAC3G,2HAA2H;QAC3H,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,oBAAoB,CAAC,CAAC,CAAA;KACpE,CAAC;IACF,OAAO,gBAAgB;CACxB,CACF,CAAA;AAED,kOAAkO;AAClO,eAAO,MAAM,sBAAsB,EAAE,0BA4BpC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
@@ -1,4 +1,6 @@
1
- import { Type } from "@sinclair/typebox";
1
+ import {
2
+ Type
3
+ } from "@sinclair/typebox";
2
4
  import { SchemaObjectSchema } from "./schema.js";
3
5
  import { ResponseObjectSchema } from "./response.js";
4
6
  import { ReferenceObjectSchema } from "./reference.js";
@@ -8,7 +10,7 @@ import { RequestBodyObjectSchema } from "./request-body.js";
8
10
  import { SecuritySchemeObjectSchema } from "./security-scheme.js";
9
11
  import { LinkObjectSchema } from "./link.js";
10
12
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
11
- import { compose } from "../../../schemas/v3.1/compose.js";
13
+ import { compose } from "../../../schemas/compose.js";
12
14
  import { HeaderObjectSchema } from "../../../schemas/v3.1/strict/media-header-encoding.js";
13
15
  import { CallbackObjectSchema, PathItemObjectSchema } from "../../../schemas/v3.1/strict/path-operations.js";
14
16
  const ComponentsObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/components.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { SchemaObjectSchema } from './schema'\nimport { ResponseObjectSchema } from './response'\nimport { ReferenceObjectSchema } from './reference'\nimport { ParameterObjectSchema } from './parameter'\nimport { ExampleObjectSchema } from './example'\nimport { RequestBodyObjectSchema } from './request-body'\nimport { SecuritySchemeObjectSchema } from './security-scheme'\nimport { LinkObjectSchema } from './link'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\nimport { HeaderObjectSchema } from '@/schemas/v3.1/strict/media-header-encoding'\nimport { CallbackObjectSchema, PathItemObjectSchema } from '@/schemas/v3.1/strict/path-operations'\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchema = compose(\n Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), SchemaObjectSchema)),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Union([ParameterObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectSchema, ReferenceObjectSchema])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(\n Type.Record(Type.String(), Type.Union([SecuritySchemeObjectSchema, ReferenceObjectSchema])),\n ),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),\n }),\n ExtensionsSchema,\n)\n\nexport type ComponentsObject = Static<typeof ComponentsObjectSchema>\n"],
5
- "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,0BAA0B;AACnC,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,6BAA6B;AACtC,SAAS,2BAA2B;AACpC,SAAS,+BAA+B;AACxC,SAAS,kCAAkC;AAC3C,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AACxB,SAAS,0BAA0B;AACnC,SAAS,sBAAsB,4BAA4B;AAGpD,MAAM,yBAAyB;AAAA,EACpC,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,kBAAkB,CAAC;AAAA;AAAA,IAErE,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE9G,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,uBAAuB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAEhH,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,qBAAqB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE5G,eAAe,KAAK;AAAA,MAClB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,yBAAyB,qBAAqB,CAAC,CAAC;AAAA,IACzF;AAAA;AAAA,IAEA,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,oBAAoB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE1G,iBAAiB,KAAK;AAAA,MACpB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,4BAA4B,qBAAqB,CAAC,CAAC;AAAA,IAC5F;AAAA;AAAA,IAEA,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,kBAAkB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAEtG,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE9G,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAAA,EAC3E,CAAC;AAAA,EACD;AACF;",
4
+ "sourcesContent": ["import {\n Type,\n type Static,\n type TIntersect,\n type TObject,\n type TOptional,\n type TRecord,\n type TString,\n type TUnion,\n} from '@sinclair/typebox'\nimport { SchemaObjectSchema } from './schema'\nimport { ResponseObjectSchema } from './response'\nimport { ReferenceObjectSchema } from './reference'\nimport { ParameterObjectSchema } from './parameter'\nimport { ExampleObjectSchema } from './example'\nimport { RequestBodyObjectSchema } from './request-body'\nimport { SecuritySchemeObjectSchema } from './security-scheme'\nimport { LinkObjectSchema } from './link'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\nimport { HeaderObjectSchema } from '@/schemas/v3.1/strict/media-header-encoding'\nimport { CallbackObjectSchema, PathItemObjectSchema } from '@/schemas/v3.1/strict/path-operations'\n\n/**\n * The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.\n * This is due to the complex nested structure of the Components Object schema, which includes multiple optional fields,\n * arrays, and nested objects. The explicit type annotation helps TypeScript handle this large type definition.\n *\n * @see https://github.com/microsoft/TypeScript/issues/43817#issuecomment-827746462\n */\nexport type ComponentsObjectSchemaType = TIntersect<\n [\n TObject<{\n /** Schema Objects that define input and output data types. These can be objects, primitives, and arrays, and are a superset of JSON Schema Specification Draft 2020-12. */\n schemas: TOptional<TRecord<TString, typeof SchemaObjectSchema>>\n /** Response Objects that describe a single response from an API operation, including headers, content, and links. */\n responses: TOptional<TRecord<TString, TUnion<[typeof ResponseObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Parameter Objects that describe a single operation parameter with a unique combination of name and location (query, header, path, or cookie). */\n parameters: TOptional<TRecord<TString, TUnion<[typeof ParameterObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Example Objects that group example values with metadata for demonstrating usage of properties, parameters, and objects. */\n examples: TOptional<TRecord<TString, TUnion<[typeof ExampleObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Request Body Objects that describe a single request body with content and optional required flag. */\n requestBodies: TOptional<TRecord<TString, TUnion<[typeof RequestBodyObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Header Objects that describe HTTP response headers and multipart representation headers, following Parameter Object structure. */\n headers: TOptional<TRecord<TString, TUnion<[typeof HeaderObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Security Scheme Objects that define security mechanisms for API operations (apiKey, http, mutualTLS, oauth2, openIdConnect). */\n securitySchemes: TOptional<\n TRecord<TString, TUnion<[typeof SecuritySchemeObjectSchema, typeof ReferenceObjectSchema]>>\n >\n /** Link Objects that represent design-time links for responses, providing relationships and traversal mechanisms between operations. */\n links: TOptional<TRecord<TString, TUnion<[typeof LinkObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Callback Objects that describe out-of-band callbacks related to parent operations, with Path Item Objects for request definitions. */\n callbacks: TOptional<TRecord<TString, TUnion<[typeof CallbackObjectSchema, typeof ReferenceObjectSchema]>>>\n /** Path Item Objects that describe operations available on a single path, including HTTP methods and shared parameters. */\n pathItems: TOptional<TRecord<TString, typeof PathItemObjectSchema>>\n }>,\n typeof ExtensionsSchema,\n ]\n>\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchema: ComponentsObjectSchemaType = compose(\n Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), SchemaObjectSchema)),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Union([ParameterObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectSchema, ReferenceObjectSchema])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(\n Type.Record(Type.String(), Type.Union([SecuritySchemeObjectSchema, ReferenceObjectSchema])),\n ),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObjectSchema, ReferenceObjectSchema]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),\n }),\n ExtensionsSchema,\n)\n\nexport type ComponentsObject = Static<typeof ComponentsObjectSchema>\n"],
5
+ "mappings": "AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,0BAA0B;AACnC,SAAS,4BAA4B;AACrC,SAAS,6BAA6B;AACtC,SAAS,6BAA6B;AACtC,SAAS,2BAA2B;AACpC,SAAS,+BAA+B;AACxC,SAAS,kCAAkC;AAC3C,SAAS,wBAAwB;AACjC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AACxB,SAAS,0BAA0B;AACnC,SAAS,sBAAsB,4BAA4B;AAwCpD,MAAM,yBAAqD;AAAA,EAChE,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,kBAAkB,CAAC;AAAA;AAAA,IAErE,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE9G,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,uBAAuB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAEhH,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,qBAAqB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE5G,eAAe,KAAK;AAAA,MAClB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,yBAAyB,qBAAqB,CAAC,CAAC;AAAA,IACzF;AAAA;AAAA,IAEA,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,oBAAoB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE1G,iBAAiB,KAAK;AAAA,MACpB,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,4BAA4B,qBAAqB,CAAC,CAAC;AAAA,IAC5F;AAAA;AAAA,IAEA,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,kBAAkB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAEtG,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,IAE9G,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAAA,EAC3E,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { Type } from "@sinclair/typebox";
4
4
  const ContactObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/contact.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Contact information for the exposed API. */\nexport const ContactObjectSchema = compose(\n Type.Object({\n /** The identifying name of the contact person/organization. */\n name: Type.Optional(Type.String()),\n /** The URI for the contact information. This MUST be in the form of a URI. */\n url: Type.Optional(Type.String()),\n /** The email address of the contact person/organization. This MUST be in the form of an email address. */\n email: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type ContactObject = Static<typeof ContactObjectSchema>\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Contact information for the exposed API. */\nexport const ContactObjectSchema = compose(\n Type.Object({\n /** The identifying name of the contact person/organization. */\n name: Type.Optional(Type.String()),\n /** The URI for the contact information. This MUST be in the form of a URI. */\n url: Type.Optional(Type.String()),\n /** The email address of the contact person/organization. This MUST be in the form of an email address. */\n email: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type ContactObject = Static<typeof ContactObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,sBAAsB;AAAA,EACjC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEjC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEhC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACpC,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { Type } from "@sinclair/typebox";
4
4
  const DiscriminatorObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/discriminator.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport const DiscriminatorObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: Type.String(),\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping: Type.Optional(Type.Record(Type.String(), Type.String())),\n }),\n ExtensionsSchema,\n)\n\nexport type DiscriminatorObject = Static<typeof DiscriminatorObjectSchema>\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**\n * When request bodies or response payloads may be one of a number of different schemas, a Discriminator Object gives a hint about the expected schema of the document. This hint can be used to aid in serialization, deserialization, and validation. The Discriminator Object does this by implicitly or explicitly associating the possible values of a named property with alternative schemas.\n *\n * Note that discriminator MUST NOT change the validation outcome of the schema.\n */\nexport const DiscriminatorObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The name of the property in the payload that will hold the discriminating value. This property SHOULD be required in the payload schema, as the behavior when the property is absent is undefined. */\n propertyName: Type.String(),\n /** An object to hold mappings between payload values and schema names or URI references. */\n mapping: Type.Optional(Type.Record(Type.String(), Type.String())),\n }),\n ExtensionsSchema,\n)\n\nexport type DiscriminatorObject = Static<typeof DiscriminatorObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAO3B,MAAM,4BAA4B;AAAA,EACvC,KAAK,OAAO;AAAA;AAAA,IAEV,cAAc,KAAK,OAAO;AAAA;AAAA,IAE1B,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AAAA,EAClE,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { ReferenceObjectSchema } from "./reference.js";
3
3
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
- import { compose } from "../../../schemas/v3.1/compose.js";
4
+ import { compose } from "../../../schemas/compose.js";
5
5
  const encodingObjectSchemaBuilder = (header) => compose(
6
6
  Type.Object({
7
7
  /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/encoding.ts"],
4
- "sourcesContent": ["import { Type, type TSchema } from '@sinclair/typebox'\nimport { ReferenceObjectSchema } from './reference'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\nexport const encodingObjectSchemaBuilder = <H extends TSchema>(header: H) =>\n compose(\n Type.Object({\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType: Type.Optional(Type.String()),\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([header, ReferenceObjectSchema]))),\n }),\n ExtensionsSchema,\n )\n"],
4
+ "sourcesContent": ["import { Type, type TSchema } from '@sinclair/typebox'\nimport { ReferenceObjectSchema } from './reference'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\nexport const encodingObjectSchemaBuilder = <H extends TSchema>(header: H) =>\n compose(\n Type.Object({\n /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */\n contentType: Type.Optional(Type.String()),\n /** A map allowing additional information to be provided as headers. Content-Type is described separately and SHALL be ignored in this section. This field SHALL be ignored if the request body media type is not a multipart. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([header, ReferenceObjectSchema]))),\n }),\n ExtensionsSchema,\n )\n"],
5
5
  "mappings": "AAAA,SAAS,YAA0B;AACnC,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAEjB,MAAM,8BAA8B,CAAoB,WAC7D;AAAA,EACE,KAAK,OAAO;AAAA;AAAA,IAEV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,QAAQ,qBAAqB,CAAC,CAAC,CAAC;AAAA,EAChG,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { Type } from "@sinclair/typebox";
4
4
  const ExampleObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/example.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**\n * An object grouping an internal or external example value with basic summary and description metadata. This object is typically used in fields named examples (plural), and is a referenceable alternative to older example (singular) fields that do not support referencing or metadata.\n *\n * Examples allow demonstration of the usage of properties, parameters and objects within OpenAPI.\n */\nexport const ExampleObjectSchema = compose(\n Type.Object({\n /** Short description for the example. */\n summary: Type.Optional(Type.String()),\n /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. */\n value: Type.Optional(Type.Any()),\n /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */\n externalValue: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type ExampleObject = Static<typeof ExampleObjectSchema>\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/**\n * An object grouping an internal or external example value with basic summary and description metadata. This object is typically used in fields named examples (plural), and is a referenceable alternative to older example (singular) fields that do not support referencing or metadata.\n *\n * Examples allow demonstration of the usage of properties, parameters and objects within OpenAPI.\n */\nexport const ExampleObjectSchema = compose(\n Type.Object({\n /** Short description for the example. */\n summary: Type.Optional(Type.String()),\n /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Embedded literal example. The value field and externalValue field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON or YAML, use a string value to contain the example, escaping where necessary. */\n value: Type.Optional(Type.Any()),\n /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */\n externalValue: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type ExampleObject = Static<typeof ExampleObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAO3B,MAAM,sBAAsB;AAAA,EACjC,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,OAAO,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,IAE/B,eAAe,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC5C,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { Type } from "@sinclair/typebox";
4
4
  const ExternalDocumentationObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/external-documentation.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Allows referencing an external resource for extended documentation. */\nexport const ExternalDocumentationObjectSchema = compose(\n Type.Object({\n /** A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** REQUIRED. The URI for the target documentation. This MUST be in the form of a URI. */\n url: Type.String(),\n }),\n ExtensionsSchema,\n)\n\nexport type ExternalDocumentationObject = Static<typeof ExternalDocumentationObjectSchema>\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** Allows referencing an external resource for extended documentation. */\nexport const ExternalDocumentationObjectSchema = compose(\n Type.Object({\n /** A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** REQUIRED. The URI for the target documentation. This MUST be in the form of a URI. */\n url: Type.String(),\n }),\n ExtensionsSchema,\n)\n\nexport type ExternalDocumentationObject = Static<typeof ExternalDocumentationObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,oCAAoC;AAAA,EAC/C,KAAK,OAAO;AAAA;AAAA,IAEV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,KAAK,KAAK,OAAO;AAAA,EACnB,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -37,6 +37,7 @@ export declare const HeaderObjectWithSchemaSchema: import("@sinclair/typebox").T
37
37
  url: import("@sinclair/typebox").TString;
38
38
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
39
39
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
40
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
40
41
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
41
42
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
42
43
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -94,6 +95,7 @@ export declare const headerObjectSchemaBuilder: <T extends TSchema>(mediaType: T
94
95
  url: import("@sinclair/typebox").TString;
95
96
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
96
97
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
98
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
97
99
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
98
100
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
99
101
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/header.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEtD,eAAO,MAAM,sBAAsB;IAE/B,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;kJAIlH,CAAA;AAED,eAAO,MAAM,4BAA4B;IAVrC,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;IAGtI,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,OAAO,aAAa,CAAC;IA1BrE,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;;IArBnI,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;;MAgC/G,CAAA"}
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/header.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAEtD,eAAO,MAAM,sBAAsB;IAE/B,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;kJAIlH,CAAA;AAED,eAAO,MAAM,4BAA4B;IAVrC,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;IAGtI,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,CAAC,SAAS,OAAO,aAAa,CAAC;IA1BrE,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;IAS/G,qHAAqH;;IAErH,+QAA+Q;;IAE/Q,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExD,kIAAkI;;IAElI,mIAAmI;;;;;;;;;;;;;;;IArBnI,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;;;MAgC/G,CAAA"}
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExampleObjectSchema } from "../../../schemas/v3.1/strict/example.js";
3
3
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
4
  import { ReferenceObjectSchema } from "../../../schemas/v3.1/strict/reference.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/header.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExampleObjectSchema } from '@/schemas/v3.1/strict/example'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { ReferenceObjectSchema } from '@/schemas/v3.1/strict/reference'\nimport { SchemaObjectSchema } from '@/schemas/v3.1/strict/schema'\nimport { Type, type TSchema } from '@sinclair/typebox'\n\nexport const HeaderObjectSchemaBase = compose(\n Type.Object({\n /** A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Determines whether this header is mandatory. The default value is false. */\n required: Type.Optional(Type.Boolean()),\n /** Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false. */\n deprecated: Type.Optional(Type.Boolean()),\n }),\n ExtensionsSchema,\n)\n\nexport const HeaderObjectWithSchemaSchema = compose(\n HeaderObjectSchemaBase,\n Type.Object({\n /** Describes how the header value will be serialized. The default (and only legal value for headers) is \"simple\". */\n style: Type.Optional(Type.String()),\n /** When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples. For other data types this field has no effect. The default value is false. */\n explode: Type.Optional(Type.Boolean()),\n /** The schema defining the type used for the header. */\n schema: Type.Optional(Type.Union([SchemaObjectSchema, ReferenceObjectSchema])),\n /** Example of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */\n example: Type.Any(),\n /** Examples of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n }),\n)\n\nexport const headerObjectSchemaBuilder = <T extends TSchema>(mediaType: T) =>\n Type.Union([\n HeaderObjectWithSchemaSchema,\n // @ts-ignore\n compose(\n HeaderObjectSchemaBase,\n Type.Object({\n content: Type.Optional(Type.Record(Type.String(), mediaType)),\n }),\n ),\n ])\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExampleObjectSchema } from '@/schemas/v3.1/strict/example'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { ReferenceObjectSchema } from '@/schemas/v3.1/strict/reference'\nimport { SchemaObjectSchema } from '@/schemas/v3.1/strict/schema'\nimport { Type, type TSchema } from '@sinclair/typebox'\n\nexport const HeaderObjectSchemaBase = compose(\n Type.Object({\n /** A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** Determines whether this header is mandatory. The default value is false. */\n required: Type.Optional(Type.Boolean()),\n /** Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false. */\n deprecated: Type.Optional(Type.Boolean()),\n }),\n ExtensionsSchema,\n)\n\nexport const HeaderObjectWithSchemaSchema = compose(\n HeaderObjectSchemaBase,\n Type.Object({\n /** Describes how the header value will be serialized. The default (and only legal value for headers) is \"simple\". */\n style: Type.Optional(Type.String()),\n /** When this is true, header values of type array or object generate a single header whose value is a comma-separated list of the array items or key-value pairs of the map, see Style Examples. For other data types this field has no effect. The default value is false. */\n explode: Type.Optional(Type.Boolean()),\n /** The schema defining the type used for the header. */\n schema: Type.Optional(Type.Union([SchemaObjectSchema, ReferenceObjectSchema])),\n /** Example of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */\n example: Type.Any(),\n /** Examples of the header's potential value; see Working With Examples. https://swagger.io/specification/#working-with-examples */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n }),\n)\n\nexport const headerObjectSchemaBuilder = <T extends TSchema>(mediaType: T) =>\n Type.Union([\n HeaderObjectWithSchemaSchema,\n // @ts-ignore\n compose(\n HeaderObjectSchemaBase,\n Type.Object({\n content: Type.Optional(Type.Record(Type.String(), mediaType)),\n }),\n ),\n ])\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AACjC,SAAS,6BAA6B;AACtC,SAAS,0BAA0B;AACnC,SAAS,YAA0B;AAE5B,MAAM,yBAAyB;AAAA,EACpC,KAAK,OAAO;AAAA;AAAA,IAEV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,IAEtC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA,EAC1C,CAAC;AAAA,EACD;AACF;AAEO,MAAM,+BAA+B;AAAA,EAC1C;AAAA,EACA,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAElC,SAAS,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,IAErC,QAAQ,KAAK,SAAS,KAAK,MAAM,CAAC,oBAAoB,qBAAqB,CAAC,CAAC;AAAA;AAAA,IAE7E,SAAS,KAAK,IAAI;AAAA;AAAA,IAElB,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,qBAAqB,qBAAqB,CAAC,CAAC,CAAC;AAAA,EAC9G,CAAC;AACH;AAEO,MAAM,4BAA4B,CAAoB,cAC3D,KAAK,MAAM;AAAA,EACT;AAAA;AAAA,EAEA;AAAA,IACE;AAAA,IACA,KAAK,OAAO;AAAA,MACV,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,SAAS,CAAC;AAAA,IAC9D,CAAC;AAAA,EACH;AACF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -2,7 +2,7 @@ import { Type } from "@sinclair/typebox";
2
2
  import { ContactObjectSchema } from "./contact.js";
3
3
  import { LicenseObjectSchema } from "./license.js";
4
4
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
5
- import { compose } from "../../../schemas/v3.1/compose.js";
5
+ import { compose } from "../../../schemas/compose.js";
6
6
  const InfoObjectSchema = compose(
7
7
  Type.Object({
8
8
  /** REQUIRED. The title of the API. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/info.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ContactObjectSchema } from './contact'\nimport { LicenseObjectSchema } from './license'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectSchema),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectSchema),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n ExtensionsSchema,\n)\n\nexport type InfoObject = Static<typeof InfoObjectSchema>\n"],
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ContactObjectSchema } from './contact'\nimport { LicenseObjectSchema } from './license'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.\n */\nexport const InfoObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String(),\n /** A short summary of the API. */\n summary: Type.Optional(Type.String()),\n /** A description of the API. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */\n termsOfService: Type.Optional(Type.String()),\n /** The contact information for the exposed API. */\n contact: Type.Optional(ContactObjectSchema),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObjectSchema),\n /** REQUIRED. The version of the OpenAPI Document (which is distinct from the OpenAPI Specification version or the version of the API being described or the version of the OpenAPI Description). */\n version: Type.String(),\n }),\n ExtensionsSchema,\n)\n\nexport type InfoObject = Static<typeof InfoObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AAKjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,OAAO,KAAK,OAAO;AAAA;AAAA,IAEnB,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE3C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,SAAS,mBAAmB;AAAA;AAAA,IAE1C,SAAS,KAAK,OAAO;AAAA,EACvB,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { compose } from "../../../schemas/v3.1/compose.js";
1
+ import { compose } from "../../../schemas/compose.js";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { Type } from "@sinclair/typebox";
4
4
  const LicenseObjectSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/license.ts"],
4
- "sourcesContent": ["import { compose } from '@/schemas/v3.1/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type LicenseObject = Static<typeof LicenseObjectSchema>\n"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { Type, type Static } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObjectSchema = compose(\n Type.Object({\n /** REQUIRED. The license name used for the API. */\n name: Type.Optional(Type.String()),\n /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */\n identifier: Type.Optional(Type.String()),\n /** A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field. */\n url: Type.Optional(Type.String()),\n }),\n ExtensionsSchema,\n)\n\nexport type LicenseObject = Static<typeof LicenseObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,YAAyB;AAG3B,MAAM,sBAAsB;AAAA,EACjC,KAAK,OAAO;AAAA;AAAA,IAEV,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAClC,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { Type } from "@sinclair/typebox";
2
2
  import { ServerObjectSchema } from "./server.js";
3
3
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
4
- import { compose } from "../../../schemas/v3.1/compose.js";
4
+ import { compose } from "../../../schemas/compose.js";
5
5
  const LinkObjectSchema = compose(
6
6
  Type.Object({
7
7
  /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/link.ts"],
4
- "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerObjectSchema } from './server'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/v3.1/compose'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchema = compose(\n Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectSchema),\n }),\n ExtensionsSchema,\n)\n\nexport type LinkObject = Static<typeof LinkObjectSchema>\n"],
4
+ "sourcesContent": ["import { Type, type Static } from '@sinclair/typebox'\nimport { ServerObjectSchema } from './server'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\n\n/**\n * The Link Object represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.\n *\n * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.\n *\n * For computing links and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.\n */\nexport const LinkObjectSchema = compose(\n Type.Object({\n /** A URI reference to an OAS operation. This field is mutually exclusive of the operationId field, and MUST point to an Operation Object. Relative operationRef values MAY be used to locate an existing Operation Object in the OpenAPI Description. */\n operationRef: Type.Optional(Type.String()),\n /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */\n operationId: Type.Optional(Type.String()),\n /** A map representing parameters to pass to an operation as specified with operationId or identified via operationRef. The key is the parameter name to be used (optionally qualified with the parameter location, e.g. path.id for an id parameter in the path), whereas the value can be a constant or an expression to be evaluated and passed to the linked operation. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),\n /** A literal value or {expression} to use as a request body when calling the target operation. */\n requestBody: Type.Optional(Type.Any()),\n /** A description of the link. CommonMark syntax MAY be used for rich text representation. */\n description: Type.Optional(Type.String()),\n /** A server object to be used by the target operation. */\n server: Type.Optional(ServerObjectSchema),\n }),\n ExtensionsSchema,\n)\n\nexport type LinkObject = Static<typeof LinkObjectSchema>\n"],
5
5
  "mappings": "AAAA,SAAS,YAAyB;AAClC,SAAS,0BAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,eAAe;AASjB,MAAM,mBAAmB;AAAA,EAC9B,KAAK,OAAO;AAAA;AAAA,IAEV,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,IAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,IAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAExC,QAAQ,KAAK,SAAS,kBAAkB;AAAA,EAC1C,CAAC;AAAA,EACD;AACF;",
6
6
  "names": []
7
7
  }
@@ -32,6 +32,7 @@ export declare const EncodingObjectSchema: import("@sinclair/typebox").TRecursiv
32
32
  url: import("@sinclair/typebox").TString;
33
33
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
34
34
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
35
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
35
36
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
36
37
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
37
38
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -79,6 +80,7 @@ export declare const EncodingObjectSchema: import("@sinclair/typebox").TRecursiv
79
80
  url: import("@sinclair/typebox").TString;
80
81
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
81
82
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
83
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
82
84
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
83
85
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
84
86
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -130,6 +132,7 @@ export declare const MediaTypeObjectSchema: import("@sinclair/typebox").TRecursi
130
132
  url: import("@sinclair/typebox").TString;
131
133
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
132
134
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
135
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
133
136
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
134
137
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
135
138
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -173,6 +176,7 @@ export declare const MediaTypeObjectSchema: import("@sinclair/typebox").TRecursi
173
176
  url: import("@sinclair/typebox").TString;
174
177
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
175
178
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
179
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
176
180
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
177
181
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
178
182
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -246,6 +250,7 @@ export declare const HeaderObjectSchema: import("@sinclair/typebox").TRecursive<
246
250
  url: import("@sinclair/typebox").TString;
247
251
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
248
252
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
253
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
249
254
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
250
255
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
251
256
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
@@ -293,6 +298,7 @@ export declare const HeaderObjectSchema: import("@sinclair/typebox").TRecursive<
293
298
  url: import("@sinclair/typebox").TString;
294
299
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
295
300
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
301
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
296
302
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
297
303
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
298
304
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"media-header-encoding.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-header-encoding.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAEhC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAA;AAElE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -18,6 +18,7 @@ export declare const mediaTypeObjectSchemaBuilder: <E extends TSchema>(encoding:
18
18
  url: import("@sinclair/typebox").TString;
19
19
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>>;
20
20
  example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
21
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnknown>>;
21
22
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TObject<{
22
23
  'x-tags': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
23
24
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
@@ -1 +1 @@
1
- {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAIrE,sFAAsF;;;;;;;;;;;;;;;;;;;;;IAGtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;;;IAEjC,gaAAga;;kJAIna,CAAA"}
1
+ {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/media-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAOtD,eAAO,MAAM,4BAA4B,GAAI,CAAC,SAAS,OAAO,YAAY,CAAC;IAIrE,sFAAsF;;;;;;;;;;;;;;;;;;;;;;IAGtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;;;IAEjC,gaAAga;;kJAIna,CAAA"}
@@ -2,7 +2,7 @@ import { Type } from "@sinclair/typebox";
2
2
  import { ExtensionsSchema } from "../../../schemas/v3.1/strict/extensions.js";
3
3
  import { ExampleObjectSchema } from "../../../schemas/v3.1/strict/example.js";
4
4
  import { ReferenceObjectSchema } from "../../../schemas/v3.1/strict/reference.js";
5
- import { compose } from "../../../schemas/v3.1/compose.js";
5
+ import { compose } from "../../../schemas/compose.js";
6
6
  import { SchemaObjectSchema } from "../../../schemas/v3.1/strict/schema.js";
7
7
  const mediaTypeObjectSchemaBuilder = (encoding) => (
8
8
  // @ts-ignore
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/media-type.ts"],
4
- "sourcesContent": ["import { Type, type TSchema } from '@sinclair/typebox'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { ExampleObjectSchema } from '@/schemas/v3.1/strict/example'\nimport { ReferenceObjectSchema } from '@/schemas/v3.1/strict/reference'\nimport { compose } from '@/schemas/v3.1/compose'\nimport { SchemaObjectSchema } from '@/schemas/v3.1/strict/schema'\n\nexport const mediaTypeObjectSchemaBuilder = <E extends TSchema>(encoding: E) =>\n // @ts-ignore\n compose(\n Type.Object({\n /** The schema defining the content of the request, response, parameter, or header. */\n // @ts-ignore\n schema: Type.Optional(SchemaObjectSchema),\n /** Example of the media type */\n example: Type.Optional(Type.Any()),\n /** Examples of the media type */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */\n encoding: Type.Optional(Type.Record(Type.String(), encoding)),\n }),\n ExtensionsSchema,\n )\n"],
4
+ "sourcesContent": ["import { Type, type TSchema } from '@sinclair/typebox'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { ExampleObjectSchema } from '@/schemas/v3.1/strict/example'\nimport { ReferenceObjectSchema } from '@/schemas/v3.1/strict/reference'\nimport { compose } from '@/schemas/compose'\nimport { SchemaObjectSchema } from '@/schemas/v3.1/strict/schema'\n\nexport const mediaTypeObjectSchemaBuilder = <E extends TSchema>(encoding: E) =>\n // @ts-ignore\n compose(\n Type.Object({\n /** The schema defining the content of the request, response, parameter, or header. */\n // @ts-ignore\n schema: Type.Optional(SchemaObjectSchema),\n /** Example of the media type */\n example: Type.Optional(Type.Any()),\n /** Examples of the media type */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectSchema, ReferenceObjectSchema]))),\n /** A map between a property name and its encoding information. The key, being the property name, MUST exist in the schema as a property. The encoding field SHALL only apply to Request Body Objects, and only when the media type is multipart or application/x-www-form-urlencoded. If no Encoding Object is provided for a property, the behavior is determined by the default values documented for the Encoding Object. */\n encoding: Type.Optional(Type.Record(Type.String(), encoding)),\n }),\n ExtensionsSchema,\n )\n"],
5
5
  "mappings": "AAAA,SAAS,YAA0B;AACnC,SAAS,wBAAwB;AACjC,SAAS,2BAA2B;AACpC,SAAS,6BAA6B;AACtC,SAAS,eAAe;AACxB,SAAS,0BAA0B;AAE5B,MAAM,+BAA+B,CAAoB;AAAA;AAAA,EAE9D;AAAA,IACE,KAAK,OAAO;AAAA;AAAA;AAAA,MAGV,QAAQ,KAAK,SAAS,kBAAkB;AAAA;AAAA,MAExC,SAAS,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,MAEjC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,qBAAqB,qBAAqB,CAAC,CAAC,CAAC;AAAA;AAAA,MAE5G,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,QAAQ,CAAC;AAAA,IAC9D,CAAC;AAAA,IACD;AAAA,EACF;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,14 +1,85 @@
1
1
  import { type Static } from '@sinclair/typebox';
2
- /** Configuration details for a supported OAuth Flow */
3
- export declare const OAuthFlowObjectSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
2
+ /** Configuration for the OAuth Implicit flow */
3
+ export declare const OAuthFlowImplicitSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
4
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
5
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
7
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
8
+ }>, import("@sinclair/typebox").TObject<{
4
9
  /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
5
10
  authorizationUrl: import("@sinclair/typebox").TString;
11
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
12
+ /** Configuration for the OAuth Resource Owner Password flow */
13
+ export declare const OAuthFlowPasswordSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
14
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
15
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
17
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
18
+ }>, import("@sinclair/typebox").TObject<{
19
+ /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
20
+ tokenUrl: import("@sinclair/typebox").TString;
21
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
22
+ /** Configuration for the OAuth Client Credentials flow. Previously called application in OpenAPI 2.0. */
23
+ export declare const OAuthFlowClientCredentialsSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
24
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
25
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
27
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
28
+ }>, import("@sinclair/typebox").TObject<{
6
29
  /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
7
30
  tokenUrl: import("@sinclair/typebox").TString;
31
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
32
+ /** Configuration for the OAuth Authorization Code flow. Previously called accessCode in OpenAPI 2.0. */
33
+ export declare const OAuthFlowAuthorizationCodeSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
8
34
  /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
9
35
  refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
10
36
  /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
11
37
  scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
38
+ }>, import("@sinclair/typebox").TObject<{
39
+ /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
40
+ authorizationUrl: import("@sinclair/typebox").TString;
41
+ /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
42
+ tokenUrl: import("@sinclair/typebox").TString;
12
43
  }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>;
44
+ /** Union of all OAuth flow schemas */
45
+ export declare const OAuthFlowObjectSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
46
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
47
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
48
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
49
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
50
+ }>, import("@sinclair/typebox").TObject<{
51
+ /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
52
+ authorizationUrl: import("@sinclair/typebox").TString;
53
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
54
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
55
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
56
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
57
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
58
+ }>, import("@sinclair/typebox").TObject<{
59
+ /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
60
+ tokenUrl: import("@sinclair/typebox").TString;
61
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
62
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
63
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
64
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
65
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
66
+ }>, import("@sinclair/typebox").TObject<{
67
+ /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
68
+ tokenUrl: import("@sinclair/typebox").TString;
69
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
70
+ /** The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
71
+ refreshUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
72
+ /** REQUIRED. The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty. */
73
+ scopes: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
74
+ }>, import("@sinclair/typebox").TObject<{
75
+ /** REQUIRED. The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
76
+ authorizationUrl: import("@sinclair/typebox").TString;
77
+ /** REQUIRED. The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard requires the use of TLS. */
78
+ tokenUrl: import("@sinclair/typebox").TString;
79
+ }>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TTemplateLiteralSyntax<"x-${string}">, import("@sinclair/typebox").TUnknown>]>]>;
13
80
  export type OAuthFlowObject = Static<typeof OAuthFlowObjectSchema>;
81
+ export type OAuthFlowImplicit = Static<typeof OAuthFlowImplicitSchema>;
82
+ export type OAuthFlowPassword = Static<typeof OAuthFlowPasswordSchema>;
83
+ export type OAuthFlowClientCredentials = Static<typeof OAuthFlowClientCredentialsSchema>;
84
+ export type OAuthFlowAuthorizationCode = Static<typeof OAuthFlowAuthorizationCodeSchema>;
14
85
  //# sourceMappingURL=oauth-flow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"oauth-flow.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,uDAAuD;AACvD,eAAO,MAAM,qBAAqB;IAE9B,gJAAgJ;;IAEhJ,wIAAwI;;IAExI,uIAAuI;;IAEvI,wJAAwJ;;kJAI3J,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
1
+ {"version":3,"file":"oauth-flow.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/oauth-flow.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAUrD,gDAAgD;AAChD,eAAO,MAAM,uBAAuB;IAPlC,uIAAuI;;IAEvI,wJAAwJ;;;IAQtJ,gJAAgJ;;kJAInJ,CAAA;AAED,+DAA+D;AAC/D,eAAO,MAAM,uBAAuB;IAjBlC,uIAAuI;;IAEvI,wJAAwJ;;;IAkBtJ,wIAAwI;;kJAI3I,CAAA;AAED,yGAAyG;AACzG,eAAO,MAAM,gCAAgC;IA3B3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