comic-vine-sdk 1.3.2 → 2.0.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 (557) hide show
  1. package/README.md +36 -732
  2. package/lib/index.cjs +1456 -0
  3. package/lib/index.cjs.map +7 -0
  4. package/lib/index.d.ts +2716 -0
  5. package/lib/index.js +845 -0
  6. package/lib/index.js.map +1 -0
  7. package/package.json +108 -54
  8. package/.gitattributes +0 -23
  9. package/.husky/pre-commit +0 -1
  10. package/.prettierignore +0 -1
  11. package/.prettierrc.json +0 -4
  12. package/.projen/tasks.json +0 -261
  13. package/.releaserc.json +0 -17
  14. package/CHANGELOG.md +0 -97
  15. package/CODE_OF_CONDUCT.md +0 -128
  16. package/CONTRIBUTING.md +0 -294
  17. package/eslint.config.js +0 -168
  18. package/lib/cjs/comic-vine.d.ts +0 -44
  19. package/lib/cjs/comic-vine.js +0 -105
  20. package/lib/cjs/errors/base-error.d.ts +0 -9
  21. package/lib/cjs/errors/base-error.js +0 -18
  22. package/lib/cjs/errors/custom-error.d.ts +0 -2
  23. package/lib/cjs/errors/custom-error.js +0 -12
  24. package/lib/cjs/errors/filter-error.d.ts +0 -4
  25. package/lib/cjs/errors/filter-error.js +0 -14
  26. package/lib/cjs/errors/generic-error.d.ts +0 -4
  27. package/lib/cjs/errors/generic-error.js +0 -14
  28. package/lib/cjs/errors/generic-request-error.d.ts +0 -10
  29. package/lib/cjs/errors/generic-request-error.js +0 -23
  30. package/lib/cjs/errors/index.d.ts +0 -10
  31. package/lib/cjs/errors/index.js +0 -27
  32. package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
  33. package/lib/cjs/errors/jsonp-callback-missing-error.js +0 -14
  34. package/lib/cjs/errors/object-not-found-error.d.ts +0 -4
  35. package/lib/cjs/errors/object-not-found-error.js +0 -14
  36. package/lib/cjs/errors/options-validation-error.d.ts +0 -4
  37. package/lib/cjs/errors/options-validation-error.js +0 -14
  38. package/lib/cjs/errors/subscriber-only-error.d.ts +0 -4
  39. package/lib/cjs/errors/subscriber-only-error.js +0 -14
  40. package/lib/cjs/errors/unauthorized-error.d.ts +0 -4
  41. package/lib/cjs/errors/unauthorized-error.js +0 -14
  42. package/lib/cjs/errors/url-format-error.d.ts +0 -4
  43. package/lib/cjs/errors/url-format-error.js +0 -14
  44. package/lib/cjs/http-client/http-client-factory.d.ts +0 -6
  45. package/lib/cjs/http-client/http-client-factory.js +0 -15
  46. package/lib/cjs/http-client/http-client.d.ts +0 -8
  47. package/lib/cjs/http-client/http-client.js +0 -71
  48. package/lib/cjs/http-client/index.d.ts +0 -1
  49. package/lib/cjs/http-client/index.js +0 -18
  50. package/lib/cjs/http-client/status-code.d.ts +0 -9
  51. package/lib/cjs/http-client/status-code.js +0 -14
  52. package/lib/cjs/http-client/url-builder.d.ts +0 -29
  53. package/lib/cjs/http-client/url-builder.js +0 -107
  54. package/lib/cjs/index.d.ts +0 -3
  55. package/lib/cjs/index.js +0 -5
  56. package/lib/cjs/options/index.d.ts +0 -20
  57. package/lib/cjs/options/index.js +0 -32
  58. package/lib/cjs/package.json +0 -3
  59. package/lib/cjs/resources/base-resource.d.ts +0 -19
  60. package/lib/cjs/resources/base-resource.js +0 -87
  61. package/lib/cjs/resources/character/character.d.ts +0 -6
  62. package/lib/cjs/resources/character/character.js +0 -13
  63. package/lib/cjs/resources/character/index.d.ts +0 -1
  64. package/lib/cjs/resources/character/index.js +0 -18
  65. package/lib/cjs/resources/character/types/character-details.d.ts +0 -110
  66. package/lib/cjs/resources/character/types/character-details.js +0 -3
  67. package/lib/cjs/resources/character/types/character-list-item.d.ts +0 -71
  68. package/lib/cjs/resources/character/types/character-list-item.js +0 -3
  69. package/lib/cjs/resources/character/types/index.d.ts +0 -2
  70. package/lib/cjs/resources/character/types/index.js +0 -19
  71. package/lib/cjs/resources/common-types.d.ts +0 -58
  72. package/lib/cjs/resources/common-types.js +0 -3
  73. package/lib/cjs/resources/concept/concept.d.ts +0 -6
  74. package/lib/cjs/resources/concept/concept.js +0 -13
  75. package/lib/cjs/resources/concept/index.d.ts +0 -1
  76. package/lib/cjs/resources/concept/index.js +0 -18
  77. package/lib/cjs/resources/concept/types/concept-details.d.ts +0 -58
  78. package/lib/cjs/resources/concept/types/concept-details.js +0 -3
  79. package/lib/cjs/resources/concept/types/concept-list-item.d.ts +0 -52
  80. package/lib/cjs/resources/concept/types/concept-list-item.js +0 -3
  81. package/lib/cjs/resources/concept/types/index.d.ts +0 -2
  82. package/lib/cjs/resources/concept/types/index.js +0 -19
  83. package/lib/cjs/resources/episode/episode.d.ts +0 -6
  84. package/lib/cjs/resources/episode/episode.js +0 -13
  85. package/lib/cjs/resources/episode/index.d.ts +0 -1
  86. package/lib/cjs/resources/episode/index.js +0 -18
  87. package/lib/cjs/resources/episode/types/episode-details.d.ts +0 -87
  88. package/lib/cjs/resources/episode/types/episode-details.js +0 -3
  89. package/lib/cjs/resources/episode/types/episode-list-item.d.ts +0 -53
  90. package/lib/cjs/resources/episode/types/episode-list-item.js +0 -3
  91. package/lib/cjs/resources/episode/types/index.d.ts +0 -2
  92. package/lib/cjs/resources/episode/types/index.js +0 -19
  93. package/lib/cjs/resources/index.d.ts +0 -3
  94. package/lib/cjs/resources/index.js +0 -20
  95. package/lib/cjs/resources/issue/index.d.ts +0 -1
  96. package/lib/cjs/resources/issue/index.js +0 -18
  97. package/lib/cjs/resources/issue/issue.d.ts +0 -6
  98. package/lib/cjs/resources/issue/issue.js +0 -13
  99. package/lib/cjs/resources/issue/types/index.d.ts +0 -2
  100. package/lib/cjs/resources/issue/types/index.js +0 -19
  101. package/lib/cjs/resources/issue/types/issue-details.d.ts +0 -94
  102. package/lib/cjs/resources/issue/types/issue-details.js +0 -3
  103. package/lib/cjs/resources/issue/types/issue-list-item.d.ts +0 -61
  104. package/lib/cjs/resources/issue/types/issue-list-item.js +0 -3
  105. package/lib/cjs/resources/location/index.d.ts +0 -1
  106. package/lib/cjs/resources/location/index.js +0 -18
  107. package/lib/cjs/resources/location/location.d.ts +0 -6
  108. package/lib/cjs/resources/location/location.js +0 -13
  109. package/lib/cjs/resources/location/types/index.d.ts +0 -2
  110. package/lib/cjs/resources/location/types/index.js +0 -19
  111. package/lib/cjs/resources/location/types/location-details.d.ts +0 -62
  112. package/lib/cjs/resources/location/types/location-details.js +0 -3
  113. package/lib/cjs/resources/location/types/location-list-item.d.ts +0 -55
  114. package/lib/cjs/resources/location/types/location-list-item.js +0 -3
  115. package/lib/cjs/resources/movie/index.d.ts +0 -1
  116. package/lib/cjs/resources/movie/index.js +0 -18
  117. package/lib/cjs/resources/movie/movie.d.ts +0 -6
  118. package/lib/cjs/resources/movie/movie.js +0 -13
  119. package/lib/cjs/resources/movie/types/index.d.ts +0 -2
  120. package/lib/cjs/resources/movie/types/index.js +0 -19
  121. package/lib/cjs/resources/movie/types/movie-details.d.ts +0 -91
  122. package/lib/cjs/resources/movie/types/movie-details.js +0 -3
  123. package/lib/cjs/resources/movie/types/movie-list-item.d.ts +0 -74
  124. package/lib/cjs/resources/movie/types/movie-list-item.js +0 -3
  125. package/lib/cjs/resources/origin/index.d.ts +0 -1
  126. package/lib/cjs/resources/origin/index.js +0 -18
  127. package/lib/cjs/resources/origin/origin.d.ts +0 -6
  128. package/lib/cjs/resources/origin/origin.js +0 -13
  129. package/lib/cjs/resources/origin/types/index.d.ts +0 -2
  130. package/lib/cjs/resources/origin/types/index.js +0 -19
  131. package/lib/cjs/resources/origin/types/origin-details.d.ts +0 -22
  132. package/lib/cjs/resources/origin/types/origin-details.js +0 -3
  133. package/lib/cjs/resources/origin/types/origin-list-item.d.ts +0 -18
  134. package/lib/cjs/resources/origin/types/origin-list-item.js +0 -3
  135. package/lib/cjs/resources/person/index.d.ts +0 -1
  136. package/lib/cjs/resources/person/index.js +0 -18
  137. package/lib/cjs/resources/person/person.d.ts +0 -6
  138. package/lib/cjs/resources/person/person.js +0 -13
  139. package/lib/cjs/resources/person/types/index.d.ts +0 -2
  140. package/lib/cjs/resources/person/types/index.js +0 -19
  141. package/lib/cjs/resources/person/types/person-details.d.ts +0 -82
  142. package/lib/cjs/resources/person/types/person-details.js +0 -3
  143. package/lib/cjs/resources/person/types/person-list-item.d.ts +0 -77
  144. package/lib/cjs/resources/person/types/person-list-item.js +0 -8
  145. package/lib/cjs/resources/power/index.d.ts +0 -1
  146. package/lib/cjs/resources/power/index.js +0 -18
  147. package/lib/cjs/resources/power/power.d.ts +0 -6
  148. package/lib/cjs/resources/power/power.js +0 -13
  149. package/lib/cjs/resources/power/types/index.d.ts +0 -2
  150. package/lib/cjs/resources/power/types/index.js +0 -19
  151. package/lib/cjs/resources/power/types/power-details.d.ts +0 -39
  152. package/lib/cjs/resources/power/types/power-details.js +0 -3
  153. package/lib/cjs/resources/power/types/power-list-item.d.ts +0 -34
  154. package/lib/cjs/resources/power/types/power-list-item.js +0 -3
  155. package/lib/cjs/resources/promo/index.d.ts +0 -1
  156. package/lib/cjs/resources/promo/index.js +0 -18
  157. package/lib/cjs/resources/promo/promo.d.ts +0 -6
  158. package/lib/cjs/resources/promo/promo.js +0 -13
  159. package/lib/cjs/resources/promo/types/index.d.ts +0 -2
  160. package/lib/cjs/resources/promo/types/index.js +0 -19
  161. package/lib/cjs/resources/promo/types/promo-details.d.ts +0 -40
  162. package/lib/cjs/resources/promo/types/promo-details.js +0 -3
  163. package/lib/cjs/resources/promo/types/promo-list-item.d.ts +0 -40
  164. package/lib/cjs/resources/promo/types/promo-list-item.js +0 -3
  165. package/lib/cjs/resources/publisher/index.d.ts +0 -1
  166. package/lib/cjs/resources/publisher/index.js +0 -18
  167. package/lib/cjs/resources/publisher/publisher.d.ts +0 -6
  168. package/lib/cjs/resources/publisher/publisher.js +0 -13
  169. package/lib/cjs/resources/publisher/types/index.d.ts +0 -2
  170. package/lib/cjs/resources/publisher/types/index.js +0 -19
  171. package/lib/cjs/resources/publisher/types/publisher-details.d.ts +0 -71
  172. package/lib/cjs/resources/publisher/types/publisher-details.js +0 -3
  173. package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -61
  174. package/lib/cjs/resources/publisher/types/publisher-list-item.js +0 -11
  175. package/lib/cjs/resources/resource-factory.d.ts +0 -8
  176. package/lib/cjs/resources/resource-factory.js +0 -53
  177. package/lib/cjs/resources/resource-list.d.ts +0 -19
  178. package/lib/cjs/resources/resource-list.js +0 -36
  179. package/lib/cjs/resources/resource-map.d.ts +0 -7
  180. package/lib/cjs/resources/resource-map.js +0 -40
  181. package/lib/cjs/resources/resource-type.d.ts +0 -21
  182. package/lib/cjs/resources/resource-type.js +0 -27
  183. package/lib/cjs/resources/series/index.d.ts +0 -1
  184. package/lib/cjs/resources/series/index.js +0 -18
  185. package/lib/cjs/resources/series/series.d.ts +0 -6
  186. package/lib/cjs/resources/series/series.js +0 -13
  187. package/lib/cjs/resources/series/types/index.d.ts +0 -2
  188. package/lib/cjs/resources/series/types/index.js +0 -19
  189. package/lib/cjs/resources/series/types/series-details.d.ts +0 -68
  190. package/lib/cjs/resources/series/types/series-details.js +0 -3
  191. package/lib/cjs/resources/series/types/series-list-item.d.ts +0 -18
  192. package/lib/cjs/resources/series/types/series-list-item.js +0 -3
  193. package/lib/cjs/resources/story-arc/index.d.ts +0 -1
  194. package/lib/cjs/resources/story-arc/index.js +0 -18
  195. package/lib/cjs/resources/story-arc/story-arc.d.ts +0 -6
  196. package/lib/cjs/resources/story-arc/story-arc.js +0 -13
  197. package/lib/cjs/resources/story-arc/types/index.d.ts +0 -2
  198. package/lib/cjs/resources/story-arc/types/index.js +0 -19
  199. package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -62
  200. package/lib/cjs/resources/story-arc/types/story-arc-details.js +0 -3
  201. package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
  202. package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
  203. package/lib/cjs/resources/team/index.d.ts +0 -1
  204. package/lib/cjs/resources/team/index.js +0 -18
  205. package/lib/cjs/resources/team/team.d.ts +0 -6
  206. package/lib/cjs/resources/team/team.js +0 -13
  207. package/lib/cjs/resources/team/types/index.d.ts +0 -2
  208. package/lib/cjs/resources/team/types/index.js +0 -19
  209. package/lib/cjs/resources/team/types/team-details.d.ts +0 -80
  210. package/lib/cjs/resources/team/types/team-details.js +0 -3
  211. package/lib/cjs/resources/team/types/team-list-item.d.ts +0 -56
  212. package/lib/cjs/resources/team/types/team-list-item.js +0 -3
  213. package/lib/cjs/resources/thing/index.d.ts +0 -1
  214. package/lib/cjs/resources/thing/index.js +0 -18
  215. package/lib/cjs/resources/thing/thing.d.ts +0 -6
  216. package/lib/cjs/resources/thing/thing.js +0 -13
  217. package/lib/cjs/resources/thing/types/index.d.ts +0 -2
  218. package/lib/cjs/resources/thing/types/index.js +0 -19
  219. package/lib/cjs/resources/thing/types/thing-details.d.ts +0 -62
  220. package/lib/cjs/resources/thing/types/thing-details.js +0 -3
  221. package/lib/cjs/resources/thing/types/thing-list-item.d.ts +0 -55
  222. package/lib/cjs/resources/thing/types/thing-list-item.js +0 -3
  223. package/lib/cjs/resources/video/index.d.ts +0 -1
  224. package/lib/cjs/resources/video/index.js +0 -18
  225. package/lib/cjs/resources/video/types/index.d.ts +0 -2
  226. package/lib/cjs/resources/video/types/index.js +0 -19
  227. package/lib/cjs/resources/video/types/video-details.d.ts +0 -63
  228. package/lib/cjs/resources/video/types/video-details.js +0 -3
  229. package/lib/cjs/resources/video/types/video-list-item.d.ts +0 -85
  230. package/lib/cjs/resources/video/types/video-list-item.js +0 -28
  231. package/lib/cjs/resources/video/video.d.ts +0 -6
  232. package/lib/cjs/resources/video/video.js +0 -13
  233. package/lib/cjs/resources/video-category/index.d.ts +0 -1
  234. package/lib/cjs/resources/video-category/index.js +0 -18
  235. package/lib/cjs/resources/video-category/types/index.d.ts +0 -2
  236. package/lib/cjs/resources/video-category/types/index.js +0 -19
  237. package/lib/cjs/resources/video-category/types/video-category-details.d.ts +0 -24
  238. package/lib/cjs/resources/video-category/types/video-category-details.js +0 -3
  239. package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -24
  240. package/lib/cjs/resources/video-category/types/video-category-list-item.js +0 -3
  241. package/lib/cjs/resources/video-category/video-category.d.ts +0 -6
  242. package/lib/cjs/resources/video-category/video-category.js +0 -13
  243. package/lib/cjs/resources/video-type/index.d.ts +0 -1
  244. package/lib/cjs/resources/video-type/index.js +0 -18
  245. package/lib/cjs/resources/video-type/types/index.d.ts +0 -2
  246. package/lib/cjs/resources/video-type/types/index.js +0 -19
  247. package/lib/cjs/resources/video-type/types/video-type-details.d.ts +0 -22
  248. package/lib/cjs/resources/video-type/types/video-type-details.js +0 -3
  249. package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -22
  250. package/lib/cjs/resources/video-type/types/video-type-list-item.js +0 -3
  251. package/lib/cjs/resources/video-type/video-type.d.ts +0 -6
  252. package/lib/cjs/resources/video-type/video-type.js +0 -13
  253. package/lib/cjs/resources/volume/index.d.ts +0 -1
  254. package/lib/cjs/resources/volume/index.js +0 -18
  255. package/lib/cjs/resources/volume/types/index.d.ts +0 -2
  256. package/lib/cjs/resources/volume/types/index.js +0 -19
  257. package/lib/cjs/resources/volume/types/volume-details.d.ts +0 -77
  258. package/lib/cjs/resources/volume/types/volume-details.js +0 -3
  259. package/lib/cjs/resources/volume/types/volume-list-item.d.ts +0 -63
  260. package/lib/cjs/resources/volume/types/volume-list-item.js +0 -3
  261. package/lib/cjs/resources/volume/volume.d.ts +0 -6
  262. package/lib/cjs/resources/volume/volume.js +0 -13
  263. package/lib/cjs/types/apply-override.d.ts +0 -1
  264. package/lib/cjs/types/apply-override.js +0 -3
  265. package/lib/cjs/types/http-client.d.ts +0 -4
  266. package/lib/cjs/types/http-client.js +0 -3
  267. package/lib/cjs/types/index.d.ts +0 -7
  268. package/lib/cjs/types/index.js +0 -24
  269. package/lib/cjs/types/iso-date.d.ts +0 -7
  270. package/lib/cjs/types/iso-date.js +0 -3
  271. package/lib/cjs/types/pick-filters.d.ts +0 -6
  272. package/lib/cjs/types/pick-filters.js +0 -3
  273. package/lib/cjs/types/request.d.ts +0 -31
  274. package/lib/cjs/types/request.js +0 -3
  275. package/lib/cjs/types/response.d.ts +0 -10
  276. package/lib/cjs/types/response.js +0 -3
  277. package/lib/cjs/types/url-builder.d.ts +0 -6
  278. package/lib/cjs/types/url-builder.js +0 -3
  279. package/lib/cjs/types/valueof.d.ts +0 -1
  280. package/lib/cjs/types/valueof.js +0 -3
  281. package/lib/cjs/utils/case-converter.d.ts +0 -4
  282. package/lib/cjs/utils/case-converter.js +0 -34
  283. package/lib/cjs/utils/index.d.ts +0 -2
  284. package/lib/cjs/utils/index.js +0 -19
  285. package/lib/cjs/utils/is-object.d.ts +0 -1
  286. package/lib/cjs/utils/is-object.js +0 -8
  287. package/lib/esm/comic-vine.d.ts +0 -44
  288. package/lib/esm/comic-vine.js +0 -68
  289. package/lib/esm/errors/base-error.d.ts +0 -9
  290. package/lib/esm/errors/base-error.js +0 -14
  291. package/lib/esm/errors/custom-error.d.ts +0 -2
  292. package/lib/esm/errors/custom-error.js +0 -8
  293. package/lib/esm/errors/filter-error.d.ts +0 -4
  294. package/lib/esm/errors/filter-error.js +0 -10
  295. package/lib/esm/errors/generic-error.d.ts +0 -4
  296. package/lib/esm/errors/generic-error.js +0 -10
  297. package/lib/esm/errors/generic-request-error.d.ts +0 -10
  298. package/lib/esm/errors/generic-request-error.js +0 -18
  299. package/lib/esm/errors/index.d.ts +0 -10
  300. package/lib/esm/errors/index.js +0 -11
  301. package/lib/esm/errors/jsonp-callback-missing-error.d.ts +0 -4
  302. package/lib/esm/errors/jsonp-callback-missing-error.js +0 -10
  303. package/lib/esm/errors/object-not-found-error.d.ts +0 -4
  304. package/lib/esm/errors/object-not-found-error.js +0 -10
  305. package/lib/esm/errors/options-validation-error.d.ts +0 -4
  306. package/lib/esm/errors/options-validation-error.js +0 -10
  307. package/lib/esm/errors/subscriber-only-error.d.ts +0 -4
  308. package/lib/esm/errors/subscriber-only-error.js +0 -10
  309. package/lib/esm/errors/unauthorized-error.d.ts +0 -4
  310. package/lib/esm/errors/unauthorized-error.js +0 -10
  311. package/lib/esm/errors/url-format-error.d.ts +0 -4
  312. package/lib/esm/errors/url-format-error.js +0 -10
  313. package/lib/esm/http-client/http-client-factory.d.ts +0 -6
  314. package/lib/esm/http-client/http-client-factory.js +0 -11
  315. package/lib/esm/http-client/http-client.d.ts +0 -8
  316. package/lib/esm/http-client/http-client.js +0 -52
  317. package/lib/esm/http-client/index.d.ts +0 -1
  318. package/lib/esm/http-client/index.js +0 -2
  319. package/lib/esm/http-client/status-code.d.ts +0 -9
  320. package/lib/esm/http-client/status-code.js +0 -11
  321. package/lib/esm/http-client/url-builder.d.ts +0 -29
  322. package/lib/esm/http-client/url-builder.js +0 -103
  323. package/lib/esm/index.d.ts +0 -3
  324. package/lib/esm/index.js +0 -3
  325. package/lib/esm/options/index.d.ts +0 -20
  326. package/lib/esm/options/index.js +0 -28
  327. package/lib/esm/package.json +0 -3
  328. package/lib/esm/resources/base-resource.d.ts +0 -19
  329. package/lib/esm/resources/base-resource.js +0 -54
  330. package/lib/esm/resources/character/character.d.ts +0 -6
  331. package/lib/esm/resources/character/character.js +0 -9
  332. package/lib/esm/resources/character/index.d.ts +0 -1
  333. package/lib/esm/resources/character/index.js +0 -2
  334. package/lib/esm/resources/character/types/character-details.d.ts +0 -110
  335. package/lib/esm/resources/character/types/character-details.js +0 -2
  336. package/lib/esm/resources/character/types/character-list-item.d.ts +0 -71
  337. package/lib/esm/resources/character/types/character-list-item.js +0 -2
  338. package/lib/esm/resources/character/types/index.d.ts +0 -2
  339. package/lib/esm/resources/character/types/index.js +0 -3
  340. package/lib/esm/resources/common-types.d.ts +0 -58
  341. package/lib/esm/resources/common-types.js +0 -2
  342. package/lib/esm/resources/concept/concept.d.ts +0 -6
  343. package/lib/esm/resources/concept/concept.js +0 -9
  344. package/lib/esm/resources/concept/index.d.ts +0 -1
  345. package/lib/esm/resources/concept/index.js +0 -2
  346. package/lib/esm/resources/concept/types/concept-details.d.ts +0 -58
  347. package/lib/esm/resources/concept/types/concept-details.js +0 -2
  348. package/lib/esm/resources/concept/types/concept-list-item.d.ts +0 -52
  349. package/lib/esm/resources/concept/types/concept-list-item.js +0 -2
  350. package/lib/esm/resources/concept/types/index.d.ts +0 -2
  351. package/lib/esm/resources/concept/types/index.js +0 -3
  352. package/lib/esm/resources/episode/episode.d.ts +0 -6
  353. package/lib/esm/resources/episode/episode.js +0 -9
  354. package/lib/esm/resources/episode/index.d.ts +0 -1
  355. package/lib/esm/resources/episode/index.js +0 -2
  356. package/lib/esm/resources/episode/types/episode-details.d.ts +0 -87
  357. package/lib/esm/resources/episode/types/episode-details.js +0 -2
  358. package/lib/esm/resources/episode/types/episode-list-item.d.ts +0 -53
  359. package/lib/esm/resources/episode/types/episode-list-item.js +0 -2
  360. package/lib/esm/resources/episode/types/index.d.ts +0 -2
  361. package/lib/esm/resources/episode/types/index.js +0 -3
  362. package/lib/esm/resources/index.d.ts +0 -3
  363. package/lib/esm/resources/index.js +0 -4
  364. package/lib/esm/resources/issue/index.d.ts +0 -1
  365. package/lib/esm/resources/issue/index.js +0 -2
  366. package/lib/esm/resources/issue/issue.d.ts +0 -6
  367. package/lib/esm/resources/issue/issue.js +0 -9
  368. package/lib/esm/resources/issue/types/index.d.ts +0 -2
  369. package/lib/esm/resources/issue/types/index.js +0 -3
  370. package/lib/esm/resources/issue/types/issue-details.d.ts +0 -94
  371. package/lib/esm/resources/issue/types/issue-details.js +0 -2
  372. package/lib/esm/resources/issue/types/issue-list-item.d.ts +0 -61
  373. package/lib/esm/resources/issue/types/issue-list-item.js +0 -2
  374. package/lib/esm/resources/location/index.d.ts +0 -1
  375. package/lib/esm/resources/location/index.js +0 -2
  376. package/lib/esm/resources/location/location.d.ts +0 -6
  377. package/lib/esm/resources/location/location.js +0 -9
  378. package/lib/esm/resources/location/types/index.d.ts +0 -2
  379. package/lib/esm/resources/location/types/index.js +0 -3
  380. package/lib/esm/resources/location/types/location-details.d.ts +0 -62
  381. package/lib/esm/resources/location/types/location-details.js +0 -2
  382. package/lib/esm/resources/location/types/location-list-item.d.ts +0 -55
  383. package/lib/esm/resources/location/types/location-list-item.js +0 -2
  384. package/lib/esm/resources/movie/index.d.ts +0 -1
  385. package/lib/esm/resources/movie/index.js +0 -2
  386. package/lib/esm/resources/movie/movie.d.ts +0 -6
  387. package/lib/esm/resources/movie/movie.js +0 -9
  388. package/lib/esm/resources/movie/types/index.d.ts +0 -2
  389. package/lib/esm/resources/movie/types/index.js +0 -3
  390. package/lib/esm/resources/movie/types/movie-details.d.ts +0 -91
  391. package/lib/esm/resources/movie/types/movie-details.js +0 -2
  392. package/lib/esm/resources/movie/types/movie-list-item.d.ts +0 -74
  393. package/lib/esm/resources/movie/types/movie-list-item.js +0 -2
  394. package/lib/esm/resources/origin/index.d.ts +0 -1
  395. package/lib/esm/resources/origin/index.js +0 -2
  396. package/lib/esm/resources/origin/origin.d.ts +0 -6
  397. package/lib/esm/resources/origin/origin.js +0 -9
  398. package/lib/esm/resources/origin/types/index.d.ts +0 -2
  399. package/lib/esm/resources/origin/types/index.js +0 -3
  400. package/lib/esm/resources/origin/types/origin-details.d.ts +0 -22
  401. package/lib/esm/resources/origin/types/origin-details.js +0 -2
  402. package/lib/esm/resources/origin/types/origin-list-item.d.ts +0 -18
  403. package/lib/esm/resources/origin/types/origin-list-item.js +0 -2
  404. package/lib/esm/resources/person/index.d.ts +0 -1
  405. package/lib/esm/resources/person/index.js +0 -2
  406. package/lib/esm/resources/person/person.d.ts +0 -6
  407. package/lib/esm/resources/person/person.js +0 -9
  408. package/lib/esm/resources/person/types/index.d.ts +0 -2
  409. package/lib/esm/resources/person/types/index.js +0 -3
  410. package/lib/esm/resources/person/types/person-details.d.ts +0 -82
  411. package/lib/esm/resources/person/types/person-details.js +0 -2
  412. package/lib/esm/resources/person/types/person-list-item.d.ts +0 -77
  413. package/lib/esm/resources/person/types/person-list-item.js +0 -5
  414. package/lib/esm/resources/power/index.d.ts +0 -1
  415. package/lib/esm/resources/power/index.js +0 -2
  416. package/lib/esm/resources/power/power.d.ts +0 -6
  417. package/lib/esm/resources/power/power.js +0 -9
  418. package/lib/esm/resources/power/types/index.d.ts +0 -2
  419. package/lib/esm/resources/power/types/index.js +0 -3
  420. package/lib/esm/resources/power/types/power-details.d.ts +0 -39
  421. package/lib/esm/resources/power/types/power-details.js +0 -2
  422. package/lib/esm/resources/power/types/power-list-item.d.ts +0 -34
  423. package/lib/esm/resources/power/types/power-list-item.js +0 -2
  424. package/lib/esm/resources/promo/index.d.ts +0 -1
  425. package/lib/esm/resources/promo/index.js +0 -2
  426. package/lib/esm/resources/promo/promo.d.ts +0 -6
  427. package/lib/esm/resources/promo/promo.js +0 -9
  428. package/lib/esm/resources/promo/types/index.d.ts +0 -2
  429. package/lib/esm/resources/promo/types/index.js +0 -3
  430. package/lib/esm/resources/promo/types/promo-details.d.ts +0 -40
  431. package/lib/esm/resources/promo/types/promo-details.js +0 -2
  432. package/lib/esm/resources/promo/types/promo-list-item.d.ts +0 -40
  433. package/lib/esm/resources/promo/types/promo-list-item.js +0 -2
  434. package/lib/esm/resources/publisher/index.d.ts +0 -1
  435. package/lib/esm/resources/publisher/index.js +0 -2
  436. package/lib/esm/resources/publisher/publisher.d.ts +0 -6
  437. package/lib/esm/resources/publisher/publisher.js +0 -9
  438. package/lib/esm/resources/publisher/types/index.d.ts +0 -2
  439. package/lib/esm/resources/publisher/types/index.js +0 -3
  440. package/lib/esm/resources/publisher/types/publisher-details.d.ts +0 -71
  441. package/lib/esm/resources/publisher/types/publisher-details.js +0 -2
  442. package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +0 -61
  443. package/lib/esm/resources/publisher/types/publisher-list-item.js +0 -8
  444. package/lib/esm/resources/resource-factory.d.ts +0 -8
  445. package/lib/esm/resources/resource-factory.js +0 -16
  446. package/lib/esm/resources/resource-list.d.ts +0 -19
  447. package/lib/esm/resources/resource-list.js +0 -20
  448. package/lib/esm/resources/resource-map.d.ts +0 -7
  449. package/lib/esm/resources/resource-map.js +0 -36
  450. package/lib/esm/resources/resource-type.d.ts +0 -21
  451. package/lib/esm/resources/resource-type.js +0 -24
  452. package/lib/esm/resources/series/index.d.ts +0 -1
  453. package/lib/esm/resources/series/index.js +0 -2
  454. package/lib/esm/resources/series/series.d.ts +0 -6
  455. package/lib/esm/resources/series/series.js +0 -9
  456. package/lib/esm/resources/series/types/index.d.ts +0 -2
  457. package/lib/esm/resources/series/types/index.js +0 -3
  458. package/lib/esm/resources/series/types/series-details.d.ts +0 -68
  459. package/lib/esm/resources/series/types/series-details.js +0 -2
  460. package/lib/esm/resources/series/types/series-list-item.d.ts +0 -18
  461. package/lib/esm/resources/series/types/series-list-item.js +0 -2
  462. package/lib/esm/resources/story-arc/index.d.ts +0 -1
  463. package/lib/esm/resources/story-arc/index.js +0 -2
  464. package/lib/esm/resources/story-arc/story-arc.d.ts +0 -6
  465. package/lib/esm/resources/story-arc/story-arc.js +0 -9
  466. package/lib/esm/resources/story-arc/types/index.d.ts +0 -2
  467. package/lib/esm/resources/story-arc/types/index.js +0 -3
  468. package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +0 -62
  469. package/lib/esm/resources/story-arc/types/story-arc-details.js +0 -2
  470. package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
  471. package/lib/esm/resources/story-arc/types/story-arc-list-item.js +0 -2
  472. package/lib/esm/resources/team/index.d.ts +0 -1
  473. package/lib/esm/resources/team/index.js +0 -2
  474. package/lib/esm/resources/team/team.d.ts +0 -6
  475. package/lib/esm/resources/team/team.js +0 -9
  476. package/lib/esm/resources/team/types/index.d.ts +0 -2
  477. package/lib/esm/resources/team/types/index.js +0 -3
  478. package/lib/esm/resources/team/types/team-details.d.ts +0 -80
  479. package/lib/esm/resources/team/types/team-details.js +0 -2
  480. package/lib/esm/resources/team/types/team-list-item.d.ts +0 -56
  481. package/lib/esm/resources/team/types/team-list-item.js +0 -2
  482. package/lib/esm/resources/thing/index.d.ts +0 -1
  483. package/lib/esm/resources/thing/index.js +0 -2
  484. package/lib/esm/resources/thing/thing.d.ts +0 -6
  485. package/lib/esm/resources/thing/thing.js +0 -9
  486. package/lib/esm/resources/thing/types/index.d.ts +0 -2
  487. package/lib/esm/resources/thing/types/index.js +0 -3
  488. package/lib/esm/resources/thing/types/thing-details.d.ts +0 -62
  489. package/lib/esm/resources/thing/types/thing-details.js +0 -2
  490. package/lib/esm/resources/thing/types/thing-list-item.d.ts +0 -55
  491. package/lib/esm/resources/thing/types/thing-list-item.js +0 -2
  492. package/lib/esm/resources/video/index.d.ts +0 -1
  493. package/lib/esm/resources/video/index.js +0 -2
  494. package/lib/esm/resources/video/types/index.d.ts +0 -2
  495. package/lib/esm/resources/video/types/index.js +0 -3
  496. package/lib/esm/resources/video/types/video-details.d.ts +0 -63
  497. package/lib/esm/resources/video/types/video-details.js +0 -2
  498. package/lib/esm/resources/video/types/video-list-item.d.ts +0 -85
  499. package/lib/esm/resources/video/types/video-list-item.js +0 -25
  500. package/lib/esm/resources/video/video.d.ts +0 -6
  501. package/lib/esm/resources/video/video.js +0 -9
  502. package/lib/esm/resources/video-category/index.d.ts +0 -1
  503. package/lib/esm/resources/video-category/index.js +0 -2
  504. package/lib/esm/resources/video-category/types/index.d.ts +0 -2
  505. package/lib/esm/resources/video-category/types/index.js +0 -3
  506. package/lib/esm/resources/video-category/types/video-category-details.d.ts +0 -24
  507. package/lib/esm/resources/video-category/types/video-category-details.js +0 -2
  508. package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +0 -24
  509. package/lib/esm/resources/video-category/types/video-category-list-item.js +0 -2
  510. package/lib/esm/resources/video-category/video-category.d.ts +0 -6
  511. package/lib/esm/resources/video-category/video-category.js +0 -9
  512. package/lib/esm/resources/video-type/index.d.ts +0 -1
  513. package/lib/esm/resources/video-type/index.js +0 -2
  514. package/lib/esm/resources/video-type/types/index.d.ts +0 -2
  515. package/lib/esm/resources/video-type/types/index.js +0 -3
  516. package/lib/esm/resources/video-type/types/video-type-details.d.ts +0 -22
  517. package/lib/esm/resources/video-type/types/video-type-details.js +0 -2
  518. package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +0 -22
  519. package/lib/esm/resources/video-type/types/video-type-list-item.js +0 -2
  520. package/lib/esm/resources/video-type/video-type.d.ts +0 -6
  521. package/lib/esm/resources/video-type/video-type.js +0 -9
  522. package/lib/esm/resources/volume/index.d.ts +0 -1
  523. package/lib/esm/resources/volume/index.js +0 -2
  524. package/lib/esm/resources/volume/types/index.d.ts +0 -2
  525. package/lib/esm/resources/volume/types/index.js +0 -3
  526. package/lib/esm/resources/volume/types/volume-details.d.ts +0 -77
  527. package/lib/esm/resources/volume/types/volume-details.js +0 -2
  528. package/lib/esm/resources/volume/types/volume-list-item.d.ts +0 -63
  529. package/lib/esm/resources/volume/types/volume-list-item.js +0 -2
  530. package/lib/esm/resources/volume/volume.d.ts +0 -6
  531. package/lib/esm/resources/volume/volume.js +0 -9
  532. package/lib/esm/types/apply-override.d.ts +0 -1
  533. package/lib/esm/types/apply-override.js +0 -2
  534. package/lib/esm/types/http-client.d.ts +0 -4
  535. package/lib/esm/types/http-client.js +0 -2
  536. package/lib/esm/types/index.d.ts +0 -7
  537. package/lib/esm/types/index.js +0 -8
  538. package/lib/esm/types/iso-date.d.ts +0 -7
  539. package/lib/esm/types/iso-date.js +0 -2
  540. package/lib/esm/types/pick-filters.d.ts +0 -6
  541. package/lib/esm/types/pick-filters.js +0 -2
  542. package/lib/esm/types/request.d.ts +0 -31
  543. package/lib/esm/types/request.js +0 -2
  544. package/lib/esm/types/response.d.ts +0 -10
  545. package/lib/esm/types/response.js +0 -2
  546. package/lib/esm/types/url-builder.d.ts +0 -6
  547. package/lib/esm/types/url-builder.js +0 -2
  548. package/lib/esm/types/valueof.d.ts +0 -1
  549. package/lib/esm/types/valueof.js +0 -2
  550. package/lib/esm/utils/case-converter.d.ts +0 -4
  551. package/lib/esm/utils/case-converter.js +0 -27
  552. package/lib/esm/utils/index.d.ts +0 -2
  553. package/lib/esm/utils/index.js +0 -3
  554. package/lib/esm/utils/is-object.d.ts +0 -1
  555. package/lib/esm/utils/is-object.js +0 -4
  556. package/scripts/create-package-json.ts +0 -29
  557. package/vitest.config.ts +0 -8
