@bfra.me/api-core 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (624) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +18 -0
  3. package/README.md +18 -0
  4. package/dist/chunk-7NM3WYHE.js +32 -0
  5. package/dist/chunk-7NM3WYHE.js.map +1 -0
  6. package/dist/chunk-7QVYU63E.js +7 -0
  7. package/dist/chunk-7QVYU63E.js.map +1 -0
  8. package/dist/chunk-HKKQOEV3.js +786 -0
  9. package/dist/chunk-HKKQOEV3.js.map +1 -0
  10. package/dist/errors/fetchError.d.ts +13 -0
  11. package/dist/errors/fetchError.js +8 -0
  12. package/dist/errors/fetchError.js.map +1 -0
  13. package/dist/index.d.ts +47 -0
  14. package/dist/index.js +105 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/lib/index.d.ts +59 -0
  17. package/dist/lib/index.js +16 -0
  18. package/dist/lib/index.js.map +1 -0
  19. package/dist/types.d.ts +22 -0
  20. package/dist/types.js +1 -0
  21. package/dist/types.js.map +1 -0
  22. package/eslint.config.ts +25 -0
  23. package/package.json +67 -0
  24. package/src/errors/fetchError.ts +29 -0
  25. package/src/index.ts +134 -0
  26. package/src/lib/getJSONSchemaDefaults.ts +77 -0
  27. package/src/lib/index.ts +7 -0
  28. package/src/lib/parseResponse.ts +28 -0
  29. package/src/lib/prepareAuth.ts +107 -0
  30. package/src/lib/prepareParams.ts +439 -0
  31. package/src/lib/prepareServer.ts +52 -0
  32. package/src/types.ts +28 -0
  33. package/test-utils/CHANGELOG.md +11 -0
  34. package/test-utils/datasets/real-world-apis.json +8507 -0
  35. package/test-utils/datasets/refresh-dataset +336 -0
  36. package/test-utils/definitions/alby.json +5391 -0
  37. package/test-utils/definitions/auth-quirks.json +62 -0
  38. package/test-utils/definitions/basiq.json +104 -0
  39. package/test-utils/definitions/metrotransit.json +318 -0
  40. package/test-utils/definitions/nested-defaults.json +107 -0
  41. package/test-utils/definitions/operationid-quirks.json +36 -0
  42. package/test-utils/definitions/optional-payload.json +57 -0
  43. package/test-utils/definitions/payloads.json +58 -0
  44. package/test-utils/definitions/response-title-quirks.json +77 -0
  45. package/test-utils/definitions/simple.json +291 -0
  46. package/test-utils/fetch-mock.ts +81 -0
  47. package/test-utils/fixtures/hello.jp.txt +1 -0
  48. package/test-utils/fixtures/hello.txt +1 -0
  49. package/test-utils/fixtures/owlbert-shrub.png +0 -0
  50. package/test-utils/fixtures/owlbert.png +0 -0
  51. package/test-utils/index.ts +2 -0
  52. package/test-utils/load-spec.ts +8 -0
  53. package/test-utils/node_modules/.bin/tsc +17 -0
  54. package/test-utils/node_modules/.bin/tsserver +17 -0
  55. package/test-utils/package.json +20 -0
  56. package/test-utils/sdks/README.md +3 -0
  57. package/test-utils/sdks/alby/README.md +23 -0
  58. package/test-utils/sdks/alby/package.json +55 -0
  59. package/test-utils/sdks/alby/src/index.ts +18 -0
  60. package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePatch.ts +92 -0
  61. package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePost.ts +93 -0
  62. package/test-utils/sdks/alby/src/schemas/AmqpExternalRuleResponse.ts +143 -0
  63. package/test-utils/sdks/alby/src/schemas/AmqpRulePatch.ts +76 -0
  64. package/test-utils/sdks/alby/src/schemas/AmqpRulePost.ts +85 -0
  65. package/test-utils/sdks/alby/src/schemas/AmqpRuleResponse.ts +124 -0
  66. package/test-utils/sdks/alby/src/schemas/AppPatch.ts +68 -0
  67. package/test-utils/sdks/alby/src/schemas/AppPkcs12.ts +22 -0
  68. package/test-utils/sdks/alby/src/schemas/AppPost.ts +71 -0
  69. package/test-utils/sdks/alby/src/schemas/AppResponse.ts +69 -0
  70. package/test-utils/sdks/alby/src/schemas/AwsAccessKeys.ts +28 -0
  71. package/test-utils/sdks/alby/src/schemas/AwsAccessKeysResponse.ts +20 -0
  72. package/test-utils/sdks/alby/src/schemas/AwsAssumeRole.ts +23 -0
  73. package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePatch.ts +90 -0
  74. package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePost.ts +103 -0
  75. package/test-utils/sdks/alby/src/schemas/AwsKinesisRuleResponse.ts +142 -0
  76. package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePatch.ts +90 -0
  77. package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePost.ts +90 -0
  78. package/test-utils/sdks/alby/src/schemas/AwsLambdaRuleResponse.ts +132 -0
  79. package/test-utils/sdks/alby/src/schemas/AwsSqsRulePatch.ts +86 -0
  80. package/test-utils/sdks/alby/src/schemas/AwsSqsRulePost.ts +98 -0
  81. package/test-utils/sdks/alby/src/schemas/AwsSqsRuleResponse.ts +137 -0
  82. package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePatch.ts +96 -0
  83. package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePost.ts +106 -0
  84. package/test-utils/sdks/alby/src/schemas/AzureFunctionRuleResponse.ts +145 -0
  85. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePatch.ts +74 -0
  86. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePost.ts +83 -0
  87. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRuleResponse.ts +125 -0
  88. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdNamespacesNamespaceId.ts +26 -0
  89. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdQueuesQueueId.ts +26 -0
  90. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdRulesRuleId.ts +26 -0
  91. package/test-utils/sdks/alby/src/schemas/DeleteAppsId.ts +20 -0
  92. package/test-utils/sdks/alby/src/schemas/Error.ts +39 -0
  93. package/test-utils/sdks/alby/src/schemas/GetAccountsAccountIdApps.ts +29 -0
  94. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdKeys.ts +29 -0
  95. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdNamespaces.ts +29 -0
  96. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdQueues.ts +29 -0
  97. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRules.ts +29 -0
  98. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRulesRuleId.ts +26 -0
  99. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePatch.ts +100 -0
  100. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePost.ts +100 -0
  101. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRuleResponse.ts +150 -0
  102. package/test-utils/sdks/alby/src/schemas/HttpRulePatch.ts +89 -0
  103. package/test-utils/sdks/alby/src/schemas/HttpRulePost.ts +100 -0
  104. package/test-utils/sdks/alby/src/schemas/HttpRuleResponse.ts +138 -0
  105. package/test-utils/sdks/alby/src/schemas/IftttRulePatch.ts +59 -0
  106. package/test-utils/sdks/alby/src/schemas/IftttRulePost.ts +62 -0
  107. package/test-utils/sdks/alby/src/schemas/IftttRuleResponse.ts +101 -0
  108. package/test-utils/sdks/alby/src/schemas/KeyPatch.ts +34 -0
  109. package/test-utils/sdks/alby/src/schemas/KeyPost.ts +39 -0
  110. package/test-utils/sdks/alby/src/schemas/KeyResponse.ts +63 -0
  111. package/test-utils/sdks/alby/src/schemas/Me.ts +98 -0
  112. package/test-utils/sdks/alby/src/schemas/NamespacePatch.ts +49 -0
  113. package/test-utils/sdks/alby/src/schemas/NamespacePost.ts +59 -0
  114. package/test-utils/sdks/alby/src/schemas/NamespaceResponse.ts +70 -0
  115. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdKeysKeyId.ts +26 -0
  116. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdNamespacesNamespaceId.ts +26 -0
  117. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdRulesRuleId.ts +26 -0
  118. package/test-utils/sdks/alby/src/schemas/PatchAppsId.ts +20 -0
  119. package/test-utils/sdks/alby/src/schemas/PostAccountsAccountIdApps.ts +20 -0
  120. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeys.ts +20 -0
  121. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeysKeyIdRevoke.ts +26 -0
  122. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdNamespaces.ts +20 -0
  123. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdQueues.ts +20 -0
  124. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdRules.ts +20 -0
  125. package/test-utils/sdks/alby/src/schemas/PostAppsIdPkcs12.ts +20 -0
  126. package/test-utils/sdks/alby/src/schemas/Queue.ts +43 -0
  127. package/test-utils/sdks/alby/src/schemas/QueueResponse.ts +185 -0
  128. package/test-utils/sdks/alby/src/schemas/RulePatch.ts +46 -0
  129. package/test-utils/sdks/alby/src/schemas/RulePost.ts +49 -0
  130. package/test-utils/sdks/alby/src/schemas/RuleResponse.ts +46 -0
  131. package/test-utils/sdks/alby/src/schemas/RuleSource.ts +30 -0
  132. package/test-utils/sdks/alby/src/schemas/UnsupportedRuleResponse.ts +98 -0
  133. package/test-utils/sdks/alby/src/schemas/ZapierRulePatch.ts +74 -0
  134. package/test-utils/sdks/alby/src/schemas/ZapierRulePost.ts +83 -0
  135. package/test-utils/sdks/alby/src/schemas/ZapierRuleResponse.ts +122 -0
  136. package/test-utils/sdks/alby/src/schemas.ts +77 -0
  137. package/test-utils/sdks/alby/src/sdk.ts +381 -0
  138. package/test-utils/sdks/alby/src/types.ts +84 -0
  139. package/test-utils/sdks/alby/tsconfig.json +12 -0
  140. package/test-utils/sdks/metrotransit/README.md +22 -0
  141. package/test-utils/sdks/metrotransit/package.json +55 -0
  142. package/test-utils/sdks/metrotransit/src/index.ts +12 -0
  143. package/test-utils/sdks/metrotransit/src/schemas/Agency.ts +19 -0
  144. package/test-utils/sdks/metrotransit/src/schemas/AlertMessage.ts +18 -0
  145. package/test-utils/sdks/metrotransit/src/schemas/Departure.ts +78 -0
  146. package/test-utils/sdks/metrotransit/src/schemas/Direction.ts +19 -0
  147. package/test-utils/sdks/metrotransit/src/schemas/GetNextripAgencies.ts +12 -0
  148. package/test-utils/sdks/metrotransit/src/schemas/GetNextripDirectionsRouteId.ts +28 -0
  149. package/test-utils/sdks/metrotransit/src/schemas/GetNextripRouteIdDirectionIdPlaceCode.ts +30 -0
  150. package/test-utils/sdks/metrotransit/src/schemas/GetNextripRoutes.ts +12 -0
  151. package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopId.ts +20 -0
  152. package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopsRouteIdDirectionId.ts +34 -0
  153. package/test-utils/sdks/metrotransit/src/schemas/GetNextripVehiclesRouteId.ts +28 -0
  154. package/test-utils/sdks/metrotransit/src/schemas/NexTripResult.ts +34 -0
  155. package/test-utils/sdks/metrotransit/src/schemas/Place.ts +21 -0
  156. package/test-utils/sdks/metrotransit/src/schemas/ProblemDetails.ts +40 -0
  157. package/test-utils/sdks/metrotransit/src/schemas/Route.ts +25 -0
  158. package/test-utils/sdks/metrotransit/src/schemas/Stop.ts +27 -0
  159. package/test-utils/sdks/metrotransit/src/schemas/Vehicle.ts +61 -0
  160. package/test-utils/sdks/metrotransit/src/schemas.ts +18 -0
  161. package/test-utils/sdks/metrotransit/src/sdk.ts +107 -0
  162. package/test-utils/sdks/metrotransit/src/types.ts +23 -0
  163. package/test-utils/sdks/metrotransit/tsconfig.json +12 -0
  164. package/test-utils/sdks/operationid-quirks/README.md +22 -0
  165. package/test-utils/sdks/operationid-quirks/package.json +50 -0
  166. package/test-utils/sdks/operationid-quirks/src/index.ts +9 -0
  167. package/test-utils/sdks/operationid-quirks/src/sdk.ts +107 -0
  168. package/test-utils/sdks/operationid-quirks/tsconfig.json +12 -0
  169. package/test-utils/sdks/optional-payload/README.md +14 -0
  170. package/test-utils/sdks/optional-payload/package.json +55 -0
  171. package/test-utils/sdks/optional-payload/src/index.ts +9 -0
  172. package/test-utils/sdks/optional-payload/src/schemas/UpdatePetWithForm.ts +35 -0
  173. package/test-utils/sdks/optional-payload/src/schemas.ts +2 -0
  174. package/test-utils/sdks/optional-payload/src/sdk.ts +82 -0
  175. package/test-utils/sdks/optional-payload/src/types.ts +5 -0
  176. package/test-utils/sdks/optional-payload/tsconfig.json +12 -0
  177. package/test-utils/sdks/petstore/LICENSE +97 -0
  178. package/test-utils/sdks/petstore/README.md +23 -0
  179. package/test-utils/sdks/petstore/package.json +56 -0
  180. package/test-utils/sdks/petstore/src/index.ts +17 -0
  181. package/test-utils/sdks/petstore/src/schemas/ApiResponse.ts +18 -0
  182. package/test-utils/sdks/petstore/src/schemas/Category.ts +15 -0
  183. package/test-utils/sdks/petstore/src/schemas/CreateUsersWithArrayInput.ts +10 -0
  184. package/test-utils/sdks/petstore/src/schemas/CreateUsersWithListInput.ts +10 -0
  185. package/test-utils/sdks/petstore/src/schemas/DeleteOrder.ts +22 -0
  186. package/test-utils/sdks/petstore/src/schemas/DeletePet.ts +31 -0
  187. package/test-utils/sdks/petstore/src/schemas/DeleteUser.ts +20 -0
  188. package/test-utils/sdks/petstore/src/schemas/FindPetsByStatus.ts +38 -0
  189. package/test-utils/sdks/petstore/src/schemas/FindPetsByTags.ts +32 -0
  190. package/test-utils/sdks/petstore/src/schemas/GetInventory.ts +13 -0
  191. package/test-utils/sdks/petstore/src/schemas/GetOrderById.ts +23 -0
  192. package/test-utils/sdks/petstore/src/schemas/GetPetById.ts +21 -0
  193. package/test-utils/sdks/petstore/src/schemas/GetUserByName.ts +20 -0
  194. package/test-utils/sdks/petstore/src/schemas/LoginUser.ts +32 -0
  195. package/test-utils/sdks/petstore/src/schemas/Order.ts +37 -0
  196. package/test-utils/sdks/petstore/src/schemas/Pet.ts +53 -0
  197. package/test-utils/sdks/petstore/src/schemas/Tag.ts +15 -0
  198. package/test-utils/sdks/petstore/src/schemas/UpdatePetWithForm.ts +35 -0
  199. package/test-utils/sdks/petstore/src/schemas/UpdateUser.ts +20 -0
  200. package/test-utils/sdks/petstore/src/schemas/UploadFile.ts +36 -0
  201. package/test-utils/sdks/petstore/src/schemas/User.ts +35 -0
  202. package/test-utils/sdks/petstore/src/schemas.ts +22 -0
  203. package/test-utils/sdks/petstore/src/sdk.ts +248 -0
  204. package/test-utils/sdks/petstore/src/types.ts +29 -0
  205. package/test-utils/sdks/petstore/tsconfig.json +12 -0
  206. package/test-utils/sdks/readme/README.md +23 -0
  207. package/test-utils/sdks/readme/package.json +55 -0
  208. package/test-utils/sdks/readme/src/index.ts +13 -0
  209. package/test-utils/sdks/readme/src/schemas/Apply.ts +61 -0
  210. package/test-utils/sdks/readme/src/schemas/Category.ts +24 -0
  211. package/test-utils/sdks/readme/src/schemas/Changelog.ts +36 -0
  212. package/test-utils/sdks/readme/src/schemas/CondensedProjectData.ts +25 -0
  213. package/test-utils/sdks/readme/src/schemas/CreateCategory.ts +21 -0
  214. package/test-utils/sdks/readme/src/schemas/CreateCustomPage.ts +22 -0
  215. package/test-utils/sdks/readme/src/schemas/CreateDoc.ts +40 -0
  216. package/test-utils/sdks/readme/src/schemas/CreateVersion.ts +33 -0
  217. package/test-utils/sdks/readme/src/schemas/CustomPage.ts +33 -0
  218. package/test-utils/sdks/readme/src/schemas/DeleteApiSpecification.ts +39 -0
  219. package/test-utils/sdks/readme/src/schemas/DeleteCategory.ts +37 -0
  220. package/test-utils/sdks/readme/src/schemas/DeleteChangelog.ts +20 -0
  221. package/test-utils/sdks/readme/src/schemas/DeleteCustomPage.ts +39 -0
  222. package/test-utils/sdks/readme/src/schemas/DeleteDoc.ts +53 -0
  223. package/test-utils/sdks/readme/src/schemas/DeleteVersion.ts +42 -0
  224. package/test-utils/sdks/readme/src/schemas/DocSchemaPost.ts +135 -0
  225. package/test-utils/sdks/readme/src/schemas/DocSchemaPut.ts +62 -0
  226. package/test-utils/sdks/readme/src/schemas/DocSchemaResponse.ts +54 -0
  227. package/test-utils/sdks/readme/src/schemas/ErrorApikeyEmpty.ts +49 -0
  228. package/test-utils/sdks/readme/src/schemas/ErrorApikeyMismatch.ts +49 -0
  229. package/test-utils/sdks/readme/src/schemas/ErrorApikeyNotfound.ts +49 -0
  230. package/test-utils/sdks/readme/src/schemas/ErrorCategoryInvalid.ts +49 -0
  231. package/test-utils/sdks/readme/src/schemas/ErrorCategoryNotfound.ts +49 -0
  232. package/test-utils/sdks/readme/src/schemas/ErrorCustompageInvalid.ts +49 -0
  233. package/test-utils/sdks/readme/src/schemas/ErrorCustompageNotfound.ts +49 -0
  234. package/test-utils/sdks/readme/src/schemas/ErrorDocInvalid.ts +49 -0
  235. package/test-utils/sdks/readme/src/schemas/ErrorDocNotfound.ts +49 -0
  236. package/test-utils/sdks/readme/src/schemas/ErrorRegistryNotfound.ts +49 -0
  237. package/test-utils/sdks/readme/src/schemas/ErrorSpecFileEmpty.ts +49 -0
  238. package/test-utils/sdks/readme/src/schemas/ErrorSpecIdDuplicate.ts +49 -0
  239. package/test-utils/sdks/readme/src/schemas/ErrorSpecIdInvalid.ts +49 -0
  240. package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalid.ts +49 -0
  241. package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalidSchema.ts +49 -0
  242. package/test-utils/sdks/readme/src/schemas/ErrorSpecNotfound.ts +49 -0
  243. package/test-utils/sdks/readme/src/schemas/ErrorSpecTimeout.ts +49 -0
  244. package/test-utils/sdks/readme/src/schemas/ErrorSpecVersionNotfound.ts +49 -0
  245. package/test-utils/sdks/readme/src/schemas/ErrorVersionCantDemoteStable.ts +49 -0
  246. package/test-utils/sdks/readme/src/schemas/ErrorVersionCantRemoveStable.ts +49 -0
  247. package/test-utils/sdks/readme/src/schemas/ErrorVersionDuplicate.ts +49 -0
  248. package/test-utils/sdks/readme/src/schemas/ErrorVersionEmpty.ts +49 -0
  249. package/test-utils/sdks/readme/src/schemas/ErrorVersionForkEmpty.ts +49 -0
  250. package/test-utils/sdks/readme/src/schemas/ErrorVersionForkNotfound.ts +49 -0
  251. package/test-utils/sdks/readme/src/schemas/ErrorVersionNotfound.ts +49 -0
  252. package/test-utils/sdks/readme/src/schemas/GetApiRegistry.ts +27 -0
  253. package/test-utils/sdks/readme/src/schemas/GetApiSchema.ts +10 -0
  254. package/test-utils/sdks/readme/src/schemas/GetApiSpecification.ts +74 -0
  255. package/test-utils/sdks/readme/src/schemas/GetCategories.ts +57 -0
  256. package/test-utils/sdks/readme/src/schemas/GetCategory.ts +37 -0
  257. package/test-utils/sdks/readme/src/schemas/GetCategoryDocs.ts +37 -0
  258. package/test-utils/sdks/readme/src/schemas/GetChangelog.ts +20 -0
  259. package/test-utils/sdks/readme/src/schemas/GetChangelogs.ts +43 -0
  260. package/test-utils/sdks/readme/src/schemas/GetCustomPage.ts +39 -0
  261. package/test-utils/sdks/readme/src/schemas/GetCustomPages.ts +60 -0
  262. package/test-utils/sdks/readme/src/schemas/GetDoc.ts +53 -0
  263. package/test-utils/sdks/readme/src/schemas/GetOpenRoles.ts +12 -0
  264. package/test-utils/sdks/readme/src/schemas/GetProductionDoc.ts +53 -0
  265. package/test-utils/sdks/readme/src/schemas/GetProject.ts +22 -0
  266. package/test-utils/sdks/readme/src/schemas/GetVersion.ts +42 -0
  267. package/test-utils/sdks/readme/src/schemas/GetVersions.ts +22 -0
  268. package/test-utils/sdks/readme/src/schemas/JobOpening.ts +52 -0
  269. package/test-utils/sdks/readme/src/schemas/SearchDocs.ts +53 -0
  270. package/test-utils/sdks/readme/src/schemas/UpdateApiSpecification.ts +67 -0
  271. package/test-utils/sdks/readme/src/schemas/UpdateCategory.ts +37 -0
  272. package/test-utils/sdks/readme/src/schemas/UpdateChangelog.ts +20 -0
  273. package/test-utils/sdks/readme/src/schemas/UpdateCustomPage.ts +39 -0
  274. package/test-utils/sdks/readme/src/schemas/UpdateDoc.ts +53 -0
  275. package/test-utils/sdks/readme/src/schemas/UpdateVersion.ts +42 -0
  276. package/test-utils/sdks/readme/src/schemas/UploadApiSpecification.ts +64 -0
  277. package/test-utils/sdks/readme/src/schemas/Version.ts +40 -0
  278. package/test-utils/sdks/readme/src/schemas.ts +70 -0
  279. package/test-utils/sdks/readme/src/sdk.ts +477 -0
  280. package/test-utils/sdks/readme/src/types.ts +120 -0
  281. package/test-utils/sdks/readme/tsconfig.json +12 -0
  282. package/test-utils/sdks/response-title-quirks/README.md +14 -0
  283. package/test-utils/sdks/response-title-quirks/package.json +55 -0
  284. package/test-utils/sdks/response-title-quirks/src/index.ts +9 -0
  285. package/test-utils/sdks/response-title-quirks/src/schemas/GetAnything.ts +60 -0
  286. package/test-utils/sdks/response-title-quirks/src/schemas.ts +2 -0
  287. package/test-utils/sdks/response-title-quirks/src/sdk.ts +76 -0
  288. package/test-utils/sdks/response-title-quirks/src/types.ts +5 -0
  289. package/test-utils/sdks/response-title-quirks/tsconfig.json +12 -0
  290. package/test-utils/sdks/simple/README.md +14 -0
  291. package/test-utils/sdks/simple/package.json +55 -0
  292. package/test-utils/sdks/simple/src/index.ts +10 -0
  293. package/test-utils/sdks/simple/src/schemas/Category.ts +15 -0
  294. package/test-utils/sdks/simple/src/schemas/FindPetsByStatus.ts +38 -0
  295. package/test-utils/sdks/simple/src/schemas/Pet.ts +53 -0
  296. package/test-utils/sdks/simple/src/schemas/Tag.ts +15 -0
  297. package/test-utils/sdks/simple/src/schemas.ts +5 -0
  298. package/test-utils/sdks/simple/src/sdk.ts +81 -0
  299. package/test-utils/sdks/simple/src/types.ts +8 -0
  300. package/test-utils/sdks/simple/tsconfig.json +12 -0
  301. package/test-utils/sdks/star-trek/README.md +22 -0
  302. package/test-utils/sdks/star-trek/package.json +55 -0
  303. package/test-utils/sdks/star-trek/src/index.ts +9 -0
  304. package/test-utils/sdks/star-trek/src/schemas/AnimalBase.ts +41 -0
  305. package/test-utils/sdks/star-trek/src/schemas/AnimalBaseResponse.ts +20 -0
  306. package/test-utils/sdks/star-trek/src/schemas/AnimalFull.ts +41 -0
  307. package/test-utils/sdks/star-trek/src/schemas/AnimalFullResponse.ts +12 -0
  308. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBase.ts +27 -0
  309. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBaseResponse.ts +20 -0
  310. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFull.ts +32 -0
  311. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFullResponse.ts +12 -0
  312. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectHeader.ts +21 -0
  313. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectType.ts +36 -0
  314. package/test-utils/sdks/star-trek/src/schemas/BloodType.ts +12 -0
  315. package/test-utils/sdks/star-trek/src/schemas/BookBase.ts +120 -0
  316. package/test-utils/sdks/star-trek/src/schemas/BookBaseResponse.ts +20 -0
  317. package/test-utils/sdks/star-trek/src/schemas/BookCollectionBase.ts +51 -0
  318. package/test-utils/sdks/star-trek/src/schemas/BookCollectionBaseResponse.ts +20 -0
  319. package/test-utils/sdks/star-trek/src/schemas/BookCollectionFull.ts +98 -0
  320. package/test-utils/sdks/star-trek/src/schemas/BookCollectionFullResponse.ts +12 -0
  321. package/test-utils/sdks/star-trek/src/schemas/BookFull.ts +182 -0
  322. package/test-utils/sdks/star-trek/src/schemas/BookFullResponse.ts +12 -0
  323. package/test-utils/sdks/star-trek/src/schemas/BookSeriesBase.ts +57 -0
  324. package/test-utils/sdks/star-trek/src/schemas/BookSeriesBaseResponse.ts +20 -0
  325. package/test-utils/sdks/star-trek/src/schemas/BookSeriesFull.ts +81 -0
  326. package/test-utils/sdks/star-trek/src/schemas/BookSeriesFullResponse.ts +12 -0
  327. package/test-utils/sdks/star-trek/src/schemas/CharacterBase.ts +104 -0
  328. package/test-utils/sdks/star-trek/src/schemas/CharacterBaseResponse.ts +20 -0
  329. package/test-utils/sdks/star-trek/src/schemas/CharacterFull.ts +152 -0
  330. package/test-utils/sdks/star-trek/src/schemas/CharacterFullResponse.ts +12 -0
  331. package/test-utils/sdks/star-trek/src/schemas/CharacterHeader.ts +21 -0
  332. package/test-utils/sdks/star-trek/src/schemas/CharacterRelation.ts +17 -0
  333. package/test-utils/sdks/star-trek/src/schemas/CharacterSpecies.ts +25 -0
  334. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBase.ts +71 -0
  335. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBaseResponse.ts +20 -0
  336. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFull.ts +123 -0
  337. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFullResponse.ts +12 -0
  338. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBase.ts +75 -0
  339. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBaseResponse.ts +20 -0
  340. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFull.ts +99 -0
  341. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFullResponse.ts +12 -0
  342. package/test-utils/sdks/star-trek/src/schemas/ComicStripBase.ts +61 -0
  343. package/test-utils/sdks/star-trek/src/schemas/ComicStripBaseResponse.ts +20 -0
  344. package/test-utils/sdks/star-trek/src/schemas/ComicStripFull.ts +85 -0
  345. package/test-utils/sdks/star-trek/src/schemas/ComicStripFullResponse.ts +12 -0
  346. package/test-utils/sdks/star-trek/src/schemas/ComicsBase.ts +75 -0
  347. package/test-utils/sdks/star-trek/src/schemas/ComicsBaseResponse.ts +20 -0
  348. package/test-utils/sdks/star-trek/src/schemas/ComicsFull.ts +127 -0
  349. package/test-utils/sdks/star-trek/src/schemas/ComicsFullResponse.ts +12 -0
  350. package/test-utils/sdks/star-trek/src/schemas/CompanyBase.ts +89 -0
  351. package/test-utils/sdks/star-trek/src/schemas/CompanyBaseResponse.ts +20 -0
  352. package/test-utils/sdks/star-trek/src/schemas/CompanyFull.ts +89 -0
  353. package/test-utils/sdks/star-trek/src/schemas/CompanyFullResponse.ts +12 -0
  354. package/test-utils/sdks/star-trek/src/schemas/CompanyHeader.ts +21 -0
  355. package/test-utils/sdks/star-trek/src/schemas/ConflictBase.ts +49 -0
  356. package/test-utils/sdks/star-trek/src/schemas/ConflictBaseResponse.ts +20 -0
  357. package/test-utils/sdks/star-trek/src/schemas/ConflictFull.ts +78 -0
  358. package/test-utils/sdks/star-trek/src/schemas/ConflictFullResponse.ts +12 -0
  359. package/test-utils/sdks/star-trek/src/schemas/ContentLanguage.ts +21 -0
  360. package/test-utils/sdks/star-trek/src/schemas/ContentRating.ts +20 -0
  361. package/test-utils/sdks/star-trek/src/schemas/ContentRatingSystem.ts +35 -0
  362. package/test-utils/sdks/star-trek/src/schemas/Country.ts +21 -0
  363. package/test-utils/sdks/star-trek/src/schemas/ElementBase.ts +61 -0
  364. package/test-utils/sdks/star-trek/src/schemas/ElementBaseResponse.ts +20 -0
  365. package/test-utils/sdks/star-trek/src/schemas/ElementFull.ts +61 -0
  366. package/test-utils/sdks/star-trek/src/schemas/ElementFullResponse.ts +12 -0
  367. package/test-utils/sdks/star-trek/src/schemas/EpisodeBase.ts +82 -0
  368. package/test-utils/sdks/star-trek/src/schemas/EpisodeBaseResponse.ts +20 -0
  369. package/test-utils/sdks/star-trek/src/schemas/EpisodeFull.ts +125 -0
  370. package/test-utils/sdks/star-trek/src/schemas/EpisodeFullResponse.ts +12 -0
  371. package/test-utils/sdks/star-trek/src/schemas/Error.ts +17 -0
  372. package/test-utils/sdks/star-trek/src/schemas/FoodBase.ts +61 -0
  373. package/test-utils/sdks/star-trek/src/schemas/FoodBaseResponse.ts +20 -0
  374. package/test-utils/sdks/star-trek/src/schemas/FoodFull.ts +61 -0
  375. package/test-utils/sdks/star-trek/src/schemas/FoodFullResponse.ts +12 -0
  376. package/test-utils/sdks/star-trek/src/schemas/Gender.ts +11 -0
  377. package/test-utils/sdks/star-trek/src/schemas/Genre.ts +17 -0
  378. package/test-utils/sdks/star-trek/src/schemas/GetAnimal.ts +25 -0
  379. package/test-utils/sdks/star-trek/src/schemas/GetAnimalSearch.ts +30 -0
  380. package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobject.ts +25 -0
  381. package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobjectSearch.ts +30 -0
  382. package/test-utils/sdks/star-trek/src/schemas/GetBook.ts +25 -0
  383. package/test-utils/sdks/star-trek/src/schemas/GetBookSearch.ts +30 -0
  384. package/test-utils/sdks/star-trek/src/schemas/GetBookcollection.ts +25 -0
  385. package/test-utils/sdks/star-trek/src/schemas/GetBookcollectionSearch.ts +30 -0
  386. package/test-utils/sdks/star-trek/src/schemas/GetBookseries.ts +25 -0
  387. package/test-utils/sdks/star-trek/src/schemas/GetBookseriesSearch.ts +30 -0
  388. package/test-utils/sdks/star-trek/src/schemas/GetCharacter.ts +25 -0
  389. package/test-utils/sdks/star-trek/src/schemas/GetCharacterSearch.ts +30 -0
  390. package/test-utils/sdks/star-trek/src/schemas/GetComiccollection.ts +25 -0
  391. package/test-utils/sdks/star-trek/src/schemas/GetComiccollectionSearch.ts +30 -0
  392. package/test-utils/sdks/star-trek/src/schemas/GetComics.ts +25 -0
  393. package/test-utils/sdks/star-trek/src/schemas/GetComicsSearch.ts +30 -0
  394. package/test-utils/sdks/star-trek/src/schemas/GetComicseries.ts +25 -0
  395. package/test-utils/sdks/star-trek/src/schemas/GetComicseriesSearch.ts +30 -0
  396. package/test-utils/sdks/star-trek/src/schemas/GetComicstrip.ts +25 -0
  397. package/test-utils/sdks/star-trek/src/schemas/GetComicstripSearch.ts +30 -0
  398. package/test-utils/sdks/star-trek/src/schemas/GetCompany.ts +25 -0
  399. package/test-utils/sdks/star-trek/src/schemas/GetCompanySearch.ts +30 -0
  400. package/test-utils/sdks/star-trek/src/schemas/GetConflict.ts +25 -0
  401. package/test-utils/sdks/star-trek/src/schemas/GetConflictSearch.ts +30 -0
  402. package/test-utils/sdks/star-trek/src/schemas/GetElement.ts +25 -0
  403. package/test-utils/sdks/star-trek/src/schemas/GetElementSearch.ts +30 -0
  404. package/test-utils/sdks/star-trek/src/schemas/GetEpisode.ts +25 -0
  405. package/test-utils/sdks/star-trek/src/schemas/GetEpisodeSearch.ts +30 -0
  406. package/test-utils/sdks/star-trek/src/schemas/GetFood.ts +25 -0
  407. package/test-utils/sdks/star-trek/src/schemas/GetFoodSearch.ts +30 -0
  408. package/test-utils/sdks/star-trek/src/schemas/GetLiterature.ts +25 -0
  409. package/test-utils/sdks/star-trek/src/schemas/GetLiteratureSearch.ts +30 -0
  410. package/test-utils/sdks/star-trek/src/schemas/GetLocation.ts +25 -0
  411. package/test-utils/sdks/star-trek/src/schemas/GetLocationSearch.ts +30 -0
  412. package/test-utils/sdks/star-trek/src/schemas/GetMagazine.ts +25 -0
  413. package/test-utils/sdks/star-trek/src/schemas/GetMagazineSearch.ts +30 -0
  414. package/test-utils/sdks/star-trek/src/schemas/GetMagazineseries.ts +25 -0
  415. package/test-utils/sdks/star-trek/src/schemas/GetMagazineseriesSearch.ts +30 -0
  416. package/test-utils/sdks/star-trek/src/schemas/GetMaterial.ts +25 -0
  417. package/test-utils/sdks/star-trek/src/schemas/GetMaterialSearch.ts +30 -0
  418. package/test-utils/sdks/star-trek/src/schemas/GetMedicalcondition.ts +25 -0
  419. package/test-utils/sdks/star-trek/src/schemas/GetMedicalconditionSearch.ts +30 -0
  420. package/test-utils/sdks/star-trek/src/schemas/GetMovie.ts +25 -0
  421. package/test-utils/sdks/star-trek/src/schemas/GetMovieSearch.ts +30 -0
  422. package/test-utils/sdks/star-trek/src/schemas/GetOccupation.ts +25 -0
  423. package/test-utils/sdks/star-trek/src/schemas/GetOccupationSearch.ts +30 -0
  424. package/test-utils/sdks/star-trek/src/schemas/GetOrganization.ts +25 -0
  425. package/test-utils/sdks/star-trek/src/schemas/GetOrganizationSearch.ts +30 -0
  426. package/test-utils/sdks/star-trek/src/schemas/GetPerformer.ts +25 -0
  427. package/test-utils/sdks/star-trek/src/schemas/GetPerformerSearch.ts +30 -0
  428. package/test-utils/sdks/star-trek/src/schemas/GetSeason.ts +25 -0
  429. package/test-utils/sdks/star-trek/src/schemas/GetSeasonSearch.ts +30 -0
  430. package/test-utils/sdks/star-trek/src/schemas/GetSeries.ts +25 -0
  431. package/test-utils/sdks/star-trek/src/schemas/GetSeriesSearch.ts +30 -0
  432. package/test-utils/sdks/star-trek/src/schemas/GetSoundtrack.ts +25 -0
  433. package/test-utils/sdks/star-trek/src/schemas/GetSoundtrackSearch.ts +30 -0
  434. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraft.ts +25 -0
  435. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftSearch.ts +30 -0
  436. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclass.ts +25 -0
  437. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclassSearch.ts +30 -0
  438. package/test-utils/sdks/star-trek/src/schemas/GetSpecies.ts +25 -0
  439. package/test-utils/sdks/star-trek/src/schemas/GetSpeciesSearch.ts +30 -0
  440. package/test-utils/sdks/star-trek/src/schemas/GetStaff.ts +25 -0
  441. package/test-utils/sdks/star-trek/src/schemas/GetStaffSearch.ts +30 -0
  442. package/test-utils/sdks/star-trek/src/schemas/GetTechnology.ts +25 -0
  443. package/test-utils/sdks/star-trek/src/schemas/GetTechnologySearch.ts +30 -0
  444. package/test-utils/sdks/star-trek/src/schemas/GetTitle.ts +25 -0
  445. package/test-utils/sdks/star-trek/src/schemas/GetTitleSearch.ts +30 -0
  446. package/test-utils/sdks/star-trek/src/schemas/GetTradingcard.ts +25 -0
  447. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardSearch.ts +30 -0
  448. package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeck.ts +25 -0
  449. package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeckSearch.ts +30 -0
  450. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardset.ts +25 -0
  451. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardsetSearch.ts +30 -0
  452. package/test-utils/sdks/star-trek/src/schemas/GetVideogame.ts +25 -0
  453. package/test-utils/sdks/star-trek/src/schemas/GetVideogameSearch.ts +30 -0
  454. package/test-utils/sdks/star-trek/src/schemas/GetVideorelease.ts +25 -0
  455. package/test-utils/sdks/star-trek/src/schemas/GetVideoreleaseSearch.ts +30 -0
  456. package/test-utils/sdks/star-trek/src/schemas/GetWeapon.ts +25 -0
  457. package/test-utils/sdks/star-trek/src/schemas/GetWeaponSearch.ts +30 -0
  458. package/test-utils/sdks/star-trek/src/schemas/LiteratureBase.ts +45 -0
  459. package/test-utils/sdks/star-trek/src/schemas/LiteratureBaseResponse.ts +20 -0
  460. package/test-utils/sdks/star-trek/src/schemas/LiteratureFull.ts +45 -0
  461. package/test-utils/sdks/star-trek/src/schemas/LiteratureFullResponse.ts +12 -0
  462. package/test-utils/sdks/star-trek/src/schemas/LocationBase.ts +113 -0
  463. package/test-utils/sdks/star-trek/src/schemas/LocationBaseResponse.ts +20 -0
  464. package/test-utils/sdks/star-trek/src/schemas/LocationFull.ts +113 -0
  465. package/test-utils/sdks/star-trek/src/schemas/LocationFullResponse.ts +12 -0
  466. package/test-utils/sdks/star-trek/src/schemas/MagazineBase.ts +53 -0
  467. package/test-utils/sdks/star-trek/src/schemas/MagazineBaseResponse.ts +20 -0
  468. package/test-utils/sdks/star-trek/src/schemas/MagazineFull.ts +72 -0
  469. package/test-utils/sdks/star-trek/src/schemas/MagazineFullResponse.ts +12 -0
  470. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBase.ts +41 -0
  471. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBaseResponse.ts +20 -0
  472. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFull.ts +60 -0
  473. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFullResponse.ts +12 -0
  474. package/test-utils/sdks/star-trek/src/schemas/MaritalStatus.ts +17 -0
  475. package/test-utils/sdks/star-trek/src/schemas/MaterialBase.ts +61 -0
  476. package/test-utils/sdks/star-trek/src/schemas/MaterialBaseResponse.ts +20 -0
  477. package/test-utils/sdks/star-trek/src/schemas/MaterialFull.ts +61 -0
  478. package/test-utils/sdks/star-trek/src/schemas/MaterialFullResponse.ts +12 -0
  479. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBase.ts +25 -0
  480. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBaseResponse.ts +20 -0
  481. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFull.ts +25 -0
  482. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFullResponse.ts +12 -0
  483. package/test-utils/sdks/star-trek/src/schemas/MovieBase.ts +87 -0
  484. package/test-utils/sdks/star-trek/src/schemas/MovieBaseResponse.ts +20 -0
  485. package/test-utils/sdks/star-trek/src/schemas/MovieFull.ts +139 -0
  486. package/test-utils/sdks/star-trek/src/schemas/MovieFullResponse.ts +12 -0
  487. package/test-utils/sdks/star-trek/src/schemas/OccupationBase.ts +33 -0
  488. package/test-utils/sdks/star-trek/src/schemas/OccupationBaseResponse.ts +20 -0
  489. package/test-utils/sdks/star-trek/src/schemas/OccupationFull.ts +40 -0
  490. package/test-utils/sdks/star-trek/src/schemas/OccupationFullResponse.ts +12 -0
  491. package/test-utils/sdks/star-trek/src/schemas/OrganizationBase.ts +69 -0
  492. package/test-utils/sdks/star-trek/src/schemas/OrganizationBaseResponse.ts +20 -0
  493. package/test-utils/sdks/star-trek/src/schemas/OrganizationFull.ts +76 -0
  494. package/test-utils/sdks/star-trek/src/schemas/OrganizationFullResponse.ts +12 -0
  495. package/test-utils/sdks/star-trek/src/schemas/OrganizationHeader.ts +21 -0
  496. package/test-utils/sdks/star-trek/src/schemas/PerformerBase.ts +98 -0
  497. package/test-utils/sdks/star-trek/src/schemas/PerformerBaseResponse.ts +20 -0
  498. package/test-utils/sdks/star-trek/src/schemas/PerformerFull.ts +136 -0
  499. package/test-utils/sdks/star-trek/src/schemas/PerformerFullResponse.ts +12 -0
  500. package/test-utils/sdks/star-trek/src/schemas/Platform.ts +17 -0
  501. package/test-utils/sdks/star-trek/src/schemas/PostAnimalSearch.ts +65 -0
  502. package/test-utils/sdks/star-trek/src/schemas/PostAstronomicalobjectSearch.ts +53 -0
  503. package/test-utils/sdks/star-trek/src/schemas/PostBookSearch.ts +141 -0
  504. package/test-utils/sdks/star-trek/src/schemas/PostBookcollectionSearch.ts +85 -0
  505. package/test-utils/sdks/star-trek/src/schemas/PostBookseriesSearch.ts +83 -0
  506. package/test-utils/sdks/star-trek/src/schemas/PostCharacterSearch.ts +69 -0
  507. package/test-utils/sdks/star-trek/src/schemas/PostComiccollectionSearch.ts +89 -0
  508. package/test-utils/sdks/star-trek/src/schemas/PostComicsSearch.ts +93 -0
  509. package/test-utils/sdks/star-trek/src/schemas/PostComicseriesSearch.ts +93 -0
  510. package/test-utils/sdks/star-trek/src/schemas/PostComicstripSearch.ts +75 -0
  511. package/test-utils/sdks/star-trek/src/schemas/PostCompanySearch.ts +113 -0
  512. package/test-utils/sdks/star-trek/src/schemas/PostConflictSearch.ts +75 -0
  513. package/test-utils/sdks/star-trek/src/schemas/PostElementSearch.ts +77 -0
  514. package/test-utils/sdks/star-trek/src/schemas/PostEpisodeSearch.ts +113 -0
  515. package/test-utils/sdks/star-trek/src/schemas/PostFoodSearch.ts +85 -0
  516. package/test-utils/sdks/star-trek/src/schemas/PostLiteratureSearch.ts +69 -0
  517. package/test-utils/sdks/star-trek/src/schemas/PostLocationSearch.ts +137 -0
  518. package/test-utils/sdks/star-trek/src/schemas/PostMagazineSearch.ts +65 -0
  519. package/test-utils/sdks/star-trek/src/schemas/PostMagazineseriesSearch.ts +65 -0
  520. package/test-utils/sdks/star-trek/src/schemas/PostMaterialSearch.ts +85 -0
  521. package/test-utils/sdks/star-trek/src/schemas/PostMedicalconditionSearch.ts +49 -0
  522. package/test-utils/sdks/star-trek/src/schemas/PostMovieSearch.ts +75 -0
  523. package/test-utils/sdks/star-trek/src/schemas/PostOccupationSearch.ts +57 -0
  524. package/test-utils/sdks/star-trek/src/schemas/PostOrganizationSearch.ts +93 -0
  525. package/test-utils/sdks/star-trek/src/schemas/PostPerformerSearch.ts +133 -0
  526. package/test-utils/sdks/star-trek/src/schemas/PostSeasonSearch.ts +65 -0
  527. package/test-utils/sdks/star-trek/src/schemas/PostSeriesSearch.ts +89 -0
  528. package/test-utils/sdks/star-trek/src/schemas/PostSoundtrackSearch.ts +65 -0
  529. package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftSearch.ts +45 -0
  530. package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftclassSearch.ts +53 -0
  531. package/test-utils/sdks/star-trek/src/schemas/PostSpeciesSearch.ts +93 -0
  532. package/test-utils/sdks/star-trek/src/schemas/PostStaffSearch.ts +301 -0
  533. package/test-utils/sdks/star-trek/src/schemas/PostTechnologySearch.ts +125 -0
  534. package/test-utils/sdks/star-trek/src/schemas/PostTitleSearch.ts +65 -0
  535. package/test-utils/sdks/star-trek/src/schemas/PostTradingcardSearch.ts +53 -0
  536. package/test-utils/sdks/star-trek/src/schemas/PostTradingcarddeckSearch.ts +49 -0
  537. package/test-utils/sdks/star-trek/src/schemas/PostTradingcardsetSearch.ts +119 -0
  538. package/test-utils/sdks/star-trek/src/schemas/PostVideogameSearch.ts +55 -0
  539. package/test-utils/sdks/star-trek/src/schemas/PostVideoreleaseSearch.ts +65 -0
  540. package/test-utils/sdks/star-trek/src/schemas/PostWeaponSearch.ts +73 -0
  541. package/test-utils/sdks/star-trek/src/schemas/ProductionRunUnit.ts +11 -0
  542. package/test-utils/sdks/star-trek/src/schemas/Reference.ts +20 -0
  543. package/test-utils/sdks/star-trek/src/schemas/ReferenceType.ts +11 -0
  544. package/test-utils/sdks/star-trek/src/schemas/ResponsePage.ts +42 -0
  545. package/test-utils/sdks/star-trek/src/schemas/ResponseSort.ts +16 -0
  546. package/test-utils/sdks/star-trek/src/schemas/ResponseSortClause.ts +25 -0
  547. package/test-utils/sdks/star-trek/src/schemas/ResponseSortDirection.ts +11 -0
  548. package/test-utils/sdks/star-trek/src/schemas/SeasonBase.ts +32 -0
  549. package/test-utils/sdks/star-trek/src/schemas/SeasonBaseResponse.ts +20 -0
  550. package/test-utils/sdks/star-trek/src/schemas/SeasonFull.ts +38 -0
  551. package/test-utils/sdks/star-trek/src/schemas/SeasonFullResponse.ts +12 -0
  552. package/test-utils/sdks/star-trek/src/schemas/SeasonHeader.ts +21 -0
  553. package/test-utils/sdks/star-trek/src/schemas/SeriesBase.ts +60 -0
  554. package/test-utils/sdks/star-trek/src/schemas/SeriesBaseResponse.ts +20 -0
  555. package/test-utils/sdks/star-trek/src/schemas/SeriesFull.ts +72 -0
  556. package/test-utils/sdks/star-trek/src/schemas/SeriesFullResponse.ts +12 -0
  557. package/test-utils/sdks/star-trek/src/schemas/SeriesHeader.ts +21 -0
  558. package/test-utils/sdks/star-trek/src/schemas/SoundtrackBase.ts +30 -0
  559. package/test-utils/sdks/star-trek/src/schemas/SoundtrackBaseResponse.ts +20 -0
  560. package/test-utils/sdks/star-trek/src/schemas/SoundtrackFull.ts +59 -0
  561. package/test-utils/sdks/star-trek/src/schemas/SoundtrackFullResponse.ts +12 -0
  562. package/test-utils/sdks/star-trek/src/schemas/SpacecraftBase.ts +39 -0
  563. package/test-utils/sdks/star-trek/src/schemas/SpacecraftBaseResponse.ts +20 -0
  564. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBase.ts +48 -0
  565. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBaseResponse.ts +20 -0
  566. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFull.ts +60 -0
  567. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFullResponse.ts +12 -0
  568. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassHeader.ts +21 -0
  569. package/test-utils/sdks/star-trek/src/schemas/SpacecraftFull.ts +45 -0
  570. package/test-utils/sdks/star-trek/src/schemas/SpacecraftFullResponse.ts +12 -0
  571. package/test-utils/sdks/star-trek/src/schemas/SpacecraftType.ts +17 -0
  572. package/test-utils/sdks/star-trek/src/schemas/SpeciesBase.ts +73 -0
  573. package/test-utils/sdks/star-trek/src/schemas/SpeciesBaseResponse.ts +20 -0
  574. package/test-utils/sdks/star-trek/src/schemas/SpeciesFull.ts +79 -0
  575. package/test-utils/sdks/star-trek/src/schemas/SpeciesFullResponse.ts +12 -0
  576. package/test-utils/sdks/star-trek/src/schemas/SpeciesHeader.ts +21 -0
  577. package/test-utils/sdks/star-trek/src/schemas/StaffBase.ts +266 -0
  578. package/test-utils/sdks/star-trek/src/schemas/StaffBaseResponse.ts +20 -0
  579. package/test-utils/sdks/star-trek/src/schemas/StaffFull.ts +323 -0
  580. package/test-utils/sdks/star-trek/src/schemas/StaffFullResponse.ts +12 -0
  581. package/test-utils/sdks/star-trek/src/schemas/StaffHeader.ts +21 -0
  582. package/test-utils/sdks/star-trek/src/schemas/TechnologyBase.ts +101 -0
  583. package/test-utils/sdks/star-trek/src/schemas/TechnologyBaseResponse.ts +20 -0
  584. package/test-utils/sdks/star-trek/src/schemas/TechnologyFull.ts +101 -0
  585. package/test-utils/sdks/star-trek/src/schemas/TechnologyFullResponse.ts +12 -0
  586. package/test-utils/sdks/star-trek/src/schemas/TitleBase.ts +41 -0
  587. package/test-utils/sdks/star-trek/src/schemas/TitleBaseResponse.ts +20 -0
  588. package/test-utils/sdks/star-trek/src/schemas/TitleFull.ts +48 -0
  589. package/test-utils/sdks/star-trek/src/schemas/TitleFullResponse.ts +12 -0
  590. package/test-utils/sdks/star-trek/src/schemas/TradingCardBase.ts +38 -0
  591. package/test-utils/sdks/star-trek/src/schemas/TradingCardBaseResponse.ts +20 -0
  592. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBase.ts +28 -0
  593. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBaseResponse.ts +20 -0
  594. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFull.ts +34 -0
  595. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFullResponse.ts +12 -0
  596. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckHeader.ts +21 -0
  597. package/test-utils/sdks/star-trek/src/schemas/TradingCardFull.ts +38 -0
  598. package/test-utils/sdks/star-trek/src/schemas/TradingCardFullResponse.ts +12 -0
  599. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBase.ts +62 -0
  600. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBaseResponse.ts +20 -0
  601. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFull.ts +86 -0
  602. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFullResponse.ts +12 -0
  603. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetHeader.ts +21 -0
  604. package/test-utils/sdks/star-trek/src/schemas/VideoGameBase.ts +48 -0
  605. package/test-utils/sdks/star-trek/src/schemas/VideoGameBaseResponse.ts +20 -0
  606. package/test-utils/sdks/star-trek/src/schemas/VideoGameFull.ts +84 -0
  607. package/test-utils/sdks/star-trek/src/schemas/VideoGameFullResponse.ts +12 -0
  608. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBase.ts +127 -0
  609. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBaseResponse.ts +20 -0
  610. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFormat.ts +23 -0
  611. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFull.ts +155 -0
  612. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFullResponse.ts +12 -0
  613. package/test-utils/sdks/star-trek/src/schemas/WeaponBase.ts +49 -0
  614. package/test-utils/sdks/star-trek/src/schemas/WeaponBaseResponse.ts +20 -0
  615. package/test-utils/sdks/star-trek/src/schemas/WeaponFull.ts +49 -0
  616. package/test-utils/sdks/star-trek/src/schemas/WeaponFullResponse.ts +12 -0
  617. package/test-utils/sdks/star-trek/src/schemas.ts +314 -0
  618. package/test-utils/sdks/star-trek/src/sdk.ts +1032 -0
  619. package/test-utils/sdks/star-trek/src/types.ts +490 -0
  620. package/test-utils/sdks/star-trek/tsconfig.json +12 -0
  621. package/test-utils/tsconfig.json +9 -0
  622. package/tsconfig.eslint.json +8 -0
  623. package/tsconfig.json +9 -0
  624. package/tsup.config.ts +31 -0
