comic-vine-sdk 1.2.5 → 1.2.7
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.
- package/.gitattributes +27 -0
- package/.husky/pre-commit +4 -0
- package/.prettierignore +2 -0
- package/.prettierrc.json +4 -0
- package/.projenrc.ts +50 -0
- package/.releaserc.json +17 -0
- package/CHANGELOG.md +83 -0
- package/CODE_OF_CONDUCT.md +128 -0
- package/LICENSE +1 -3
- package/jest.setup.js +2 -0
- package/lib/cjs/comic-vine.d.ts +42 -0
- package/lib/cjs/comic-vine.js +92 -0
- package/lib/cjs/errors/base-error.js +18 -0
- package/lib/cjs/errors/custom-error.d.ts +2 -0
- package/lib/cjs/errors/custom-error.js +12 -0
- package/lib/cjs/errors/filter-error.d.ts +4 -0
- package/lib/cjs/errors/filter-error.js +14 -0
- package/lib/cjs/errors/generic-error.d.ts +4 -0
- package/lib/cjs/errors/generic-error.js +14 -0
- package/lib/cjs/errors/generic-request-error.d.ts +10 -0
- package/lib/cjs/errors/generic-request-error.js +23 -0
- package/lib/cjs/errors/index.d.ts +10 -0
- package/lib/cjs/errors/index.js +27 -0
- package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +4 -0
- package/lib/cjs/errors/jsonp-callback-missing-error.js +14 -0
- package/lib/cjs/errors/object-not-found-error.d.ts +4 -0
- package/lib/cjs/errors/object-not-found-error.js +14 -0
- package/lib/cjs/errors/options-validation-error.d.ts +4 -0
- package/lib/cjs/errors/options-validation-error.js +14 -0
- package/lib/cjs/errors/subscriber-only-error.d.ts +4 -0
- package/lib/cjs/errors/subscriber-only-error.js +14 -0
- package/lib/cjs/errors/unauthorized-error.d.ts +4 -0
- package/lib/cjs/errors/unauthorized-error.js +14 -0
- package/lib/cjs/errors/url-format-error.d.ts +4 -0
- package/lib/cjs/errors/url-format-error.js +14 -0
- package/lib/cjs/http-client/http-client-factory.d.ts +6 -0
- package/lib/cjs/http-client/http-client-factory.js +15 -0
- package/lib/cjs/http-client/http-client.d.ts +8 -0
- package/lib/cjs/http-client/http-client.js +69 -0
- package/lib/cjs/http-client/index.d.ts +1 -0
- package/lib/cjs/http-client/index.js +18 -0
- package/lib/cjs/http-client/status-code.js +14 -0
- package/lib/cjs/http-client/url-builder.d.ts +29 -0
- package/lib/cjs/http-client/url-builder.js +107 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +5 -0
- package/lib/cjs/options/index.d.ts +22 -0
- package/lib/cjs/options/index.js +32 -0
- package/lib/cjs/package.json +3 -0
- package/lib/cjs/resources/base-resource.d.ts +19 -0
- package/lib/cjs/resources/base-resource.js +86 -0
- package/lib/cjs/resources/character/character.d.ts +6 -0
- package/lib/cjs/resources/character/character.js +13 -0
- package/lib/cjs/resources/character/index.d.ts +1 -0
- package/lib/cjs/resources/character/index.js +18 -0
- package/lib/cjs/resources/character/types/character-details.d.ts +110 -0
- package/lib/cjs/resources/character/types/character-details.js +3 -0
- package/lib/cjs/resources/character/types/character-list-item.d.ts +71 -0
- package/lib/cjs/resources/character/types/character-list-item.js +3 -0
- package/lib/cjs/resources/character/types/index.d.ts +2 -0
- package/lib/cjs/resources/character/types/index.js +19 -0
- package/lib/cjs/resources/common-types.js +3 -0
- package/lib/cjs/resources/concept/concept.d.ts +6 -0
- package/lib/cjs/resources/concept/concept.js +13 -0
- package/lib/cjs/resources/concept/index.d.ts +1 -0
- package/lib/cjs/resources/concept/index.js +18 -0
- package/lib/cjs/resources/concept/types/concept-details.d.ts +58 -0
- package/lib/cjs/resources/concept/types/concept-details.js +3 -0
- package/lib/cjs/resources/concept/types/concept-list-item.d.ts +52 -0
- package/lib/cjs/resources/concept/types/concept-list-item.js +3 -0
- package/lib/cjs/resources/concept/types/index.d.ts +2 -0
- package/lib/cjs/resources/concept/types/index.js +19 -0
- package/lib/cjs/resources/episode/episode.d.ts +6 -0
- package/lib/cjs/resources/episode/episode.js +13 -0
- package/lib/cjs/resources/episode/index.d.ts +1 -0
- package/lib/cjs/resources/episode/index.js +18 -0
- package/lib/cjs/resources/episode/types/episode-details.d.ts +87 -0
- package/lib/cjs/resources/episode/types/episode-details.js +3 -0
- package/lib/cjs/resources/episode/types/episode-list-item.d.ts +53 -0
- package/lib/cjs/resources/episode/types/episode-list-item.js +3 -0
- package/lib/cjs/resources/episode/types/index.d.ts +2 -0
- package/lib/cjs/resources/episode/types/index.js +19 -0
- package/lib/cjs/resources/index.d.ts +3 -0
- package/lib/cjs/resources/index.js +20 -0
- package/lib/cjs/resources/issue/index.d.ts +1 -0
- package/lib/cjs/resources/issue/index.js +18 -0
- package/lib/cjs/resources/issue/issue.d.ts +6 -0
- package/lib/cjs/resources/issue/issue.js +13 -0
- package/lib/cjs/resources/issue/types/index.d.ts +2 -0
- package/lib/cjs/resources/issue/types/index.js +19 -0
- package/lib/cjs/resources/issue/types/issue-details.d.ts +94 -0
- package/lib/cjs/resources/issue/types/issue-details.js +3 -0
- package/lib/cjs/resources/issue/types/issue-list-item.d.ts +61 -0
- package/lib/cjs/resources/issue/types/issue-list-item.js +3 -0
- package/lib/cjs/resources/location/index.d.ts +1 -0
- package/lib/cjs/resources/location/index.js +18 -0
- package/lib/cjs/resources/location/location.d.ts +6 -0
- package/lib/cjs/resources/location/location.js +13 -0
- package/lib/cjs/resources/location/types/index.d.ts +2 -0
- package/lib/cjs/resources/location/types/index.js +19 -0
- package/lib/cjs/resources/location/types/location-details.d.ts +62 -0
- package/lib/cjs/resources/location/types/location-details.js +3 -0
- package/lib/cjs/resources/location/types/location-list-item.d.ts +55 -0
- package/lib/cjs/resources/location/types/location-list-item.js +3 -0
- package/lib/cjs/resources/movie/index.d.ts +1 -0
- package/lib/cjs/resources/movie/index.js +18 -0
- package/lib/cjs/resources/movie/movie.d.ts +6 -0
- package/lib/cjs/resources/movie/movie.js +13 -0
- package/lib/cjs/resources/movie/types/index.d.ts +2 -0
- package/lib/cjs/resources/movie/types/index.js +19 -0
- package/lib/cjs/resources/movie/types/movie-details.d.ts +91 -0
- package/lib/cjs/resources/movie/types/movie-details.js +3 -0
- package/lib/cjs/resources/movie/types/movie-list-item.d.ts +74 -0
- package/lib/cjs/resources/movie/types/movie-list-item.js +3 -0
- package/lib/cjs/resources/origin/index.d.ts +1 -0
- package/lib/cjs/resources/origin/index.js +18 -0
- package/lib/cjs/resources/origin/origin.d.ts +6 -0
- package/lib/cjs/resources/origin/origin.js +13 -0
- package/lib/cjs/resources/origin/types/index.d.ts +2 -0
- package/lib/cjs/resources/origin/types/index.js +19 -0
- package/lib/cjs/resources/origin/types/origin-details.d.ts +22 -0
- package/lib/cjs/resources/origin/types/origin-details.js +3 -0
- package/lib/cjs/resources/origin/types/origin-list-item.d.ts +18 -0
- package/lib/cjs/resources/origin/types/origin-list-item.js +3 -0
- package/lib/cjs/resources/person/index.d.ts +1 -0
- package/lib/cjs/resources/person/index.js +18 -0
- package/lib/cjs/resources/person/person.d.ts +6 -0
- package/lib/cjs/resources/person/person.js +13 -0
- package/lib/cjs/resources/person/types/index.d.ts +2 -0
- package/lib/cjs/resources/person/types/index.js +19 -0
- package/lib/cjs/resources/person/types/person-details.d.ts +82 -0
- package/lib/cjs/resources/person/types/person-details.js +3 -0
- package/lib/cjs/resources/person/types/person-list-item.d.ts +77 -0
- package/lib/cjs/resources/person/types/person-list-item.js +8 -0
- package/lib/cjs/resources/power/index.d.ts +1 -0
- package/lib/cjs/resources/power/index.js +18 -0
- package/lib/cjs/resources/power/power.d.ts +6 -0
- package/lib/cjs/resources/power/power.js +13 -0
- package/lib/cjs/resources/power/types/index.d.ts +2 -0
- package/lib/cjs/resources/power/types/index.js +19 -0
- package/lib/cjs/resources/power/types/power-details.d.ts +39 -0
- package/lib/cjs/resources/power/types/power-details.js +3 -0
- package/lib/cjs/resources/power/types/power-list-item.d.ts +34 -0
- package/lib/cjs/resources/power/types/power-list-item.js +3 -0
- package/lib/cjs/resources/promo/index.d.ts +1 -0
- package/lib/cjs/resources/promo/index.js +18 -0
- package/lib/cjs/resources/promo/promo.d.ts +6 -0
- package/lib/cjs/resources/promo/promo.js +13 -0
- package/lib/cjs/resources/promo/types/index.d.ts +2 -0
- package/lib/cjs/resources/promo/types/index.js +19 -0
- package/lib/cjs/resources/promo/types/promo-details.d.ts +40 -0
- package/lib/cjs/resources/promo/types/promo-details.js +3 -0
- package/lib/cjs/resources/promo/types/promo-list-item.d.ts +40 -0
- package/lib/cjs/resources/promo/types/promo-list-item.js +3 -0
- package/lib/cjs/resources/publisher/index.d.ts +1 -0
- package/lib/cjs/resources/publisher/index.js +18 -0
- package/lib/cjs/resources/publisher/publisher.d.ts +6 -0
- package/lib/cjs/resources/publisher/publisher.js +13 -0
- package/lib/cjs/resources/publisher/types/index.d.ts +2 -0
- package/lib/cjs/resources/publisher/types/index.js +19 -0
- package/lib/cjs/resources/publisher/types/publisher-details.d.ts +71 -0
- package/lib/cjs/resources/publisher/types/publisher-details.js +3 -0
- package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +61 -0
- package/lib/cjs/resources/publisher/types/publisher-list-item.js +11 -0
- package/lib/cjs/resources/resource-factory.d.ts +8 -0
- package/lib/cjs/resources/resource-factory.js +42 -0
- package/lib/cjs/resources/resource-list.d.ts +19 -0
- package/lib/cjs/resources/resource-list.js +36 -0
- package/lib/cjs/resources/resource-map.d.ts +7 -0
- package/lib/cjs/resources/resource-map.js +40 -0
- package/lib/cjs/resources/resource-type.js +26 -0
- package/lib/cjs/resources/series/index.d.ts +1 -0
- package/lib/cjs/resources/series/index.js +18 -0
- package/lib/cjs/resources/series/series.d.ts +6 -0
- package/lib/cjs/resources/series/series.js +13 -0
- package/lib/cjs/resources/series/types/index.d.ts +2 -0
- package/lib/cjs/resources/series/types/index.js +19 -0
- package/lib/cjs/resources/series/types/series-details.d.ts +68 -0
- package/lib/cjs/resources/series/types/series-details.js +3 -0
- package/lib/cjs/resources/series/types/series-list-item.d.ts +18 -0
- package/lib/cjs/resources/series/types/series-list-item.js +3 -0
- package/lib/cjs/resources/story-arc/index.d.ts +1 -0
- package/lib/cjs/resources/story-arc/index.js +18 -0
- package/lib/cjs/resources/story-arc/story-arc.d.ts +6 -0
- package/lib/cjs/resources/story-arc/story-arc.js +13 -0
- package/lib/cjs/resources/story-arc/types/index.d.ts +2 -0
- package/lib/cjs/resources/story-arc/types/index.js +19 -0
- package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +62 -0
- package/lib/cjs/resources/story-arc/types/story-arc-details.js +3 -0
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +3 -0
- package/lib/cjs/resources/team/index.d.ts +1 -0
- package/lib/cjs/resources/team/index.js +18 -0
- package/lib/cjs/resources/team/team.d.ts +6 -0
- package/lib/cjs/resources/team/team.js +13 -0
- package/lib/cjs/resources/team/types/index.d.ts +2 -0
- package/lib/cjs/resources/team/types/index.js +19 -0
- package/lib/cjs/resources/team/types/team-details.d.ts +80 -0
- package/lib/cjs/resources/team/types/team-details.js +3 -0
- package/lib/cjs/resources/team/types/team-list-item.d.ts +56 -0
- package/lib/cjs/resources/team/types/team-list-item.js +3 -0
- package/lib/cjs/resources/thing/index.d.ts +1 -0
- package/lib/cjs/resources/thing/index.js +18 -0
- package/lib/cjs/resources/thing/thing.d.ts +6 -0
- package/lib/cjs/resources/thing/thing.js +13 -0
- package/lib/cjs/resources/thing/types/index.d.ts +2 -0
- package/lib/cjs/resources/thing/types/index.js +19 -0
- package/lib/cjs/resources/thing/types/thing-details.d.ts +62 -0
- package/lib/cjs/resources/thing/types/thing-details.js +3 -0
- package/lib/cjs/resources/thing/types/thing-list-item.d.ts +55 -0
- package/lib/cjs/resources/thing/types/thing-list-item.js +3 -0
- package/lib/cjs/resources/video/index.d.ts +1 -0
- package/lib/cjs/resources/video/index.js +18 -0
- package/lib/cjs/resources/video/types/index.d.ts +2 -0
- package/lib/cjs/resources/video/types/index.js +19 -0
- package/lib/cjs/resources/video/types/video-details.d.ts +63 -0
- package/lib/cjs/resources/video/types/video-details.js +3 -0
- package/lib/cjs/resources/video/types/video-list-item.d.ts +85 -0
- package/lib/cjs/resources/video/types/video-list-item.js +28 -0
- package/lib/cjs/resources/video/video.d.ts +6 -0
- package/lib/cjs/resources/video/video.js +13 -0
- package/lib/cjs/resources/video-category/index.d.ts +1 -0
- package/lib/cjs/resources/video-category/index.js +18 -0
- package/lib/cjs/resources/video-category/types/index.d.ts +2 -0
- package/lib/cjs/resources/video-category/types/index.js +19 -0
- package/lib/cjs/resources/video-category/types/video-category-details.d.ts +24 -0
- package/lib/cjs/resources/video-category/types/video-category-details.js +3 -0
- package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +24 -0
- package/lib/cjs/resources/video-category/types/video-category-list-item.js +3 -0
- package/lib/cjs/resources/video-category/video-category.d.ts +6 -0
- package/lib/cjs/resources/video-category/video-category.js +13 -0
- package/lib/cjs/resources/video-type/index.d.ts +1 -0
- package/lib/cjs/resources/video-type/index.js +18 -0
- package/lib/cjs/resources/video-type/types/index.d.ts +2 -0
- package/lib/cjs/resources/video-type/types/index.js +19 -0
- package/lib/cjs/resources/video-type/types/video-type-details.d.ts +22 -0
- package/lib/cjs/resources/video-type/types/video-type-details.js +3 -0
- package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +22 -0
- package/lib/cjs/resources/video-type/types/video-type-list-item.js +3 -0
- package/lib/cjs/resources/video-type/video-type.d.ts +6 -0
- package/lib/cjs/resources/video-type/video-type.js +13 -0
- package/lib/cjs/resources/volume/index.d.ts +1 -0
- package/lib/cjs/resources/volume/index.js +18 -0
- package/lib/cjs/resources/volume/types/index.d.ts +2 -0
- package/lib/cjs/resources/volume/types/index.js +19 -0
- package/lib/cjs/resources/volume/types/volume-details.d.ts +77 -0
- package/lib/cjs/resources/volume/types/volume-details.js +3 -0
- package/lib/cjs/resources/volume/types/volume-list-item.d.ts +63 -0
- package/lib/cjs/resources/volume/types/volume-list-item.js +3 -0
- package/lib/cjs/resources/volume/volume.d.ts +6 -0
- package/lib/cjs/resources/volume/volume.js +13 -0
- package/lib/cjs/types/apply-override.js +3 -0
- package/lib/cjs/types/http-client.d.ts +4 -0
- package/lib/cjs/types/http-client.js +3 -0
- package/lib/cjs/types/index.d.ts +7 -0
- package/lib/cjs/types/index.js +24 -0
- package/lib/cjs/types/iso-date.js +3 -0
- package/lib/cjs/types/pick-filters.js +3 -0
- package/lib/cjs/types/request.d.ts +31 -0
- package/lib/cjs/types/request.js +3 -0
- package/lib/cjs/types/response.d.ts +10 -0
- package/lib/cjs/types/response.js +3 -0
- package/lib/cjs/types/url-builder.d.ts +6 -0
- package/lib/cjs/types/url-builder.js +3 -0
- package/lib/cjs/types/valueof.js +3 -0
- package/lib/cjs/utils/case-converter.js +34 -0
- package/lib/cjs/utils/index.d.ts +2 -0
- package/lib/cjs/utils/index.js +19 -0
- package/lib/cjs/utils/is-object.js +8 -0
- package/lib/esm/comic-vine.d.ts +42 -0
- package/lib/esm/comic-vine.js +88 -0
- package/lib/esm/errors/base-error.js +14 -0
- package/lib/esm/errors/custom-error.d.ts +2 -0
- package/lib/esm/errors/custom-error.js +8 -0
- package/lib/esm/errors/filter-error.d.ts +4 -0
- package/lib/esm/errors/filter-error.js +10 -0
- package/lib/esm/errors/generic-error.d.ts +4 -0
- package/lib/esm/errors/generic-error.js +10 -0
- package/lib/esm/errors/generic-request-error.d.ts +10 -0
- package/lib/esm/errors/generic-request-error.js +18 -0
- package/lib/esm/errors/index.d.ts +10 -0
- package/lib/esm/errors/index.js +11 -0
- package/lib/esm/errors/jsonp-callback-missing-error.d.ts +4 -0
- package/lib/esm/errors/jsonp-callback-missing-error.js +10 -0
- package/lib/esm/errors/object-not-found-error.d.ts +4 -0
- package/lib/esm/errors/object-not-found-error.js +10 -0
- package/lib/esm/errors/options-validation-error.d.ts +4 -0
- package/lib/esm/errors/options-validation-error.js +10 -0
- package/lib/esm/errors/subscriber-only-error.d.ts +4 -0
- package/lib/esm/errors/subscriber-only-error.js +10 -0
- package/lib/esm/errors/unauthorized-error.d.ts +4 -0
- package/lib/esm/errors/unauthorized-error.js +10 -0
- package/lib/esm/errors/url-format-error.d.ts +4 -0
- package/lib/esm/errors/url-format-error.js +10 -0
- package/lib/esm/http-client/http-client-factory.d.ts +6 -0
- package/lib/esm/http-client/http-client-factory.js +11 -0
- package/lib/esm/http-client/http-client.d.ts +8 -0
- package/lib/esm/http-client/http-client.js +50 -0
- package/lib/esm/http-client/index.d.ts +1 -0
- package/lib/esm/http-client/index.js +2 -0
- package/lib/esm/http-client/status-code.js +11 -0
- package/lib/esm/http-client/url-builder.d.ts +29 -0
- package/lib/esm/http-client/url-builder.js +103 -0
- package/lib/esm/index.d.ts +3 -0
- package/lib/esm/index.js +3 -0
- package/lib/esm/options/index.d.ts +22 -0
- package/lib/esm/options/index.js +28 -0
- package/lib/esm/package.json +3 -0
- package/lib/esm/resources/base-resource.d.ts +19 -0
- package/lib/esm/resources/base-resource.js +54 -0
- package/lib/esm/resources/character/character.d.ts +6 -0
- package/lib/esm/resources/character/character.js +9 -0
- package/lib/esm/resources/character/index.d.ts +1 -0
- package/lib/esm/resources/character/index.js +2 -0
- package/lib/esm/resources/character/types/character-details.d.ts +110 -0
- package/lib/esm/resources/character/types/character-details.js +2 -0
- package/lib/esm/resources/character/types/character-list-item.d.ts +71 -0
- package/lib/esm/resources/character/types/character-list-item.js +2 -0
- package/lib/esm/resources/character/types/index.d.ts +2 -0
- package/lib/esm/resources/character/types/index.js +3 -0
- package/lib/esm/resources/common-types.js +2 -0
- package/lib/esm/resources/concept/concept.d.ts +6 -0
- package/lib/esm/resources/concept/concept.js +9 -0
- package/lib/esm/resources/concept/index.d.ts +1 -0
- package/lib/esm/resources/concept/index.js +2 -0
- package/lib/esm/resources/concept/types/concept-details.d.ts +58 -0
- package/lib/esm/resources/concept/types/concept-details.js +2 -0
- package/lib/esm/resources/concept/types/concept-list-item.d.ts +52 -0
- package/lib/esm/resources/concept/types/concept-list-item.js +2 -0
- package/lib/esm/resources/concept/types/index.d.ts +2 -0
- package/lib/esm/resources/concept/types/index.js +3 -0
- package/lib/esm/resources/episode/episode.d.ts +6 -0
- package/lib/esm/resources/episode/episode.js +9 -0
- package/lib/esm/resources/episode/index.d.ts +1 -0
- package/lib/esm/resources/episode/index.js +2 -0
- package/lib/esm/resources/episode/types/episode-details.d.ts +87 -0
- package/lib/esm/resources/episode/types/episode-details.js +2 -0
- package/lib/esm/resources/episode/types/episode-list-item.d.ts +53 -0
- package/lib/esm/resources/episode/types/episode-list-item.js +2 -0
- package/lib/esm/resources/episode/types/index.d.ts +2 -0
- package/lib/esm/resources/episode/types/index.js +3 -0
- package/lib/esm/resources/index.d.ts +3 -0
- package/lib/esm/resources/index.js +4 -0
- package/lib/esm/resources/issue/index.d.ts +1 -0
- package/lib/esm/resources/issue/index.js +2 -0
- package/lib/esm/resources/issue/issue.d.ts +6 -0
- package/lib/esm/resources/issue/issue.js +9 -0
- package/lib/esm/resources/issue/types/index.d.ts +2 -0
- package/lib/esm/resources/issue/types/index.js +3 -0
- package/lib/esm/resources/issue/types/issue-details.d.ts +94 -0
- package/lib/esm/resources/issue/types/issue-details.js +2 -0
- package/lib/esm/resources/issue/types/issue-list-item.d.ts +61 -0
- package/lib/esm/resources/issue/types/issue-list-item.js +2 -0
- package/lib/esm/resources/location/index.d.ts +1 -0
- package/lib/esm/resources/location/index.js +2 -0
- package/lib/esm/resources/location/location.d.ts +6 -0
- package/lib/esm/resources/location/location.js +9 -0
- package/lib/esm/resources/location/types/index.d.ts +2 -0
- package/lib/esm/resources/location/types/index.js +3 -0
- package/lib/esm/resources/location/types/location-details.d.ts +62 -0
- package/lib/esm/resources/location/types/location-details.js +2 -0
- package/lib/esm/resources/location/types/location-list-item.d.ts +55 -0
- package/lib/esm/resources/location/types/location-list-item.js +2 -0
- package/lib/esm/resources/movie/index.d.ts +1 -0
- package/lib/esm/resources/movie/index.js +2 -0
- package/lib/esm/resources/movie/movie.d.ts +6 -0
- package/lib/esm/resources/movie/movie.js +9 -0
- package/lib/esm/resources/movie/types/index.d.ts +2 -0
- package/lib/esm/resources/movie/types/index.js +3 -0
- package/lib/esm/resources/movie/types/movie-details.d.ts +91 -0
- package/lib/esm/resources/movie/types/movie-details.js +2 -0
- package/lib/esm/resources/movie/types/movie-list-item.d.ts +74 -0
- package/lib/esm/resources/movie/types/movie-list-item.js +2 -0
- package/lib/esm/resources/origin/index.d.ts +1 -0
- package/lib/esm/resources/origin/index.js +2 -0
- package/lib/esm/resources/origin/origin.d.ts +6 -0
- package/lib/esm/resources/origin/origin.js +9 -0
- package/lib/esm/resources/origin/types/index.d.ts +2 -0
- package/lib/esm/resources/origin/types/index.js +3 -0
- package/lib/esm/resources/origin/types/origin-details.d.ts +22 -0
- package/lib/esm/resources/origin/types/origin-details.js +2 -0
- package/lib/esm/resources/origin/types/origin-list-item.d.ts +18 -0
- package/lib/esm/resources/origin/types/origin-list-item.js +2 -0
- package/lib/esm/resources/person/index.d.ts +1 -0
- package/lib/esm/resources/person/index.js +2 -0
- package/lib/esm/resources/person/person.d.ts +6 -0
- package/lib/esm/resources/person/person.js +9 -0
- package/lib/esm/resources/person/types/index.d.ts +2 -0
- package/lib/esm/resources/person/types/index.js +3 -0
- package/lib/esm/resources/person/types/person-details.d.ts +82 -0
- package/lib/esm/resources/person/types/person-details.js +2 -0
- package/lib/esm/resources/person/types/person-list-item.d.ts +77 -0
- package/lib/esm/resources/person/types/person-list-item.js +5 -0
- package/lib/esm/resources/power/index.d.ts +1 -0
- package/lib/esm/resources/power/index.js +2 -0
- package/lib/esm/resources/power/power.d.ts +6 -0
- package/lib/esm/resources/power/power.js +9 -0
- package/lib/esm/resources/power/types/index.d.ts +2 -0
- package/lib/esm/resources/power/types/index.js +3 -0
- package/lib/esm/resources/power/types/power-details.d.ts +39 -0
- package/lib/esm/resources/power/types/power-details.js +2 -0
- package/lib/esm/resources/power/types/power-list-item.d.ts +34 -0
- package/lib/esm/resources/power/types/power-list-item.js +2 -0
- package/lib/esm/resources/promo/index.d.ts +1 -0
- package/lib/esm/resources/promo/index.js +2 -0
- package/lib/esm/resources/promo/promo.d.ts +6 -0
- package/lib/esm/resources/promo/promo.js +9 -0
- package/lib/esm/resources/promo/types/index.d.ts +2 -0
- package/lib/esm/resources/promo/types/index.js +3 -0
- package/lib/esm/resources/promo/types/promo-details.d.ts +40 -0
- package/lib/esm/resources/promo/types/promo-details.js +2 -0
- package/lib/esm/resources/promo/types/promo-list-item.d.ts +40 -0
- package/lib/esm/resources/promo/types/promo-list-item.js +2 -0
- package/lib/esm/resources/publisher/index.d.ts +1 -0
- package/lib/esm/resources/publisher/index.js +2 -0
- package/lib/esm/resources/publisher/publisher.d.ts +6 -0
- package/lib/esm/resources/publisher/publisher.js +9 -0
- package/lib/esm/resources/publisher/types/index.d.ts +2 -0
- package/lib/esm/resources/publisher/types/index.js +3 -0
- package/lib/esm/resources/publisher/types/publisher-details.d.ts +71 -0
- package/lib/esm/resources/publisher/types/publisher-details.js +2 -0
- package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +61 -0
- package/lib/esm/resources/publisher/types/publisher-list-item.js +8 -0
- package/lib/esm/resources/resource-factory.d.ts +8 -0
- package/lib/esm/resources/resource-factory.js +15 -0
- package/lib/esm/resources/resource-list.d.ts +19 -0
- package/lib/esm/resources/resource-list.js +20 -0
- package/lib/esm/resources/resource-map.d.ts +7 -0
- package/lib/esm/resources/resource-map.js +36 -0
- package/lib/esm/resources/resource-type.js +23 -0
- package/lib/esm/resources/series/index.d.ts +1 -0
- package/lib/esm/resources/series/index.js +2 -0
- package/lib/esm/resources/series/series.d.ts +6 -0
- package/lib/esm/resources/series/series.js +9 -0
- package/lib/esm/resources/series/types/index.d.ts +2 -0
- package/lib/esm/resources/series/types/index.js +3 -0
- package/lib/esm/resources/series/types/series-details.d.ts +68 -0
- package/lib/esm/resources/series/types/series-details.js +2 -0
- package/lib/esm/resources/series/types/series-list-item.d.ts +18 -0
- package/lib/esm/resources/series/types/series-list-item.js +2 -0
- package/lib/esm/resources/story-arc/index.d.ts +1 -0
- package/lib/esm/resources/story-arc/index.js +2 -0
- package/lib/esm/resources/story-arc/story-arc.d.ts +6 -0
- package/lib/esm/resources/story-arc/story-arc.js +9 -0
- package/lib/esm/resources/story-arc/types/index.d.ts +2 -0
- package/lib/esm/resources/story-arc/types/index.js +3 -0
- package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +62 -0
- package/lib/esm/resources/story-arc/types/story-arc-details.js +2 -0
- package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +53 -0
- package/lib/esm/resources/story-arc/types/story-arc-list-item.js +2 -0
- package/lib/esm/resources/team/index.d.ts +1 -0
- package/lib/esm/resources/team/index.js +2 -0
- package/lib/esm/resources/team/team.d.ts +6 -0
- package/lib/esm/resources/team/team.js +9 -0
- package/lib/esm/resources/team/types/index.d.ts +2 -0
- package/lib/esm/resources/team/types/index.js +3 -0
- package/lib/esm/resources/team/types/team-details.d.ts +80 -0
- package/lib/esm/resources/team/types/team-details.js +2 -0
- package/lib/esm/resources/team/types/team-list-item.d.ts +56 -0
- package/lib/esm/resources/team/types/team-list-item.js +2 -0
- package/lib/esm/resources/thing/index.d.ts +1 -0
- package/lib/esm/resources/thing/index.js +2 -0
- package/lib/esm/resources/thing/thing.d.ts +6 -0
- package/lib/esm/resources/thing/thing.js +9 -0
- package/lib/esm/resources/thing/types/index.d.ts +2 -0
- package/lib/esm/resources/thing/types/index.js +3 -0
- package/lib/esm/resources/thing/types/thing-details.d.ts +62 -0
- package/lib/esm/resources/thing/types/thing-details.js +2 -0
- package/lib/esm/resources/thing/types/thing-list-item.d.ts +55 -0
- package/lib/esm/resources/thing/types/thing-list-item.js +2 -0
- package/lib/esm/resources/video/index.d.ts +1 -0
- package/lib/esm/resources/video/index.js +2 -0
- package/lib/esm/resources/video/types/index.d.ts +2 -0
- package/lib/esm/resources/video/types/index.js +3 -0
- package/lib/esm/resources/video/types/video-details.d.ts +63 -0
- package/lib/esm/resources/video/types/video-details.js +2 -0
- package/lib/esm/resources/video/types/video-list-item.d.ts +85 -0
- package/lib/esm/resources/video/types/video-list-item.js +25 -0
- package/lib/esm/resources/video/video.d.ts +6 -0
- package/lib/esm/resources/video/video.js +9 -0
- package/lib/esm/resources/video-category/index.d.ts +1 -0
- package/lib/esm/resources/video-category/index.js +2 -0
- package/lib/esm/resources/video-category/types/index.d.ts +2 -0
- package/lib/esm/resources/video-category/types/index.js +3 -0
- package/lib/esm/resources/video-category/types/video-category-details.d.ts +24 -0
- package/lib/esm/resources/video-category/types/video-category-details.js +2 -0
- package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +24 -0
- package/lib/esm/resources/video-category/types/video-category-list-item.js +2 -0
- package/lib/esm/resources/video-category/video-category.d.ts +6 -0
- package/lib/esm/resources/video-category/video-category.js +9 -0
- package/lib/esm/resources/video-type/index.d.ts +1 -0
- package/lib/esm/resources/video-type/index.js +2 -0
- package/lib/esm/resources/video-type/types/index.d.ts +2 -0
- package/lib/esm/resources/video-type/types/index.js +3 -0
- package/lib/esm/resources/video-type/types/video-type-details.d.ts +22 -0
- package/lib/esm/resources/video-type/types/video-type-details.js +2 -0
- package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +22 -0
- package/lib/esm/resources/video-type/types/video-type-list-item.js +2 -0
- package/lib/esm/resources/video-type/video-type.d.ts +6 -0
- package/lib/esm/resources/video-type/video-type.js +9 -0
- package/lib/esm/resources/volume/index.d.ts +1 -0
- package/lib/esm/resources/volume/index.js +2 -0
- package/lib/esm/resources/volume/types/index.d.ts +2 -0
- package/lib/esm/resources/volume/types/index.js +3 -0
- package/lib/esm/resources/volume/types/volume-details.d.ts +77 -0
- package/lib/esm/resources/volume/types/volume-details.js +2 -0
- package/lib/esm/resources/volume/types/volume-list-item.d.ts +63 -0
- package/lib/esm/resources/volume/types/volume-list-item.js +2 -0
- package/lib/esm/resources/volume/volume.d.ts +6 -0
- package/lib/esm/resources/volume/volume.js +9 -0
- package/lib/esm/types/apply-override.js +2 -0
- package/lib/esm/types/http-client.d.ts +4 -0
- package/lib/esm/types/http-client.js +2 -0
- package/lib/esm/types/index.d.ts +7 -0
- package/lib/esm/types/index.js +8 -0
- package/lib/esm/types/iso-date.js +2 -0
- package/lib/esm/types/pick-filters.js +2 -0
- package/lib/esm/types/request.d.ts +31 -0
- package/lib/esm/types/request.js +2 -0
- package/lib/esm/types/response.d.ts +10 -0
- package/lib/esm/types/response.js +2 -0
- package/lib/esm/types/url-builder.d.ts +6 -0
- package/lib/esm/types/url-builder.js +2 -0
- package/lib/esm/types/valueof.js +2 -0
- package/lib/esm/utils/case-converter.js +27 -0
- package/lib/esm/utils/index.d.ts +2 -0
- package/lib/esm/utils/index.js +3 -0
- package/lib/esm/utils/is-object.js +4 -0
- package/package-old.json +90 -0
- package/package.json +86 -73
- package/scripts/create-package-json.ts +30 -0
- package/vitest.config.ts +8 -0
- package/dist/cjs/comic-vine.d.ts +0 -42
- package/dist/cjs/comic-vine.js +0 -92
- package/dist/cjs/comic-vine.js.map +0 -1
- package/dist/cjs/errors/base-error.js +0 -15
- package/dist/cjs/errors/base-error.js.map +0 -1
- package/dist/cjs/errors/custom-error.d.ts +0 -2
- package/dist/cjs/errors/custom-error.js +0 -12
- package/dist/cjs/errors/custom-error.js.map +0 -1
- package/dist/cjs/errors/filter-error.d.ts +0 -4
- package/dist/cjs/errors/filter-error.js +0 -14
- package/dist/cjs/errors/filter-error.js.map +0 -1
- package/dist/cjs/errors/generic-error.d.ts +0 -4
- package/dist/cjs/errors/generic-error.js +0 -14
- package/dist/cjs/errors/generic-error.js.map +0 -1
- package/dist/cjs/errors/generic-request-error.d.ts +0 -7
- package/dist/cjs/errors/generic-request-error.js +0 -20
- package/dist/cjs/errors/generic-request-error.js.map +0 -1
- package/dist/cjs/errors/index.d.ts +0 -10
- package/dist/cjs/errors/index.js +0 -27
- package/dist/cjs/errors/index.js.map +0 -1
- package/dist/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/dist/cjs/errors/jsonp-callback-missing-error.js +0 -14
- package/dist/cjs/errors/jsonp-callback-missing-error.js.map +0 -1
- package/dist/cjs/errors/object-not-found-error.d.ts +0 -4
- package/dist/cjs/errors/object-not-found-error.js +0 -14
- package/dist/cjs/errors/object-not-found-error.js.map +0 -1
- package/dist/cjs/errors/options-validation-error.d.ts +0 -4
- package/dist/cjs/errors/options-validation-error.js +0 -14
- package/dist/cjs/errors/options-validation-error.js.map +0 -1
- package/dist/cjs/errors/subscriber-only-error.d.ts +0 -4
- package/dist/cjs/errors/subscriber-only-error.js +0 -14
- package/dist/cjs/errors/subscriber-only-error.js.map +0 -1
- package/dist/cjs/errors/unauthorized-error.d.ts +0 -4
- package/dist/cjs/errors/unauthorized-error.js +0 -14
- package/dist/cjs/errors/unauthorized-error.js.map +0 -1
- package/dist/cjs/errors/url-format-error.d.ts +0 -4
- package/dist/cjs/errors/url-format-error.js +0 -14
- package/dist/cjs/errors/url-format-error.js.map +0 -1
- package/dist/cjs/http-client/http-client-factory.d.ts +0 -6
- package/dist/cjs/http-client/http-client-factory.js +0 -15
- package/dist/cjs/http-client/http-client-factory.js.map +0 -1
- package/dist/cjs/http-client/http-client.d.ts +0 -8
- package/dist/cjs/http-client/http-client.js +0 -69
- package/dist/cjs/http-client/http-client.js.map +0 -1
- package/dist/cjs/http-client/index.d.ts +0 -1
- package/dist/cjs/http-client/index.js +0 -18
- package/dist/cjs/http-client/index.js.map +0 -1
- package/dist/cjs/http-client/status-code.js +0 -14
- package/dist/cjs/http-client/status-code.js.map +0 -1
- package/dist/cjs/http-client/url-builder.d.ts +0 -18
- package/dist/cjs/http-client/url-builder.js +0 -90
- package/dist/cjs/http-client/url-builder.js.map +0 -1
- package/dist/cjs/index.cjs.d.ts +0 -2
- package/dist/cjs/index.cjs.js +0 -4
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/options/index.d.ts +0 -16
- package/dist/cjs/options/index.js +0 -26
- package/dist/cjs/options/index.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/resources/base-resource.d.ts +0 -19
- package/dist/cjs/resources/base-resource.js +0 -85
- package/dist/cjs/resources/base-resource.js.map +0 -1
- package/dist/cjs/resources/character/character.d.ts +0 -6
- package/dist/cjs/resources/character/character.js +0 -13
- package/dist/cjs/resources/character/character.js.map +0 -1
- package/dist/cjs/resources/character/index.d.ts +0 -1
- package/dist/cjs/resources/character/index.js +0 -18
- package/dist/cjs/resources/character/index.js.map +0 -1
- package/dist/cjs/resources/character/types/character-details.d.ts +0 -32
- package/dist/cjs/resources/character/types/character-details.js +0 -3
- package/dist/cjs/resources/character/types/character-details.js.map +0 -1
- package/dist/cjs/resources/character/types/character-list-item.d.ts +0 -20
- package/dist/cjs/resources/character/types/character-list-item.js +0 -3
- package/dist/cjs/resources/character/types/character-list-item.js.map +0 -1
- package/dist/cjs/resources/character/types/index.d.ts +0 -2
- package/dist/cjs/resources/character/types/index.js +0 -19
- package/dist/cjs/resources/character/types/index.js.map +0 -1
- package/dist/cjs/resources/common-types.js +0 -3
- package/dist/cjs/resources/common-types.js.map +0 -1
- package/dist/cjs/resources/concept/concept.d.ts +0 -6
- package/dist/cjs/resources/concept/concept.js +0 -13
- package/dist/cjs/resources/concept/concept.js.map +0 -1
- package/dist/cjs/resources/concept/index.d.ts +0 -1
- package/dist/cjs/resources/concept/index.js +0 -18
- package/dist/cjs/resources/concept/index.js.map +0 -1
- package/dist/cjs/resources/concept/types/concept-details.d.ts +0 -19
- package/dist/cjs/resources/concept/types/concept-details.js +0 -3
- package/dist/cjs/resources/concept/types/concept-details.js.map +0 -1
- package/dist/cjs/resources/concept/types/concept-list-item.d.ts +0 -16
- package/dist/cjs/resources/concept/types/concept-list-item.js +0 -3
- package/dist/cjs/resources/concept/types/concept-list-item.js.map +0 -1
- package/dist/cjs/resources/concept/types/index.d.ts +0 -2
- package/dist/cjs/resources/concept/types/index.js +0 -19
- package/dist/cjs/resources/concept/types/index.js.map +0 -1
- package/dist/cjs/resources/episode/episode.d.ts +0 -6
- package/dist/cjs/resources/episode/episode.js +0 -13
- package/dist/cjs/resources/episode/episode.js.map +0 -1
- package/dist/cjs/resources/episode/index.d.ts +0 -1
- package/dist/cjs/resources/episode/index.js +0 -18
- package/dist/cjs/resources/episode/index.js.map +0 -1
- package/dist/cjs/resources/episode/types/episode-details.d.ts +0 -30
- package/dist/cjs/resources/episode/types/episode-details.js +0 -3
- package/dist/cjs/resources/episode/types/episode-details.js.map +0 -1
- package/dist/cjs/resources/episode/types/episode-list-item.d.ts +0 -17
- package/dist/cjs/resources/episode/types/episode-list-item.js +0 -3
- package/dist/cjs/resources/episode/types/episode-list-item.js.map +0 -1
- package/dist/cjs/resources/episode/types/index.d.ts +0 -2
- package/dist/cjs/resources/episode/types/index.js +0 -19
- package/dist/cjs/resources/episode/types/index.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -3
- package/dist/cjs/resources/index.js +0 -20
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/issue/index.d.ts +0 -1
- package/dist/cjs/resources/issue/index.js +0 -18
- package/dist/cjs/resources/issue/index.js.map +0 -1
- package/dist/cjs/resources/issue/issue.d.ts +0 -6
- package/dist/cjs/resources/issue/issue.js +0 -13
- package/dist/cjs/resources/issue/issue.js.map +0 -1
- package/dist/cjs/resources/issue/types/index.d.ts +0 -2
- package/dist/cjs/resources/issue/types/index.js +0 -19
- package/dist/cjs/resources/issue/types/index.js.map +0 -1
- package/dist/cjs/resources/issue/types/issue-details.d.ts +0 -34
- package/dist/cjs/resources/issue/types/issue-details.js +0 -3
- package/dist/cjs/resources/issue/types/issue-details.js.map +0 -1
- package/dist/cjs/resources/issue/types/issue-list-item.d.ts +0 -19
- package/dist/cjs/resources/issue/types/issue-list-item.js +0 -3
- package/dist/cjs/resources/issue/types/issue-list-item.js.map +0 -1
- package/dist/cjs/resources/location/index.d.ts +0 -1
- package/dist/cjs/resources/location/index.js +0 -18
- package/dist/cjs/resources/location/index.js.map +0 -1
- package/dist/cjs/resources/location/location.d.ts +0 -6
- package/dist/cjs/resources/location/location.js +0 -13
- package/dist/cjs/resources/location/location.js.map +0 -1
- package/dist/cjs/resources/location/types/index.d.ts +0 -2
- package/dist/cjs/resources/location/types/index.js +0 -19
- package/dist/cjs/resources/location/types/index.js.map +0 -1
- package/dist/cjs/resources/location/types/location-details.d.ts +0 -20
- package/dist/cjs/resources/location/types/location-details.js +0 -3
- package/dist/cjs/resources/location/types/location-details.js.map +0 -1
- package/dist/cjs/resources/location/types/location-list-item.d.ts +0 -16
- package/dist/cjs/resources/location/types/location-list-item.js +0 -3
- package/dist/cjs/resources/location/types/location-list-item.js.map +0 -1
- package/dist/cjs/resources/movie/index.d.ts +0 -1
- package/dist/cjs/resources/movie/index.js +0 -18
- package/dist/cjs/resources/movie/index.js.map +0 -1
- package/dist/cjs/resources/movie/movie.d.ts +0 -6
- package/dist/cjs/resources/movie/movie.js +0 -13
- package/dist/cjs/resources/movie/movie.js.map +0 -1
- package/dist/cjs/resources/movie/types/index.d.ts +0 -2
- package/dist/cjs/resources/movie/types/index.js +0 -19
- package/dist/cjs/resources/movie/types/index.js.map +0 -1
- package/dist/cjs/resources/movie/types/movie-details.d.ts +0 -28
- package/dist/cjs/resources/movie/types/movie-details.js +0 -3
- package/dist/cjs/resources/movie/types/movie-details.js.map +0 -1
- package/dist/cjs/resources/movie/types/movie-list-item.d.ts +0 -23
- package/dist/cjs/resources/movie/types/movie-list-item.js +0 -3
- package/dist/cjs/resources/movie/types/movie-list-item.js.map +0 -1
- package/dist/cjs/resources/origin/index.d.ts +0 -1
- package/dist/cjs/resources/origin/index.js +0 -18
- package/dist/cjs/resources/origin/index.js.map +0 -1
- package/dist/cjs/resources/origin/origin.d.ts +0 -6
- package/dist/cjs/resources/origin/origin.js +0 -13
- package/dist/cjs/resources/origin/origin.js.map +0 -1
- package/dist/cjs/resources/origin/types/index.d.ts +0 -2
- package/dist/cjs/resources/origin/types/index.js +0 -19
- package/dist/cjs/resources/origin/types/index.js.map +0 -1
- package/dist/cjs/resources/origin/types/origin-details.d.ts +0 -10
- package/dist/cjs/resources/origin/types/origin-details.js +0 -3
- package/dist/cjs/resources/origin/types/origin-details.js.map +0 -1
- package/dist/cjs/resources/origin/types/origin-list-item.d.ts +0 -6
- package/dist/cjs/resources/origin/types/origin-list-item.js +0 -3
- package/dist/cjs/resources/origin/types/origin-list-item.js.map +0 -1
- package/dist/cjs/resources/person/index.d.ts +0 -1
- package/dist/cjs/resources/person/index.js +0 -18
- package/dist/cjs/resources/person/index.js.map +0 -1
- package/dist/cjs/resources/person/person.d.ts +0 -6
- package/dist/cjs/resources/person/person.js +0 -13
- package/dist/cjs/resources/person/person.js.map +0 -1
- package/dist/cjs/resources/person/types/index.d.ts +0 -2
- package/dist/cjs/resources/person/types/index.js +0 -19
- package/dist/cjs/resources/person/types/index.js.map +0 -1
- package/dist/cjs/resources/person/types/person-details.d.ts +0 -25
- package/dist/cjs/resources/person/types/person-details.js +0 -3
- package/dist/cjs/resources/person/types/person-details.js.map +0 -1
- package/dist/cjs/resources/person/types/person-list-item.d.ts +0 -26
- package/dist/cjs/resources/person/types/person-list-item.js +0 -8
- package/dist/cjs/resources/person/types/person-list-item.js.map +0 -1
- package/dist/cjs/resources/power/index.d.ts +0 -1
- package/dist/cjs/resources/power/index.js +0 -18
- package/dist/cjs/resources/power/index.js.map +0 -1
- package/dist/cjs/resources/power/power.d.ts +0 -6
- package/dist/cjs/resources/power/power.js +0 -13
- package/dist/cjs/resources/power/power.js.map +0 -1
- package/dist/cjs/resources/power/types/index.d.ts +0 -2
- package/dist/cjs/resources/power/types/index.js +0 -19
- package/dist/cjs/resources/power/types/index.js.map +0 -1
- package/dist/cjs/resources/power/types/power-details.d.ts +0 -12
- package/dist/cjs/resources/power/types/power-details.js +0 -3
- package/dist/cjs/resources/power/types/power-details.js.map +0 -1
- package/dist/cjs/resources/power/types/power-list-item.d.ts +0 -10
- package/dist/cjs/resources/power/types/power-list-item.js +0 -3
- package/dist/cjs/resources/power/types/power-list-item.js.map +0 -1
- package/dist/cjs/resources/promo/index.d.ts +0 -1
- package/dist/cjs/resources/promo/index.js +0 -18
- package/dist/cjs/resources/promo/index.js.map +0 -1
- package/dist/cjs/resources/promo/promo.d.ts +0 -6
- package/dist/cjs/resources/promo/promo.js +0 -13
- package/dist/cjs/resources/promo/promo.js.map +0 -1
- package/dist/cjs/resources/promo/types/index.d.ts +0 -2
- package/dist/cjs/resources/promo/types/index.js +0 -19
- package/dist/cjs/resources/promo/types/index.js.map +0 -1
- package/dist/cjs/resources/promo/types/promo-details.d.ts +0 -13
- package/dist/cjs/resources/promo/types/promo-details.js +0 -3
- package/dist/cjs/resources/promo/types/promo-details.js.map +0 -1
- package/dist/cjs/resources/promo/types/promo-list-item.d.ts +0 -13
- package/dist/cjs/resources/promo/types/promo-list-item.js +0 -3
- package/dist/cjs/resources/promo/types/promo-list-item.js.map +0 -1
- package/dist/cjs/resources/publisher/index.d.ts +0 -1
- package/dist/cjs/resources/publisher/index.js +0 -18
- package/dist/cjs/resources/publisher/index.js.map +0 -1
- package/dist/cjs/resources/publisher/publisher.d.ts +0 -6
- package/dist/cjs/resources/publisher/publisher.js +0 -13
- package/dist/cjs/resources/publisher/publisher.js.map +0 -1
- package/dist/cjs/resources/publisher/types/index.d.ts +0 -2
- package/dist/cjs/resources/publisher/types/index.js +0 -19
- package/dist/cjs/resources/publisher/types/index.js.map +0 -1
- package/dist/cjs/resources/publisher/types/publisher-details.d.ts +0 -20
- package/dist/cjs/resources/publisher/types/publisher-details.js +0 -3
- package/dist/cjs/resources/publisher/types/publisher-details.js.map +0 -1
- package/dist/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
- package/dist/cjs/resources/publisher/types/publisher-list-item.js +0 -11
- package/dist/cjs/resources/publisher/types/publisher-list-item.js.map +0 -1
- package/dist/cjs/resources/resource-factory.d.ts +0 -8
- package/dist/cjs/resources/resource-factory.js +0 -42
- package/dist/cjs/resources/resource-factory.js.map +0 -1
- package/dist/cjs/resources/resource-list.d.ts +0 -19
- package/dist/cjs/resources/resource-list.js +0 -36
- package/dist/cjs/resources/resource-list.js.map +0 -1
- package/dist/cjs/resources/resource-map.d.ts +0 -7
- package/dist/cjs/resources/resource-map.js +0 -40
- package/dist/cjs/resources/resource-map.js.map +0 -1
- package/dist/cjs/resources/resource-type.js +0 -26
- package/dist/cjs/resources/resource-type.js.map +0 -1
- package/dist/cjs/resources/series/index.d.ts +0 -1
- package/dist/cjs/resources/series/index.js +0 -18
- package/dist/cjs/resources/series/index.js.map +0 -1
- package/dist/cjs/resources/series/series.d.ts +0 -6
- package/dist/cjs/resources/series/series.js +0 -13
- package/dist/cjs/resources/series/series.js.map +0 -1
- package/dist/cjs/resources/series/types/index.d.ts +0 -2
- package/dist/cjs/resources/series/types/index.js +0 -19
- package/dist/cjs/resources/series/types/index.js.map +0 -1
- package/dist/cjs/resources/series/types/series-details.d.ts +0 -20
- package/dist/cjs/resources/series/types/series-details.js +0 -3
- package/dist/cjs/resources/series/types/series-details.js.map +0 -1
- package/dist/cjs/resources/series/types/series-list-item.d.ts +0 -18
- package/dist/cjs/resources/series/types/series-list-item.js +0 -3
- package/dist/cjs/resources/series/types/series-list-item.js.map +0 -1
- package/dist/cjs/resources/story-arc/index.d.ts +0 -1
- package/dist/cjs/resources/story-arc/index.js +0 -18
- package/dist/cjs/resources/story-arc/index.js.map +0 -1
- package/dist/cjs/resources/story-arc/story-arc.d.ts +0 -6
- package/dist/cjs/resources/story-arc/story-arc.js +0 -13
- package/dist/cjs/resources/story-arc/story-arc.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/index.d.ts +0 -2
- package/dist/cjs/resources/story-arc/types/index.js +0 -19
- package/dist/cjs/resources/story-arc/types/index.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
- package/dist/cjs/resources/story-arc/types/story-arc-details.js +0 -3
- package/dist/cjs/resources/story-arc/types/story-arc-details.js.map +0 -1
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
- package/dist/cjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
- package/dist/cjs/resources/team/index.d.ts +0 -1
- package/dist/cjs/resources/team/index.js +0 -18
- package/dist/cjs/resources/team/index.js.map +0 -1
- package/dist/cjs/resources/team/team.d.ts +0 -6
- package/dist/cjs/resources/team/team.js +0 -13
- package/dist/cjs/resources/team/team.js.map +0 -1
- package/dist/cjs/resources/team/types/index.d.ts +0 -2
- package/dist/cjs/resources/team/types/index.js +0 -19
- package/dist/cjs/resources/team/types/index.js.map +0 -1
- package/dist/cjs/resources/team/types/team-details.d.ts +0 -26
- package/dist/cjs/resources/team/types/team-details.js +0 -3
- package/dist/cjs/resources/team/types/team-details.js.map +0 -1
- package/dist/cjs/resources/team/types/team-list-item.d.ts +0 -17
- package/dist/cjs/resources/team/types/team-list-item.js +0 -3
- package/dist/cjs/resources/team/types/team-list-item.js.map +0 -1
- package/dist/cjs/resources/thing/index.d.ts +0 -1
- package/dist/cjs/resources/thing/index.js +0 -18
- package/dist/cjs/resources/thing/index.js.map +0 -1
- package/dist/cjs/resources/thing/thing.d.ts +0 -6
- package/dist/cjs/resources/thing/thing.js +0 -13
- package/dist/cjs/resources/thing/thing.js.map +0 -1
- package/dist/cjs/resources/thing/types/index.d.ts +0 -2
- package/dist/cjs/resources/thing/types/index.js +0 -19
- package/dist/cjs/resources/thing/types/index.js.map +0 -1
- package/dist/cjs/resources/thing/types/thing-details.d.ts +0 -20
- package/dist/cjs/resources/thing/types/thing-details.js +0 -3
- package/dist/cjs/resources/thing/types/thing-details.js.map +0 -1
- package/dist/cjs/resources/thing/types/thing-list-item.d.ts +0 -16
- package/dist/cjs/resources/thing/types/thing-list-item.js +0 -3
- package/dist/cjs/resources/thing/types/thing-list-item.js.map +0 -1
- package/dist/cjs/resources/video/index.d.ts +0 -1
- package/dist/cjs/resources/video/index.js +0 -18
- package/dist/cjs/resources/video/index.js.map +0 -1
- package/dist/cjs/resources/video/types/index.d.ts +0 -2
- package/dist/cjs/resources/video/types/index.js +0 -19
- package/dist/cjs/resources/video/types/index.js.map +0 -1
- package/dist/cjs/resources/video/types/video-details.d.ts +0 -27
- package/dist/cjs/resources/video/types/video-details.js +0 -3
- package/dist/cjs/resources/video/types/video-details.js.map +0 -1
- package/dist/cjs/resources/video/types/video-list-item.d.ts +0 -49
- package/dist/cjs/resources/video/types/video-list-item.js +0 -28
- package/dist/cjs/resources/video/types/video-list-item.js.map +0 -1
- package/dist/cjs/resources/video/video.d.ts +0 -6
- package/dist/cjs/resources/video/video.js +0 -13
- package/dist/cjs/resources/video/video.js.map +0 -1
- package/dist/cjs/resources/video-category/index.d.ts +0 -1
- package/dist/cjs/resources/video-category/index.js +0 -18
- package/dist/cjs/resources/video-category/index.js.map +0 -1
- package/dist/cjs/resources/video-category/types/index.d.ts +0 -2
- package/dist/cjs/resources/video-category/types/index.js +0 -19
- package/dist/cjs/resources/video-category/types/index.js.map +0 -1
- package/dist/cjs/resources/video-category/types/video-category-details.d.ts +0 -9
- package/dist/cjs/resources/video-category/types/video-category-details.js +0 -3
- package/dist/cjs/resources/video-category/types/video-category-details.js.map +0 -1
- package/dist/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
- package/dist/cjs/resources/video-category/types/video-category-list-item.js +0 -3
- package/dist/cjs/resources/video-category/types/video-category-list-item.js.map +0 -1
- package/dist/cjs/resources/video-category/video-category.d.ts +0 -6
- package/dist/cjs/resources/video-category/video-category.js +0 -13
- package/dist/cjs/resources/video-category/video-category.js.map +0 -1
- package/dist/cjs/resources/video-type/index.d.ts +0 -1
- package/dist/cjs/resources/video-type/index.js +0 -18
- package/dist/cjs/resources/video-type/index.js.map +0 -1
- package/dist/cjs/resources/video-type/types/index.d.ts +0 -2
- package/dist/cjs/resources/video-type/types/index.js +0 -19
- package/dist/cjs/resources/video-type/types/index.js.map +0 -1
- package/dist/cjs/resources/video-type/types/video-type-details.d.ts +0 -7
- package/dist/cjs/resources/video-type/types/video-type-details.js +0 -3
- package/dist/cjs/resources/video-type/types/video-type-details.js.map +0 -1
- package/dist/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
- package/dist/cjs/resources/video-type/types/video-type-list-item.js +0 -3
- package/dist/cjs/resources/video-type/types/video-type-list-item.js.map +0 -1
- package/dist/cjs/resources/video-type/video-type.d.ts +0 -6
- package/dist/cjs/resources/video-type/video-type.js +0 -13
- package/dist/cjs/resources/video-type/video-type.js.map +0 -1
- package/dist/cjs/resources/volume/index.d.ts +0 -1
- package/dist/cjs/resources/volume/index.js +0 -18
- package/dist/cjs/resources/volume/index.js.map +0 -1
- package/dist/cjs/resources/volume/types/index.d.ts +0 -2
- package/dist/cjs/resources/volume/types/index.js +0 -19
- package/dist/cjs/resources/volume/types/index.js.map +0 -1
- package/dist/cjs/resources/volume/types/volume-details.d.ts +0 -23
- package/dist/cjs/resources/volume/types/volume-details.js +0 -3
- package/dist/cjs/resources/volume/types/volume-details.js.map +0 -1
- package/dist/cjs/resources/volume/types/volume-list-item.d.ts +0 -18
- package/dist/cjs/resources/volume/types/volume-list-item.js +0 -3
- package/dist/cjs/resources/volume/types/volume-list-item.js.map +0 -1
- package/dist/cjs/resources/volume/volume.d.ts +0 -6
- package/dist/cjs/resources/volume/volume.js +0 -13
- package/dist/cjs/resources/volume/volume.js.map +0 -1
- package/dist/cjs/types/apply-override.js +0 -3
- package/dist/cjs/types/apply-override.js.map +0 -1
- package/dist/cjs/types/http-client.d.ts +0 -4
- package/dist/cjs/types/http-client.js +0 -3
- package/dist/cjs/types/http-client.js.map +0 -1
- package/dist/cjs/types/index.d.ts +0 -7
- package/dist/cjs/types/index.js +0 -24
- package/dist/cjs/types/index.js.map +0 -1
- package/dist/cjs/types/iso-date.js +0 -3
- package/dist/cjs/types/iso-date.js.map +0 -1
- package/dist/cjs/types/pick-filters.js +0 -3
- package/dist/cjs/types/pick-filters.js.map +0 -1
- package/dist/cjs/types/request.d.ts +0 -14
- package/dist/cjs/types/request.js +0 -3
- package/dist/cjs/types/request.js.map +0 -1
- package/dist/cjs/types/response.d.ts +0 -10
- package/dist/cjs/types/response.js +0 -3
- package/dist/cjs/types/response.js.map +0 -1
- package/dist/cjs/types/url-builder.d.ts +0 -6
- package/dist/cjs/types/url-builder.js +0 -3
- package/dist/cjs/types/url-builder.js.map +0 -1
- package/dist/cjs/types/valueof.js +0 -3
- package/dist/cjs/types/valueof.js.map +0 -1
- package/dist/cjs/utils/case-converter.js +0 -34
- package/dist/cjs/utils/case-converter.js.map +0 -1
- package/dist/cjs/utils/index.d.ts +0 -2
- package/dist/cjs/utils/index.js +0 -19
- package/dist/cjs/utils/index.js.map +0 -1
- package/dist/cjs/utils/is-object.js +0 -8
- package/dist/cjs/utils/is-object.js.map +0 -1
- package/dist/mjs/comic-vine.d.ts +0 -42
- package/dist/mjs/comic-vine.js +0 -107
- package/dist/mjs/comic-vine.js.map +0 -1
- package/dist/mjs/errors/base-error.js +0 -12
- package/dist/mjs/errors/base-error.js.map +0 -1
- package/dist/mjs/errors/custom-error.d.ts +0 -2
- package/dist/mjs/errors/custom-error.js +0 -8
- package/dist/mjs/errors/custom-error.js.map +0 -1
- package/dist/mjs/errors/filter-error.d.ts +0 -4
- package/dist/mjs/errors/filter-error.js +0 -10
- package/dist/mjs/errors/filter-error.js.map +0 -1
- package/dist/mjs/errors/generic-error.d.ts +0 -4
- package/dist/mjs/errors/generic-error.js +0 -10
- package/dist/mjs/errors/generic-error.js.map +0 -1
- package/dist/mjs/errors/generic-request-error.d.ts +0 -7
- package/dist/mjs/errors/generic-request-error.js +0 -15
- package/dist/mjs/errors/generic-request-error.js.map +0 -1
- package/dist/mjs/errors/index.d.ts +0 -10
- package/dist/mjs/errors/index.js +0 -11
- package/dist/mjs/errors/index.js.map +0 -1
- package/dist/mjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/dist/mjs/errors/jsonp-callback-missing-error.js +0 -10
- package/dist/mjs/errors/jsonp-callback-missing-error.js.map +0 -1
- package/dist/mjs/errors/object-not-found-error.d.ts +0 -4
- package/dist/mjs/errors/object-not-found-error.js +0 -10
- package/dist/mjs/errors/object-not-found-error.js.map +0 -1
- package/dist/mjs/errors/options-validation-error.d.ts +0 -4
- package/dist/mjs/errors/options-validation-error.js +0 -10
- package/dist/mjs/errors/options-validation-error.js.map +0 -1
- package/dist/mjs/errors/subscriber-only-error.d.ts +0 -4
- package/dist/mjs/errors/subscriber-only-error.js +0 -10
- package/dist/mjs/errors/subscriber-only-error.js.map +0 -1
- package/dist/mjs/errors/unauthorized-error.d.ts +0 -4
- package/dist/mjs/errors/unauthorized-error.js +0 -10
- package/dist/mjs/errors/unauthorized-error.js.map +0 -1
- package/dist/mjs/errors/url-format-error.d.ts +0 -4
- package/dist/mjs/errors/url-format-error.js +0 -10
- package/dist/mjs/errors/url-format-error.js.map +0 -1
- package/dist/mjs/http-client/http-client-factory.d.ts +0 -6
- package/dist/mjs/http-client/http-client-factory.js +0 -11
- package/dist/mjs/http-client/http-client-factory.js.map +0 -1
- package/dist/mjs/http-client/http-client.d.ts +0 -8
- package/dist/mjs/http-client/http-client.js +0 -51
- package/dist/mjs/http-client/http-client.js.map +0 -1
- package/dist/mjs/http-client/index.d.ts +0 -1
- package/dist/mjs/http-client/index.js +0 -2
- package/dist/mjs/http-client/index.js.map +0 -1
- package/dist/mjs/http-client/status-code.js +0 -11
- package/dist/mjs/http-client/status-code.js.map +0 -1
- package/dist/mjs/http-client/url-builder.d.ts +0 -18
- package/dist/mjs/http-client/url-builder.js +0 -88
- package/dist/mjs/http-client/url-builder.js.map +0 -1
- package/dist/mjs/index.d.ts +0 -2
- package/dist/mjs/index.js +0 -3
- package/dist/mjs/index.js.map +0 -1
- package/dist/mjs/options/index.d.ts +0 -16
- package/dist/mjs/options/index.js +0 -22
- package/dist/mjs/options/index.js.map +0 -1
- package/dist/mjs/package.json +0 -3
- package/dist/mjs/resources/base-resource.d.ts +0 -19
- package/dist/mjs/resources/base-resource.js +0 -55
- package/dist/mjs/resources/base-resource.js.map +0 -1
- package/dist/mjs/resources/character/character.d.ts +0 -6
- package/dist/mjs/resources/character/character.js +0 -6
- package/dist/mjs/resources/character/character.js.map +0 -1
- package/dist/mjs/resources/character/index.d.ts +0 -1
- package/dist/mjs/resources/character/index.js +0 -2
- package/dist/mjs/resources/character/index.js.map +0 -1
- package/dist/mjs/resources/character/types/character-details.d.ts +0 -32
- package/dist/mjs/resources/character/types/character-details.js +0 -2
- package/dist/mjs/resources/character/types/character-details.js.map +0 -1
- package/dist/mjs/resources/character/types/character-list-item.d.ts +0 -20
- package/dist/mjs/resources/character/types/character-list-item.js +0 -2
- package/dist/mjs/resources/character/types/character-list-item.js.map +0 -1
- package/dist/mjs/resources/character/types/index.d.ts +0 -2
- package/dist/mjs/resources/character/types/index.js +0 -3
- package/dist/mjs/resources/character/types/index.js.map +0 -1
- package/dist/mjs/resources/common-types.js +0 -2
- package/dist/mjs/resources/common-types.js.map +0 -1
- package/dist/mjs/resources/concept/concept.d.ts +0 -6
- package/dist/mjs/resources/concept/concept.js +0 -6
- package/dist/mjs/resources/concept/concept.js.map +0 -1
- package/dist/mjs/resources/concept/index.d.ts +0 -1
- package/dist/mjs/resources/concept/index.js +0 -2
- package/dist/mjs/resources/concept/index.js.map +0 -1
- package/dist/mjs/resources/concept/types/concept-details.d.ts +0 -19
- package/dist/mjs/resources/concept/types/concept-details.js +0 -2
- package/dist/mjs/resources/concept/types/concept-details.js.map +0 -1
- package/dist/mjs/resources/concept/types/concept-list-item.d.ts +0 -16
- package/dist/mjs/resources/concept/types/concept-list-item.js +0 -2
- package/dist/mjs/resources/concept/types/concept-list-item.js.map +0 -1
- package/dist/mjs/resources/concept/types/index.d.ts +0 -2
- package/dist/mjs/resources/concept/types/index.js +0 -3
- package/dist/mjs/resources/concept/types/index.js.map +0 -1
- package/dist/mjs/resources/episode/episode.d.ts +0 -6
- package/dist/mjs/resources/episode/episode.js +0 -6
- package/dist/mjs/resources/episode/episode.js.map +0 -1
- package/dist/mjs/resources/episode/index.d.ts +0 -1
- package/dist/mjs/resources/episode/index.js +0 -2
- package/dist/mjs/resources/episode/index.js.map +0 -1
- package/dist/mjs/resources/episode/types/episode-details.d.ts +0 -30
- package/dist/mjs/resources/episode/types/episode-details.js +0 -2
- package/dist/mjs/resources/episode/types/episode-details.js.map +0 -1
- package/dist/mjs/resources/episode/types/episode-list-item.d.ts +0 -17
- package/dist/mjs/resources/episode/types/episode-list-item.js +0 -2
- package/dist/mjs/resources/episode/types/episode-list-item.js.map +0 -1
- package/dist/mjs/resources/episode/types/index.d.ts +0 -2
- package/dist/mjs/resources/episode/types/index.js +0 -3
- package/dist/mjs/resources/episode/types/index.js.map +0 -1
- package/dist/mjs/resources/index.d.ts +0 -3
- package/dist/mjs/resources/index.js +0 -4
- package/dist/mjs/resources/index.js.map +0 -1
- package/dist/mjs/resources/issue/index.d.ts +0 -1
- package/dist/mjs/resources/issue/index.js +0 -2
- package/dist/mjs/resources/issue/index.js.map +0 -1
- package/dist/mjs/resources/issue/issue.d.ts +0 -6
- package/dist/mjs/resources/issue/issue.js +0 -6
- package/dist/mjs/resources/issue/issue.js.map +0 -1
- package/dist/mjs/resources/issue/types/index.d.ts +0 -2
- package/dist/mjs/resources/issue/types/index.js +0 -3
- package/dist/mjs/resources/issue/types/index.js.map +0 -1
- package/dist/mjs/resources/issue/types/issue-details.d.ts +0 -34
- package/dist/mjs/resources/issue/types/issue-details.js +0 -2
- package/dist/mjs/resources/issue/types/issue-details.js.map +0 -1
- package/dist/mjs/resources/issue/types/issue-list-item.d.ts +0 -19
- package/dist/mjs/resources/issue/types/issue-list-item.js +0 -2
- package/dist/mjs/resources/issue/types/issue-list-item.js.map +0 -1
- package/dist/mjs/resources/location/index.d.ts +0 -1
- package/dist/mjs/resources/location/index.js +0 -2
- package/dist/mjs/resources/location/index.js.map +0 -1
- package/dist/mjs/resources/location/location.d.ts +0 -6
- package/dist/mjs/resources/location/location.js +0 -6
- package/dist/mjs/resources/location/location.js.map +0 -1
- package/dist/mjs/resources/location/types/index.d.ts +0 -2
- package/dist/mjs/resources/location/types/index.js +0 -3
- package/dist/mjs/resources/location/types/index.js.map +0 -1
- package/dist/mjs/resources/location/types/location-details.d.ts +0 -20
- package/dist/mjs/resources/location/types/location-details.js +0 -2
- package/dist/mjs/resources/location/types/location-details.js.map +0 -1
- package/dist/mjs/resources/location/types/location-list-item.d.ts +0 -16
- package/dist/mjs/resources/location/types/location-list-item.js +0 -2
- package/dist/mjs/resources/location/types/location-list-item.js.map +0 -1
- package/dist/mjs/resources/movie/index.d.ts +0 -1
- package/dist/mjs/resources/movie/index.js +0 -2
- package/dist/mjs/resources/movie/index.js.map +0 -1
- package/dist/mjs/resources/movie/movie.d.ts +0 -6
- package/dist/mjs/resources/movie/movie.js +0 -6
- package/dist/mjs/resources/movie/movie.js.map +0 -1
- package/dist/mjs/resources/movie/types/index.d.ts +0 -2
- package/dist/mjs/resources/movie/types/index.js +0 -3
- package/dist/mjs/resources/movie/types/index.js.map +0 -1
- package/dist/mjs/resources/movie/types/movie-details.d.ts +0 -28
- package/dist/mjs/resources/movie/types/movie-details.js +0 -2
- package/dist/mjs/resources/movie/types/movie-details.js.map +0 -1
- package/dist/mjs/resources/movie/types/movie-list-item.d.ts +0 -23
- package/dist/mjs/resources/movie/types/movie-list-item.js +0 -2
- package/dist/mjs/resources/movie/types/movie-list-item.js.map +0 -1
- package/dist/mjs/resources/origin/index.d.ts +0 -1
- package/dist/mjs/resources/origin/index.js +0 -2
- package/dist/mjs/resources/origin/index.js.map +0 -1
- package/dist/mjs/resources/origin/origin.d.ts +0 -6
- package/dist/mjs/resources/origin/origin.js +0 -6
- package/dist/mjs/resources/origin/origin.js.map +0 -1
- package/dist/mjs/resources/origin/types/index.d.ts +0 -2
- package/dist/mjs/resources/origin/types/index.js +0 -3
- package/dist/mjs/resources/origin/types/index.js.map +0 -1
- package/dist/mjs/resources/origin/types/origin-details.d.ts +0 -10
- package/dist/mjs/resources/origin/types/origin-details.js +0 -2
- package/dist/mjs/resources/origin/types/origin-details.js.map +0 -1
- package/dist/mjs/resources/origin/types/origin-list-item.d.ts +0 -6
- package/dist/mjs/resources/origin/types/origin-list-item.js +0 -2
- package/dist/mjs/resources/origin/types/origin-list-item.js.map +0 -1
- package/dist/mjs/resources/person/index.d.ts +0 -1
- package/dist/mjs/resources/person/index.js +0 -2
- package/dist/mjs/resources/person/index.js.map +0 -1
- package/dist/mjs/resources/person/person.d.ts +0 -6
- package/dist/mjs/resources/person/person.js +0 -6
- package/dist/mjs/resources/person/person.js.map +0 -1
- package/dist/mjs/resources/person/types/index.d.ts +0 -2
- package/dist/mjs/resources/person/types/index.js +0 -3
- package/dist/mjs/resources/person/types/index.js.map +0 -1
- package/dist/mjs/resources/person/types/person-details.d.ts +0 -25
- package/dist/mjs/resources/person/types/person-details.js +0 -2
- package/dist/mjs/resources/person/types/person-details.js.map +0 -1
- package/dist/mjs/resources/person/types/person-list-item.d.ts +0 -26
- package/dist/mjs/resources/person/types/person-list-item.js +0 -5
- package/dist/mjs/resources/person/types/person-list-item.js.map +0 -1
- package/dist/mjs/resources/power/index.d.ts +0 -1
- package/dist/mjs/resources/power/index.js +0 -2
- package/dist/mjs/resources/power/index.js.map +0 -1
- package/dist/mjs/resources/power/power.d.ts +0 -6
- package/dist/mjs/resources/power/power.js +0 -6
- package/dist/mjs/resources/power/power.js.map +0 -1
- package/dist/mjs/resources/power/types/index.d.ts +0 -2
- package/dist/mjs/resources/power/types/index.js +0 -3
- package/dist/mjs/resources/power/types/index.js.map +0 -1
- package/dist/mjs/resources/power/types/power-details.d.ts +0 -12
- package/dist/mjs/resources/power/types/power-details.js +0 -2
- package/dist/mjs/resources/power/types/power-details.js.map +0 -1
- package/dist/mjs/resources/power/types/power-list-item.d.ts +0 -10
- package/dist/mjs/resources/power/types/power-list-item.js +0 -2
- package/dist/mjs/resources/power/types/power-list-item.js.map +0 -1
- package/dist/mjs/resources/promo/index.d.ts +0 -1
- package/dist/mjs/resources/promo/index.js +0 -2
- package/dist/mjs/resources/promo/index.js.map +0 -1
- package/dist/mjs/resources/promo/promo.d.ts +0 -6
- package/dist/mjs/resources/promo/promo.js +0 -6
- package/dist/mjs/resources/promo/promo.js.map +0 -1
- package/dist/mjs/resources/promo/types/index.d.ts +0 -2
- package/dist/mjs/resources/promo/types/index.js +0 -3
- package/dist/mjs/resources/promo/types/index.js.map +0 -1
- package/dist/mjs/resources/promo/types/promo-details.d.ts +0 -13
- package/dist/mjs/resources/promo/types/promo-details.js +0 -2
- package/dist/mjs/resources/promo/types/promo-details.js.map +0 -1
- package/dist/mjs/resources/promo/types/promo-list-item.d.ts +0 -13
- package/dist/mjs/resources/promo/types/promo-list-item.js +0 -2
- package/dist/mjs/resources/promo/types/promo-list-item.js.map +0 -1
- package/dist/mjs/resources/publisher/index.d.ts +0 -1
- package/dist/mjs/resources/publisher/index.js +0 -2
- package/dist/mjs/resources/publisher/index.js.map +0 -1
- package/dist/mjs/resources/publisher/publisher.d.ts +0 -6
- package/dist/mjs/resources/publisher/publisher.js +0 -6
- package/dist/mjs/resources/publisher/publisher.js.map +0 -1
- package/dist/mjs/resources/publisher/types/index.d.ts +0 -2
- package/dist/mjs/resources/publisher/types/index.js +0 -3
- package/dist/mjs/resources/publisher/types/index.js.map +0 -1
- package/dist/mjs/resources/publisher/types/publisher-details.d.ts +0 -20
- package/dist/mjs/resources/publisher/types/publisher-details.js +0 -2
- package/dist/mjs/resources/publisher/types/publisher-details.js.map +0 -1
- package/dist/mjs/resources/publisher/types/publisher-list-item.d.ts +0 -22
- package/dist/mjs/resources/publisher/types/publisher-list-item.js +0 -8
- package/dist/mjs/resources/publisher/types/publisher-list-item.js.map +0 -1
- package/dist/mjs/resources/resource-factory.d.ts +0 -8
- package/dist/mjs/resources/resource-factory.js +0 -17
- package/dist/mjs/resources/resource-factory.js.map +0 -1
- package/dist/mjs/resources/resource-list.d.ts +0 -19
- package/dist/mjs/resources/resource-list.js +0 -20
- package/dist/mjs/resources/resource-list.js.map +0 -1
- package/dist/mjs/resources/resource-map.d.ts +0 -7
- package/dist/mjs/resources/resource-map.js +0 -36
- package/dist/mjs/resources/resource-map.js.map +0 -1
- package/dist/mjs/resources/resource-type.js +0 -23
- package/dist/mjs/resources/resource-type.js.map +0 -1
- package/dist/mjs/resources/series/index.d.ts +0 -1
- package/dist/mjs/resources/series/index.js +0 -2
- package/dist/mjs/resources/series/index.js.map +0 -1
- package/dist/mjs/resources/series/series.d.ts +0 -6
- package/dist/mjs/resources/series/series.js +0 -6
- package/dist/mjs/resources/series/series.js.map +0 -1
- package/dist/mjs/resources/series/types/index.d.ts +0 -2
- package/dist/mjs/resources/series/types/index.js +0 -3
- package/dist/mjs/resources/series/types/index.js.map +0 -1
- package/dist/mjs/resources/series/types/series-details.d.ts +0 -20
- package/dist/mjs/resources/series/types/series-details.js +0 -2
- package/dist/mjs/resources/series/types/series-details.js.map +0 -1
- package/dist/mjs/resources/series/types/series-list-item.d.ts +0 -18
- package/dist/mjs/resources/series/types/series-list-item.js +0 -2
- package/dist/mjs/resources/series/types/series-list-item.js.map +0 -1
- package/dist/mjs/resources/story-arc/index.d.ts +0 -1
- package/dist/mjs/resources/story-arc/index.js +0 -2
- package/dist/mjs/resources/story-arc/index.js.map +0 -1
- package/dist/mjs/resources/story-arc/story-arc.d.ts +0 -6
- package/dist/mjs/resources/story-arc/story-arc.js +0 -6
- package/dist/mjs/resources/story-arc/story-arc.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/index.d.ts +0 -2
- package/dist/mjs/resources/story-arc/types/index.js +0 -3
- package/dist/mjs/resources/story-arc/types/index.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/story-arc-details.d.ts +0 -20
- package/dist/mjs/resources/story-arc/types/story-arc-details.js +0 -2
- package/dist/mjs/resources/story-arc/types/story-arc-details.js.map +0 -1
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -17
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.js +0 -2
- package/dist/mjs/resources/story-arc/types/story-arc-list-item.js.map +0 -1
- package/dist/mjs/resources/team/index.d.ts +0 -1
- package/dist/mjs/resources/team/index.js +0 -2
- package/dist/mjs/resources/team/index.js.map +0 -1
- package/dist/mjs/resources/team/team.d.ts +0 -6
- package/dist/mjs/resources/team/team.js +0 -6
- package/dist/mjs/resources/team/team.js.map +0 -1
- package/dist/mjs/resources/team/types/index.d.ts +0 -2
- package/dist/mjs/resources/team/types/index.js +0 -3
- package/dist/mjs/resources/team/types/index.js.map +0 -1
- package/dist/mjs/resources/team/types/team-details.d.ts +0 -26
- package/dist/mjs/resources/team/types/team-details.js +0 -2
- package/dist/mjs/resources/team/types/team-details.js.map +0 -1
- package/dist/mjs/resources/team/types/team-list-item.d.ts +0 -17
- package/dist/mjs/resources/team/types/team-list-item.js +0 -2
- package/dist/mjs/resources/team/types/team-list-item.js.map +0 -1
- package/dist/mjs/resources/thing/index.d.ts +0 -1
- package/dist/mjs/resources/thing/index.js +0 -2
- package/dist/mjs/resources/thing/index.js.map +0 -1
- package/dist/mjs/resources/thing/thing.d.ts +0 -6
- package/dist/mjs/resources/thing/thing.js +0 -6
- package/dist/mjs/resources/thing/thing.js.map +0 -1
- package/dist/mjs/resources/thing/types/index.d.ts +0 -2
- package/dist/mjs/resources/thing/types/index.js +0 -3
- package/dist/mjs/resources/thing/types/index.js.map +0 -1
- package/dist/mjs/resources/thing/types/thing-details.d.ts +0 -20
- package/dist/mjs/resources/thing/types/thing-details.js +0 -2
- package/dist/mjs/resources/thing/types/thing-details.js.map +0 -1
- package/dist/mjs/resources/thing/types/thing-list-item.d.ts +0 -16
- package/dist/mjs/resources/thing/types/thing-list-item.js +0 -2
- package/dist/mjs/resources/thing/types/thing-list-item.js.map +0 -1
- package/dist/mjs/resources/video/index.d.ts +0 -1
- package/dist/mjs/resources/video/index.js +0 -2
- package/dist/mjs/resources/video/index.js.map +0 -1
- package/dist/mjs/resources/video/types/index.d.ts +0 -2
- package/dist/mjs/resources/video/types/index.js +0 -3
- package/dist/mjs/resources/video/types/index.js.map +0 -1
- package/dist/mjs/resources/video/types/video-details.d.ts +0 -27
- package/dist/mjs/resources/video/types/video-details.js +0 -2
- package/dist/mjs/resources/video/types/video-details.js.map +0 -1
- package/dist/mjs/resources/video/types/video-list-item.d.ts +0 -49
- package/dist/mjs/resources/video/types/video-list-item.js +0 -25
- package/dist/mjs/resources/video/types/video-list-item.js.map +0 -1
- package/dist/mjs/resources/video/video.d.ts +0 -6
- package/dist/mjs/resources/video/video.js +0 -6
- package/dist/mjs/resources/video/video.js.map +0 -1
- package/dist/mjs/resources/video-category/index.d.ts +0 -1
- package/dist/mjs/resources/video-category/index.js +0 -2
- package/dist/mjs/resources/video-category/index.js.map +0 -1
- package/dist/mjs/resources/video-category/types/index.d.ts +0 -2
- package/dist/mjs/resources/video-category/types/index.js +0 -3
- package/dist/mjs/resources/video-category/types/index.js.map +0 -1
- package/dist/mjs/resources/video-category/types/video-category-details.d.ts +0 -9
- package/dist/mjs/resources/video-category/types/video-category-details.js +0 -2
- package/dist/mjs/resources/video-category/types/video-category-details.js.map +0 -1
- package/dist/mjs/resources/video-category/types/video-category-list-item.d.ts +0 -9
- package/dist/mjs/resources/video-category/types/video-category-list-item.js +0 -2
- package/dist/mjs/resources/video-category/types/video-category-list-item.js.map +0 -1
- package/dist/mjs/resources/video-category/video-category.d.ts +0 -6
- package/dist/mjs/resources/video-category/video-category.js +0 -6
- package/dist/mjs/resources/video-category/video-category.js.map +0 -1
- package/dist/mjs/resources/video-type/index.d.ts +0 -1
- package/dist/mjs/resources/video-type/index.js +0 -2
- package/dist/mjs/resources/video-type/index.js.map +0 -1
- package/dist/mjs/resources/video-type/types/index.d.ts +0 -2
- package/dist/mjs/resources/video-type/types/index.js +0 -3
- package/dist/mjs/resources/video-type/types/index.js.map +0 -1
- package/dist/mjs/resources/video-type/types/video-type-details.d.ts +0 -7
- package/dist/mjs/resources/video-type/types/video-type-details.js +0 -2
- package/dist/mjs/resources/video-type/types/video-type-details.js.map +0 -1
- package/dist/mjs/resources/video-type/types/video-type-list-item.d.ts +0 -7
- package/dist/mjs/resources/video-type/types/video-type-list-item.js +0 -2
- package/dist/mjs/resources/video-type/types/video-type-list-item.js.map +0 -1
- package/dist/mjs/resources/video-type/video-type.d.ts +0 -6
- package/dist/mjs/resources/video-type/video-type.js +0 -6
- package/dist/mjs/resources/video-type/video-type.js.map +0 -1
- package/dist/mjs/resources/volume/index.d.ts +0 -1
- package/dist/mjs/resources/volume/index.js +0 -2
- package/dist/mjs/resources/volume/index.js.map +0 -1
- package/dist/mjs/resources/volume/types/index.d.ts +0 -2
- package/dist/mjs/resources/volume/types/index.js +0 -3
- package/dist/mjs/resources/volume/types/index.js.map +0 -1
- package/dist/mjs/resources/volume/types/volume-details.d.ts +0 -23
- package/dist/mjs/resources/volume/types/volume-details.js +0 -2
- package/dist/mjs/resources/volume/types/volume-details.js.map +0 -1
- package/dist/mjs/resources/volume/types/volume-list-item.d.ts +0 -18
- package/dist/mjs/resources/volume/types/volume-list-item.js +0 -2
- package/dist/mjs/resources/volume/types/volume-list-item.js.map +0 -1
- package/dist/mjs/resources/volume/volume.d.ts +0 -6
- package/dist/mjs/resources/volume/volume.js +0 -6
- package/dist/mjs/resources/volume/volume.js.map +0 -1
- package/dist/mjs/types/apply-override.js +0 -2
- package/dist/mjs/types/apply-override.js.map +0 -1
- package/dist/mjs/types/http-client.d.ts +0 -4
- package/dist/mjs/types/http-client.js +0 -2
- package/dist/mjs/types/http-client.js.map +0 -1
- package/dist/mjs/types/index.d.ts +0 -7
- package/dist/mjs/types/index.js +0 -8
- package/dist/mjs/types/index.js.map +0 -1
- package/dist/mjs/types/iso-date.js +0 -2
- package/dist/mjs/types/iso-date.js.map +0 -1
- package/dist/mjs/types/pick-filters.js +0 -2
- package/dist/mjs/types/pick-filters.js.map +0 -1
- package/dist/mjs/types/request.d.ts +0 -14
- package/dist/mjs/types/request.js +0 -2
- package/dist/mjs/types/request.js.map +0 -1
- package/dist/mjs/types/response.d.ts +0 -10
- package/dist/mjs/types/response.js +0 -2
- package/dist/mjs/types/response.js.map +0 -1
- package/dist/mjs/types/url-builder.d.ts +0 -6
- package/dist/mjs/types/url-builder.js +0 -2
- package/dist/mjs/types/url-builder.js.map +0 -1
- package/dist/mjs/types/valueof.js +0 -2
- package/dist/mjs/types/valueof.js.map +0 -1
- package/dist/mjs/utils/case-converter.js +0 -27
- package/dist/mjs/utils/case-converter.js.map +0 -1
- package/dist/mjs/utils/index.d.ts +0 -2
- package/dist/mjs/utils/index.js +0 -3
- package/dist/mjs/utils/index.js.map +0 -1
- package/dist/mjs/utils/is-object.js +0 -4
- package/dist/mjs/utils/is-object.js.map +0 -1
- /package/{dist → lib}/cjs/errors/base-error.d.ts +0 -0
- /package/{dist → lib}/cjs/http-client/status-code.d.ts +0 -0
- /package/{dist → lib}/cjs/resources/common-types.d.ts +0 -0
- /package/{dist → lib}/cjs/resources/resource-type.d.ts +0 -0
- /package/{dist → lib}/cjs/types/apply-override.d.ts +0 -0
- /package/{dist → lib}/cjs/types/iso-date.d.ts +0 -0
- /package/{dist → lib}/cjs/types/pick-filters.d.ts +0 -0
- /package/{dist → lib}/cjs/types/valueof.d.ts +0 -0
- /package/{dist → lib}/cjs/utils/case-converter.d.ts +0 -0
- /package/{dist → lib}/cjs/utils/is-object.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/errors/base-error.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/http-client/status-code.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/resources/common-types.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/resources/resource-type.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/apply-override.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/iso-date.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/pick-filters.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/types/valueof.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/utils/case-converter.d.ts +0 -0
- /package/{dist/mjs → lib/esm}/utils/is-object.d.ts +0 -0
package/.gitattributes
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
|
2
|
+
|
|
3
|
+
/.eslintrc.json linguist-generated
|
|
4
|
+
/.gitattributes linguist-generated
|
|
5
|
+
/.github/pull_request_template.md linguist-generated
|
|
6
|
+
/.github/workflows/build.yml linguist-generated
|
|
7
|
+
/.github/workflows/pull-request-lint.yml linguist-generated
|
|
8
|
+
/.github/workflows/release.yml linguist-generated
|
|
9
|
+
/.github/workflows/upgrade-main.yml linguist-generated
|
|
10
|
+
/.gitignore linguist-generated
|
|
11
|
+
/.mergify.yml linguist-generated
|
|
12
|
+
/.npmignore linguist-generated
|
|
13
|
+
/.npmrc linguist-generated
|
|
14
|
+
/.prettierignore linguist-generated
|
|
15
|
+
/.prettierrc.json linguist-generated
|
|
16
|
+
/.projen/** linguist-generated
|
|
17
|
+
/.projen/deps.json linguist-generated
|
|
18
|
+
/.projen/files.json linguist-generated
|
|
19
|
+
/.projen/tasks.json linguist-generated
|
|
20
|
+
/LICENSE linguist-generated
|
|
21
|
+
/package.json linguist-generated
|
|
22
|
+
/pnpm-lock.yaml linguist-generated
|
|
23
|
+
/scripts/create-package-json.ts linguist-generated
|
|
24
|
+
/tsconfig.build.cjs.json linguist-generated
|
|
25
|
+
/tsconfig.build.esm.json linguist-generated
|
|
26
|
+
/tsconfig.dev.json linguist-generated
|
|
27
|
+
/tsconfig.json linguist-generated
|
package/.prettierignore
ADDED
package/.prettierrc.json
ADDED
package/.projenrc.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { TypeScriptNpmPackage } from '@ally-murray/projen-modules';
|
|
2
|
+
|
|
3
|
+
const repository = 'https://github.com/AllyMurray/comic-vine';
|
|
4
|
+
|
|
5
|
+
const project = new TypeScriptNpmPackage({
|
|
6
|
+
name: 'comic-vine',
|
|
7
|
+
packageName: 'comic-vine-sdk',
|
|
8
|
+
description: 'A JS/TS client for the Comic Vine API',
|
|
9
|
+
defaultReleaseBranch: 'main',
|
|
10
|
+
deps: ['axios', 'clone-deep', 'zod'],
|
|
11
|
+
devDeps: [
|
|
12
|
+
'@ally-murray/projen-modules',
|
|
13
|
+
'@types/clone-deep',
|
|
14
|
+
'commitizen',
|
|
15
|
+
'husky',
|
|
16
|
+
'lint-staged',
|
|
17
|
+
'nock',
|
|
18
|
+
'rimraf',
|
|
19
|
+
'vitest',
|
|
20
|
+
],
|
|
21
|
+
minMajorVersion: 1,
|
|
22
|
+
keywords: [
|
|
23
|
+
'comic-metadata',
|
|
24
|
+
'comic-vine-api',
|
|
25
|
+
'comic-vine-client',
|
|
26
|
+
'comic-vine-javascript',
|
|
27
|
+
'comic-vine-js',
|
|
28
|
+
'comic-vine-node',
|
|
29
|
+
'comic-vine-nodejs',
|
|
30
|
+
'comic-vine-sdk',
|
|
31
|
+
'comic-vine-ts',
|
|
32
|
+
'comic-vine-typescript',
|
|
33
|
+
'comic-vine',
|
|
34
|
+
'comic',
|
|
35
|
+
'comics',
|
|
36
|
+
'metadata',
|
|
37
|
+
],
|
|
38
|
+
repository,
|
|
39
|
+
tsconfig: {
|
|
40
|
+
compilerOptions: {
|
|
41
|
+
module: 'Node16',
|
|
42
|
+
target: 'ES2020',
|
|
43
|
+
// @ts-expect-error types is missing from compilerOptions
|
|
44
|
+
types: ['vitest/globals'],
|
|
45
|
+
skipLibCheck: true,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
project.synth();
|
package/.releaserc.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
## [1.2.5](https://github.com/AllyMurray/comic-vine/compare/v1.2.4...v1.2.5) (2023-03-18)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- upgrade zod from 3.20.2 to 3.20.5 ([31755e7](https://github.com/AllyMurray/comic-vine/commit/31755e711b7a61fced6da6554461b45f4db43046))
|
|
6
|
+
- upgrade zod from 3.20.5 to 3.20.6 ([4c32d5b](https://github.com/AllyMurray/comic-vine/commit/4c32d5b8f8d94da50a1a4c456f360dbe9d53beaf))
|
|
7
|
+
|
|
8
|
+
## [1.2.4](https://github.com/AllyMurray/comic-vine/compare/v1.2.3...v1.2.4) (2023-01-31)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- :package: publish typings to npm ([f132dd6](https://github.com/AllyMurray/comic-vine/commit/f132dd6e3d8a2983e5e8b20434c6d491123503e4))
|
|
13
|
+
|
|
14
|
+
## [1.2.3](https://github.com/AllyMurray/comic-vine/compare/v1.2.2...v1.2.3) (2023-01-22)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- upgrade zod from 3.19.1 to 3.20.2 ([4576f78](https://github.com/AllyMurray/comic-vine/commit/4576f78a34a5470274da2d384814bf8f85e977fe))
|
|
19
|
+
|
|
20
|
+
## [1.2.2](https://github.com/AllyMurray/comic-vine/compare/v1.2.1...v1.2.2) (2022-12-04)
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- **typo in pagination example:** typo in pagination example ([3b3d3c5](https://github.com/AllyMurray/comic-vine/commit/3b3d3c5b30ce42672767f1a17d78b792a6dc3a0f))
|
|
25
|
+
|
|
26
|
+
## [1.2.1](https://github.com/AllyMurray/comic-vine/compare/v1.2.0...v1.2.1) (2022-12-04)
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
- **auto pagination example:** fixes the autopagination example so limit is set to 50 ([a198408](https://github.com/AllyMurray/comic-vine/commit/a19840857a67c71f8cd671f47335b8c7a6f28f4d))
|
|
31
|
+
|
|
32
|
+
# [1.2.0](https://github.com/AllyMurray/comic-vine/compare/v1.1.1...v1.2.0) (2022-12-04)
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- **auto pagination:** add auto pagination to list methods ([a5fa379](https://github.com/AllyMurray/comic-vine/commit/a5fa379e9cc267552741aa5f82c06b8242f55856))
|
|
37
|
+
|
|
38
|
+
## [1.1.1](https://github.com/AllyMurray/comic-vine/compare/v1.1.0...v1.1.1) (2022-10-15)
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
- **options docs:** add missing documentation for setting baseUrl ([6954695](https://github.com/AllyMurray/comic-vine/commit/6954695b6d3322fde38258fcc1f50fc6a83aa72e))
|
|
43
|
+
|
|
44
|
+
# [1.1.0](https://github.com/AllyMurray/comic-vine/compare/v1.0.4...v1.1.0) (2022-10-15)
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
- **library options:** allow setting baseUrl when initializing the library ([07fe7e3](https://github.com/AllyMurray/comic-vine/commit/07fe7e3905bea006b8a15dc0b545a0ae1f53f084))
|
|
49
|
+
|
|
50
|
+
## [1.0.4](https://github.com/AllyMurray/comic-vine/compare/v1.0.3...v1.0.4) (2022-10-08)
|
|
51
|
+
|
|
52
|
+
### Bug Fixes
|
|
53
|
+
|
|
54
|
+
- **typings:** improve the api response typings ([e5bf556](https://github.com/AllyMurray/comic-vine/commit/e5bf5561149e1cff6e0c538dacf3c8fc71b6c935))
|
|
55
|
+
|
|
56
|
+
## [1.0.3](https://github.com/AllyMurray/comic-vine/compare/v1.0.2...v1.0.3) (2022-10-07)
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
- **tsconfig.json:** remove comments so that the file can be parsed by snyk ([fe715f7](https://github.com/AllyMurray/comic-vine/commit/fe715f72840bce8247c0550c21fa45d555b7990f))
|
|
61
|
+
|
|
62
|
+
## [1.0.2](https://github.com/AllyMurray/comic-vine/compare/v1.0.1...v1.0.2) (2022-10-07)
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
- **character details typings:** birth can be null or string, change any arrays to SiteResource array ([5a69bd3](https://github.com/AllyMurray/comic-vine/commit/5a69bd3b6394b2a389cdf7c5b9b4713350788fb8))
|
|
67
|
+
|
|
68
|
+
## [1.0.1](https://github.com/AllyMurray/comic-vine/compare/v1.0.0...v1.0.1) (2022-10-05)
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
- **ts build:** update typescript typings to remove false positives in vscode problems window ([ece4080](https://github.com/AllyMurray/comic-vine/commit/ece4080370be2635712b1978f2e6d7f6c88ddc40))
|
|
73
|
+
|
|
74
|
+
# [1.0.0](https://github.com/AllyMurray/comic-vine/compare/efa0a077ec5104451fc33ab773d888bb79f6438f...v1.0.0) (2022-09-30)
|
|
75
|
+
|
|
76
|
+
### Bug Fixes
|
|
77
|
+
|
|
78
|
+
- **npm publish:** rename npm package ([37eb3a1](https://github.com/AllyMurray/comic-vine/commit/37eb3a17b9b8cd1c58e09b2efcb1380e10124d14))
|
|
79
|
+
- **npm publish:** rename npm package to comic-vine-sdk ([26fe0d8](https://github.com/AllyMurray/comic-vine/commit/26fe0d8321c7ed4df57664e5006a798e296b17dc))
|
|
80
|
+
|
|
81
|
+
### Features
|
|
82
|
+
|
|
83
|
+
- **gh workflow:** automate release to npm ([efa0a07](https://github.com/AllyMurray/comic-vine/commit/efa0a077ec5104451fc33ab773d888bb79f6438f))
|
|
@@ -0,0 +1,128 @@
|
|
|
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/LICENSE
CHANGED
package/jest.setup.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { userOptions } from './options/index.js';
|
|
2
|
+
export declare class ComicVine {
|
|
3
|
+
private _character;
|
|
4
|
+
private _concept;
|
|
5
|
+
private _episode;
|
|
6
|
+
private _issue;
|
|
7
|
+
private _location;
|
|
8
|
+
private _movie;
|
|
9
|
+
private _origin;
|
|
10
|
+
private _person;
|
|
11
|
+
private _power;
|
|
12
|
+
private _promo;
|
|
13
|
+
private _publisher;
|
|
14
|
+
private _series;
|
|
15
|
+
private _storyArc;
|
|
16
|
+
private _team;
|
|
17
|
+
private _thing;
|
|
18
|
+
private _video;
|
|
19
|
+
private _videoCategory;
|
|
20
|
+
private _videoType;
|
|
21
|
+
private _volume;
|
|
22
|
+
constructor(key: string, options?: userOptions);
|
|
23
|
+
get character(): import("./resources/resource-list.js").Character;
|
|
24
|
+
get concept(): import("./resources/resource-list.js").Concept;
|
|
25
|
+
get episode(): import("./resources/resource-list.js").Episode;
|
|
26
|
+
get issue(): import("./resources/resource-list.js").Issue;
|
|
27
|
+
get location(): import("./resources/resource-list.js").Location;
|
|
28
|
+
get movie(): import("./resources/resource-list.js").Movie;
|
|
29
|
+
get origin(): import("./resources/resource-list.js").Origin;
|
|
30
|
+
get person(): import("./resources/resource-list.js").Person;
|
|
31
|
+
get power(): import("./resources/resource-list.js").Power;
|
|
32
|
+
get promo(): import("./resources/resource-list.js").Promo;
|
|
33
|
+
get publisher(): import("./resources/resource-list.js").Publisher;
|
|
34
|
+
get series(): import("./resources/resource-list.js").Series;
|
|
35
|
+
get storyArc(): import("./resources/resource-list.js").StoryArc;
|
|
36
|
+
get team(): import("./resources/resource-list.js").Team;
|
|
37
|
+
get thing(): import("./resources/resource-list.js").Thing;
|
|
38
|
+
get video(): import("./resources/resource-list.js").Video;
|
|
39
|
+
get videoCategory(): import("./resources/resource-list.js").VideoCategory;
|
|
40
|
+
get videoType(): import("./resources/resource-list.js").VideoType;
|
|
41
|
+
get volume(): import("./resources/resource-list.js").Volume;
|
|
42
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComicVine = void 0;
|
|
4
|
+
const index_js_1 = require("./http-client/index.js");
|
|
5
|
+
const index_js_2 = require("./options/index.js");
|
|
6
|
+
const index_js_3 = require("./resources/index.js");
|
|
7
|
+
class ComicVine {
|
|
8
|
+
constructor(key, options) {
|
|
9
|
+
const _options = (0, index_js_2.loadOptions)(options);
|
|
10
|
+
const httpClient = index_js_1.HttpClientFactory.createClient();
|
|
11
|
+
const urlBuilder = index_js_1.HttpClientFactory.createUrlBuilder(key, _options.baseUrl);
|
|
12
|
+
const resourceFactory = new index_js_3.ResourceFactory(httpClient, urlBuilder);
|
|
13
|
+
this._character = resourceFactory.create('Character');
|
|
14
|
+
this._concept = resourceFactory.create('Concept');
|
|
15
|
+
this._episode = resourceFactory.create('Episode');
|
|
16
|
+
this._issue = resourceFactory.create('Issue');
|
|
17
|
+
this._location = resourceFactory.create('Location');
|
|
18
|
+
this._movie = resourceFactory.create('Movie');
|
|
19
|
+
this._origin = resourceFactory.create('Origin');
|
|
20
|
+
this._person = resourceFactory.create('Person');
|
|
21
|
+
this._power = resourceFactory.create('Power');
|
|
22
|
+
this._promo = resourceFactory.create('Promo');
|
|
23
|
+
this._publisher = resourceFactory.create('Publisher');
|
|
24
|
+
this._series = resourceFactory.create('Series');
|
|
25
|
+
this._storyArc = resourceFactory.create('StoryArc');
|
|
26
|
+
this._team = resourceFactory.create('Team');
|
|
27
|
+
this._thing = resourceFactory.create('Thing');
|
|
28
|
+
this._video = resourceFactory.create('Video');
|
|
29
|
+
this._videoCategory = resourceFactory.create('VideoCategory');
|
|
30
|
+
this._videoType = resourceFactory.create('VideoType');
|
|
31
|
+
this._volume = resourceFactory.create('Volume');
|
|
32
|
+
}
|
|
33
|
+
get character() {
|
|
34
|
+
return this._character;
|
|
35
|
+
}
|
|
36
|
+
get concept() {
|
|
37
|
+
return this._concept;
|
|
38
|
+
}
|
|
39
|
+
get episode() {
|
|
40
|
+
return this._episode;
|
|
41
|
+
}
|
|
42
|
+
get issue() {
|
|
43
|
+
return this._issue;
|
|
44
|
+
}
|
|
45
|
+
get location() {
|
|
46
|
+
return this._location;
|
|
47
|
+
}
|
|
48
|
+
get movie() {
|
|
49
|
+
return this._movie;
|
|
50
|
+
}
|
|
51
|
+
get origin() {
|
|
52
|
+
return this._origin;
|
|
53
|
+
}
|
|
54
|
+
get person() {
|
|
55
|
+
return this._person;
|
|
56
|
+
}
|
|
57
|
+
get power() {
|
|
58
|
+
return this._power;
|
|
59
|
+
}
|
|
60
|
+
get promo() {
|
|
61
|
+
return this._promo;
|
|
62
|
+
}
|
|
63
|
+
get publisher() {
|
|
64
|
+
return this._publisher;
|
|
65
|
+
}
|
|
66
|
+
get series() {
|
|
67
|
+
return this._series;
|
|
68
|
+
}
|
|
69
|
+
get storyArc() {
|
|
70
|
+
return this._storyArc;
|
|
71
|
+
}
|
|
72
|
+
get team() {
|
|
73
|
+
return this._team;
|
|
74
|
+
}
|
|
75
|
+
get thing() {
|
|
76
|
+
return this._thing;
|
|
77
|
+
}
|
|
78
|
+
get video() {
|
|
79
|
+
return this._video;
|
|
80
|
+
}
|
|
81
|
+
get videoCategory() {
|
|
82
|
+
return this._videoCategory;
|
|
83
|
+
}
|
|
84
|
+
get videoType() {
|
|
85
|
+
return this._videoType;
|
|
86
|
+
}
|
|
87
|
+
get volume() {
|
|
88
|
+
return this._volume;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ComicVine = ComicVine;
|
|
92
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29taWMtdmluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb21pYy12aW5lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHFEQUEyRDtBQUMzRCxpREFBOEQ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|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BaseError = void 0;
|
|
4
|
+
class BaseError extends Error {
|
|
5
|
+
constructor(details) {
|
|
6
|
+
// Pass remaining arguments (including vendor specific ones) to parent constructor
|
|
7
|
+
super(details.message);
|
|
8
|
+
this.name = this.constructor.name;
|
|
9
|
+
// Remove constructor invocation from the stack trace. Only available in V8.
|
|
10
|
+
if (Error.captureStackTrace) {
|
|
11
|
+
Error.captureStackTrace(this, this.constructor);
|
|
12
|
+
}
|
|
13
|
+
// Custom debugging information
|
|
14
|
+
this.help = details.help;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.BaseError = BaseError;
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lcnJvcnMvYmFzZS1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFLQSxNQUFzQixTQUFVLFNBQVEsS0FBSztJQUczQyxZQUFZLE9BQXFCO1FBQy9CLGtGQUFrRjtRQUNsRixLQUFLLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBQ3ZCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUM7UUFFbEMsNEVBQTRFO1FBQzVFLElBQUksS0FBSyxDQUFDLGlCQUFpQixFQUFFO1lBQzNCLEtBQUssQ0FBQyxpQkFBaUIsQ0FBQyxJQUFJLEVBQUUsSUFBSSxDQUFDLFdBQVcsQ0FBQyxDQUFDO1NBQ2pEO1FBRUQsK0JBQStCO1FBQy9CLElBQUksQ0FBQyxJQUFJLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQztJQUMzQixDQUFDO0NBQ0Y7QUFoQkQsOEJBZ0JDIiwic291cmNlc0NvbnRlbnQiOlsiaW50ZXJmYWNlIEVycm9yRGV0YWlscyB7XG4gIG1lc3NhZ2U6IHN0cmluZztcbiAgaGVscDogc3RyaW5nO1xufVxuXG5leHBvcnQgYWJzdHJhY3QgY2xhc3MgQmFzZUVycm9yIGV4dGVuZHMgRXJyb3Ige1xuICBwdWJsaWMgaGVscDogc3RyaW5nO1xuXG4gIGNvbnN0cnVjdG9yKGRldGFpbHM6IEVycm9yRGV0YWlscykge1xuICAgIC8vIFBhc3MgcmVtYWluaW5nIGFyZ3VtZW50cyAoaW5jbHVkaW5nIHZlbmRvciBzcGVjaWZpYyBvbmVzKSB0byBwYXJlbnQgY29uc3RydWN0b3JcbiAgICBzdXBlcihkZXRhaWxzLm1lc3NhZ2UpO1xuICAgIHRoaXMubmFtZSA9IHRoaXMuY29uc3RydWN0b3IubmFtZTtcblxuICAgIC8vIFJlbW92ZSBjb25zdHJ1Y3RvciBpbnZvY2F0aW9uIGZyb20gdGhlIHN0YWNrIHRyYWNlLiBPbmx5IGF2YWlsYWJsZSBpbiBWOC5cbiAgICBpZiAoRXJyb3IuY2FwdHVyZVN0YWNrVHJhY2UpIHtcbiAgICAgIEVycm9yLmNhcHR1cmVTdGFja1RyYWNlKHRoaXMsIHRoaXMuY29uc3RydWN0b3IpO1xuICAgIH1cblxuICAgIC8vIEN1c3RvbSBkZWJ1Z2dpbmcgaW5mb3JtYXRpb25cbiAgICB0aGlzLmhlbHAgPSBkZXRhaWxzLmhlbHA7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.customError = void 0;
|
|
4
|
+
const generic_error_js_1 = require("./generic-error.js");
|
|
5
|
+
const customError = (error) => {
|
|
6
|
+
if (error instanceof Error) {
|
|
7
|
+
return new generic_error_js_1.GenericError(error.message);
|
|
8
|
+
}
|
|
9
|
+
return new generic_error_js_1.GenericError();
|
|
10
|
+
};
|
|
11
|
+
exports.customError = customError;
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Vycm9ycy9jdXN0b20tZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQWtEO0FBRTNDLE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBYyxFQUFFLEVBQUU7SUFDNUMsSUFBSSxLQUFLLFlBQVksS0FBSyxFQUFFO1FBQzFCLE9BQU8sSUFBSSwrQkFBWSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztLQUN4QztJQUNELE9BQU8sSUFBSSwrQkFBWSxFQUFFLENBQUM7QUFDNUIsQ0FBQyxDQUFDO0FBTFcsUUFBQSxXQUFXLGVBS3RCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgR2VuZXJpY0Vycm9yIH0gZnJvbSAnLi9nZW5lcmljLWVycm9yLmpzJztcblxuZXhwb3J0IGNvbnN0IGN1c3RvbUVycm9yID0gKGVycm9yOiB1bmtub3duKSA9PiB7XG4gIGlmIChlcnJvciBpbnN0YW5jZW9mIEVycm9yKSB7XG4gICAgcmV0dXJuIG5ldyBHZW5lcmljRXJyb3IoZXJyb3IubWVzc2FnZSk7XG4gIH1cbiAgcmV0dXJuIG5ldyBHZW5lcmljRXJyb3IoKTtcbn07XG4iXX0=
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComicVineFilterError = void 0;
|
|
4
|
+
const base_error_js_1 = require("./base-error.js");
|
|
5
|
+
class ComicVineFilterError extends base_error_js_1.BaseError {
|
|
6
|
+
constructor() {
|
|
7
|
+
super({
|
|
8
|
+
message: 'There was a problem trying to filter the API results',
|
|
9
|
+
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.ComicVineFilterError = ComicVineFilterError;
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Vycm9ycy9maWx0ZXItZXJyb3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbURBQTRDO0FBRTVDLE1BQWEsb0JBQXFCLFNBQVEseUJBQVM7SUFDakQ7UUFDRSxLQUFLLENBQUM7WUFDSixPQUFPLEVBQUUsc0RBQXNEO1lBQy9ELElBQUksRUFBRSxxR0FBcUc7U0FDNUcsQ0FBQyxDQUFDO0lBQ0wsQ0FBQztDQUNGO0FBUEQsb0RBT0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNlRXJyb3IgfSBmcm9tICcuL2Jhc2UtZXJyb3IuanMnO1xuXG5leHBvcnQgY2xhc3MgQ29taWNWaW5lRmlsdGVyRXJyb3IgZXh0ZW5kcyBCYXNlRXJyb3Ige1xuICBjb25zdHJ1Y3RvcigpIHtcbiAgICBzdXBlcih7XG4gICAgICBtZXNzYWdlOiAnVGhlcmUgd2FzIGEgcHJvYmxlbSB0cnlpbmcgdG8gZmlsdGVyIHRoZSBBUEkgcmVzdWx0cycsXG4gICAgICBoZWxwOiAnUGxlYXNlIG9wZW4gYSBHaXRodWIgaXNzdWUgd2l0aCBzdGVwcyB0byByZXByb2R1Y2U6IGh0dHBzOi8vZ2l0aHViLmNvbS9BbGx5TXVycmF5L2NvbWljLXZpbmUvaXNzdWVzJyxcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GenericError = void 0;
|
|
4
|
+
const base_error_js_1 = require("./base-error.js");
|
|
5
|
+
class GenericError extends base_error_js_1.BaseError {
|
|
6
|
+
constructor(message) {
|
|
7
|
+
super({
|
|
8
|
+
message: `An unexpected error occurred: ${message || 'Unknown Error'}`,
|
|
9
|
+
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.GenericError = GenericError;
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJpYy1lcnJvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lcnJvcnMvZ2VuZXJpYy1lcnJvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxtREFBNEM7QUFFNUMsTUFBYSxZQUFhLFNBQVEseUJBQVM7SUFDekMsWUFBWSxPQUFnQjtRQUMxQixLQUFLLENBQUM7WUFDSixPQUFPLEVBQUUsaUNBQWlDLE9BQU8sSUFBSSxlQUFlLEVBQUU7WUFDdEUsSUFBSSxFQUFFLHFHQUFxRztTQUM1RyxDQUFDLENBQUM7SUFDTCxDQUFDO0NBQ0Y7QUFQRCxvQ0FPQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhc2VFcnJvciB9IGZyb20gJy4vYmFzZS1lcnJvci5qcyc7XG5cbmV4cG9ydCBjbGFzcyBHZW5lcmljRXJyb3IgZXh0ZW5kcyBCYXNlRXJyb3Ige1xuICBjb25zdHJ1Y3RvcihtZXNzYWdlPzogc3RyaW5nKSB7XG4gICAgc3VwZXIoe1xuICAgICAgbWVzc2FnZTogYEFuIHVuZXhwZWN0ZWQgZXJyb3Igb2NjdXJyZWQ6ICR7bWVzc2FnZSB8fCAnVW5rbm93biBFcnJvcid9YCxcbiAgICAgIGhlbHA6ICdQbGVhc2Ugb3BlbiBhIEdpdGh1YiBpc3N1ZSB3aXRoIHN0ZXBzIHRvIHJlcHJvZHVjZTogaHR0cHM6Ly9naXRodWIuY29tL0FsbHlNdXJyYXkvY29taWMtdmluZS9pc3N1ZXMnLFxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseError } from './base-error.js';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated will be removed in the next major version, use ComicVineGenericRequestError instead!
|
|
4
|
+
*/
|
|
5
|
+
export declare class ComicVineGenericError extends BaseError {
|
|
6
|
+
constructor(message?: string);
|
|
7
|
+
}
|
|
8
|
+
export declare class ComicVineGenericRequestError extends ComicVineGenericError {
|
|
9
|
+
constructor(message?: string);
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComicVineGenericRequestError = exports.ComicVineGenericError = void 0;
|
|
4
|
+
const base_error_js_1 = require("./base-error.js");
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated will be removed in the next major version, use ComicVineGenericRequestError instead!
|
|
7
|
+
*/
|
|
8
|
+
class ComicVineGenericError extends base_error_js_1.BaseError {
|
|
9
|
+
constructor(message) {
|
|
10
|
+
super({
|
|
11
|
+
message: `Request to comic vine failed: ${message !== null && message !== void 0 ? message : 'Unknown Error'}`,
|
|
12
|
+
help: 'Please open a Github issue with steps to reproduce: https://github.com/AllyMurray/comic-vine/issues',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.ComicVineGenericError = ComicVineGenericError;
|
|
17
|
+
class ComicVineGenericRequestError extends ComicVineGenericError {
|
|
18
|
+
constructor(message) {
|
|
19
|
+
super(message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XNzYWdlPzogc3RyaW5nKSB7XG4gICAgc3VwZXIoe1xuICAgICAgbWVzc2FnZTogYFJlcXVlc3QgdG8gY29taWMgdmluZSBmYWlsZWQ6ICR7bWVzc2FnZSA/PyAnVW5rbm93biBFcnJvcid9YCxcbiAgICAgIGhlbHA6ICdQbGVhc2Ugb3BlbiBhIEdpdGh1YiBpc3N1ZSB3aXRoIHN0ZXBzIHRvIHJlcHJvZHVjZTogaHR0cHM6Ly9naXRodWIuY29tL0FsbHlNdXJyYXkvY29taWMtdmluZS9pc3N1ZXMnLFxuICAgIH0pO1xuICB9XG59XG5cbmV4cG9ydCBjbGFzcyBDb21pY1ZpbmVHZW5lcmljUmVxdWVzdEVycm9yIGV4dGVuZHMgQ29taWNWaW5lR2VuZXJpY0Vycm9yIHtcbiAgY29uc3RydWN0b3IobWVzc2FnZT86IHN0cmluZykge1xuICAgIHN1cGVyKG1lc3NhZ2UpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './custom-error.js';
|
|
2
|
+
export * from './filter-error.js';
|
|
3
|
+
export * from './generic-error.js';
|
|
4
|
+
export * from './generic-request-error.js';
|
|
5
|
+
export * from './jsonp-callback-missing-error.js';
|
|
6
|
+
export * from './object-not-found-error.js';
|
|
7
|
+
export * from './options-validation-error.js';
|
|
8
|
+
export * from './subscriber-only-error.js';
|
|
9
|
+
export * from './unauthorized-error.js';
|
|
10
|
+
export * from './url-format-error.js';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./custom-error.js"), exports);
|
|
18
|
+
__exportStar(require("./filter-error.js"), exports);
|
|
19
|
+
__exportStar(require("./generic-error.js"), exports);
|
|
20
|
+
__exportStar(require("./generic-request-error.js"), exports);
|
|
21
|
+
__exportStar(require("./jsonp-callback-missing-error.js"), exports);
|
|
22
|
+
__exportStar(require("./object-not-found-error.js"), exports);
|
|
23
|
+
__exportStar(require("./options-validation-error.js"), exports);
|
|
24
|
+
__exportStar(require("./subscriber-only-error.js"), exports);
|
|
25
|
+
__exportStar(require("./unauthorized-error.js"), exports);
|
|
26
|
+
__exportStar(require("./url-format-error.js"), exports);
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZXJyb3JzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxvREFBa0M7QUFDbEMsb0RBQWtDO0FBQ2xDLHFEQUFtQztBQUNuQyw2REFBMkM7QUFDM0Msb0VBQWtEO0FBQ2xELDhEQUE0QztBQUM1QyxnRUFBOEM7QUFDOUMsNkRBQTJDO0FBQzNDLDBEQUF3QztBQUN4Qyx3REFBc0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2N1c3RvbS1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2ZpbHRlci1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2dlbmVyaWMtZXJyb3IuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9nZW5lcmljLXJlcXVlc3QtZXJyb3IuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9qc29ucC1jYWxsYmFjay1taXNzaW5nLWVycm9yLmpzJztcbmV4cG9ydCAqIGZyb20gJy4vb2JqZWN0LW5vdC1mb3VuZC1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL29wdGlvbnMtdmFsaWRhdGlvbi1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmliZXItb25seS1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3VuYXV0aG9yaXplZC1lcnJvci5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3VybC1mb3JtYXQtZXJyb3IuanMnO1xuIl19
|