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
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
12
|
-
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
13
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
14
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
15
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
16
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
17
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
18
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
19
|
-
function fulfill(value) { resume("next", value); }
|
|
20
|
-
function reject(value) { resume("throw", value); }
|
|
21
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
22
|
-
};
|
|
23
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.BaseResource = void 0;
|
|
25
|
-
class BaseResource {
|
|
26
|
-
constructor(httpClient, urlBuilder) {
|
|
27
|
-
this.httpClient = httpClient;
|
|
28
|
-
this.urlBuilder = urlBuilder;
|
|
29
|
-
}
|
|
30
|
-
retrieve(id, options) {
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
const url = this.urlBuilder.retrieve(this.resourceType, id, options);
|
|
33
|
-
const fieldList = options === null || options === void 0 ? void 0 : options.fieldList;
|
|
34
|
-
const response = yield this.httpClient.get(url);
|
|
35
|
-
return response.results;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
fetchPage(options) {
|
|
39
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
40
|
-
const url = this.urlBuilder.list(this.resourceType, options);
|
|
41
|
-
const fieldList = options === null || options === void 0 ? void 0 : options.fieldList;
|
|
42
|
-
const response = yield this.httpClient.get(url);
|
|
43
|
-
return {
|
|
44
|
-
limit: response.limit,
|
|
45
|
-
numberOfPageResults: response.numberOfPageResults,
|
|
46
|
-
numberOfTotalResults: response.numberOfTotalResults,
|
|
47
|
-
offset: response.offset,
|
|
48
|
-
data: response.results,
|
|
49
|
-
};
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
list(options) {
|
|
53
|
-
const fetchPage = (options) => this.fetchPage.call(this, options);
|
|
54
|
-
const fetchPagePromise = fetchPage(options);
|
|
55
|
-
const asyncIterator = {
|
|
56
|
-
[Symbol.asyncIterator]() {
|
|
57
|
-
var _a;
|
|
58
|
-
return __asyncGenerator(this, arguments, function* _b() {
|
|
59
|
-
const defaultPageSize = 100;
|
|
60
|
-
const limit = (_a = options === null || options === void 0 ? void 0 : options.limit) !== null && _a !== void 0 ? _a : defaultPageSize;
|
|
61
|
-
let page = (options === null || options === void 0 ? void 0 : options.offset) ? options.offset / limit + 1 : 1;
|
|
62
|
-
let hasMoreResults = true;
|
|
63
|
-
let response = yield __await(fetchPagePromise);
|
|
64
|
-
do {
|
|
65
|
-
for (const resource of response.data) {
|
|
66
|
-
yield yield __await(resource);
|
|
67
|
-
}
|
|
68
|
-
hasMoreResults =
|
|
69
|
-
response.limit + response.offset < response.numberOfTotalResults;
|
|
70
|
-
if (hasMoreResults) {
|
|
71
|
-
response = yield __await(fetchPage({
|
|
72
|
-
limit,
|
|
73
|
-
offset: response.numberOfPageResults * page++,
|
|
74
|
-
}));
|
|
75
|
-
}
|
|
76
|
-
} while (hasMoreResults);
|
|
77
|
-
});
|
|
78
|
-
},
|
|
79
|
-
};
|
|
80
|
-
const promiseWithAsyncIterator = Object.assign(fetchPagePromise, asyncIterator);
|
|
81
|
-
return promiseWithAsyncIterator;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.BaseResource = BaseResource;
|
|
85
|
-
//# sourceMappingURL=base-resource.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-resource.js","sourceRoot":"","sources":["../../../src/resources/base-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AASA,MAAsB,YAAY;IAGhC,YAAoB,UAAsB,EAAU,UAAsB;QAAtD,eAAU,GAAV,UAAU,CAAY;QAAU,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAExE,QAAQ,CACZ,EAAU,EACV,OAAmC;;YAInC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;YACrE,MAAM,SAAS,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,CAAC;YACrC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CACxC,GAAG,CACJ,CAAC;YAEF,OAAO,QAAQ,CAAC,OAAO,CAAC;QAC1B,CAAC;KAAA;IAEa,SAAS,CACrB,OAA8D;;YAM9D,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;YAC7D,MAAM,SAAS,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,CAAC;YACrC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CACxC,GAAG,CACJ,CAAC;YAEF,OAAO;gBACL,KAAK,EAAE,QAAQ,CAAC,KAAK;gBACrB,mBAAmB,EAAE,QAAQ,CAAC,mBAAmB;gBACjD,oBAAoB,EAAE,QAAQ,CAAC,oBAAoB;gBACnD,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,IAAI,EAAE,QAAQ,CAAC,OAAO;aACvB,CAAC;QACJ,CAAC;KAAA;IAED,IAAI,CACF,OAA8D;QAG9D,MAAM,SAAS,GAAG,CAAC,OAA8C,EAAE,EAAE,CACnE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QACrC,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;QAE5C,MAAM,aAAa,GAAG;YACb,CAAC,MAAM,CAAC,aAAa,CAAC;;;oBAC3B,MAAM,eAAe,GAAG,GAAG,CAAC;oBAC5B,MAAM,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,eAAe,CAAC;oBAChD,IAAI,IAAI,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;oBAC5D,IAAI,cAAc,GAAG,IAAI,CAAC;oBAC1B,IAAI,QAAQ,GAAG,cAAM,gBAAgB,CAAA,CAAC;oBAEtC,GAAG;wBACD,KAAK,MAAM,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE;4BACpC,oBAAM,QAAQ,CAAA,CAAC;yBAChB;wBAED,cAAc;4BACZ,QAAQ,CAAC,KAAK,GAAG,QAAQ,CAAC,MAAM,GAAG,QAAQ,CAAC,oBAAoB,CAAC;wBAEnE,IAAI,cAAc,EAAE;4BAClB,QAAQ,GAAG,cAAM,SAAS,CAAC;gCACzB,KAAK;gCACL,MAAM,EAAE,QAAQ,CAAC,mBAAmB,GAAG,IAAI,EAAE;6BAC9C,CAAC,CAAA,CAAC;yBACJ;qBACF,QAAQ,cAAc,EAAE;;aAC1B;SACF,CAAC;QAEF,MAAM,wBAAwB,GAAG,MAAM,CAAC,MAAM,CAC5C,gBAAgB,EAChB,aAAa,CACd,CAAC;QAEF,OAAO,wBAAwB,CAAC;IAClC,CAAC;CACF;AAnFD,oCAmFC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResourceType } from '..';
|
|
2
|
-
import { CharacterDetails, CharacterListItem } from './types';
|
|
3
|
-
import { BaseResource } from '../base-resource';
|
|
4
|
-
export declare class Character extends BaseResource<CharacterDetails, CharacterListItem> {
|
|
5
|
-
protected resourceType: ResourceType;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Character = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const base_resource_1 = require("../base-resource");
|
|
6
|
-
class Character extends base_resource_1.BaseResource {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.resourceType = __1.ResourceType.Character;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Character = Character;
|
|
13
|
-
//# sourceMappingURL=character.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character.js","sourceRoot":"","sources":["../../../../src/resources/character/character.ts"],"names":[],"mappings":";;;AAAA,0BAAkC;AAElC,oDAAgD;AAEhD,MAAa,SAAU,SAAQ,4BAG9B;IAHD;;QAIY,iBAAY,GAAiB,gBAAY,CAAC,SAAS,CAAC;IAChE,CAAC;CAAA;AALD,8BAKC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './character';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./character"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/character/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { SiteResource, IssueApiResource, ApiResource, Image } from '../../common-types';
|
|
2
|
-
export interface CharacterDetails {
|
|
3
|
-
aliases: null | string;
|
|
4
|
-
apiDetailUrl: string;
|
|
5
|
-
birth: null | string;
|
|
6
|
-
characterEnemies: Array<SiteResource>;
|
|
7
|
-
characterFriends: Array<SiteResource>;
|
|
8
|
-
countOfIssueAppearances: number;
|
|
9
|
-
creators: Array<SiteResource>;
|
|
10
|
-
dateAdded: Date;
|
|
11
|
-
dateLastUpdated: Date;
|
|
12
|
-
deck: null | string;
|
|
13
|
-
description: null | string;
|
|
14
|
-
firstAppearedInIssue: IssueApiResource;
|
|
15
|
-
gender: number;
|
|
16
|
-
id: number;
|
|
17
|
-
image: Image;
|
|
18
|
-
issueCredits: Array<SiteResource>;
|
|
19
|
-
issuesDiedIn: Array<SiteResource>;
|
|
20
|
-
movies: Array<SiteResource>;
|
|
21
|
-
name: string;
|
|
22
|
-
origin: ApiResource;
|
|
23
|
-
powers: Array<ApiResource>;
|
|
24
|
-
publisher: ApiResource;
|
|
25
|
-
realName: null | string;
|
|
26
|
-
siteDetailUrl: string;
|
|
27
|
-
storyArcCredits: Array<SiteResource>;
|
|
28
|
-
teamEnemies: Array<SiteResource>;
|
|
29
|
-
teamFriends: Array<SiteResource>;
|
|
30
|
-
teams: Array<SiteResource>;
|
|
31
|
-
volumeCredits: Array<SiteResource>;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character-details.js","sourceRoot":"","sources":["../../../../../src/resources/character/types/character-details.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IssueApiResource, ApiResource, Image } from '../../common-types';
|
|
2
|
-
export interface CharacterListItem {
|
|
3
|
-
aliases: null | string;
|
|
4
|
-
apiDetailUrl: string;
|
|
5
|
-
birth: null | string;
|
|
6
|
-
countOfIssueAppearances: number;
|
|
7
|
-
dateAdded: Date;
|
|
8
|
-
dateLastUpdated: Date;
|
|
9
|
-
deck: null | string;
|
|
10
|
-
description: null | string;
|
|
11
|
-
firstAppearedInIssue: IssueApiResource;
|
|
12
|
-
gender: number;
|
|
13
|
-
id: number;
|
|
14
|
-
image: Image;
|
|
15
|
-
name: string;
|
|
16
|
-
origin: ApiResource;
|
|
17
|
-
publisher: ApiResource;
|
|
18
|
-
realName: null | string;
|
|
19
|
-
siteDetailUrl: string;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"character-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/character/types/character-list-item.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./character-details"), exports);
|
|
18
|
-
__exportStar(require("./character-list-item"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/character/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common-types.js","sourceRoot":"","sources":["../../../src/resources/common-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResourceType } from '..';
|
|
2
|
-
import { ConceptDetails, ConceptListItem } from './types';
|
|
3
|
-
import { BaseResource } from '../base-resource';
|
|
4
|
-
export declare class Concept extends BaseResource<ConceptDetails, ConceptListItem> {
|
|
5
|
-
protected resourceType: ResourceType;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Concept = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const base_resource_1 = require("../base-resource");
|
|
6
|
-
class Concept extends base_resource_1.BaseResource {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.resourceType = __1.ResourceType.Concept;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Concept = Concept;
|
|
13
|
-
//# sourceMappingURL=concept.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concept.js","sourceRoot":"","sources":["../../../../src/resources/concept/concept.ts"],"names":[],"mappings":";;;AAAA,0BAAkC;AAElC,oDAAgD;AAEhD,MAAa,OAAQ,SAAQ,4BAA6C;IAA1E;;QACY,iBAAY,GAAiB,gBAAY,CAAC,OAAO,CAAC;IAC9D,CAAC;CAAA;AAFD,0BAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './concept';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./concept"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/concept/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IssueApiResource, SiteResource, Image } from '../../common-types';
|
|
2
|
-
export interface ConceptDetails {
|
|
3
|
-
aliases: null | string;
|
|
4
|
-
apiDetailUrl: string;
|
|
5
|
-
countOfIsssueAppearances: number;
|
|
6
|
-
dateAdded: Date;
|
|
7
|
-
dateLastUpdated: Date;
|
|
8
|
-
deck: string;
|
|
9
|
-
description: string;
|
|
10
|
-
firstAppearedInIssue: IssueApiResource;
|
|
11
|
-
id: number;
|
|
12
|
-
image: Image;
|
|
13
|
-
issueCredits: Array<SiteResource>;
|
|
14
|
-
movies: Array<SiteResource>;
|
|
15
|
-
name: string;
|
|
16
|
-
siteDetailUrl: string;
|
|
17
|
-
startYear: string;
|
|
18
|
-
volumeCredits: Array<SiteResource>;
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concept-details.js","sourceRoot":"","sources":["../../../../../src/resources/concept/types/concept-details.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IssueApiResource, Image } from '../../common-types';
|
|
2
|
-
export interface ConceptListItem {
|
|
3
|
-
aliases: null | string;
|
|
4
|
-
apiDetailUrl: string;
|
|
5
|
-
countOfIsssueAppearances: number;
|
|
6
|
-
dateAdded: Date;
|
|
7
|
-
dateLastUpdated: Date;
|
|
8
|
-
deck: string;
|
|
9
|
-
description: null | string;
|
|
10
|
-
firstAppearedInIssue: IssueApiResource;
|
|
11
|
-
id: number;
|
|
12
|
-
image: Image;
|
|
13
|
-
name: string;
|
|
14
|
-
siteDetailUrl: string;
|
|
15
|
-
startYear: null | string;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concept-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/concept/types/concept-list-item.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./concept-details"), exports);
|
|
18
|
-
__exportStar(require("./concept-list-item"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/concept/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,sDAAoC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ResourceType } from '..';
|
|
2
|
-
import { EpisodeDetails, EpisodeListItem } from './types';
|
|
3
|
-
import { BaseResource } from '../base-resource';
|
|
4
|
-
export declare class Episode extends BaseResource<EpisodeDetails, EpisodeListItem> {
|
|
5
|
-
protected resourceType: ResourceType;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Episode = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const base_resource_1 = require("../base-resource");
|
|
6
|
-
class Episode extends base_resource_1.BaseResource {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.resourceType = __1.ResourceType.Episode;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Episode = Episode;
|
|
13
|
-
//# sourceMappingURL=episode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"episode.js","sourceRoot":"","sources":["../../../../src/resources/episode/episode.ts"],"names":[],"mappings":";;;AAAA,0BAAkC;AAElC,oDAAgD;AAEhD,MAAa,OAAQ,SAAQ,4BAA6C;IAA1E;;QACY,iBAAY,GAAiB,gBAAY,CAAC,OAAO,CAAC;IAC9D,CAAC;CAAA;AAFD,0BAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './episode';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./episode"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/episode/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { SiteResource, Image } from '../../common-types';
|
|
2
|
-
export interface EpisodeDetails {
|
|
3
|
-
airDate: Date | null;
|
|
4
|
-
aliases: null | string;
|
|
5
|
-
apiDetailUrl: string;
|
|
6
|
-
characterCredits: Array<SiteResource>;
|
|
7
|
-
characterDiedIn: Array<unknown>;
|
|
8
|
-
conceptCredits: Array<SiteResource>;
|
|
9
|
-
dateAdded: Date;
|
|
10
|
-
dateLastUpdated: Date;
|
|
11
|
-
deck: null | string;
|
|
12
|
-
description: null | string;
|
|
13
|
-
episodeNumber: string;
|
|
14
|
-
firstAppearanceCharacters: null | unknown;
|
|
15
|
-
firstAppearanceConcepts: null | unknown;
|
|
16
|
-
firstAppearanceLocations: null | unknown;
|
|
17
|
-
firstAppearanceObjects: null | unknown;
|
|
18
|
-
firstAppearanceStoryarcs: null | unknown;
|
|
19
|
-
firstAppearanceTeams: null | unknown;
|
|
20
|
-
hasStaffReview: null | false | SiteResource;
|
|
21
|
-
id: number;
|
|
22
|
-
image: Image;
|
|
23
|
-
locationCredits: Array<SiteResource>;
|
|
24
|
-
name: string;
|
|
25
|
-
objectCredits: Array<SiteResource>;
|
|
26
|
-
series: SiteResource;
|
|
27
|
-
siteDetailUrl: string;
|
|
28
|
-
storyArcCredits: Array<SiteResource>;
|
|
29
|
-
teamCredits: Array<SiteResource>;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"episode-details.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-details.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { SiteResource, Image } from '../../common-types';
|
|
2
|
-
export interface EpisodeListItem {
|
|
3
|
-
airDate: Date | null;
|
|
4
|
-
aliases: null | string;
|
|
5
|
-
apiDetailUrl: string;
|
|
6
|
-
dateAdded: Date;
|
|
7
|
-
dateLastUpdated: Date;
|
|
8
|
-
deck: null | string;
|
|
9
|
-
description: null | string;
|
|
10
|
-
episodeNumber: string;
|
|
11
|
-
hasStaffReview: null | false | SiteResource;
|
|
12
|
-
id: number;
|
|
13
|
-
image: Image;
|
|
14
|
-
name: string;
|
|
15
|
-
series: SiteResource;
|
|
16
|
-
siteDetailUrl: string;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"episode-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-list-item.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
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("./episode-details"), exports);
|
|
18
|
-
__exportStar(require("./episode-list-item"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,sDAAoC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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("./resource-factory"), exports);
|
|
18
|
-
__exportStar(require("./resource-map"), exports);
|
|
19
|
-
__exportStar(require("./resource-type"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,iDAA+B;AAC/B,kDAAgC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './issue';
|
|
@@ -1,18 +0,0 @@
|
|
|
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("./issue"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/issue/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Issue = void 0;
|
|
4
|
-
const __1 = require("..");
|
|
5
|
-
const base_resource_1 = require("../base-resource");
|
|
6
|
-
class Issue extends base_resource_1.BaseResource {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.resourceType = __1.ResourceType.Issue;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Issue = Issue;
|
|
13
|
-
//# sourceMappingURL=issue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"issue.js","sourceRoot":"","sources":["../../../../src/resources/issue/issue.ts"],"names":[],"mappings":";;;AAAA,0BAAkC;AAElC,oDAAgD;AAEhD,MAAa,KAAM,SAAQ,4BAAyC;IAApE;;QACY,iBAAY,GAAiB,gBAAY,CAAC,KAAK,CAAC;IAC5D,CAAC;CAAA;AAFD,sBAEC"}
|