@@ -0,0 +1,490 @@
1
+ import type {FromSchema} from '@bfra.me/api-core/types'
2
+ import type * as schemas from './schemas.js'
3
+
4
+ export type AnimalBase = FromSchema<typeof schemas.AnimalBase>
5
+ export type AnimalBaseResponse = FromSchema<typeof schemas.AnimalBaseResponse>
6
+ export type AnimalFull = FromSchema<typeof schemas.AnimalFull>
7
+ export type AnimalFullResponse = FromSchema<typeof schemas.AnimalFullResponse>
8
+ export type AstronomicalObjectBase = FromSchema<typeof schemas.AstronomicalObjectBase>
9
+ export type AstronomicalObjectBaseResponse = FromSchema<
10
+ typeof schemas.AstronomicalObjectBaseResponse
11
+ >
12
+ export type AstronomicalObjectFull = FromSchema<typeof schemas.AstronomicalObjectFull>
13
+ export type AstronomicalObjectFullResponse = FromSchema<
14
+ typeof schemas.AstronomicalObjectFullResponse
15
+ >
16
+ export type AstronomicalObjectHeader = FromSchema<typeof schemas.AstronomicalObjectHeader>
17
+ export type AstronomicalObjectType = FromSchema<typeof schemas.AstronomicalObjectType>
18
+ export type BloodType = FromSchema<typeof schemas.BloodType>
19
+ export type BookBase = FromSchema<typeof schemas.BookBase>
20
+ export type BookBaseResponse = FromSchema<typeof schemas.BookBaseResponse>
21
+ export type BookCollectionBase = FromSchema<typeof schemas.BookCollectionBase>
22
+ export type BookCollectionBaseResponse = FromSchema<typeof schemas.BookCollectionBaseResponse>
23
+ export type BookCollectionFull = FromSchema<typeof schemas.BookCollectionFull>
24
+ export type BookCollectionFullResponse = FromSchema<typeof schemas.BookCollectionFullResponse>
25
+ export type BookFull = FromSchema<typeof schemas.BookFull>
26
+ export type BookFullResponse = FromSchema<typeof schemas.BookFullResponse>
27
+ export type BookSeriesBase = FromSchema<typeof schemas.BookSeriesBase>
28
+ export type BookSeriesBaseResponse = FromSchema<typeof schemas.BookSeriesBaseResponse>
29
+ export type BookSeriesFull = FromSchema<typeof schemas.BookSeriesFull>
30
+ export type BookSeriesFullResponse = FromSchema<typeof schemas.BookSeriesFullResponse>
31
+ export type CharacterBase = FromSchema<typeof schemas.CharacterBase>
32
+ export type CharacterBaseResponse = FromSchema<typeof schemas.CharacterBaseResponse>
33
+ export type CharacterFull = FromSchema<typeof schemas.CharacterFull>
34
+ export type CharacterFullResponse = FromSchema<typeof schemas.CharacterFullResponse>
35
+ export type CharacterHeader = FromSchema<typeof schemas.CharacterHeader>
36
+ export type CharacterRelation = FromSchema<typeof schemas.CharacterRelation>
37
+ export type CharacterSpecies = FromSchema<typeof schemas.CharacterSpecies>
38
+ export type ComicCollectionBase = FromSchema<typeof schemas.ComicCollectionBase>
39
+ export type ComicCollectionBaseResponse = FromSchema<typeof schemas.ComicCollectionBaseResponse>
40
+ export type ComicCollectionFull = FromSchema<typeof schemas.ComicCollectionFull>
41
+ export type ComicCollectionFullResponse = FromSchema<typeof schemas.ComicCollectionFullResponse>
42
+ export type ComicSeriesBase = FromSchema<typeof schemas.ComicSeriesBase>
43
+ export type ComicSeriesBaseResponse = FromSchema<typeof schemas.ComicSeriesBaseResponse>
44
+ export type ComicSeriesFull = FromSchema<typeof schemas.ComicSeriesFull>
45
+ export type ComicSeriesFullResponse = FromSchema<typeof schemas.ComicSeriesFullResponse>
46
+ export type ComicStripBase = FromSchema<typeof schemas.ComicStripBase>
47
+ export type ComicStripBaseResponse = FromSchema<typeof schemas.ComicStripBaseResponse>
48
+ export type ComicStripFull = FromSchema<typeof schemas.ComicStripFull>
49
+ export type ComicStripFullResponse = FromSchema<typeof schemas.ComicStripFullResponse>
50
+ export type ComicsBase = FromSchema<typeof schemas.ComicsBase>
51
+ export type ComicsBaseResponse = FromSchema<typeof schemas.ComicsBaseResponse>
52
+ export type ComicsFull = FromSchema<typeof schemas.ComicsFull>
53
+ export type ComicsFullResponse = FromSchema<typeof schemas.ComicsFullResponse>
54
+ export type CompanyBase = FromSchema<typeof schemas.CompanyBase>
55
+ export type CompanyBaseResponse = FromSchema<typeof schemas.CompanyBaseResponse>
56
+ export type CompanyFull = FromSchema<typeof schemas.CompanyFull>
57
+ export type CompanyFullResponse = FromSchema<typeof schemas.CompanyFullResponse>
58
+ export type CompanyHeader = FromSchema<typeof schemas.CompanyHeader>
59
+ export type ConflictBase = FromSchema<typeof schemas.ConflictBase>
60
+ export type ConflictBaseResponse = FromSchema<typeof schemas.ConflictBaseResponse>
61
+ export type ConflictFull = FromSchema<typeof schemas.ConflictFull>
62
+ export type ConflictFullResponse = FromSchema<typeof schemas.ConflictFullResponse>
63
+ export type ContentLanguage = FromSchema<typeof schemas.ContentLanguage>
64
+ export type ContentRating = FromSchema<typeof schemas.ContentRating>
65
+ export type ContentRatingSystem = FromSchema<typeof schemas.ContentRatingSystem>
66
+ export type Country = FromSchema<typeof schemas.Country>
67
+ export type ElementBase = FromSchema<typeof schemas.ElementBase>
68
+ export type ElementBaseResponse = FromSchema<typeof schemas.ElementBaseResponse>
69
+ export type ElementFull = FromSchema<typeof schemas.ElementFull>
70
+ export type ElementFullResponse = FromSchema<typeof schemas.ElementFullResponse>
71
+ export type EpisodeBase = FromSchema<typeof schemas.EpisodeBase>
72
+ export type EpisodeBaseResponse = FromSchema<typeof schemas.EpisodeBaseResponse>
73
+ export type EpisodeFull = FromSchema<typeof schemas.EpisodeFull>
74
+ export type EpisodeFullResponse = FromSchema<typeof schemas.EpisodeFullResponse>
75
+ export type Error = FromSchema<typeof schemas.Error>
76
+ export type FoodBase = FromSchema<typeof schemas.FoodBase>
77
+ export type FoodBaseResponse = FromSchema<typeof schemas.FoodBaseResponse>
78
+ export type FoodFull = FromSchema<typeof schemas.FoodFull>
79
+ export type FoodFullResponse = FromSchema<typeof schemas.FoodFullResponse>
80
+ export type Gender = FromSchema<typeof schemas.Gender>
81
+ export type Genre = FromSchema<typeof schemas.Genre>
82
+ export type GetAnimalMetadataParam = FromSchema<typeof schemas.GetAnimal.metadata>
83
+ export type GetAnimalSearchMetadataParam = FromSchema<typeof schemas.GetAnimalSearch.metadata>
84
+ export type GetAstronomicalobjectMetadataParam = FromSchema<
85
+ typeof schemas.GetAstronomicalobject.metadata
86
+ >
87
+ export type GetAstronomicalobjectSearchMetadataParam = FromSchema<
88
+ typeof schemas.GetAstronomicalobjectSearch.metadata
89
+ >
90
+ export type GetBookMetadataParam = FromSchema<typeof schemas.GetBook.metadata>
91
+ export type GetBookSearchMetadataParam = FromSchema<typeof schemas.GetBookSearch.metadata>
92
+ export type GetBookcollectionMetadataParam = FromSchema<typeof schemas.GetBookcollection.metadata>
93
+ export type GetBookcollectionSearchMetadataParam = FromSchema<
94
+ typeof schemas.GetBookcollectionSearch.metadata
95
+ >
96
+ export type GetBookseriesMetadataParam = FromSchema<typeof schemas.GetBookseries.metadata>
97
+ export type GetBookseriesSearchMetadataParam = FromSchema<
98
+ typeof schemas.GetBookseriesSearch.metadata
99
+ >
100
+ export type GetCharacterMetadataParam = FromSchema<typeof schemas.GetCharacter.metadata>
101
+ export type GetCharacterSearchMetadataParam = FromSchema<typeof schemas.GetCharacterSearch.metadata>
102
+ export type GetComiccollectionMetadataParam = FromSchema<typeof schemas.GetComiccollection.metadata>
103
+ export type GetComiccollectionSearchMetadataParam = FromSchema<
104
+ typeof schemas.GetComiccollectionSearch.metadata
105
+ >
106
+ export type GetComicsMetadataParam = FromSchema<typeof schemas.GetComics.metadata>
107
+ export type GetComicsSearchMetadataParam = FromSchema<typeof schemas.GetComicsSearch.metadata>
108
+ export type GetComicseriesMetadataParam = FromSchema<typeof schemas.GetComicseries.metadata>
109
+ export type GetComicseriesSearchMetadataParam = FromSchema<
110
+ typeof schemas.GetComicseriesSearch.metadata
111
+ >
112
+ export type GetComicstripMetadataParam = FromSchema<typeof schemas.GetComicstrip.metadata>
113
+ export type GetComicstripSearchMetadataParam = FromSchema<
114
+ typeof schemas.GetComicstripSearch.metadata
115
+ >
116
+ export type GetCompanyMetadataParam = FromSchema<typeof schemas.GetCompany.metadata>
117
+ export type GetCompanySearchMetadataParam = FromSchema<typeof schemas.GetCompanySearch.metadata>
118
+ export type GetConflictMetadataParam = FromSchema<typeof schemas.GetConflict.metadata>
119
+ export type GetConflictSearchMetadataParam = FromSchema<typeof schemas.GetConflictSearch.metadata>
120
+ export type GetElementMetadataParam = FromSchema<typeof schemas.GetElement.metadata>
121
+ export type GetElementSearchMetadataParam = FromSchema<typeof schemas.GetElementSearch.metadata>
122
+ export type GetEpisodeMetadataParam = FromSchema<typeof schemas.GetEpisode.metadata>
123
+ export type GetEpisodeSearchMetadataParam = FromSchema<typeof schemas.GetEpisodeSearch.metadata>
124
+ export type GetFoodMetadataParam = FromSchema<typeof schemas.GetFood.metadata>
125
+ export type GetFoodSearchMetadataParam = FromSchema<typeof schemas.GetFoodSearch.metadata>
126
+ export type GetLiteratureMetadataParam = FromSchema<typeof schemas.GetLiterature.metadata>
127
+ export type GetLiteratureSearchMetadataParam = FromSchema<
128
+ typeof schemas.GetLiteratureSearch.metadata
129
+ >
130
+ export type GetLocationMetadataParam = FromSchema<typeof schemas.GetLocation.metadata>
131
+ export type GetLocationSearchMetadataParam = FromSchema<typeof schemas.GetLocationSearch.metadata>
132
+ export type GetMagazineMetadataParam = FromSchema<typeof schemas.GetMagazine.metadata>
133
+ export type GetMagazineSearchMetadataParam = FromSchema<typeof schemas.GetMagazineSearch.metadata>
134
+ export type GetMagazineseriesMetadataParam = FromSchema<typeof schemas.GetMagazineseries.metadata>
135
+ export type GetMagazineseriesSearchMetadataParam = FromSchema<
136
+ typeof schemas.GetMagazineseriesSearch.metadata
137
+ >
138
+ export type GetMaterialMetadataParam = FromSchema<typeof schemas.GetMaterial.metadata>
139
+ export type GetMaterialSearchMetadataParam = FromSchema<typeof schemas.GetMaterialSearch.metadata>
140
+ export type GetMedicalconditionMetadataParam = FromSchema<
141
+ typeof schemas.GetMedicalcondition.metadata
142
+ >
143
+ export type GetMedicalconditionSearchMetadataParam = FromSchema<
144
+ typeof schemas.GetMedicalconditionSearch.metadata
145
+ >
146
+ export type GetMovieMetadataParam = FromSchema<typeof schemas.GetMovie.metadata>
147
+ export type GetMovieSearchMetadataParam = FromSchema<typeof schemas.GetMovieSearch.metadata>
148
+ export type GetOccupationMetadataParam = FromSchema<typeof schemas.GetOccupation.metadata>
149
+ export type GetOccupationSearchMetadataParam = FromSchema<
150
+ typeof schemas.GetOccupationSearch.metadata
151
+ >
152
+ export type GetOrganizationMetadataParam = FromSchema<typeof schemas.GetOrganization.metadata>
153
+ export type GetOrganizationSearchMetadataParam = FromSchema<
154
+ typeof schemas.GetOrganizationSearch.metadata
155
+ >
156
+ export type GetPerformerMetadataParam = FromSchema<typeof schemas.GetPerformer.metadata>
157
+ export type GetPerformerSearchMetadataParam = FromSchema<typeof schemas.GetPerformerSearch.metadata>
158
+ export type GetSeasonMetadataParam = FromSchema<typeof schemas.GetSeason.metadata>
159
+ export type GetSeasonSearchMetadataParam = FromSchema<typeof schemas.GetSeasonSearch.metadata>
160
+ export type GetSeriesMetadataParam = FromSchema<typeof schemas.GetSeries.metadata>
161
+ export type GetSeriesSearchMetadataParam = FromSchema<typeof schemas.GetSeriesSearch.metadata>
162
+ export type GetSoundtrackMetadataParam = FromSchema<typeof schemas.GetSoundtrack.metadata>
163
+ export type GetSoundtrackSearchMetadataParam = FromSchema<
164
+ typeof schemas.GetSoundtrackSearch.metadata
165
+ >
166
+ export type GetSpacecraftMetadataParam = FromSchema<typeof schemas.GetSpacecraft.metadata>
167
+ export type GetSpacecraftSearchMetadataParam = FromSchema<
168
+ typeof schemas.GetSpacecraftSearch.metadata
169
+ >
170
+ export type GetSpacecraftclassMetadataParam = FromSchema<typeof schemas.GetSpacecraftclass.metadata>
171
+ export type GetSpacecraftclassSearchMetadataParam = FromSchema<
172
+ typeof schemas.GetSpacecraftclassSearch.metadata
173
+ >
174
+ export type GetSpeciesMetadataParam = FromSchema<typeof schemas.GetSpecies.metadata>
175
+ export type GetSpeciesSearchMetadataParam = FromSchema<typeof schemas.GetSpeciesSearch.metadata>
176
+ export type GetStaffMetadataParam = FromSchema<typeof schemas.GetStaff.metadata>
177
+ export type GetStaffSearchMetadataParam = FromSchema<typeof schemas.GetStaffSearch.metadata>
178
+ export type GetTechnologyMetadataParam = FromSchema<typeof schemas.GetTechnology.metadata>
179
+ export type GetTechnologySearchMetadataParam = FromSchema<
180
+ typeof schemas.GetTechnologySearch.metadata
181
+ >
182
+ export type GetTitleMetadataParam = FromSchema<typeof schemas.GetTitle.metadata>
183
+ export type GetTitleSearchMetadataParam = FromSchema<typeof schemas.GetTitleSearch.metadata>
184
+ export type GetTradingcardMetadataParam = FromSchema<typeof schemas.GetTradingcard.metadata>
185
+ export type GetTradingcardSearchMetadataParam = FromSchema<
186
+ typeof schemas.GetTradingcardSearch.metadata
187
+ >
188
+ export type GetTradingcarddeckMetadataParam = FromSchema<typeof schemas.GetTradingcarddeck.metadata>
189
+ export type GetTradingcarddeckSearchMetadataParam = FromSchema<
190
+ typeof schemas.GetTradingcarddeckSearch.metadata
191
+ >
192
+ export type GetTradingcardsetMetadataParam = FromSchema<typeof schemas.GetTradingcardset.metadata>
193
+ export type GetTradingcardsetSearchMetadataParam = FromSchema<
194
+ typeof schemas.GetTradingcardsetSearch.metadata
195
+ >
196
+ export type GetVideogameMetadataParam = FromSchema<typeof schemas.GetVideogame.metadata>
197
+ export type GetVideogameSearchMetadataParam = FromSchema<typeof schemas.GetVideogameSearch.metadata>
198
+ export type GetVideoreleaseMetadataParam = FromSchema<typeof schemas.GetVideorelease.metadata>
199
+ export type GetVideoreleaseSearchMetadataParam = FromSchema<
200
+ typeof schemas.GetVideoreleaseSearch.metadata
201
+ >
202
+ export type GetWeaponMetadataParam = FromSchema<typeof schemas.GetWeapon.metadata>
203
+ export type GetWeaponSearchMetadataParam = FromSchema<typeof schemas.GetWeaponSearch.metadata>
204
+ export type LiteratureBase = FromSchema<typeof schemas.LiteratureBase>
205
+ export type LiteratureBaseResponse = FromSchema<typeof schemas.LiteratureBaseResponse>
206
+ export type LiteratureFull = FromSchema<typeof schemas.LiteratureFull>
207
+ export type LiteratureFullResponse = FromSchema<typeof schemas.LiteratureFullResponse>
208
+ export type LocationBase = FromSchema<typeof schemas.LocationBase>
209
+ export type LocationBaseResponse = FromSchema<typeof schemas.LocationBaseResponse>
210
+ export type LocationFull = FromSchema<typeof schemas.LocationFull>
211
+ export type LocationFullResponse = FromSchema<typeof schemas.LocationFullResponse>
212
+ export type MagazineBase = FromSchema<typeof schemas.MagazineBase>
213
+ export type MagazineBaseResponse = FromSchema<typeof schemas.MagazineBaseResponse>
214
+ export type MagazineFull = FromSchema<typeof schemas.MagazineFull>
215
+ export type MagazineFullResponse = FromSchema<typeof schemas.MagazineFullResponse>
216
+ export type MagazineSeriesBase = FromSchema<typeof schemas.MagazineSeriesBase>
217
+ export type MagazineSeriesBaseResponse = FromSchema<typeof schemas.MagazineSeriesBaseResponse>
218
+ export type MagazineSeriesFull = FromSchema<typeof schemas.MagazineSeriesFull>
219
+ export type MagazineSeriesFullResponse = FromSchema<typeof schemas.MagazineSeriesFullResponse>
220
+ export type MaritalStatus = FromSchema<typeof schemas.MaritalStatus>
221
+ export type MaterialBase = FromSchema<typeof schemas.MaterialBase>
222
+ export type MaterialBaseResponse = FromSchema<typeof schemas.MaterialBaseResponse>
223
+ export type MaterialFull = FromSchema<typeof schemas.MaterialFull>
224
+ export type MaterialFullResponse = FromSchema<typeof schemas.MaterialFullResponse>
225
+ export type MedicalConditionBase = FromSchema<typeof schemas.MedicalConditionBase>
226
+ export type MedicalConditionBaseResponse = FromSchema<typeof schemas.MedicalConditionBaseResponse>
227
+ export type MedicalConditionFull = FromSchema<typeof schemas.MedicalConditionFull>
228
+ export type MedicalConditionFullResponse = FromSchema<typeof schemas.MedicalConditionFullResponse>
229
+ export type MovieBase = FromSchema<typeof schemas.MovieBase>
230
+ export type MovieBaseResponse = FromSchema<typeof schemas.MovieBaseResponse>
231
+ export type MovieFull = FromSchema<typeof schemas.MovieFull>
232
+ export type MovieFullResponse = FromSchema<typeof schemas.MovieFullResponse>
233
+ export type OccupationBase = FromSchema<typeof schemas.OccupationBase>
234
+ export type OccupationBaseResponse = FromSchema<typeof schemas.OccupationBaseResponse>
235
+ export type OccupationFull = FromSchema<typeof schemas.OccupationFull>
236
+ export type OccupationFullResponse = FromSchema<typeof schemas.OccupationFullResponse>
237
+ export type OrganizationBase = FromSchema<typeof schemas.OrganizationBase>
238
+ export type OrganizationBaseResponse = FromSchema<typeof schemas.OrganizationBaseResponse>
239
+ export type OrganizationFull = FromSchema<typeof schemas.OrganizationFull>
240
+ export type OrganizationFullResponse = FromSchema<typeof schemas.OrganizationFullResponse>
241
+ export type OrganizationHeader = FromSchema<typeof schemas.OrganizationHeader>
242
+ export type PerformerBase = FromSchema<typeof schemas.PerformerBase>
243
+ export type PerformerBaseResponse = FromSchema<typeof schemas.PerformerBaseResponse>
244
+ export type PerformerFull = FromSchema<typeof schemas.PerformerFull>
245
+ export type PerformerFullResponse = FromSchema<typeof schemas.PerformerFullResponse>
246
+ export type Platform = FromSchema<typeof schemas.Platform>
247
+ export type PostAnimalSearchFormDataParam = FromSchema<typeof schemas.PostAnimalSearch.formData>
248
+ export type PostAnimalSearchMetadataParam = FromSchema<typeof schemas.PostAnimalSearch.metadata>
249
+ export type PostAstronomicalobjectSearchFormDataParam = FromSchema<
250
+ typeof schemas.PostAstronomicalobjectSearch.formData
251
+ >
252
+ export type PostAstronomicalobjectSearchMetadataParam = FromSchema<
253
+ typeof schemas.PostAstronomicalobjectSearch.metadata
254
+ >
255
+ export type PostBookSearchFormDataParam = FromSchema<typeof schemas.PostBookSearch.formData>
256
+ export type PostBookSearchMetadataParam = FromSchema<typeof schemas.PostBookSearch.metadata>
257
+ export type PostBookcollectionSearchFormDataParam = FromSchema<
258
+ typeof schemas.PostBookcollectionSearch.formData
259
+ >
260
+ export type PostBookcollectionSearchMetadataParam = FromSchema<
261
+ typeof schemas.PostBookcollectionSearch.metadata
262
+ >
263
+ export type PostBookseriesSearchFormDataParam = FromSchema<
264
+ typeof schemas.PostBookseriesSearch.formData
265
+ >
266
+ export type PostBookseriesSearchMetadataParam = FromSchema<
267
+ typeof schemas.PostBookseriesSearch.metadata
268
+ >
269
+ export type PostCharacterSearchFormDataParam = FromSchema<
270
+ typeof schemas.PostCharacterSearch.formData
271
+ >
272
+ export type PostCharacterSearchMetadataParam = FromSchema<
273
+ typeof schemas.PostCharacterSearch.metadata
274
+ >
275
+ export type PostComiccollectionSearchFormDataParam = FromSchema<
276
+ typeof schemas.PostComiccollectionSearch.formData
277
+ >
278
+ export type PostComiccollectionSearchMetadataParam = FromSchema<
279
+ typeof schemas.PostComiccollectionSearch.metadata
280
+ >
281
+ export type PostComicsSearchFormDataParam = FromSchema<typeof schemas.PostComicsSearch.formData>
282
+ export type PostComicsSearchMetadataParam = FromSchema<typeof schemas.PostComicsSearch.metadata>
283
+ export type PostComicseriesSearchFormDataParam = FromSchema<
284
+ typeof schemas.PostComicseriesSearch.formData
285
+ >
286
+ export type PostComicseriesSearchMetadataParam = FromSchema<
287
+ typeof schemas.PostComicseriesSearch.metadata
288
+ >
289
+ export type PostComicstripSearchFormDataParam = FromSchema<
290
+ typeof schemas.PostComicstripSearch.formData
291
+ >
292
+ export type PostComicstripSearchMetadataParam = FromSchema<
293
+ typeof schemas.PostComicstripSearch.metadata
294
+ >
295
+ export type PostCompanySearchFormDataParam = FromSchema<typeof schemas.PostCompanySearch.formData>
296
+ export type PostCompanySearchMetadataParam = FromSchema<typeof schemas.PostCompanySearch.metadata>
297
+ export type PostConflictSearchFormDataParam = FromSchema<typeof schemas.PostConflictSearch.formData>
298
+ export type PostConflictSearchMetadataParam = FromSchema<typeof schemas.PostConflictSearch.metadata>
299
+ export type PostElementSearchFormDataParam = FromSchema<typeof schemas.PostElementSearch.formData>
300
+ export type PostElementSearchMetadataParam = FromSchema<typeof schemas.PostElementSearch.metadata>
301
+ export type PostEpisodeSearchFormDataParam = FromSchema<typeof schemas.PostEpisodeSearch.formData>
302
+ export type PostEpisodeSearchMetadataParam = FromSchema<typeof schemas.PostEpisodeSearch.metadata>
303
+ export type PostFoodSearchFormDataParam = FromSchema<typeof schemas.PostFoodSearch.formData>
304
+ export type PostFoodSearchMetadataParam = FromSchema<typeof schemas.PostFoodSearch.metadata>
305
+ export type PostLiteratureSearchFormDataParam = FromSchema<
306
+ typeof schemas.PostLiteratureSearch.formData
307
+ >
308
+ export type PostLiteratureSearchMetadataParam = FromSchema<
309
+ typeof schemas.PostLiteratureSearch.metadata
310
+ >
311
+ export type PostLocationSearchFormDataParam = FromSchema<typeof schemas.PostLocationSearch.formData>
312
+ export type PostLocationSearchMetadataParam = FromSchema<typeof schemas.PostLocationSearch.metadata>
313
+ export type PostMagazineSearchFormDataParam = FromSchema<typeof schemas.PostMagazineSearch.formData>
314
+ export type PostMagazineSearchMetadataParam = FromSchema<typeof schemas.PostMagazineSearch.metadata>
315
+ export type PostMagazineseriesSearchFormDataParam = FromSchema<
316
+ typeof schemas.PostMagazineseriesSearch.formData
317
+ >
318
+ export type PostMagazineseriesSearchMetadataParam = FromSchema<
319
+ typeof schemas.PostMagazineseriesSearch.metadata
320
+ >
321
+ export type PostMaterialSearchFormDataParam = FromSchema<typeof schemas.PostMaterialSearch.formData>
322
+ export type PostMaterialSearchMetadataParam = FromSchema<typeof schemas.PostMaterialSearch.metadata>
323
+ export type PostMedicalconditionSearchFormDataParam = FromSchema<
324
+ typeof schemas.PostMedicalconditionSearch.formData
325
+ >
326
+ export type PostMedicalconditionSearchMetadataParam = FromSchema<
327
+ typeof schemas.PostMedicalconditionSearch.metadata
328
+ >
329
+ export type PostMovieSearchFormDataParam = FromSchema<typeof schemas.PostMovieSearch.formData>
330
+ export type PostMovieSearchMetadataParam = FromSchema<typeof schemas.PostMovieSearch.metadata>
331
+ export type PostOccupationSearchFormDataParam = FromSchema<
332
+ typeof schemas.PostOccupationSearch.formData
333
+ >
334
+ export type PostOccupationSearchMetadataParam = FromSchema<
335
+ typeof schemas.PostOccupationSearch.metadata
336
+ >
337
+ export type PostOrganizationSearchFormDataParam = FromSchema<
338
+ typeof schemas.PostOrganizationSearch.formData
339
+ >
340
+ export type PostOrganizationSearchMetadataParam = FromSchema<
341
+ typeof schemas.PostOrganizationSearch.metadata
342
+ >
343
+ export type PostPerformerSearchFormDataParam = FromSchema<
344
+ typeof schemas.PostPerformerSearch.formData
345
+ >
346
+ export type PostPerformerSearchMetadataParam = FromSchema<
347
+ typeof schemas.PostPerformerSearch.metadata
348
+ >
349
+ export type PostSeasonSearchFormDataParam = FromSchema<typeof schemas.PostSeasonSearch.formData>
350
+ export type PostSeasonSearchMetadataParam = FromSchema<typeof schemas.PostSeasonSearch.metadata>
351
+ export type PostSeriesSearchFormDataParam = FromSchema<typeof schemas.PostSeriesSearch.formData>
352
+ export type PostSeriesSearchMetadataParam = FromSchema<typeof schemas.PostSeriesSearch.metadata>
353
+ export type PostSoundtrackSearchFormDataParam = FromSchema<
354
+ typeof schemas.PostSoundtrackSearch.formData
355
+ >
356
+ export type PostSoundtrackSearchMetadataParam = FromSchema<
357
+ typeof schemas.PostSoundtrackSearch.metadata
358
+ >
359
+ export type PostSpacecraftSearchFormDataParam = FromSchema<
360
+ typeof schemas.PostSpacecraftSearch.formData
361
+ >
362
+ export type PostSpacecraftSearchMetadataParam = FromSchema<
363
+ typeof schemas.PostSpacecraftSearch.metadata
364
+ >
365
+ export type PostSpacecraftclassSearchFormDataParam = FromSchema<
366
+ typeof schemas.PostSpacecraftclassSearch.formData
367
+ >
368
+ export type PostSpacecraftclassSearchMetadataParam = FromSchema<
369
+ typeof schemas.PostSpacecraftclassSearch.metadata
370
+ >
371
+ export type PostSpeciesSearchFormDataParam = FromSchema<typeof schemas.PostSpeciesSearch.formData>
372
+ export type PostSpeciesSearchMetadataParam = FromSchema<typeof schemas.PostSpeciesSearch.metadata>
373
+ export type PostStaffSearchFormDataParam = FromSchema<typeof schemas.PostStaffSearch.formData>
374
+ export type PostStaffSearchMetadataParam = FromSchema<typeof schemas.PostStaffSearch.metadata>
375
+ export type PostTechnologySearchFormDataParam = FromSchema<
376
+ typeof schemas.PostTechnologySearch.formData
377
+ >
378
+ export type PostTechnologySearchMetadataParam = FromSchema<
379
+ typeof schemas.PostTechnologySearch.metadata
380
+ >
381
+ export type PostTitleSearchFormDataParam = FromSchema<typeof schemas.PostTitleSearch.formData>
382
+ export type PostTitleSearchMetadataParam = FromSchema<typeof schemas.PostTitleSearch.metadata>
383
+ export type PostTradingcardSearchFormDataParam = FromSchema<
384
+ typeof schemas.PostTradingcardSearch.formData
385
+ >
386
+ export type PostTradingcardSearchMetadataParam = FromSchema<
387
+ typeof schemas.PostTradingcardSearch.metadata
388
+ >
389
+ export type PostTradingcarddeckSearchFormDataParam = FromSchema<
390
+ typeof schemas.PostTradingcarddeckSearch.formData
391
+ >
392
+ export type PostTradingcarddeckSearchMetadataParam = FromSchema<
393
+ typeof schemas.PostTradingcarddeckSearch.metadata
394
+ >
395
+ export type PostTradingcardsetSearchFormDataParam = FromSchema<
396
+ typeof schemas.PostTradingcardsetSearch.formData
397
+ >
398
+ export type PostTradingcardsetSearchMetadataParam = FromSchema<
399
+ typeof schemas.PostTradingcardsetSearch.metadata
400
+ >
401
+ export type PostVideogameSearchFormDataParam = FromSchema<
402
+ typeof schemas.PostVideogameSearch.formData
403
+ >
404
+ export type PostVideogameSearchMetadataParam = FromSchema<
405
+ typeof schemas.PostVideogameSearch.metadata
406
+ >
407
+ export type PostVideoreleaseSearchFormDataParam = FromSchema<
408
+ typeof schemas.PostVideoreleaseSearch.formData
409
+ >
410
+ export type PostVideoreleaseSearchMetadataParam = FromSchema<
411
+ typeof schemas.PostVideoreleaseSearch.metadata
412
+ >
413
+ export type PostWeaponSearchFormDataParam = FromSchema<typeof schemas.PostWeaponSearch.formData>
414
+ export type PostWeaponSearchMetadataParam = FromSchema<typeof schemas.PostWeaponSearch.metadata>
415
+ export type ProductionRunUnit = FromSchema<typeof schemas.ProductionRunUnit>
416
+ export type Reference = FromSchema<typeof schemas.Reference>
417
+ export type ReferenceType = FromSchema<typeof schemas.ReferenceType>
418
+ export type ResponsePage = FromSchema<typeof schemas.ResponsePage>
419
+ export type ResponseSort = FromSchema<typeof schemas.ResponseSort>
420
+ export type ResponseSortClause = FromSchema<typeof schemas.ResponseSortClause>
421
+ export type ResponseSortDirection = FromSchema<typeof schemas.ResponseSortDirection>
422
+ export type SeasonBase = FromSchema<typeof schemas.SeasonBase>
423
+ export type SeasonBaseResponse = FromSchema<typeof schemas.SeasonBaseResponse>
424
+ export type SeasonFull = FromSchema<typeof schemas.SeasonFull>
425
+ export type SeasonFullResponse = FromSchema<typeof schemas.SeasonFullResponse>
426
+ export type SeasonHeader = FromSchema<typeof schemas.SeasonHeader>
427
+ export type SeriesBase = FromSchema<typeof schemas.SeriesBase>
428
+ export type SeriesBaseResponse = FromSchema<typeof schemas.SeriesBaseResponse>
429
+ export type SeriesFull = FromSchema<typeof schemas.SeriesFull>
430
+ export type SeriesFullResponse = FromSchema<typeof schemas.SeriesFullResponse>
431
+ export type SeriesHeader = FromSchema<typeof schemas.SeriesHeader>
432
+ export type SoundtrackBase = FromSchema<typeof schemas.SoundtrackBase>
433
+ export type SoundtrackBaseResponse = FromSchema<typeof schemas.SoundtrackBaseResponse>
434
+ export type SoundtrackFull = FromSchema<typeof schemas.SoundtrackFull>
435
+ export type SoundtrackFullResponse = FromSchema<typeof schemas.SoundtrackFullResponse>
436
+ export type SpacecraftBase = FromSchema<typeof schemas.SpacecraftBase>
437
+ export type SpacecraftBaseResponse = FromSchema<typeof schemas.SpacecraftBaseResponse>
438
+ export type SpacecraftClassBase = FromSchema<typeof schemas.SpacecraftClassBase>
439
+ export type SpacecraftClassBaseResponse = FromSchema<typeof schemas.SpacecraftClassBaseResponse>
440
+ export type SpacecraftClassFull = FromSchema<typeof schemas.SpacecraftClassFull>
441
+ export type SpacecraftClassFullResponse = FromSchema<typeof schemas.SpacecraftClassFullResponse>
442
+ export type SpacecraftClassHeader = FromSchema<typeof schemas.SpacecraftClassHeader>
443
+ export type SpacecraftFull = FromSchema<typeof schemas.SpacecraftFull>
444
+ export type SpacecraftFullResponse = FromSchema<typeof schemas.SpacecraftFullResponse>
445
+ export type SpacecraftType = FromSchema<typeof schemas.SpacecraftType>
446
+ export type SpeciesBase = FromSchema<typeof schemas.SpeciesBase>
447
+ export type SpeciesBaseResponse = FromSchema<typeof schemas.SpeciesBaseResponse>
448
+ export type SpeciesFull = FromSchema<typeof schemas.SpeciesFull>
449
+ export type SpeciesFullResponse = FromSchema<typeof schemas.SpeciesFullResponse>
450
+ export type SpeciesHeader = FromSchema<typeof schemas.SpeciesHeader>
451
+ export type StaffBase = FromSchema<typeof schemas.StaffBase>
452
+ export type StaffBaseResponse = FromSchema<typeof schemas.StaffBaseResponse>
453
+ export type StaffFull = FromSchema<typeof schemas.StaffFull>
454
+ export type StaffFullResponse = FromSchema<typeof schemas.StaffFullResponse>
455
+ export type StaffHeader = FromSchema<typeof schemas.StaffHeader>
456
+ export type TechnologyBase = FromSchema<typeof schemas.TechnologyBase>
457
+ export type TechnologyBaseResponse = FromSchema<typeof schemas.TechnologyBaseResponse>
458
+ export type TechnologyFull = FromSchema<typeof schemas.TechnologyFull>
459
+ export type TechnologyFullResponse = FromSchema<typeof schemas.TechnologyFullResponse>
460
+ export type TitleBase = FromSchema<typeof schemas.TitleBase>
461
+ export type TitleBaseResponse = FromSchema<typeof schemas.TitleBaseResponse>
462
+ export type TitleFull = FromSchema<typeof schemas.TitleFull>
463
+ export type TitleFullResponse = FromSchema<typeof schemas.TitleFullResponse>
464
+ export type TradingCardBase = FromSchema<typeof schemas.TradingCardBase>
465
+ export type TradingCardBaseResponse = FromSchema<typeof schemas.TradingCardBaseResponse>
466
+ export type TradingCardDeckBase = FromSchema<typeof schemas.TradingCardDeckBase>
467
+ export type TradingCardDeckBaseResponse = FromSchema<typeof schemas.TradingCardDeckBaseResponse>
468
+ export type TradingCardDeckFull = FromSchema<typeof schemas.TradingCardDeckFull>
469
+ export type TradingCardDeckFullResponse = FromSchema<typeof schemas.TradingCardDeckFullResponse>
470
+ export type TradingCardDeckHeader = FromSchema<typeof schemas.TradingCardDeckHeader>
471
+ export type TradingCardFull = FromSchema<typeof schemas.TradingCardFull>
472
+ export type TradingCardFullResponse = FromSchema<typeof schemas.TradingCardFullResponse>
473
+ export type TradingCardSetBase = FromSchema<typeof schemas.TradingCardSetBase>
474
+ export type TradingCardSetBaseResponse = FromSchema<typeof schemas.TradingCardSetBaseResponse>
475
+ export type TradingCardSetFull = FromSchema<typeof schemas.TradingCardSetFull>
476
+ export type TradingCardSetFullResponse = FromSchema<typeof schemas.TradingCardSetFullResponse>
477
+ export type TradingCardSetHeader = FromSchema<typeof schemas.TradingCardSetHeader>
478
+ export type VideoGameBase = FromSchema<typeof schemas.VideoGameBase>
479
+ export type VideoGameBaseResponse = FromSchema<typeof schemas.VideoGameBaseResponse>
480
+ export type VideoGameFull = FromSchema<typeof schemas.VideoGameFull>
481
+ export type VideoGameFullResponse = FromSchema<typeof schemas.VideoGameFullResponse>
482
+ export type VideoReleaseBase = FromSchema<typeof schemas.VideoReleaseBase>
483
+ export type VideoReleaseBaseResponse = FromSchema<typeof schemas.VideoReleaseBaseResponse>
484
+ export type VideoReleaseFormat = FromSchema<typeof schemas.VideoReleaseFormat>
485
+ export type VideoReleaseFull = FromSchema<typeof schemas.VideoReleaseFull>
486
+ export type VideoReleaseFullResponse = FromSchema<typeof schemas.VideoReleaseFullResponse>
487
+ export type WeaponBase = FromSchema<typeof schemas.WeaponBase>
488
+ export type WeaponBaseResponse = FromSchema<typeof schemas.WeaponBaseResponse>
489
+ export type WeaponFull = FromSchema<typeof schemas.WeaponFull>
490
+ export type WeaponFullResponse = FromSchema<typeof schemas.WeaponFullResponse>
@@ -0,0 +1,12 @@
1
+ {
2
+ "compilerOptions": {
3
+ "esModuleInterop": true,
4
+ "module": "ESNext",
5
+ "moduleResolution": "Bundler",
6
+ "resolveJsonModule": true,
7
+ "strict": true
8
+ },
9
+ "include": [
10
+ "./src/**/*"
11
+ ]
12
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../tsconfig.json",
3
+ "compilerOptions": {
4
+ "lib": ["DOM", "ES2023"],
5
+ "noEmit": true,
6
+ "resolveJsonModule": true
7
+ },
8
+ "include": ["./**/*"]
9
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "./tsconfig.json",
4
+ "compilerOptions": {
5
+ "noEmit": true
6
+ },
7
+ "include": ["eslint.config.ts", "test/**/*.ts", "tsup.config.ts", "vitest.config.ts"]
8
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "exactOptionalPropertyTypes": false,
5
+ "lib": ["DOM", "DOM.Iterable", "ES2023"],
6
+ "outDir": "dist/"
7
+ },
8
+ "include": ["./src/**/*"]
9
+ }
package/tsup.config.ts ADDED
@@ -0,0 +1,31 @@
1
+ import type {Options} from 'tsup'
2
+
3
+ import {defineConfig} from 'tsup'
4
+
5
+ const config: Options = {
6
+ cjsInterop: true,
7
+ clean: true,
8
+ dts: true,
9
+ format: ['esm'],
10
+ minify: false,
11
+ shims: true,
12
+ sourcemap: true,
13
+ splitting: true,
14
+ }
15
+
16
+ export default defineConfig((options: Options) => ({
17
+ ...options,
18
+ ...config,
19
+
20
+ entry: ['src/errors/fetchError.ts', 'src/lib/index.ts', 'src/index.ts', 'src/types.ts'],
21
+
22
+ noExternal: [
23
+ // These dependencies are ESM-only but because we're building for ESM **and** CJS we can't
24
+ // treat them as external dependencies as CJS libraries can't load ESM code that uses `export`.
25
+ // `noExternal` will instead treeshake these dependencies down and include them in our compiled
26
+ // dists.
27
+ 'get-stream',
28
+ ],
29
+
30
+ silent: !options.watch,
31
+ }))