@scalar/workspace-store 0.1.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 (198) hide show
  1. package/.turbo/turbo-build.log +10 -0
  2. package/CHANGELOG.md +13 -0
  3. package/README.md +199 -0
  4. package/dist/create-server-workspace-store.d.ts +151 -0
  5. package/dist/create-server-workspace-store.d.ts.map +1 -0
  6. package/dist/create-server-workspace-store.js +199 -0
  7. package/dist/create-server-workspace-store.js.map +7 -0
  8. package/dist/create-workspace-store.d.ts +19773 -0
  9. package/dist/create-workspace-store.d.ts.map +1 -0
  10. package/dist/create-workspace-store.js +186 -0
  11. package/dist/create-workspace-store.js.map +7 -0
  12. package/dist/helpers/general.d.ts +88 -0
  13. package/dist/helpers/general.d.ts.map +1 -0
  14. package/dist/helpers/general.js +38 -0
  15. package/dist/helpers/general.js.map +7 -0
  16. package/dist/helpers/json-path-utils.d.ts +23 -0
  17. package/dist/helpers/json-path-utils.d.ts.map +1 -0
  18. package/dist/helpers/json-path-utils.js +16 -0
  19. package/dist/helpers/json-path-utils.js.map +7 -0
  20. package/dist/helpers/proxy.d.ts +63 -0
  21. package/dist/helpers/proxy.d.ts.map +1 -0
  22. package/dist/helpers/proxy.js +100 -0
  23. package/dist/helpers/proxy.js.map +7 -0
  24. package/dist/index.d.ts +4 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/index.js +13 -0
  27. package/dist/index.js.map +7 -0
  28. package/dist/schemas/callback.d.ts +1095 -0
  29. package/dist/schemas/callback.d.ts.map +1 -0
  30. package/dist/schemas/callback.js +11 -0
  31. package/dist/schemas/callback.js.map +7 -0
  32. package/dist/schemas/components.d.ts +2461 -0
  33. package/dist/schemas/components.d.ts.map +1 -0
  34. package/dist/schemas/components.js +38 -0
  35. package/dist/schemas/components.js.map +7 -0
  36. package/dist/schemas/contact.d.ts +10 -0
  37. package/dist/schemas/contact.d.ts.map +1 -0
  38. package/dist/schemas/contact.js +13 -0
  39. package/dist/schemas/contact.js.map +7 -0
  40. package/dist/schemas/discriminator.d.ts +12 -0
  41. package/dist/schemas/discriminator.d.ts.map +1 -0
  42. package/dist/schemas/discriminator.js +11 -0
  43. package/dist/schemas/discriminator.js.map +7 -0
  44. package/dist/schemas/encoding.d.ts +23 -0
  45. package/dist/schemas/encoding.d.ts.map +1 -0
  46. package/dist/schemas/encoding.js +13 -0
  47. package/dist/schemas/encoding.js.map +7 -0
  48. package/dist/schemas/example.d.ts +16 -0
  49. package/dist/schemas/example.d.ts.map +1 -0
  50. package/dist/schemas/example.js +15 -0
  51. package/dist/schemas/example.js.map +7 -0
  52. package/dist/schemas/external-documentation.d.ts +8 -0
  53. package/dist/schemas/external-documentation.d.ts.map +1 -0
  54. package/dist/schemas/external-documentation.js +11 -0
  55. package/dist/schemas/external-documentation.js.map +7 -0
  56. package/dist/schemas/header.d.ts +18 -0
  57. package/dist/schemas/header.d.ts.map +1 -0
  58. package/dist/schemas/header.js +13 -0
  59. package/dist/schemas/header.js.map +7 -0
  60. package/dist/schemas/info.d.ts +28 -0
  61. package/dist/schemas/info.d.ts.map +1 -0
  62. package/dist/schemas/info.js +23 -0
  63. package/dist/schemas/info.js.map +7 -0
  64. package/dist/schemas/license.d.ts +10 -0
  65. package/dist/schemas/license.d.ts.map +1 -0
  66. package/dist/schemas/license.js +13 -0
  67. package/dist/schemas/license.js.map +7 -0
  68. package/dist/schemas/link.d.ts +30 -0
  69. package/dist/schemas/link.d.ts.map +1 -0
  70. package/dist/schemas/link.js +20 -0
  71. package/dist/schemas/link.js.map +7 -0
  72. package/dist/schemas/media-type.d.ts +55 -0
  73. package/dist/schemas/media-type.d.ts.map +1 -0
  74. package/dist/schemas/media-type.js +19 -0
  75. package/dist/schemas/media-type.js.map +7 -0
  76. package/dist/schemas/oauth-flow.d.ts +12 -0
  77. package/dist/schemas/oauth-flow.d.ts.map +1 -0
  78. package/dist/schemas/oauth-flow.js +15 -0
  79. package/dist/schemas/oauth-flow.js.map +7 -0
  80. package/dist/schemas/oauthflows.d.ts +34 -0
  81. package/dist/schemas/oauthflows.d.ts.map +1 -0
  82. package/dist/schemas/oauthflows.js +16 -0
  83. package/dist/schemas/oauthflows.js.map +7 -0
  84. package/dist/schemas/openapi-document.d.ts +4683 -0
  85. package/dist/schemas/openapi-document.d.ts.map +1 -0
  86. package/dist/schemas/openapi-document.js +35 -0
  87. package/dist/schemas/openapi-document.js.map +7 -0
  88. package/dist/schemas/operation-without-callback.d.ts +190 -0
  89. package/dist/schemas/operation-without-callback.d.ts.map +1 -0
  90. package/dist/schemas/operation-without-callback.js +39 -0
  91. package/dist/schemas/operation-without-callback.js.map +7 -0
  92. package/dist/schemas/parameter.d.ts +25 -0
  93. package/dist/schemas/parameter.d.ts.map +1 -0
  94. package/dist/schemas/parameter.js +22 -0
  95. package/dist/schemas/parameter.js.map +7 -0
  96. package/dist/schemas/path-item.d.ts +1106 -0
  97. package/dist/schemas/path-item.d.ts.map +1 -0
  98. package/dist/schemas/path-item.js +37 -0
  99. package/dist/schemas/path-item.js.map +7 -0
  100. package/dist/schemas/paths.d.ts +1093 -0
  101. package/dist/schemas/paths.d.ts.map +1 -0
  102. package/dist/schemas/paths.js +11 -0
  103. package/dist/schemas/paths.js.map +7 -0
  104. package/dist/schemas/reference.d.ts +17 -0
  105. package/dist/schemas/reference.d.ts.map +1 -0
  106. package/dist/schemas/reference.js +15 -0
  107. package/dist/schemas/reference.js.map +7 -0
  108. package/dist/schemas/request-body.d.ts +54 -0
  109. package/dist/schemas/request-body.d.ts.map +1 -0
  110. package/dist/schemas/request-body.js +14 -0
  111. package/dist/schemas/request-body.js.map +7 -0
  112. package/dist/schemas/response.d.ts +84 -0
  113. package/dist/schemas/response.d.ts.map +1 -0
  114. package/dist/schemas/response.js +19 -0
  115. package/dist/schemas/response.js.map +7 -0
  116. package/dist/schemas/responses.d.ts +94 -0
  117. package/dist/schemas/responses.d.ts.map +1 -0
  118. package/dist/schemas/responses.js +8 -0
  119. package/dist/schemas/responses.js.map +7 -0
  120. package/dist/schemas/schema.d.ts +34 -0
  121. package/dist/schemas/schema.d.ts.map +1 -0
  122. package/dist/schemas/schema.js +22 -0
  123. package/dist/schemas/schema.js.map +7 -0
  124. package/dist/schemas/security-requirement.d.ts +11 -0
  125. package/dist/schemas/security-requirement.d.ts.map +1 -0
  126. package/dist/schemas/security-requirement.js +10 -0
  127. package/dist/schemas/security-requirement.js.map +7 -0
  128. package/dist/schemas/security-scheme.d.ts +137 -0
  129. package/dist/schemas/security-scheme.d.ts.map +1 -0
  130. package/dist/schemas/security-scheme.js +56 -0
  131. package/dist/schemas/security-scheme.js.map +7 -0
  132. package/dist/schemas/server-variable.d.ts +10 -0
  133. package/dist/schemas/server-variable.d.ts.map +1 -0
  134. package/dist/schemas/server-variable.js +13 -0
  135. package/dist/schemas/server-variable.js.map +7 -0
  136. package/dist/schemas/server-workspace.d.ts +14043 -0
  137. package/dist/schemas/server-workspace.d.ts.map +1 -0
  138. package/dist/schemas/server-workspace.js +29 -0
  139. package/dist/schemas/server-workspace.js.map +7 -0
  140. package/dist/schemas/server.d.ts +14 -0
  141. package/dist/schemas/server.d.ts.map +1 -0
  142. package/dist/schemas/server.js +14 -0
  143. package/dist/schemas/server.js.map +7 -0
  144. package/dist/schemas/tag.d.ts +13 -0
  145. package/dist/schemas/tag.d.ts.map +1 -0
  146. package/dist/schemas/tag.js +14 -0
  147. package/dist/schemas/tag.js.map +7 -0
  148. package/dist/schemas/xml.d.ts +18 -0
  149. package/dist/schemas/xml.d.ts.map +1 -0
  150. package/dist/schemas/xml.js +17 -0
  151. package/dist/schemas/xml.js.map +7 -0
  152. package/esbuild.ts +6 -0
  153. package/package.json +54 -0
  154. package/src/create-server-workspace-store.test.ts +429 -0
  155. package/src/create-server-workspace-store.ts +339 -0
  156. package/src/create-workspace-store.test.ts +488 -0
  157. package/src/create-workspace-store.ts +282 -0
  158. package/src/helpers/general.ts +115 -0
  159. package/src/helpers/json-path-utils.test.ts +13 -0
  160. package/src/helpers/json-path-utils.ts +38 -0
  161. package/src/helpers/proxy.test.ts +61 -0
  162. package/src/helpers/proxy.ts +213 -0
  163. package/src/index.ts +8 -0
  164. package/src/schemas/callback.ts +13 -0
  165. package/src/schemas/components.ts +36 -0
  166. package/src/schemas/contact.ts +11 -0
  167. package/src/schemas/discriminator.ts +13 -0
  168. package/src/schemas/encoding.ts +17 -0
  169. package/src/schemas/example.ts +17 -0
  170. package/src/schemas/external-documentation.ts +9 -0
  171. package/src/schemas/header.ts +19 -0
  172. package/src/schemas/info.ts +23 -0
  173. package/src/schemas/license.ts +11 -0
  174. package/src/schemas/link.ts +24 -0
  175. package/src/schemas/media-type.ts +21 -0
  176. package/src/schemas/oauth-flow.ts +13 -0
  177. package/src/schemas/oauthflows.ts +16 -0
  178. package/src/schemas/openapi-document.ts +34 -0
  179. package/src/schemas/operation-without-callback.ts +37 -0
  180. package/src/schemas/parameter.ts +26 -0
  181. package/src/schemas/path-item.ts +35 -0
  182. package/src/schemas/paths.ts +11 -0
  183. package/src/schemas/reference.ts +18 -0
  184. package/src/schemas/request-body.ts +12 -0
  185. package/src/schemas/response.ts +16 -0
  186. package/src/schemas/responses.ts +14 -0
  187. package/src/schemas/schema.ts +26 -0
  188. package/src/schemas/security-requirement.ts +16 -0
  189. package/src/schemas/security-scheme.ts +58 -0
  190. package/src/schemas/server-variable.ts +11 -0
  191. package/src/schemas/server-workspace.ts +36 -0
  192. package/src/schemas/server.ts +12 -0
  193. package/src/schemas/tag.ts +12 -0
  194. package/src/schemas/xml.ts +19 -0
  195. package/test/helpers.ts +16 -0
  196. package/tsconfig.build.json +12 -0
  197. package/tsconfig.json +8 -0
  198. package/vite.config.ts +9 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/schemas/components.ts"],"names":[],"mappings":"AAaA,kOAAkO;AAClO,eAAO,MAAM,gBAAgB;IAC3B,iDAAiD;;;;;;;;;;;;;;;;;;;IAEjD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEnD,oDAAoD;;;;;;;;;;;;;;IAEpD,kDAAkD;;;;;;;;;;;;IAElD,uDAAuD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEvD,iDAAiD;;;;;;;;;;;IAEjD,0DAA0D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAE1D,+CAA+C;;;;;;;;;;;;;;;;;;;;;;IAE/C,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEnD,oDAAoD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpD,CAAA"}