@@ -1,10 +0,0 @@
1
- import { StatusCode } from '../http-client/status-code.js';
2
- export interface Response<Result> {
3
- error: 'OK';
4
- limit: number;
5
- offset: number;
6
- numberOfPageResults: number;
7
- numberOfTotalResults: number;
8
- statusCode: StatusCode;
9
- results: Result;
10
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzcG9uc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHlwZXMvcmVzcG9uc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFN0YXR1c0NvZGUgfSBmcm9tICcuLi9odHRwLWNsaWVudC9zdGF0dXMtY29kZS5qcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzcG9uc2U8UmVzdWx0PiB7XG4gIC8vIEEgdGV4dCBzdHJpbmcgcmVwcmVzZW50aW5nIHRoZSBzdGF0dXNfY29kZVxuICBlcnJvcjogJ09LJztcbiAgLy8gVGhlIHZhbHVlIG9mIHRoZSBsaW1pdCBmaWx0ZXIgc3BlY2lmaWVkLCBvciAxMDAgaWYgbm90IHNwZWNpZmllZFxuICBsaW1pdDogbnVtYmVyO1xuICAvLyBUaGUgdmFsdWUgb2YgdGhlIG9mZnNldCBmaWx0ZXIgc3BlY2lmaWVkLCBvciAwIGlmIG5vdCBzcGVjaWZpZWRcbiAgb2Zmc2V0OiBudW1iZXI7XG4gIC8vIFRoZSBudW1iZXIgb2YgcmVzdWx0cyBvbiB0aGlzIHBhZ2VcbiAgbnVtYmVyT2ZQYWdlUmVzdWx0czogbnVtYmVyO1xuICAvLyBUaGUgbnVtYmVyIG9mIHRvdGFsIHJlc3VsdHMgbWF0Y2hpbmcgdGhlIGZpbHRlciBjb25kaXRpb25zIHNwZWNpZmllZFxuICBudW1iZXJPZlRvdGFsUmVzdWx0czogbnVtYmVyO1xuICAvLyBBbiBpbnRlZ2VyIGluZGljYXRpbmcgdGhlIHJlc3VsdCBvZiB0aGUgcmVxdWVzdFxuICBzdGF0dXNDb2RlOiBTdGF0dXNDb2RlO1xuICAvLyBaZXJvIG9yIG1vcmUgaXRlbXMgdGhhdCBtYXRjaCB0aGUgZmlsdGVycyBzcGVjaWZpZWRcbiAgcmVzdWx0czogUmVzdWx0O1xufVxuIl19
@@ -1,6 +0,0 @@
1
- import { RetrieveOptions, ListOptions } from './index.js';
2
- import { ResourceType } from '../resources/resource-type.js';
3
- export interface UrlBuilder {
4
- retrieve<Key>(resourceType: ResourceType, id: number, requestOptions?: RetrieveOptions<Key> | undefined): string;
5
- list<Resource, FilterType>(resourceType: ResourceType, requestOptions?: ListOptions<Resource, FilterType> | undefined): string;
6
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLWJ1aWxkZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdHlwZXMvdXJsLWJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFJldHJpZXZlT3B0aW9ucywgTGlzdE9wdGlvbnMgfSBmcm9tICcuL2luZGV4LmpzJztcbmltcG9ydCB7IFJlc291cmNlVHlwZSB9IGZyb20gJy4uL3Jlc291cmNlcy9yZXNvdXJjZS10eXBlLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBVcmxCdWlsZGVyIHtcbiAgcmV0cmlldmU8S2V5PihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICBpZDogbnVtYmVyLFxuICAgIHJlcXVlc3RPcHRpb25zPzogUmV0cmlldmVPcHRpb25zPEtleT4gfCB1bmRlZmluZWQsXG4gICk6IHN0cmluZztcblxuICBsaXN0PFJlc291cmNlLCBGaWx0ZXJUeXBlPihcbiAgICByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSxcbiAgICByZXF1ZXN0T3B0aW9ucz86IExpc3RPcHRpb25zPFJlc291cmNlLCBGaWx0ZXJUeXBlPiB8IHVuZGVmaW5lZCxcbiAgKTogc3RyaW5nO1xufVxuIl19
@@ -1 +0,0 @@
1
- export type ValueOf<T> = T[keyof T];
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWVvZi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90eXBlcy92YWx1ZW9mLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBWYWx1ZU9mPFQ+ID0gVFtrZXlvZiBUXTtcbiJdfQ==
@@ -1,4 +0,0 @@
1
- export declare const toCamelCase: (str: string) => string;
2
- export declare const toSnakeCase: (str: string) => string;
3
- export declare const convertSnakeCaseToCamelCase: <ReturnType>(object: unknown) => ReturnType;
4
- export declare const convertCamelCaseToSnakeCase: <ReturnType>(object: unknown) => ReturnType;
@@ -1,27 +0,0 @@
1
- import { isObject } from './is-object.js';
2
- export const toCamelCase = (str) => {
3
- return str.replace(/([-_][a-z])/gi, ($1) => {
4
- return $1.toUpperCase().replace('-', '').replace('_', '');
5
- });
6
- };
7
- export const toSnakeCase = (str) => str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
8
- const convertCase = (caseConverter, object) => {
9
- if (isObject(object)) {
10
- const newObject = {};
11
- Object.keys(object).forEach((key) => {
12
- newObject[caseConverter(key)] = convertCase(caseConverter, object[key]);
13
- });
14
- return newObject;
15
- }
16
- else if (Array.isArray(object)) {
17
- return object.map((arrayElement) => convertCase(caseConverter, arrayElement));
18
- }
19
- return object;
20
- };
21
- export const convertSnakeCaseToCamelCase = (object) => {
22
- return convertCase(toCamelCase, object);
23
- };
24
- export const convertCamelCaseToSnakeCase = (object) => {
25
- return convertCase(toSnakeCase, object);
26
- };
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzZS1jb252ZXJ0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvY2FzZS1jb252ZXJ0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRTFDLE1BQU0sQ0FBQyxNQUFNLFdBQVcsR0FBRyxDQUFDLEdBQVcsRUFBVSxFQUFFO0lBQ2pELE9BQU8sR0FBRyxDQUFDLE9BQU8sQ0FBQyxlQUFlLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRTtRQUN6QyxPQUFPLEVBQUUsQ0FBQyxXQUFXLEVBQUUsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDNUQsQ0FBQyxDQUFDLENBQUM7QUFDTCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxXQUFXLEdBQUcsQ0FBQyxHQUFXLEVBQUUsRUFBRSxDQUN6QyxHQUFHLENBQUMsT0FBTyxDQUFDLFFBQVEsRUFBRSxDQUFDLE1BQU0sRUFBRSxFQUFFLENBQUMsSUFBSSxNQUFNLENBQUMsV0FBVyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBSWhFLE1BQU0sV0FBVyxHQUFHLENBQ2xCLGFBQTRCLEVBQzVCLE1BQWUsRUFDTixFQUFFO0lBQ1gsSUFBSSxRQUFRLENBQUMsTUFBTSxDQUFDLEVBQUUsQ0FBQztRQUNyQixNQUFNLFNBQVMsR0FBNEIsRUFBRSxDQUFDO1FBRTlDLE1BQU0sQ0FBQyxJQUFJLENBQUMsTUFBaUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLEdBQUcsRUFBRSxFQUFFO1lBQzdELFNBQVMsQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLENBQUMsR0FBRyxXQUFXLENBQ3pDLGFBQWEsRUFDWixNQUFrQyxDQUFDLEdBQUcsQ0FBQyxDQUN6QyxDQUFDO1FBQ0osQ0FBQyxDQUFDLENBQUM7UUFFSCxPQUFPLFNBQVMsQ0FBQztJQUNuQixDQUFDO1NBQU0sSUFBSSxLQUFLLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxFQUFFLENBQUM7UUFDakMsT0FBTyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsWUFBWSxFQUFFLEVBQUUsQ0FDakMsV0FBVyxDQUFDLGFBQWEsRUFBRSxZQUFZLENBQUMsQ0FDekMsQ0FBQztJQUNKLENBQUM7SUFFRCxPQUFPLE1BQU0sQ0FBQztBQUNoQixDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUN6QyxNQUFlLEVBQ0gsRUFBRTtJQUNkLE9BQU8sV0FBVyxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQWUsQ0FBQztBQUN4RCxDQUFDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSwyQkFBMkIsR0FBRyxDQUN6QyxNQUFlLEVBQ0gsRUFBRTtJQUNkLE9BQU8sV0FBVyxDQUFDLFdBQVcsRUFBRSxNQUFNLENBQWUsQ0FBQztBQUN4RCxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBpc09iamVjdCB9IGZyb20gJy4vaXMtb2JqZWN0LmpzJztcblxuZXhwb3J0IGNvbnN0IHRvQ2FtZWxDYXNlID0gKHN0cjogc3RyaW5nKTogc3RyaW5nID0+IHtcbiAgcmV0dXJuIHN0ci5yZXBsYWNlKC8oWy1fXVthLXpdKS9naSwgKCQxKSA9PiB7XG4gICAgcmV0dXJuICQxLnRvVXBwZXJDYXNlKCkucmVwbGFjZSgnLScsICcnKS5yZXBsYWNlKCdfJywgJycpO1xuICB9KTtcbn07XG5cbmV4cG9ydCBjb25zdCB0b1NuYWtlQ2FzZSA9IChzdHI6IHN0cmluZykgPT5cbiAgc3RyLnJlcGxhY2UoL1tBLVpdL2csIChsZXR0ZXIpID0+IGBfJHtsZXR0ZXIudG9Mb3dlckNhc2UoKX1gKTtcblxudHlwZSBDYXNlQ29udmVydGVyID0gKHN0cjogc3RyaW5nKSA9PiBzdHJpbmc7XG5cbmNvbnN0IGNvbnZlcnRDYXNlID0gKFxuICBjYXNlQ29udmVydGVyOiBDYXNlQ29udmVydGVyLFxuICBvYmplY3Q6IHVua25vd24sXG4pOiB1bmtub3duID0+IHtcbiAgaWYgKGlzT2JqZWN0KG9iamVjdCkpIHtcbiAgICBjb25zdCBuZXdPYmplY3Q6IFJlY29yZDxzdHJpbmcsIHVua25vd24+ID0ge307XG5cbiAgICBPYmplY3Qua2V5cyhvYmplY3QgYXMgUmVjb3JkPHN0cmluZywgdW5rbm93bj4pLmZvckVhY2goKGtleSkgPT4ge1xuICAgICAgbmV3T2JqZWN0W2Nhc2VDb252ZXJ0ZXIoa2V5KV0gPSBjb252ZXJ0Q2FzZShcbiAgICAgICAgY2FzZUNvbnZlcnRlcixcbiAgICAgICAgKG9iamVjdCBhcyBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPilba2V5XSxcbiAgICAgICk7XG4gICAgfSk7XG5cbiAgICByZXR1cm4gbmV3T2JqZWN0O1xuICB9IGVsc2UgaWYgKEFycmF5LmlzQXJyYXkob2JqZWN0KSkge1xuICAgIHJldHVybiBvYmplY3QubWFwKChhcnJheUVsZW1lbnQpID0+XG4gICAgICBjb252ZXJ0Q2FzZShjYXNlQ29udmVydGVyLCBhcnJheUVsZW1lbnQpLFxuICAgICk7XG4gIH1cblxuICByZXR1cm4gb2JqZWN0O1xufTtcblxuZXhwb3J0IGNvbnN0IGNvbnZlcnRTbmFrZUNhc2VUb0NhbWVsQ2FzZSA9IDxSZXR1cm5UeXBlPihcbiAgb2JqZWN0OiB1bmtub3duLFxuKTogUmV0dXJuVHlwZSA9PiB7XG4gIHJldHVybiBjb252ZXJ0Q2FzZSh0b0NhbWVsQ2FzZSwgb2JqZWN0KSBhcyBSZXR1cm5UeXBlO1xufTtcblxuZXhwb3J0IGNvbnN0IGNvbnZlcnRDYW1lbENhc2VUb1NuYWtlQ2FzZSA9IDxSZXR1cm5UeXBlPihcbiAgb2JqZWN0OiB1bmtub3duLFxuKTogUmV0dXJuVHlwZSA9PiB7XG4gIHJldHVybiBjb252ZXJ0Q2FzZSh0b1NuYWtlQ2FzZSwgb2JqZWN0KSBhcyBSZXR1cm5UeXBlO1xufTtcbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from './case-converter.js';
2
- export * from './is-object.js';
@@ -1,3 +0,0 @@
1
- export * from './case-converter.js';
2
- export * from './is-object.js';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jYXNlLWNvbnZlcnRlci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2lzLW9iamVjdC5qcyc7XG4iXX0=
@@ -1 +0,0 @@
1
- export declare const isObject: (maybeObject: unknown) => boolean;
@@ -1,4 +0,0 @@
1
- export const isObject = (maybeObject) => maybeObject === Object(maybeObject) &&
2
- !Array.isArray(maybeObject) &&
3
- typeof maybeObject !== 'function';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtb2JqZWN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3V0aWxzL2lzLW9iamVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQUcsQ0FBQyxXQUFvQixFQUFFLEVBQUUsQ0FDL0MsV0FBVyxLQUFLLE1BQU0sQ0FBQyxXQUFXLENBQUM7SUFDbkMsQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQztJQUMzQixPQUFPLFdBQVcsS0FBSyxVQUFVLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgaXNPYmplY3QgPSAobWF5YmVPYmplY3Q6IHVua25vd24pID0+XG4gIG1heWJlT2JqZWN0ID09PSBPYmplY3QobWF5YmVPYmplY3QpICYmXG4gICFBcnJheS5pc0FycmF5KG1heWJlT2JqZWN0KSAmJlxuICB0eXBlb2YgbWF5YmVPYmplY3QgIT09ICdmdW5jdGlvbic7XG4iXX0=
@@ -1,29 +0,0 @@
1
- /**
2
- * Creates a package.json for the given build type
3
- */
4
- import fs from 'fs';
5
- import path from 'path';
6
- import { program } from 'commander';
7
-
8
- program
9
- .option('--moduleType <string>', 'The module type, cjs or esm')
10
- .option(
11
- '--packageJsonType <string>',
12
- 'The package.json type, either commonjs or module'
13
- );
14
- program.parse();
15
-
16
- const options = program.opts();
17
-
18
- const type = options.packageJsonType;
19
-
20
- fs.writeFileSync(
21
- path.resolve('lib', options.moduleType, 'package.json'),
22
- JSON.stringify(
23
- {
24
- type,
25
- },
26
- null,
27
- 2
28
- )
29
- );
package/vitest.config.ts DELETED
@@ -1,8 +0,0 @@
1
- import { defineConfig } from 'vitest/config';
2
-
3
- export default defineConfig({
4
- test: {
5
- silent: true,
6
- globals: true,
7
- },
8
- });