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
package/.releaserc.json DELETED
@@ -1,17 +0,0 @@
1
- {
2
- "branches": [
3
- "+([0-9])?(.{+([0-9]),x}).x",
4
- "main",
5
- "next",
6
- { "name": "alpha", "prerelease": true },
7
- { "name": "beta", "prerelease": true }
8
- ],
9
- "plugins": [
10
- "@semantic-release/commit-analyzer",
11
- "@semantic-release/release-notes-generator",
12
- "@semantic-release/changelog",
13
- "@semantic-release/npm",
14
- "@semantic-release/github",
15
- "@semantic-release/git"
16
- ]
17
- }
package/CHANGELOG.md DELETED
@@ -1,97 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
-
5
- ### [1.3.2](https://github.com/AllyMurray/comic-vine/compare/v1.3.1...v1.3.2) (2025-07-03)
6
-
7
- ## [1.2.8] - 2024-01-01
8
-
9
- ### Changed
10
-
11
- - Migrated from Projen to standard npm project structure
12
- - Updated GitHub Actions workflows to use artifact actions v4
13
- - Improved build process and release workflow
14
-
15
- ## [1.2.5](https://github.com/AllyMurray/comic-vine/compare/v1.2.4...v1.2.5) (2023-03-18)
16
-
17
- ### Bug Fixes
18
-
19
- - upgrade zod from 3.20.2 to 3.20.5 ([31755e7](https://github.com/AllyMurray/comic-vine/commit/31755e711b7a61fced6da6554461b45f4db43046))
20
- - upgrade zod from 3.20.5 to 3.20.6 ([4c32d5b](https://github.com/AllyMurray/comic-vine/commit/4c32d5b8f8d94da50a1a4c456f360dbe9d53beaf))
21
-
22
- ## [1.2.4](https://github.com/AllyMurray/comic-vine/compare/v1.2.3...v1.2.4) (2023-01-31)
23
-
24
- ### Bug Fixes
25
-
26
- - :package: publish typings to npm ([f132dd6](https://github.com/AllyMurray/comic-vine/commit/f132dd6e3d8a2983e5e8b20434c6d491123503e4))
27
-
28
- ## [1.2.3](https://github.com/AllyMurray/comic-vine/compare/v1.2.2...v1.2.3) (2023-01-22)
29
-
30
- ### Bug Fixes
31
-
32
- - upgrade zod from 3.19.1 to 3.20.2 ([4576f78](https://github.com/AllyMurray/comic-vine/commit/4576f78a34a5470274da2d384814bf8f85e977fe))
33
-
34
- ## [1.2.2](https://github.com/AllyMurray/comic-vine/compare/v1.2.1...v1.2.2) (2022-12-04)
35
-
36
- ### Bug Fixes
37
-
38
- - **typo in pagination example:** typo in pagination example ([3b3d3c5](https://github.com/AllyMurray/comic-vine/commit/3b3d3c5b30ce42672767f1a17d78b792a6dc3a0f))
39
-
40
- ## [1.2.1](https://github.com/AllyMurray/comic-vine/compare/v1.2.0...v1.2.1) (2022-12-04)
41
-
42
- ### Bug Fixes
43
-
44
- - **auto pagination example:** fixes the autopagination example so limit is set to 50 ([a198408](https://github.com/AllyMurray/comic-vine/commit/a19840857a67c71f8cd671f47335b8c7a6f28f4d))
45
-
46
- # [1.2.0](https://github.com/AllyMurray/comic-vine/compare/v1.1.1...v1.2.0) (2022-12-04)
47
-
48
- ### Features
49
-
50
- - **auto pagination:** add auto pagination to list methods ([a5fa379](https://github.com/AllyMurray/comic-vine/commit/a5fa379e9cc267552741aa5f82c06b8242f55856))
51
-
52
- ## [1.1.1](https://github.com/AllyMurray/comic-vine/compare/v1.1.0...v1.1.1) (2022-10-15)
53
-
54
- ### Bug Fixes
55
-
56
- - **options docs:** add missing documentation for setting baseUrl ([6954695](https://github.com/AllyMurray/comic-vine/commit/6954695b6d3322fde38258fcc1f50fc6a83aa72e))
57
-
58
- # [1.1.0](https://github.com/AllyMurray/comic-vine/compare/v1.0.4...v1.1.0) (2022-10-15)
59
-
60
- ### Features
61
-
62
- - **library options:** allow setting baseUrl when initializing the library ([07fe7e3](https://github.com/AllyMurray/comic-vine/commit/07fe7e3905bea006b8a15dc0b545a0ae1f53f084))
63
-
64
- ## [1.0.4](https://github.com/AllyMurray/comic-vine/compare/v1.0.3...v1.0.4) (2022-10-08)
65
-
66
- ### Bug Fixes
67
-
68
- - **typings:** improve the api response typings ([e5bf556](https://github.com/AllyMurray/comic-vine/commit/e5bf5561149e1cff6e0c538dacf3c8fc71b6c935))
69
-
70
- ## [1.0.3](https://github.com/AllyMurray/comic-vine/compare/v1.0.2...v1.0.3) (2022-10-07)
71
-
72
- ### Bug Fixes
73
-
74
- - **tsconfig.json:** remove comments so that the file can be parsed by snyk ([fe715f7](https://github.com/AllyMurray/comic-vine/commit/fe715f72840bce8247c0550c21fa45d555b7990f))
75
-
76
- ## [1.0.2](https://github.com/AllyMurray/comic-vine/compare/v1.0.1...v1.0.2) (2022-10-07)
77
-
78
- ### Bug Fixes
79
-
80
- - **character details typings:** birth can be null or string, change any arrays to SiteResource array ([5a69bd3](https://github.com/AllyMurray/comic-vine/commit/5a69bd3b6394b2a389cdf7c5b9b4713350788fb8))
81
-
82
- ## [1.0.1](https://github.com/AllyMurray/comic-vine/compare/v1.0.0...v1.0.1) (2022-10-05)
83
-
84
- ### Bug Fixes
85
-
86
- - **ts build:** update typescript typings to remove false positives in vscode problems window ([ece4080](https://github.com/AllyMurray/comic-vine/commit/ece4080370be2635712b1978f2e6d7f6c88ddc40))
87
-
88
- # [1.0.0](https://github.com/AllyMurray/comic-vine/compare/efa0a077ec5104451fc33ab773d888bb79f6438f...v1.0.0) (2022-09-30)
89
-
90
- ### Bug Fixes
91
-
92
- - **npm publish:** rename npm package ([37eb3a1](https://github.com/AllyMurray/comic-vine/commit/37eb3a17b9b8cd1c58e09b2efcb1380e10124d14))
93
- - **npm publish:** rename npm package to comic-vine-sdk ([26fe0d8](https://github.com/AllyMurray/comic-vine/commit/26fe0d8321c7ed4df57664e5006a798e296b17dc))
94
-
95
- ### Features
96
-
97
- - **gh workflow:** automate release to npm ([efa0a07](https://github.com/AllyMurray/comic-vine/commit/efa0a077ec5104451fc33ab773d888bb79f6438f))
@@ -1,128 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our
6
- community a harassment-free experience for everyone, regardless of age, body
7
- size, visible or invisible disability, ethnicity, sex characteristics, gender
8
- identity and expression, level of experience, education, socio-economic status,
9
- nationality, personal appearance, race, religion, or sexual identity
10
- and orientation.
11
-
12
- We pledge to act and interact in ways that contribute to an open, welcoming,
13
- diverse, inclusive, and healthy community.
14
-
15
- ## Our Standards
16
-
17
- Examples of behavior that contributes to a positive environment for our
18
- community include:
19
-
20
- - Demonstrating empathy and kindness toward other people
21
- - Being respectful of differing opinions, viewpoints, and experiences
22
- - Giving and gracefully accepting constructive feedback
23
- - Accepting responsibility and apologizing to those affected by our mistakes,
24
- and learning from the experience
25
- - Focusing on what is best not just for us as individuals, but for the
26
- overall community
27
-
28
- Examples of unacceptable behavior include:
29
-
30
- - The use of sexualized language or imagery, and sexual attention or
31
- advances of any kind
32
- - Trolling, insulting or derogatory comments, and personal or political attacks
33
- - Public or private harassment
34
- - Publishing others' private information, such as a physical or email
35
- address, without their explicit permission
36
- - Other conduct which could reasonably be considered inappropriate in a
37
- professional setting
38
-
39
- ## Enforcement Responsibilities
40
-
41
- Community leaders are responsible for clarifying and enforcing our standards of
42
- acceptable behavior and will take appropriate and fair corrective action in
43
- response to any behavior that they deem inappropriate, threatening, offensive,
44
- or harmful.
45
-
46
- Community leaders have the right and responsibility to remove, edit, or reject
47
- comments, commits, code, wiki edits, issues, and other contributions that are
48
- not aligned to this Code of Conduct, and will communicate reasons for moderation
49
- decisions when appropriate.
50
-
51
- ## Scope
52
-
53
- This Code of Conduct applies within all community spaces, and also applies when
54
- an individual is officially representing the community in public spaces.
55
- Examples of representing our community include using an official e-mail address,
56
- posting via an official social media account, or acting as an appointed
57
- representative at an online or offline event.
58
-
59
- ## Enforcement
60
-
61
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
- reported to the community leaders responsible for enforcement at
63
- allymurray88@gmail.com.
64
- All complaints will be reviewed and investigated promptly and fairly.
65
-
66
- All community leaders are obligated to respect the privacy and security of the
67
- reporter of any incident.
68
-
69
- ## Enforcement Guidelines
70
-
71
- Community leaders will follow these Community Impact Guidelines in determining
72
- the consequences for any action they deem in violation of this Code of Conduct:
73
-
74
- ### 1. Correction
75
-
76
- **Community Impact**: Use of inappropriate language or other behavior deemed
77
- unprofessional or unwelcome in the community.
78
-
79
- **Consequence**: A private, written warning from community leaders, providing
80
- clarity around the nature of the violation and an explanation of why the
81
- behavior was inappropriate. A public apology may be requested.
82
-
83
- ### 2. Warning
84
-
85
- **Community Impact**: A violation through a single incident or series
86
- of actions.
87
-
88
- **Consequence**: A warning with consequences for continued behavior. No
89
- interaction with the people involved, including unsolicited interaction with
90
- those enforcing the Code of Conduct, for a specified period of time. This
91
- includes avoiding interactions in community spaces as well as external channels
92
- like social media. Violating these terms may lead to a temporary or
93
- permanent ban.
94
-
95
- ### 3. Temporary Ban
96
-
97
- **Community Impact**: A serious violation of community standards, including
98
- sustained inappropriate behavior.
99
-
100
- **Consequence**: A temporary ban from any sort of interaction or public
101
- communication with the community for a specified period of time. No public or
102
- private interaction with the people involved, including unsolicited interaction
103
- with those enforcing the Code of Conduct, is allowed during this period.
104
- Violating these terms may lead to a permanent ban.
105
-
106
- ### 4. Permanent Ban
107
-
108
- **Community Impact**: Demonstrating a pattern of violation of community
109
- standards, including sustained inappropriate behavior, harassment of an
110
- individual, or aggression toward or disparagement of classes of individuals.
111
-
112
- **Consequence**: A permanent ban from any sort of public interaction within
113
- the community.
114
-
115
- ## Attribution
116
-
117
- This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
- version 2.0, available at
119
- https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
-
121
- Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
- enforcement ladder](https://github.com/mozilla/diversity).
123
-
124
- [homepage]: https://www.contributor-covenant.org
125
-
126
- For answers to common questions about this code of conduct, see the FAQ at
127
- https://www.contributor-covenant.org/faq. Translations are available at
128
- https://www.contributor-covenant.org/translations.
package/CONTRIBUTING.md DELETED
@@ -1,294 +0,0 @@
1
- # Contributing to Comic Vine SDK
2
-
3
- Thank you for your interest in contributing to the Comic Vine SDK! This document provides guidelines and information to help you contribute effectively to the project.
4
-
5
- ## Table of Contents
6
-
7
- - [Code of Conduct](#code-of-conduct)
8
- - [Getting Started](#getting-started)
9
- - [Development Setup](#development-setup)
10
- - [Development Workflow](#development-workflow)
11
- - [Code Standards](#code-standards)
12
- - [Testing](#testing)
13
- - [Submitting Changes](#submitting-changes)
14
- - [Project Structure](#project-structure)
15
- - [Resources](#resources)
16
-
17
- ## Code of Conduct
18
-
19
- This project adheres to a [Code of Conduct](./CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [allymurray88@gmail.com](mailto:allymurray88@gmail.com).
20
-
21
- ## Getting Started
22
-
23
- ### Prerequisites
24
-
25
- Before you begin, ensure you have the following installed:
26
-
27
- - **Node.js**: Version 20.0.0 or higher
28
- - **pnpm**: Version 9.15.4+ (specified in package.json)
29
- ```bash
30
- npm install -g pnpm@9.15.4
31
- ```
32
-
33
- ### Development Setup
34
-
35
- 1. **Fork and Clone**
36
-
37
- ```bash
38
- git clone https://github.com/your-username/comic-vine.git
39
- cd comic-vine
40
- ```
41
-
42
- 2. **Install Dependencies**
43
-
44
- ```bash
45
- pnpm install
46
- ```
47
-
48
- 3. **Verify Setup**
49
- ```bash
50
- pnpm test
51
- ```
52
-
53
- If all tests pass, you're ready to start developing!
54
-
55
- ## Development Workflow
56
-
57
- ### Creating a Branch
58
-
59
- 1. Create a feature branch from `main`:
60
-
61
- ```bash
62
- git checkout -b feature/your-feature-name
63
- # or
64
- git checkout -b fix/issue-description
65
- ```
66
-
67
- 2. Use descriptive branch names:
68
- - `feature/add-search-pagination`
69
- - `fix/handle-rate-limiting`
70
- - `docs/update-readme-examples`
71
-
72
- ### Making Changes
73
-
74
- 1. **Write Code**: Follow the [Code Standards](#code-standards) below
75
- 2. **Add Tests**: Ensure new functionality has corresponding tests
76
- 3. **Run Tests**: `pnpm test` to run tests and linting
77
- 4. **Build**: `pnpm compile` to ensure your changes compile correctly
78
-
79
- ### Commit Messages
80
-
81
- Follow conventional commit format:
82
-
83
- ```
84
- type(scope): description
85
-
86
- [optional body]
87
-
88
- [optional footer]
89
- ```
90
-
91
- **Types:**
92
-
93
- - `feat`: New feature
94
- - `fix`: Bug fix
95
- - `docs`: Documentation changes
96
- - `style`: Code style changes (formatting, etc.)
97
- - `refactor`: Code refactoring
98
- - `test`: Adding or updating tests
99
- - `chore`: Maintenance tasks
100
-
101
- **Examples:**
102
-
103
- ```
104
- feat(resources): add pagination support to character list
105
- fix(http-client): handle network timeout errors
106
- docs(readme): update installation instructions
107
- ```
108
-
109
- ## Code Standards
110
-
111
- ### TypeScript Guidelines
112
-
113
- - **Type Safety**: Prefer explicit types over `any`
114
- - **Interfaces**: Use interfaces for object shapes
115
- - **Generics**: Leverage generics for reusable components
116
- - **Strict Mode**: The project uses strict TypeScript settings
117
-
118
- ### Code Style
119
-
120
- The project uses **ESLint** and **Prettier** for code formatting:
121
-
122
- ```bash
123
- # Auto-fix linting issues and format code
124
- pnpm lint
125
-
126
- # Check linting without fixing
127
- npx eslint src --ext .ts
128
- ```
129
-
130
- **Key Style Rules:**
131
-
132
- - Use camelCase for variables and functions
133
- - Use PascalCase for classes and interfaces
134
- - Prefer `const` over `let` when possible
135
- - Use meaningful variable names
136
- - Add JSDoc comments for public APIs
137
-
138
- ### Import Organization
139
-
140
- Imports should be organized as follows:
141
-
142
- ```typescript
143
- // 1. Built-in Node.js modules
144
- import { readFile } from 'fs/promises';
145
-
146
- // 2. External dependencies
147
- import axios from 'axios';
148
- import { z } from 'zod';
149
-
150
- // 3. Internal modules (ordered alphabetically)
151
- import { BaseResource } from './base-resource';
152
- import { HttpClient } from './http-client';
153
- ```
154
-
155
- ## Testing
156
-
157
- ### Running Tests
158
-
159
- ```bash
160
- # Run all tests with linting
161
- pnpm test
162
-
163
- # Run tests only (without linting)
164
- pnpm test:run
165
-
166
- # Run tests in watch mode
167
- npx vitest --dir=src
168
- ```
169
-
170
- ### Writing Tests
171
-
172
- 1. **Location**: Place test files alongside source files with `.test.ts` extension
173
- 2. **Naming**: Use descriptive test names that explain the behavior being tested
174
- 3. **Structure**: Follow Arrange-Act-Assert pattern
175
-
176
- **Example Test:**
177
-
178
- ```typescript
179
- import { describe, test, expect } from 'vitest';
180
-
181
- describe('ResourceName', () => {
182
- test('should return correct data when field list is specified', async () => {
183
- // Arrange
184
- const expectedFields = ['id', 'name'];
185
-
186
- // Act
187
- const result = await resource.retrieve(123, { fieldList: expectedFields });
188
-
189
- // Assert
190
- expect(Object.keys(result)).toEqual(expectedFields);
191
- });
192
- });
193
- ```
194
-
195
- ### Test Coverage
196
-
197
- - Write tests for all new functionality
198
- - Include both success and error scenarios
199
- - Mock external dependencies using **nock** for HTTP requests
200
- - Test files are located in `src/__mocks__/` for mock data
201
-
202
- ## Submitting Changes
203
-
204
- ### Pull Request Process
205
-
206
- 1. **Update Documentation**: Ensure README, JSDoc, and other docs reflect your changes
207
-
208
- 2. **Verify Quality Checks**: All checks must pass before merging
209
-
210
- ```bash
211
- pnpm test:run # All tests pass
212
- pnpm lint # No linting errors
213
- pnpm compile # Code compiles successfully
214
- ```
215
-
216
- 3. **Create Pull Request**:
217
- - Use a descriptive title
218
- - Reference any related issues
219
- - Provide clear description of changes
220
- - Include examples if adding new features
221
-
222
- 4. **Review Process**:
223
- - Maintainers will review your PR
224
- - Address any feedback promptly
225
- - See [CODE_REVIEW.md](./CODE_REVIEW.md) for review criteria
226
-
227
- ### Pre-commit Hooks
228
-
229
- The project uses **Husky** and **lint-staged** to ensure code quality:
230
-
231
- - **Auto-formatting**: Prettier formats code on commit
232
- - **Linting**: ESLint checks are enforced
233
- - **Type checking**: TypeScript compilation is verified
234
-
235
- If pre-commit hooks fail, fix the issues before committing:
236
-
237
- ```bash
238
- pnpm lint # Fix linting issues
239
- git add . # Stage the fixes
240
- git commit # Try committing again
241
- ```
242
-
243
- ## Project Structure
244
-
245
- ```
246
- src/
247
- ├── comic-vine.ts # Main SDK class
248
- ├── errors/ # Custom error classes
249
- ├── http-client/ # HTTP client and URL builder
250
- ├── options/ # Configuration options
251
- ├── resources/ # API resource implementations
252
- │ ├── base-resource.ts # Base class for all resources
253
- │ ├── character/ # Character-specific code
254
- │ ├── issue/ # Issue-specific code
255
- │ └── ... # Other Comic Vine resources
256
- ├── types/ # TypeScript type definitions
257
- └── utils/ # Utility functions
258
- ```
259
-
260
- ### Adding New Resources
261
-
262
- When adding support for a new Comic Vine API resource:
263
-
264
- 1. Create a new directory under `src/resources/`
265
- 2. Implement the resource class extending `BaseResource`
266
- 3. Add TypeScript types in a `types/` subdirectory
267
- 4. Write comprehensive tests
268
- 5. Update the main `ComicVine` class to include the new resource
269
- 6. Add mock data for testing
270
-
271
- ## Resources
272
-
273
- ### Documentation
274
-
275
- - [Comic Vine API Documentation](https://comicvine.gamespot.com/api/documentation)
276
- - [Project README](./README.md)
277
- - [Code Review Guidelines](./CODE_REVIEW.md)
278
-
279
- ### Getting Help
280
-
281
- - **Issues**: [GitHub Issues](https://github.com/AllyMurray/comic-vine/issues)
282
- - **Discussions**: Use GitHub Discussions for questions
283
-
284
- ### Development Tools
285
-
286
- - **Package Manager**: [pnpm](https://pnpm.io/)
287
- - **Testing**: [Vitest](https://vitest.dev/)
288
- - **Linting**: [ESLint](https://eslint.org/) + [TypeScript ESLint](https://typescript-eslint.io/)
289
- - **Formatting**: [Prettier](https://prettier.io/)
290
- - **Git Hooks**: [Husky](https://typicode.github.io/husky/)
291
-
292
- ---
293
-
294
- Thank you for contributing to Comic Vine SDK! Your contributions help make this library better for everyone. 🚀
package/eslint.config.js DELETED
@@ -1,168 +0,0 @@
1
- // @ts-check
2
- import eslint from '@eslint/js';
3
- import importPlugin from 'eslint-plugin-import';
4
- import prettierPlugin from 'eslint-plugin-prettier';
5
- import prettierConfig from 'eslint-config-prettier';
6
- import tseslint from 'typescript-eslint';
7
- import globals from 'globals';
8
-
9
- export default tseslint.config(
10
- // Base ESLint recommended rules
11
- eslint.configs.recommended,
12
-
13
- // TypeScript ESLint recommended rules
14
- ...tseslint.configs.recommended,
15
-
16
- // Prettier config to disable formatting rules that conflict with Prettier
17
- prettierConfig,
18
-
19
- // Base configuration for all files
20
- {
21
- plugins: {
22
- import: importPlugin,
23
- prettier: prettierPlugin,
24
- },
25
-
26
- languageOptions: {
27
- ecmaVersion: 2018,
28
- sourceType: 'module',
29
- globals: {
30
- ...globals.node,
31
- },
32
- },
33
-
34
- settings: {
35
- 'import/parsers': {
36
- '@typescript-eslint/parser': ['.ts', '.tsx'],
37
- },
38
- 'import/resolver': {
39
- node: {},
40
- typescript: {
41
- project: './tsconfig.dev.json',
42
- alwaysTryTypes: true,
43
- },
44
- },
45
- },
46
-
47
- rules: {
48
- 'prettier/prettier': ['error'],
49
- 'import/no-extraneous-dependencies': [
50
- 'error',
51
- {
52
- devDependencies: [
53
- '**/test/**',
54
- '**/build-tools/**',
55
- '.projenrc.ts',
56
- 'projenrc/**/*.ts',
57
- ],
58
- optionalDependencies: false,
59
- peerDependencies: true,
60
- },
61
- ],
62
- 'import/no-unresolved': ['error'],
63
- 'import/order': [
64
- 'warn',
65
- {
66
- groups: ['builtin', 'external'],
67
- alphabetize: {
68
- order: 'asc',
69
- caseInsensitive: true,
70
- },
71
- },
72
- ],
73
- 'no-duplicate-imports': ['error'],
74
- 'no-shadow': ['off'],
75
- '@typescript-eslint/no-shadow': ['error'],
76
- '@typescript-eslint/no-unused-vars': [
77
- 'error',
78
- {
79
- argsIgnorePattern: '^_',
80
- varsIgnorePattern: '^_',
81
- caughtErrorsIgnorePattern: '^_',
82
- },
83
- ],
84
- 'key-spacing': ['error'],
85
- 'no-multiple-empty-lines': ['error'],
86
- '@typescript-eslint/no-floating-promises': ['error'],
87
- 'no-return-await': ['off'],
88
- '@typescript-eslint/return-await': ['error'],
89
- 'no-trailing-spaces': ['error'],
90
- 'dot-notation': ['error'],
91
- 'no-bitwise': ['error'],
92
- '@typescript-eslint/member-ordering': [
93
- 'error',
94
- {
95
- default: [
96
- 'public-static-field',
97
- 'public-static-method',
98
- 'protected-static-field',
99
- 'protected-static-method',
100
- 'private-static-field',
101
- 'private-static-method',
102
- 'field',
103
- 'constructor',
104
- 'method',
105
- ],
106
- },
107
- ],
108
- },
109
- },
110
-
111
- // Configuration for TypeScript files
112
- {
113
- files: ['**/*.ts', '**/*.tsx'],
114
- languageOptions: {
115
- parser: tseslint.parser,
116
- parserOptions: {
117
- ecmaVersion: 2018,
118
- sourceType: 'module',
119
- project: './tsconfig.dev.json',
120
- },
121
- },
122
- rules: {
123
- '@typescript-eslint/no-require-imports': ['error'],
124
- },
125
- },
126
-
127
- // Configuration for test files
128
- {
129
- files: ['**/*.test.ts'],
130
- languageOptions: {
131
- globals: {
132
- ...globals.vitest,
133
- },
134
- },
135
- rules: {
136
- 'dot-notation': 'off',
137
- 'import/no-extraneous-dependencies': [
138
- 'error',
139
- {
140
- devDependencies: true,
141
- },
142
- ],
143
- },
144
- },
145
-
146
- // Configuration for .projenrc.ts
147
- {
148
- files: ['.projenrc.ts'],
149
- rules: {
150
- '@typescript-eslint/no-require-imports': 'off',
151
- 'import/no-extraneous-dependencies': 'off',
152
- },
153
- },
154
-
155
- // Global ignores
156
- {
157
- ignores: [
158
- '*.js',
159
- '*.d.ts',
160
- 'node_modules/',
161
- '*.generated.ts',
162
- 'coverage',
163
- 'scripts/create-package-json.ts',
164
- '!.projenrc.ts',
165
- '!projenrc/**/*.ts',
166
- ],
167
- },
168
- );