@@ -0,0 +1,38 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { SchemaObject } from "./schema.js";
3
+ import { ResponseObject } from "./response.js";
4
+ import { ReferenceObject } from "./reference.js";
5
+ import { ParameterObject } from "./parameter.js";
6
+ import { ExampleObject } from "./example.js";
7
+ import { RequestBodyObject } from "./request-body.js";
8
+ import { SecuritySchemeObject } from "./security-scheme.js";
9
+ import { LinkObject } from "./link.js";
10
+ import { CallbackObject } from "./callback.js";
11
+ import { PathItemObject } from "./path-item.js";
12
+ import { HeaderObject } from "./header.js";
13
+ const ComponentsObject = Type.Object({
14
+ /** An object to hold reusable Schema Objects. */
15
+ schemas: Type.Optional(Type.Record(Type.String(), SchemaObject)),
16
+ /** An object to hold reusable Response Objects. */
17
+ responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObject, ReferenceObject]))),
18
+ /** An object to hold reusable Parameter Objects. */
19
+ parameters: Type.Optional(Type.Record(Type.String(), Type.Union([ParameterObject, ReferenceObject]))),
20
+ /** An object to hold reusable Example Objects. */
21
+ examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObject, ReferenceObject]))),
22
+ /** An object to hold reusable Request Body Objects. */
23
+ requestBodies: Type.Optional(Type.Record(Type.String(), Type.Union([RequestBodyObject, ReferenceObject]))),
24
+ /** An object to hold reusable Header Objects. */
25
+ headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),
26
+ /** An object to hold reusable Security Scheme Objects. */
27
+ securitySchemes: Type.Optional(Type.Record(Type.String(), Type.Union([SecuritySchemeObject, ReferenceObject]))),
28
+ /** An object to hold reusable Link Objects. */
29
+ links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObject, ReferenceObject]))),
30
+ /** An object to hold reusable Callback Objects. */
31
+ callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObject, ReferenceObject]))),
32
+ /** An object to hold reusable Path Item Objects. */
33
+ pathItems: Type.Optional(Type.Record(Type.String(), PathItemObject))
34
+ });
35
+ export {
36
+ ComponentsObject
37
+ };
38
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/components.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { SchemaObject } from './schema'\nimport { ResponseObject } from './response'\nimport { ReferenceObject } from './reference'\nimport { ParameterObject } from './parameter'\nimport { ExampleObject } from './example'\nimport { RequestBodyObject } from './request-body'\nimport { SecuritySchemeObject } from './security-scheme'\nimport { LinkObject } from './link'\nimport { CallbackObject } from './callback'\nimport { PathItemObject } from './path-item'\nimport { HeaderObject } from './header'\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 ComponentsObject = Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), SchemaObject)),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObject, ReferenceObject]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(Type.Record(Type.String(), Type.Union([ParameterObject, ReferenceObject]))),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObject, ReferenceObject]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(Type.Record(Type.String(), Type.Union([RequestBodyObject, ReferenceObject]))),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(Type.Record(Type.String(), Type.Union([SecuritySchemeObject, ReferenceObject]))),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObject, ReferenceObject]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObject, ReferenceObject]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObject)),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,sBAAsB;AAC/B,SAAS,uBAAuB;AAChC,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,yBAAyB;AAClC,SAAS,4BAA4B;AACrC,SAAS,kBAAkB;AAC3B,SAAS,sBAAsB;AAC/B,SAAS,sBAAsB;AAC/B,SAAS,oBAAoB;AAGtB,MAAM,mBAAmB,KAAK,OAAO;AAAA;AAAA,EAE1C,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY,CAAC;AAAA;AAAA,EAE/D,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,gBAAgB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAElG,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,iBAAiB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAEpG,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,eAAe,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAEhG,eAAe,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,mBAAmB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAEzG,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,cAAc,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE9F,iBAAiB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,sBAAsB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE9G,OAAO,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,YAAY,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAE1F,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,gBAAgB,eAAe,CAAC,CAAC,CAAC;AAAA;AAAA,EAElG,WAAW,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,cAAc,CAAC;AACrE,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,10 @@
1
+ /** Contact information for the exposed API. */
2
+ export declare const ContactObject: import("@sinclair/typebox").TObject<{
3
+ /** The identifying name of the contact person/organization. */
4
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ /** The URI for the contact information. This MUST be in the form of a URI. */
6
+ url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
+ /** The email address of the contact person/organization. This MUST be in the form of an email address. */
8
+ email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
+ }>;
10
+ //# sourceMappingURL=contact.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../src/schemas/contact.ts"],"names":[],"mappings":"AAEA,+CAA+C;AAC/C,eAAO,MAAM,aAAa;IACxB,+DAA+D;;IAE/D,8EAA8E;;IAE9E,0GAA0G;;EAE1G,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const ContactObject = Type.Object({
3
+ /** The identifying name of the contact person/organization. */
4
+ name: Type.Optional(Type.String()),
5
+ /** The URI for the contact information. This MUST be in the form of a URI. */
6
+ url: Type.Optional(Type.String()),
7
+ /** The email address of the contact person/organization. This MUST be in the form of an email address. */
8
+ email: Type.Optional(Type.String())
9
+ });
10
+ export {
11
+ ContactObject
12
+ };
13
+ //# sourceMappingURL=contact.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/contact.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** Contact information for the exposed API. */\nexport const ContactObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,gBAAgB,KAAK,OAAO;AAAA;AAAA,EAEvC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEhC,OAAO,KAAK,SAAS,KAAK,OAAO,CAAC;AACpC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 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.
3
+ *
4
+ * Note that discriminator MUST NOT change the validation outcome of the schema.
5
+ */
6
+ export declare const DiscriminatorObject: import("@sinclair/typebox").TObject<{
7
+ /** 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. */
8
+ propertyName: import("@sinclair/typebox").TString;
9
+ /** An object to hold mappings between payload values and schema names or URI references. */
10
+ mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
11
+ }>;
12
+ //# sourceMappingURL=discriminator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"discriminator.d.ts","sourceRoot":"","sources":["../../src/schemas/discriminator.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;IAC9B,mNAAmN;;IAEnN,4FAA4F;;EAE5F,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const DiscriminatorObject = Type.Object({
3
+ /** 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. */
4
+ propertyName: Type.String(),
5
+ /** An object to hold mappings between payload values and schema names or URI references. */
6
+ mapping: Type.Optional(Type.Record(Type.String(), Type.String()))
7
+ });
8
+ export {
9
+ DiscriminatorObject
10
+ };
11
+ //# sourceMappingURL=discriminator.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/discriminator.ts"],
4
+ "sourcesContent": ["import { Type } 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 DiscriminatorObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,sBAAsB,KAAK,OAAO;AAAA;AAAA,EAE7C,cAAc,KAAK,OAAO;AAAA;AAAA,EAE1B,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,CAAC,CAAC;AAClE,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.
3
+ *
4
+ * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.
5
+ *
6
+ * See Appendix E for a detailed examination of percent-encoding concerns for form media types.
7
+ */
8
+ export declare const EncodingObject: import("@sinclair/typebox").TObject<{
9
+ /** 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. */
10
+ contentType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
+ /** 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. */
12
+ headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
13
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
14
+ required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
15
+ deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
16
+ }>, import("@sinclair/typebox").TObject<{
17
+ $ref: import("@sinclair/typebox").TString;
18
+ $status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
19
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
20
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21
+ }>]>>>;
22
+ }>;
23
+ //# sourceMappingURL=encoding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"encoding.d.ts","sourceRoot":"","sources":["../../src/schemas/encoding.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;IACzB,sRAAsR;;IAEtR,iOAAiO;;;;;;;;;;;EAEjO,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { HeaderObject } from "./header.js";
3
+ import { ReferenceObject } from "./reference.js";
4
+ const EncodingObject = Type.Object({
5
+ /** The Content-Type for encoding a specific property. The value is a comma-separated list, each element of which is either a specific media type (e.g. image/png) or a wildcard media type (e.g. image/*). Default value depends on the property type as shown in the table below. */
6
+ contentType: Type.Optional(Type.String()),
7
+ /** 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. */
8
+ headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObject, ReferenceObject])))
9
+ });
10
+ export {
11
+ EncodingObject
12
+ };
13
+ //# sourceMappingURL=encoding.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/encoding.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { HeaderObject } from './header'\nimport { ReferenceObject } from './reference'\n\n/**\n * A single encoding definition applied to a single schema property. See Appendix B for a discussion of converting values of various types to string representations.\n *\n * Properties are correlated with multipart parts using the name parameter of Content-Disposition: form-data, and with application/x-www-form-urlencoded using the query string parameter names. In both cases, their order is implementation-defined.\n *\n * See Appendix E for a detailed examination of percent-encoding concerns for form media types.\n */\nexport const EncodingObject = 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([HeaderObject, ReferenceObject]))),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAC7B,SAAS,uBAAuB;AASzB,MAAM,iBAAiB,KAAK,OAAO;AAAA;AAAA,EAExC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,SAAS,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,MAAM,CAAC,cAAc,eAAe,CAAC,CAAC,CAAC;AAChG,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 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.
3
+ *
4
+ * Examples allow demonstration of the usage of properties, parameters and objects within OpenAPI.
5
+ */
6
+ export declare const ExampleObject: import("@sinclair/typebox").TObject<{
7
+ /** Short description for the example. */
8
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
+ /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */
10
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
+ /** 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. */
12
+ value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
13
+ /** A URI that identifies the literal example. This provides the capability to reference examples that cannot easily be included in JSON or YAML documents. The value field and externalValue field are mutually exclusive. See the rules for resolving Relative References. */
14
+ externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
+ }>;
16
+ //# sourceMappingURL=example.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../src/schemas/example.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,aAAa;IACxB,yCAAyC;;IAEzC,oGAAoG;;IAEpG,6PAA6P;;IAE7P,+QAA+Q;;EAE/Q,CAAA"}
@@ -0,0 +1,15 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const ExampleObject = Type.Object({
3
+ /** Short description for the example. */
4
+ summary: Type.Optional(Type.String()),
5
+ /** Long description for the example. CommonMark syntax MAY be used for rich text representation. */
6
+ description: Type.Optional(Type.String()),
7
+ /** 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. */
8
+ value: Type.Optional(Type.Any()),
9
+ /** 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. */
10
+ externalValue: Type.Optional(Type.String())
11
+ });
12
+ export {
13
+ ExampleObject
14
+ };
15
+ //# sourceMappingURL=example.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/example.ts"],
4
+ "sourcesContent": ["import { Type } 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 ExampleObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAOd,MAAM,gBAAgB,KAAK,OAAO;AAAA;AAAA,EAEvC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,OAAO,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAE/B,eAAe,KAAK,SAAS,KAAK,OAAO,CAAC;AAC5C,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,8 @@
1
+ /** Allows referencing an external resource for extended documentation. */
2
+ export declare const ExternalDocumentationObject: import("@sinclair/typebox").TObject<{
3
+ /** A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */
4
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ /** REQUIRED. The URI for the target documentation. This MUST be in the form of a URI. */
6
+ url: import("@sinclair/typebox").TString;
7
+ }>;
8
+ //# sourceMappingURL=external-documentation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"external-documentation.d.ts","sourceRoot":"","sources":["../../src/schemas/external-documentation.ts"],"names":[],"mappings":"AAEA,0EAA0E;AAC1E,eAAO,MAAM,2BAA2B;IACtC,6GAA6G;;IAE7G,yFAAyF;;EAEzF,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const ExternalDocumentationObject = Type.Object({
3
+ /** A description of the target documentation. CommonMark syntax MAY be used for rich text representation. */
4
+ description: Type.Optional(Type.String()),
5
+ /** REQUIRED. The URI for the target documentation. This MUST be in the form of a URI. */
6
+ url: Type.String()
7
+ });
8
+ export {
9
+ ExternalDocumentationObject
10
+ };
11
+ //# sourceMappingURL=external-documentation.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/external-documentation.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** Allows referencing an external resource for extended documentation. */\nexport const ExternalDocumentationObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,8BAA8B,KAAK,OAAO;AAAA;AAAA,EAErD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,KAAK,KAAK,OAAO;AACnB,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Describes a single header for HTTP responses and for individual parts in multipart representations; see the relevant Response Object and Encoding Object documentation for restrictions on which headers can be described.
3
+ *
4
+ * The Header Object follows the structure of the Parameter Object, including determining its serialization strategy based on whether schema or content is present, with the following changes:
5
+ *
6
+ * - name MUST NOT be specified, it is given in the corresponding headers map.
7
+ * - in MUST NOT be specified, it is implicitly in header.
8
+ * - All traits that are affected by the location MUST be applicable to a location of header (for example, style). This means that allowEmptyValue and allowReserved MUST NOT be used, and style, if used, MUST be limited to "simple".
9
+ */
10
+ export declare const HeaderObject: import("@sinclair/typebox").TObject<{
11
+ /** A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
12
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
+ /** Determines whether this header is mandatory. The default value is false. */
14
+ required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
15
+ /** Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false. */
16
+ deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
17
+ }>;
18
+ //# sourceMappingURL=header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../src/schemas/header.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY;IACvB,yIAAyI;;IAEzI,+EAA+E;;IAE/E,+GAA+G;;EAE/G,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const HeaderObject = Type.Object({
3
+ /** A brief description of the header. This could contain examples of use. CommonMark syntax MAY be used for rich text representation. */
4
+ description: Type.Optional(Type.String()),
5
+ /** Determines whether this header is mandatory. The default value is false. */
6
+ required: Type.Optional(Type.Boolean()),
7
+ /** Specifies that the header is deprecated and SHOULD be transitioned out of usage. Default value is false. */
8
+ deprecated: Type.Optional(Type.Boolean())
9
+ });
10
+ export {
11
+ HeaderObject
12
+ };
13
+ //# sourceMappingURL=header.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/header.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/**\n * Describes a single header for HTTP responses and for individual parts in multipart representations; see the relevant Response Object and Encoding Object documentation for restrictions on which headers can be described.\n *\n * The Header Object follows the structure of the Parameter Object, including determining its serialization strategy based on whether schema or content is present, with the following changes:\n *\n * - name MUST NOT be specified, it is given in the corresponding headers map.\n * - in MUST NOT be specified, it is implicitly in header.\n * - All traits that are affected by the location MUST be applicable to a location of header (for example, style). This means that allowEmptyValue and allowReserved MUST NOT be used, and style, if used, MUST be limited to \"simple\".\n */\nexport const HeaderObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAWd,MAAM,eAAe,KAAK,OAAO;AAAA;AAAA,EAEtC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,UAAU,KAAK,SAAS,KAAK,QAAQ,CAAC;AAAA;AAAA,EAEtC,YAAY,KAAK,SAAS,KAAK,QAAQ,CAAC;AAC1C,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * 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.
3
+ */
4
+ export declare const InfoObject: import("@sinclair/typebox").TObject<{
5
+ /** REQUIRED. The title of the API. */
6
+ title: import("@sinclair/typebox").TString;
7
+ /** A short summary of the API. */
8
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
+ /** A description of the API. CommonMark syntax MAY be used for rich text representation. */
10
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
+ /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */
12
+ termsOfService: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
+ /** The contact information for the exposed API. */
14
+ contact: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
15
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
+ url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17
+ email: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
18
+ }>>;
19
+ /** The license information for the exposed API. */
20
+ license: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
21
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
22
+ identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
+ url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
24
+ }>>;
25
+ /** 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). */
26
+ version: import("@sinclair/typebox").TString;
27
+ }>;
28
+ //# sourceMappingURL=info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../src/schemas/info.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,UAAU;IACrB,sCAAsC;;IAEtC,kCAAkC;;IAElC,4FAA4F;;IAE5F,qFAAqF;;IAErF,mDAAmD;;;;;;IAEnD,mDAAmD;;;;;;IAEnD,oMAAoM;;EAEpM,CAAA"}
@@ -0,0 +1,23 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { ContactObject } from "./contact.js";
3
+ import { LicenseObject } from "./license.js";
4
+ const InfoObject = Type.Object({
5
+ /** REQUIRED. The title of the API. */
6
+ title: Type.String({ default: "API" }),
7
+ /** A short summary of the API. */
8
+ summary: Type.Optional(Type.String()),
9
+ /** A description of the API. CommonMark syntax MAY be used for rich text representation. */
10
+ description: Type.Optional(Type.String()),
11
+ /** A URI for the Terms of Service for the API. This MUST be in the form of a URI. */
12
+ termsOfService: Type.Optional(Type.String()),
13
+ /** The contact information for the exposed API. */
14
+ contact: Type.Optional(ContactObject),
15
+ /** The license information for the exposed API. */
16
+ license: Type.Optional(LicenseObject),
17
+ /** 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). */
18
+ version: Type.String()
19
+ });
20
+ export {
21
+ InfoObject
22
+ };
23
+ //# sourceMappingURL=info.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/info.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ContactObject } from './contact'\nimport { LicenseObject } from './license'\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 InfoObject = Type.Object({\n /** REQUIRED. The title of the API. */\n title: Type.String({ default: 'API' }),\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(ContactObject),\n /** The license information for the exposed API. */\n license: Type.Optional(LicenseObject),\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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,qBAAqB;AAKvB,MAAM,aAAa,KAAK,OAAO;AAAA;AAAA,EAEpC,OAAO,KAAK,OAAO,EAAE,SAAS,MAAM,CAAC;AAAA;AAAA,EAErC,SAAS,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEpC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,gBAAgB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAE3C,SAAS,KAAK,SAAS,aAAa;AAAA;AAAA,EAEpC,SAAS,KAAK,SAAS,aAAa;AAAA;AAAA,EAEpC,SAAS,KAAK,OAAO;AACvB,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,10 @@
1
+ /** The license information for the exposed API. */
2
+ export declare const LicenseObject: import("@sinclair/typebox").TObject<{
3
+ /** REQUIRED. The license name used for the API. */
4
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
5
+ /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
6
+ identifier: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
+ /** 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. */
8
+ url: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
9
+ }>;
10
+ //# sourceMappingURL=license.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"license.d.ts","sourceRoot":"","sources":["../../src/schemas/license.ts"],"names":[],"mappings":"AAEA,mDAAmD;AACnD,eAAO,MAAM,aAAa;IACxB,mDAAmD;;IAEnD,2GAA2G;;IAE3G,8IAA8I;;EAE9I,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ const LicenseObject = Type.Object({
3
+ /** REQUIRED. The license name used for the API. */
4
+ name: Type.Optional(Type.String()),
5
+ /** An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. */
6
+ identifier: Type.Optional(Type.String()),
7
+ /** 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. */
8
+ url: Type.Optional(Type.String())
9
+ });
10
+ export {
11
+ LicenseObject
12
+ };
13
+ //# sourceMappingURL=license.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/license.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\n\n/** The license information for the exposed API. */\nexport const LicenseObject = 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"],
5
+ "mappings": "AAAA,SAAS,YAAY;AAGd,MAAM,gBAAgB,KAAK,OAAO;AAAA;AAAA,EAEvC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEjC,YAAY,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEvC,KAAK,KAAK,SAAS,KAAK,OAAO,CAAC;AAClC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * 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.
3
+ *
4
+ * Unlike dynamic links (i.e. links provided in the response payload), the OAS linking mechanism does not require link information in the runtime response.
5
+ *
6
+ * 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.
7
+ */
8
+ export declare const LinkObject: import("@sinclair/typebox").TObject<{
9
+ /** 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. */
10
+ operationRef: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
11
+ /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
12
+ operationId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
+ /** 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. */
14
+ parameters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
15
+ /** A literal value or {expression} to use as a request body when calling the target operation. */
16
+ requestBody: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
17
+ /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
18
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
19
+ /** A server object to be used by the target operation. */
20
+ server: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
21
+ url: import("@sinclair/typebox").TString;
22
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
23
+ variables: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
24
+ enum: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
25
+ default: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
+ }>>>;
28
+ }>>;
29
+ }>;
30
+ //# sourceMappingURL=link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../src/schemas/link.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;IACrB,yPAAyP;;IAEzP,2JAA2J;;IAE3J,8WAA8W;;IAE9W,kGAAkG;;IAElG,6FAA6F;;IAE7F,0DAA0D;;;;;;;;;;EAE1D,CAAA"}
@@ -0,0 +1,20 @@
1
+ import { Type } from "@sinclair/typebox";
2
+ import { ServerObject } from "./server.js";
3
+ const LinkObject = Type.Object({
4
+ /** 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. */
5
+ operationRef: Type.Optional(Type.String()),
6
+ /** The name of an existing, resolvable OAS operation, as defined with a unique operationId. This field is mutually exclusive of the operationRef field. */
7
+ operationId: Type.Optional(Type.String()),
8
+ /** 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. */
9
+ parameters: Type.Optional(Type.Record(Type.String(), Type.Any())),
10
+ /** A literal value or {expression} to use as a request body when calling the target operation. */
11
+ requestBody: Type.Optional(Type.Any()),
12
+ /** A description of the link. CommonMark syntax MAY be used for rich text representation. */
13
+ description: Type.Optional(Type.String()),
14
+ /** A server object to be used by the target operation. */
15
+ server: Type.Optional(ServerObject)
16
+ });
17
+ export {
18
+ LinkObject
19
+ };
20
+ //# sourceMappingURL=link.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/link.ts"],
4
+ "sourcesContent": ["import { Type } from '@sinclair/typebox'\nimport { ServerObject } from './server'\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 LinkObject = 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(ServerObject),\n})\n"],
5
+ "mappings": "AAAA,SAAS,YAAY;AACrB,SAAS,oBAAoB;AAStB,MAAM,aAAa,KAAK,OAAO;AAAA;AAAA,EAEpC,cAAc,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAEzC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,YAAY,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,IAAI,CAAC,CAAC;AAAA;AAAA,EAEhE,aAAa,KAAK,SAAS,KAAK,IAAI,CAAC;AAAA;AAAA,EAErC,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,EAExC,QAAQ,KAAK,SAAS,YAAY;AACpC,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Each Media Type Object provides schema and examples for the media type identified by its key.
3
+ *
4
+ * When example or examples are provided, the example SHOULD match the specified schema and be in the correct format as specified by the media type and its encoding. The example and examples fields are mutually exclusive, and if either is present it SHALL override any example in the schema. See Working With Examples for further guidance regarding the different ways of specifying examples, including non-JSON/YAML values.
5
+ */
6
+ export declare const MediaTypeObject: import("@sinclair/typebox").TObject<{
7
+ /** The schema defining the content of the request, response, parameter, or header. */
8
+ schema: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
9
+ discriminator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
10
+ propertyName: import("@sinclair/typebox").TString;
11
+ mapping: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
12
+ }>>;
13
+ xml: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
14
+ name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
+ namespace: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
+ prefix: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
17
+ attribute: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
18
+ wrapped: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
19
+ }>>;
20
+ externalDocs: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
21
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
22
+ url: import("@sinclair/typebox").TString;
23
+ }>>;
24
+ example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
25
+ }>>;
26
+ /** Example of the media type */
27
+ example: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
28
+ /** Examples of the media type */
29
+ examples: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
30
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
31
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
32
+ value: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
33
+ externalValue: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
34
+ }>, import("@sinclair/typebox").TObject<{
35
+ $ref: import("@sinclair/typebox").TString;
36
+ $status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
37
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
38
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
39
+ }>]>>>;
40
+ /** 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. */
41
+ encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
42
+ contentType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
43
+ headers: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
44
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
45
+ required: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
46
+ deprecated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
47
+ }>, import("@sinclair/typebox").TObject<{
48
+ $ref: import("@sinclair/typebox").TString;
49
+ $status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"loading">, import("@sinclair/typebox").TLiteral<"error">]>>;
50
+ summary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
51
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
52
+ }>]>>>;
53
+ }>>>;
54
+ }>;
55
+ //# sourceMappingURL=media-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"media-type.d.ts","sourceRoot":"","sources":["../../src/schemas/media-type.ts"],"names":[],"mappings":"AAMA;;;;GAIG;AACH,eAAO,MAAM,eAAe;IAC1B,sFAAsF;;;;;;;;;;;;;;;;;;;IAEtF,gCAAgC;;IAEhC,iCAAiC;;;;;;;;;;;;IAEjC,gaAAga;;;;;;;;;;;;;;EAEha,CAAA"}