comic-vine-sdk 1.2.5 → 1.2.6
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 +76 -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.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
|
@@ -0,0 +1,36 @@
|
|
|
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/index.js"), exports);
|
|
18
|
+
__exportStar(require("./concept/index.js"), exports);
|
|
19
|
+
__exportStar(require("./episode/index.js"), exports);
|
|
20
|
+
__exportStar(require("./issue/index.js"), exports);
|
|
21
|
+
__exportStar(require("./location/index.js"), exports);
|
|
22
|
+
__exportStar(require("./movie/index.js"), exports);
|
|
23
|
+
__exportStar(require("./origin/index.js"), exports);
|
|
24
|
+
__exportStar(require("./person/index.js"), exports);
|
|
25
|
+
__exportStar(require("./power/index.js"), exports);
|
|
26
|
+
__exportStar(require("./promo/index.js"), exports);
|
|
27
|
+
__exportStar(require("./publisher/index.js"), exports);
|
|
28
|
+
__exportStar(require("./series/index.js"), exports);
|
|
29
|
+
__exportStar(require("./story-arc/index.js"), exports);
|
|
30
|
+
__exportStar(require("./team/index.js"), exports);
|
|
31
|
+
__exportStar(require("./thing/index.js"), exports);
|
|
32
|
+
__exportStar(require("./video/index.js"), exports);
|
|
33
|
+
__exportStar(require("./video-category/index.js"), exports);
|
|
34
|
+
__exportStar(require("./video-type/index.js"), exports);
|
|
35
|
+
__exportStar(require("./volume/index.js"), exports);
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtbGlzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvcmVzb3VyY2UtbGlzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsdURBQXFDO0FBQ3JDLHFEQUFtQztBQUNuQyxxREFBbUM7QUFDbkMsbURBQWlDO0FBQ2pDLHNEQUFvQztBQUNwQyxtREFBaUM7QUFDakMsb0RBQWtDO0FBQ2xDLG9EQUFrQztBQUNsQyxtREFBaUM7QUFDakMsbURBQWlDO0FBQ2pDLHVEQUFxQztBQUNyQyxvREFBa0M7QUFDbEMsdURBQXFDO0FBQ3JDLGtEQUFnQztBQUNoQyxtREFBaUM7QUFDakMsbURBQWlDO0FBQ2pDLDREQUEwQztBQUMxQyx3REFBc0M7QUFDdEMsb0RBQWtDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jaGFyYWN0ZXIvaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi9jb25jZXB0L2luZGV4LmpzJztcbmV4cG9ydCAqIGZyb20gJy4vZXBpc29kZS9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL2lzc3VlL2luZGV4LmpzJztcbmV4cG9ydCAqIGZyb20gJy4vbG9jYXRpb24vaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi9tb3ZpZS9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL29yaWdpbi9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3BlcnNvbi9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3Bvd2VyL2luZGV4LmpzJztcbmV4cG9ydCAqIGZyb20gJy4vcHJvbW8vaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJsaXNoZXIvaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJpZXMvaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi9zdG9yeS1hcmMvaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi90ZWFtL2luZGV4LmpzJztcbmV4cG9ydCAqIGZyb20gJy4vdGhpbmcvaW5kZXguanMnO1xuZXhwb3J0ICogZnJvbSAnLi92aWRlby9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3ZpZGVvLWNhdGVnb3J5L2luZGV4LmpzJztcbmV4cG9ydCAqIGZyb20gJy4vdmlkZW8tdHlwZS9pbmRleC5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3ZvbHVtZS9pbmRleC5qcyc7XG4iXX0=
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getResource = void 0;
|
|
4
|
+
const resource_type_js_1 = require("./resource-type.js");
|
|
5
|
+
const resourceMap = new Map([
|
|
6
|
+
[resource_type_js_1.ResourceType.Character, { detailName: 'character', listName: 'characters' }],
|
|
7
|
+
[resource_type_js_1.ResourceType.Concept, { detailName: 'concept', listName: 'concepts' }],
|
|
8
|
+
[resource_type_js_1.ResourceType.Episode, { detailName: 'episode', listName: 'episodes' }],
|
|
9
|
+
[resource_type_js_1.ResourceType.Issue, { detailName: 'issue', listName: 'issues' }],
|
|
10
|
+
[resource_type_js_1.ResourceType.Location, { detailName: 'location', listName: 'locations' }],
|
|
11
|
+
[resource_type_js_1.ResourceType.Movie, { detailName: 'movie', listName: 'movies' }],
|
|
12
|
+
[resource_type_js_1.ResourceType.Origin, { detailName: 'origin', listName: 'origins' }],
|
|
13
|
+
[resource_type_js_1.ResourceType.Person, { detailName: 'person', listName: 'people' }],
|
|
14
|
+
[resource_type_js_1.ResourceType.Power, { detailName: 'power', listName: 'powers' }],
|
|
15
|
+
[resource_type_js_1.ResourceType.Promo, { detailName: 'promo', listName: 'promos' }],
|
|
16
|
+
[resource_type_js_1.ResourceType.Publisher, { detailName: 'publisher', listName: 'publishers' }],
|
|
17
|
+
[resource_type_js_1.ResourceType.Series, { detailName: 'series', listName: 'series_list' }],
|
|
18
|
+
[resource_type_js_1.ResourceType.StoryArc, { detailName: 'story_arc', listName: 'story_arcs' }],
|
|
19
|
+
[resource_type_js_1.ResourceType.Team, { detailName: 'team', listName: 'teams' }],
|
|
20
|
+
[resource_type_js_1.ResourceType.Thing, { detailName: 'object', listName: 'objects' }],
|
|
21
|
+
[resource_type_js_1.ResourceType.Video, { detailName: 'video', listName: 'videos' }],
|
|
22
|
+
[
|
|
23
|
+
resource_type_js_1.ResourceType.VideoCategory,
|
|
24
|
+
{ detailName: 'video_category', listName: 'video_categories' },
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
resource_type_js_1.ResourceType.VideoCategory,
|
|
28
|
+
{ detailName: 'video_type', listName: 'video_types' },
|
|
29
|
+
],
|
|
30
|
+
[resource_type_js_1.ResourceType.Volume, { detailName: 'volume', listName: 'volumes' }],
|
|
31
|
+
]);
|
|
32
|
+
const getResource = (resourceType) => {
|
|
33
|
+
const resource = resourceMap.get(resourceType);
|
|
34
|
+
if (!resource) {
|
|
35
|
+
throw new Error(`Resource type (${resourceType}) not found`);
|
|
36
|
+
}
|
|
37
|
+
return resource;
|
|
38
|
+
};
|
|
39
|
+
exports.getResource = getResource;
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtbWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9yZXNvdXJjZS1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tcycgfV0sXG4gIFtSZXNvdXJjZVR5cGUuVGhpbmcsIHsgZGV0YWlsTmFtZTogJ29iamVjdCcsIGxpc3ROYW1lOiAnb2JqZWN0cycgfV0sXG4gIFtSZXNvdXJjZVR5cGUuVmlkZW8sIHsgZGV0YWlsTmFtZTogJ3ZpZGVvJywgbGlzdE5hbWU6ICd2aWRlb3MnIH1dLFxuICBbXG4gICAgUmVzb3VyY2VUeXBlLlZpZGVvQ2F0ZWdvcnksXG4gICAgeyBkZXRhaWxOYW1lOiAndmlkZW9fY2F0ZWdvcnknLCBsaXN0TmFtZTogJ3ZpZGVvX2NhdGVnb3JpZXMnIH0sXG4gIF0sXG4gIFtcbiAgICBSZXNvdXJjZVR5cGUuVmlkZW9DYXRlZ29yeSxcbiAgICB7IGRldGFpbE5hbWU6ICd2aWRlb190eXBlJywgbGlzdE5hbWU6ICd2aWRlb190eXBlcycgfSxcbiAgXSxcbiAgW1Jlc291cmNlVHlwZS5Wb2x1bWUsIHsgZGV0YWlsTmFtZTogJ3ZvbHVtZScsIGxpc3ROYW1lOiAndm9sdW1lcycgfV0sXG5dKTtcblxuZXhwb3J0IGNvbnN0IGdldFJlc291cmNlID0gKHJlc291cmNlVHlwZTogUmVzb3VyY2VUeXBlKSA9PiB7XG4gIGNvbnN0IHJlc291cmNlID0gcmVzb3VyY2VNYXAuZ2V0KHJlc291cmNlVHlwZSk7XG4gIGlmICghcmVzb3VyY2UpIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoYFJlc291cmNlIHR5cGUgKCR7cmVzb3VyY2VUeXBlfSkgbm90IGZvdW5kYCk7XG4gIH1cbiAgcmV0dXJuIHJlc291cmNlO1xufTtcbiJdfQ==
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceType = void 0;
|
|
4
|
+
var ResourceType;
|
|
5
|
+
(function (ResourceType) {
|
|
6
|
+
ResourceType[ResourceType["Character"] = 4005] = "Character";
|
|
7
|
+
ResourceType[ResourceType["Concept"] = 4015] = "Concept";
|
|
8
|
+
ResourceType[ResourceType["Episode"] = 4070] = "Episode";
|
|
9
|
+
ResourceType[ResourceType["Issue"] = 4000] = "Issue";
|
|
10
|
+
ResourceType[ResourceType["Location"] = 4020] = "Location";
|
|
11
|
+
ResourceType[ResourceType["Movie"] = 4025] = "Movie";
|
|
12
|
+
ResourceType[ResourceType["Origin"] = 4030] = "Origin";
|
|
13
|
+
ResourceType[ResourceType["Person"] = 4040] = "Person";
|
|
14
|
+
ResourceType[ResourceType["Power"] = 4035] = "Power";
|
|
15
|
+
ResourceType[ResourceType["Promo"] = 1700] = "Promo";
|
|
16
|
+
ResourceType[ResourceType["Publisher"] = 4010] = "Publisher";
|
|
17
|
+
ResourceType[ResourceType["Series"] = 4075] = "Series";
|
|
18
|
+
ResourceType[ResourceType["StoryArc"] = 4045] = "StoryArc";
|
|
19
|
+
ResourceType[ResourceType["Team"] = 4060] = "Team";
|
|
20
|
+
ResourceType[ResourceType["Thing"] = 4055] = "Thing";
|
|
21
|
+
ResourceType[ResourceType["Video"] = 2300] = "Video";
|
|
22
|
+
ResourceType[ResourceType["VideoCategory"] = 2320] = "VideoCategory";
|
|
23
|
+
ResourceType[ResourceType["VideoType"] = 2320] = "VideoType";
|
|
24
|
+
ResourceType[ResourceType["Volume"] = 4050] = "Volume";
|
|
25
|
+
})(ResourceType || (exports.ResourceType = ResourceType = {}));
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvcmVzb3VyY2UtdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxJQUFZLFlBb0JYO0FBcEJELFdBQVksWUFBWTtJQUN0Qiw0REFBZ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-0,0 +1,18 @@
|
|
|
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("./series.js"), exports);
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3Nlcmllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsOENBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZXJpZXMuanMnO1xuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SeriesDetails, SeriesListItem } from './types/index.js';
|
|
2
|
+
import { BaseResource } from '../base-resource.js';
|
|
3
|
+
import { ResourceType } from '../resource-type.js';
|
|
4
|
+
export declare class Series extends BaseResource<SeriesDetails, SeriesListItem> {
|
|
5
|
+
protected resourceType: ResourceType;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Series = void 0;
|
|
4
|
+
const base_resource_js_1 = require("../base-resource.js");
|
|
5
|
+
const resource_type_js_1 = require("../resource-type.js");
|
|
6
|
+
class Series extends base_resource_js_1.BaseResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.resourceType = resource_type_js_1.ResourceType.Series;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Series = Series;
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9zZXJpZXMvc2VyaWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDBEQUFtRDtBQUNuRCwwREFBbUQ7QUFFbkQsTUFBYSxNQUFPLFNBQVEsK0JBQTJDO0lBQXZFOztRQUNZLGlCQUFZLEdBQWlCLCtCQUFZLENBQUMsTUFBTSxDQUFDO0lBQzdELENBQUM7Q0FBQTtBQUZELHdCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2VyaWVzRGV0YWlscywgU2VyaWVzTGlzdEl0ZW0gfSBmcm9tICcuL3R5cGVzL2luZGV4LmpzJztcbmltcG9ydCB7IEJhc2VSZXNvdXJjZSB9IGZyb20gJy4uL2Jhc2UtcmVzb3VyY2UuanMnO1xuaW1wb3J0IHsgUmVzb3VyY2VUeXBlIH0gZnJvbSAnLi4vcmVzb3VyY2UtdHlwZS5qcyc7XG5cbmV4cG9ydCBjbGFzcyBTZXJpZXMgZXh0ZW5kcyBCYXNlUmVzb3VyY2U8U2VyaWVzRGV0YWlscywgU2VyaWVzTGlzdEl0ZW0+IHtcbiAgcHJvdGVjdGVkIHJlc291cmNlVHlwZTogUmVzb3VyY2VUeXBlID0gUmVzb3VyY2VUeXBlLlNlcmllcztcbn1cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./series-details.js"), exports);
|
|
18
|
+
__exportStar(require("./series-list-item.js"), exports);
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3Nlcmllcy90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsc0RBQW9DO0FBQ3BDLHdEQUFzQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VyaWVzLWRldGFpbHMuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJpZXMtbGlzdC1pdGVtLmpzJztcbiJdfQ==
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SiteResourceWithCount, EpisodeSiteResource, EpisodeApiResource, ApiResource, Image } from '../../common-types.js';
|
|
2
|
+
export interface SeriesDetails {
|
|
3
|
+
/**
|
|
4
|
+
* List of aliases the series is known by. A \n (newline) seperates each alias.
|
|
5
|
+
*/
|
|
6
|
+
aliases: null | string;
|
|
7
|
+
/**
|
|
8
|
+
* URL pointing to the series detail resource.
|
|
9
|
+
*/
|
|
10
|
+
apiDetailUrl: string;
|
|
11
|
+
/**
|
|
12
|
+
* A list of characters that appear in this series.
|
|
13
|
+
*/
|
|
14
|
+
characters: Array<SiteResourceWithCount>;
|
|
15
|
+
/**
|
|
16
|
+
* Number of episodes included in this series.
|
|
17
|
+
*/
|
|
18
|
+
countOfEpisodes: number;
|
|
19
|
+
/**
|
|
20
|
+
* Date the series was added to Comic Vine.
|
|
21
|
+
*/
|
|
22
|
+
dateAdded: Date;
|
|
23
|
+
/**
|
|
24
|
+
* Date the series was last updated on Comic Vine.
|
|
25
|
+
*/
|
|
26
|
+
dateLastUpdated: Date;
|
|
27
|
+
/**
|
|
28
|
+
* Brief summary of the series.
|
|
29
|
+
*/
|
|
30
|
+
deck: null | string;
|
|
31
|
+
/**
|
|
32
|
+
* Description of the series.
|
|
33
|
+
*/
|
|
34
|
+
description: string;
|
|
35
|
+
episodes: Array<EpisodeSiteResource>;
|
|
36
|
+
/**
|
|
37
|
+
* The first episode in this series.
|
|
38
|
+
*/
|
|
39
|
+
firstEpisode: EpisodeApiResource;
|
|
40
|
+
/**
|
|
41
|
+
* Unique ID of the series.
|
|
42
|
+
*/
|
|
43
|
+
id: number;
|
|
44
|
+
/**
|
|
45
|
+
* Main image of the series.
|
|
46
|
+
*/
|
|
47
|
+
image: Image;
|
|
48
|
+
/**
|
|
49
|
+
* The last episode in this series.
|
|
50
|
+
*/
|
|
51
|
+
lastEpisode: EpisodeApiResource;
|
|
52
|
+
/**
|
|
53
|
+
* Name of the series.
|
|
54
|
+
*/
|
|
55
|
+
name: string;
|
|
56
|
+
/**
|
|
57
|
+
* The primary publisher a series is attached to.
|
|
58
|
+
*/
|
|
59
|
+
publisher: ApiResource;
|
|
60
|
+
/**
|
|
61
|
+
* URL pointing to the series on Giant Bomb.
|
|
62
|
+
*/
|
|
63
|
+
siteDetailUrl: string;
|
|
64
|
+
/**
|
|
65
|
+
* The first year this series appeared in comics.
|
|
66
|
+
*/
|
|
67
|
+
startYear: string;
|
|
68
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLWRldGFpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3Nlcmllcy90eXBlcy9zZXJpZXMtZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgU2l0ZVJlc291cmNlV2l0aENvdW50LFxuICBFcGlzb2RlU2l0ZVJlc291cmNlLFxuICBFcGlzb2RlQXBpUmVzb3VyY2UsXG4gIEFwaVJlc291cmNlLFxuICBJbWFnZSxcbn0gZnJvbSAnLi4vLi4vY29tbW9uLXR5cGVzLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBTZXJpZXNEZXRhaWxzIHtcbiAgLyoqXG4gICAqIExpc3Qgb2YgYWxpYXNlcyB0aGUgc2VyaWVzIGlzIGtub3duIGJ5LiBBIFxcbiAobmV3bGluZSkgc2VwZXJhdGVzIGVhY2ggYWxpYXMuXG4gICAqL1xuICBhbGlhc2VzOiBudWxsIHwgc3RyaW5nO1xuICAvKipcbiAgICogVVJMIHBvaW50aW5nIHRvIHRoZSBzZXJpZXMgZGV0YWl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WFnZTogSW1hZ2U7XG4gIC8qKlxuICAgKiBUaGUgbGFzdCBlcGlzb2RlIGluIHRoaXMgc2VyaWVzLlxuICAgKi9cbiAgbGFzdEVwaXNvZGU6IEVwaXNvZGVBcGlSZXNvdXJjZTtcbiAgLyoqXG4gICAqIE5hbWUgb2YgdGhlIHNlcmllcy5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcbiAgLyoqXG4gICAqIFRoZSBwcmltYXJ5IHB1Ymxpc2hlciBhIHNlcmllcyBpcyBhdHRhY2hlZCB0by5cbiAgICovXG4gIHB1Ymxpc2hlcjogQXBpUmVzb3VyY2U7XG4gIC8qKlxuICAgKiBVUkwgcG9pbnRpbmcgdG8gdGhlIHNlcmllcyBvbiBHaWFudCBCb21iLlxuICAgKi9cbiAgc2l0ZURldGFpbFVybDogc3RyaW5nO1xuICAvKipcbiAgICogVGhlIGZpcnN0IHllYXIgdGhpcyBzZXJpZXMgYXBwZWFyZWQgaW4gY29taWNzLlxuICAgKi9cbiAgc3RhcnRZZWFyOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EpisodeApiResource, ApiResource, Image } from '../../common-types.js';
|
|
2
|
+
export interface SeriesListItem {
|
|
3
|
+
aliases: null | string;
|
|
4
|
+
apiDetailUrl: string;
|
|
5
|
+
countOfEpisodes: number;
|
|
6
|
+
dateAdded: Date;
|
|
7
|
+
dateLastUpdated: Date;
|
|
8
|
+
deck: null | string;
|
|
9
|
+
description: null | string;
|
|
10
|
+
firstEpisode: EpisodeApiResource;
|
|
11
|
+
id: number;
|
|
12
|
+
image: Image;
|
|
13
|
+
lastEpisode: EpisodeApiResource;
|
|
14
|
+
name: string;
|
|
15
|
+
publisher: ApiResource;
|
|
16
|
+
siteDetailUrl: string;
|
|
17
|
+
startYear: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLWxpc3QtaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvc2VyaWVzL3R5cGVzL3Nlcmllcy1saXN0LWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVwaXNvZGVBcGlSZXNvdXJjZSwgQXBpUmVzb3VyY2UsIEltYWdlIH0gZnJvbSAnLi4vLi4vY29tbW9uLXR5cGVzLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBTZXJpZXNMaXN0SXRlbSB7XG4gIGFsaWFzZXM6IG51bGwgfCBzdHJpbmc7XG4gIGFwaURldGFpbFVybDogc3RyaW5nO1xuICBjb3VudE9mRXBpc29kZXM6IG51bWJlcjtcbiAgZGF0ZUFkZGVkOiBEYXRlO1xuICBkYXRlTGFzdFVwZGF0ZWQ6IERhdGU7XG4gIGRlY2s6IG51bGwgfCBzdHJpbmc7XG4gIGRlc2NyaXB0aW9uOiBudWxsIHwgc3RyaW5nO1xuICBmaXJzdEVwaXNvZGU6IEVwaXNvZGVBcGlSZXNvdXJjZTtcbiAgaWQ6IG51bWJlcjtcbiAgaW1hZ2U6IEltYWdlO1xuICBsYXN0RXBpc29kZTogRXBpc29kZUFwaVJlc291cmNlO1xuICBuYW1lOiBzdHJpbmc7XG4gIHB1Ymxpc2hlcjogQXBpUmVzb3VyY2U7XG4gIHNpdGVEZXRhaWxVcmw6IHN0cmluZztcbiAgc3RhcnRZZWFyOiBzdHJpbmc7XG59XG4iXX0=
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './story-arc.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./story-arc.js"), exports);
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3N0b3J5LWFyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQStCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdG9yeS1hcmMuanMnO1xuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StoryArcDetails, StoryArcListItem } from './types/index.js';
|
|
2
|
+
import { BaseResource } from '../base-resource.js';
|
|
3
|
+
import { ResourceType } from '../resource-type.js';
|
|
4
|
+
export declare class StoryArc extends BaseResource<StoryArcDetails, StoryArcListItem> {
|
|
5
|
+
protected resourceType: ResourceType;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StoryArc = void 0;
|
|
4
|
+
const base_resource_js_1 = require("../base-resource.js");
|
|
5
|
+
const resource_type_js_1 = require("../resource-type.js");
|
|
6
|
+
class StoryArc extends base_resource_js_1.BaseResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.resourceType = resource_type_js_1.ResourceType.StoryArc;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.StoryArc = StoryArc;
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcnktYXJjLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9zdG9yeS1hcmMvc3RvcnktYXJjLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDBEQUFtRDtBQUNuRCwwREFBbUQ7QUFFbkQsTUFBYSxRQUFTLFNBQVEsK0JBQStDO0lBQTdFOztRQUNZLGlCQUFZLEdBQWlCLCtCQUFZLENBQUMsUUFBUSxDQUFDO0lBQy9ELENBQUM7Q0FBQTtBQUZELDRCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU3RvcnlBcmNEZXRhaWxzLCBTdG9yeUFyY0xpc3RJdGVtIH0gZnJvbSAnLi90eXBlcy9pbmRleC5qcyc7XG5pbXBvcnQgeyBCYXNlUmVzb3VyY2UgfSBmcm9tICcuLi9iYXNlLXJlc291cmNlLmpzJztcbmltcG9ydCB7IFJlc291cmNlVHlwZSB9IGZyb20gJy4uL3Jlc291cmNlLXR5cGUuanMnO1xuXG5leHBvcnQgY2xhc3MgU3RvcnlBcmMgZXh0ZW5kcyBCYXNlUmVzb3VyY2U8U3RvcnlBcmNEZXRhaWxzLCBTdG9yeUFyY0xpc3RJdGVtPiB7XG4gIHByb3RlY3RlZCByZXNvdXJjZVR5cGU6IFJlc291cmNlVHlwZSA9IFJlc291cmNlVHlwZS5TdG9yeUFyYztcbn1cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./story-arc-details.js"), exports);
|
|
18
|
+
__exportStar(require("./story-arc-list-item.js"), exports);
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3N0b3J5LWFyYy90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLDJEQUF5QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3RvcnktYXJjLWRldGFpbHMuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9zdG9yeS1hcmMtbGlzdC1pdGVtLmpzJztcbiJdfQ==
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { SiteResource, EpisodeApiResource, IssueApiResource, Image } from '../../common-types.js';
|
|
2
|
+
export interface StoryArcDetails {
|
|
3
|
+
/**
|
|
4
|
+
* List of aliases the story_arc is known by. A \n (newline) seperates each alias.
|
|
5
|
+
*/
|
|
6
|
+
aliases: null | string;
|
|
7
|
+
/**
|
|
8
|
+
* URL pointing to the story_arc detail resource.
|
|
9
|
+
*/
|
|
10
|
+
apiDetailUrl: string;
|
|
11
|
+
countOfIsssueAppearances: number;
|
|
12
|
+
/**
|
|
13
|
+
* Date the story_arc was added to Comic Vine.
|
|
14
|
+
*/
|
|
15
|
+
dateAdded: Date;
|
|
16
|
+
/**
|
|
17
|
+
* Date the story_arc was last updated on Comic Vine.
|
|
18
|
+
*/
|
|
19
|
+
dateLastUpdated: Date;
|
|
20
|
+
/**
|
|
21
|
+
* Brief summary of the story_arc.
|
|
22
|
+
*/
|
|
23
|
+
deck: string;
|
|
24
|
+
/**
|
|
25
|
+
* Description of the story_arc.
|
|
26
|
+
*/
|
|
27
|
+
description: string;
|
|
28
|
+
episodes: Array<SiteResource>;
|
|
29
|
+
firstAppearedInEpisode: EpisodeApiResource;
|
|
30
|
+
/**
|
|
31
|
+
* Issue where the story_arc made its first appearance.
|
|
32
|
+
*/
|
|
33
|
+
firstAppearedInIssue: IssueApiResource;
|
|
34
|
+
/**
|
|
35
|
+
* Unique ID of the story_arc.
|
|
36
|
+
*/
|
|
37
|
+
id: number;
|
|
38
|
+
/**
|
|
39
|
+
* Main image of the story_arc.
|
|
40
|
+
*/
|
|
41
|
+
image: Image;
|
|
42
|
+
/**
|
|
43
|
+
* List of issues included in this story_arc.
|
|
44
|
+
*/
|
|
45
|
+
issues: Array<SiteResource>;
|
|
46
|
+
/**
|
|
47
|
+
* Movies the story_arc was in.
|
|
48
|
+
*/
|
|
49
|
+
movies?: Array<unknown>;
|
|
50
|
+
/**
|
|
51
|
+
* Name of the story_arc.
|
|
52
|
+
*/
|
|
53
|
+
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* The primary publisher a story_arc is attached to.
|
|
56
|
+
*/
|
|
57
|
+
publisher: SiteResource;
|
|
58
|
+
/**
|
|
59
|
+
* URL pointing to the story_arc on Giant Bomb.
|
|
60
|
+
*/
|
|
61
|
+
siteDetailUrl: string;
|
|
62
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcnktYXJjLWRldGFpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3N0b3J5LWFyYy90eXBlcy9zdG9yeS1hcmMtZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgU2l0ZVJlc291cmNlLFxuICBFcGlzb2RlQXBpUmVzb3VyY2UsXG4gIElzc3VlQXBpUmVzb3VyY2UsXG4gIEltYWdlLFxufSBmcm9tICcuLi8uLi9jb21tb24tdHlwZXMuanMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFN0b3J5QXJjRGV0YWlscyB7XG4gIC8qKlxuICAgKiBMaXN0IG9mIGFsaWFzZXMgdGhlIHN0b3J5X2FyYyBpcyBrbm93biBieS4gQSBcXG4gKG5ld2xpbmUpIHNlcGVyYXRlcyBlYWNoIGFsaWFzLlxuICAgKi9cbiAgYWxpYXNlczogbnVsbCB8IHN0cmluZztcbiAgLyoqXG4gICAqIFVSTCBwb2ludGluZyB0byB0aGUgc3RvcnlfYXJjIGRldGFpbCByZXNvdXJjZS5cbiAgICovXG4gIGFwaURldGFpbFVybDogc3RyaW5nO1xuICBjb3VudE9mSXNzc3VlQXBwZWFyYW5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1xuICBtb3ZpZXM/OiBBcnJheTx1bmtub3duPjtcbiAgLyoqXG4gICAqIE5hbWUgb2YgdGhlIHN0b3J5X2FyYy5cbiAgICovXG4gIG5hbWU6IHN0cmluZztcbiAgLyoqXG4gICAqIFRoZSBwcmltYXJ5IHB1Ymxpc2hlciBhIHN0b3J5X2FyYyBpcyBhdHRhY2hlZCB0by5cbiAgICovXG4gIHB1Ymxpc2hlcjogU2l0ZVJlc291cmNlO1xuICAvKipcbiAgICogVVJMIHBvaW50aW5nIHRvIHRoZSBzdG9yeV9hcmMgb24gR2lhbnQgQm9tYi5cbiAgICovXG4gIHNpdGVEZXRhaWxVcmw6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IssueApiResource, SiteResource, EpisodeApiResource, Image } from '../../common-types.js';
|
|
2
|
+
export interface StoryArcListItem {
|
|
3
|
+
/**
|
|
4
|
+
* List of aliases the story_arc is known by. A \n (newline) seperates each alias.
|
|
5
|
+
*/
|
|
6
|
+
aliases: null | string;
|
|
7
|
+
/**
|
|
8
|
+
* URL pointing to the story_arc detail resource.
|
|
9
|
+
*/
|
|
10
|
+
apiDetailUrl: string;
|
|
11
|
+
countOfIsssueAppearances: number;
|
|
12
|
+
/**
|
|
13
|
+
* Date the story_arc was added to Comic Vine.
|
|
14
|
+
*/
|
|
15
|
+
dateAdded: Date;
|
|
16
|
+
/**
|
|
17
|
+
* Date the story_arc was last updated on Comic Vine.
|
|
18
|
+
*/
|
|
19
|
+
dateLastUpdated: Date;
|
|
20
|
+
/**
|
|
21
|
+
* Brief summary of the story_arc.
|
|
22
|
+
*/
|
|
23
|
+
deck: null | string;
|
|
24
|
+
/**
|
|
25
|
+
* Description of the story_arc.
|
|
26
|
+
*/
|
|
27
|
+
description: null | string;
|
|
28
|
+
firstAppearedInEpisode: EpisodeApiResource;
|
|
29
|
+
/**
|
|
30
|
+
* Issue where the story_arc made its first appearance.
|
|
31
|
+
*/
|
|
32
|
+
firstAppearedInIssue: IssueApiResource;
|
|
33
|
+
/**
|
|
34
|
+
* Unique ID of the story_arc.
|
|
35
|
+
*/
|
|
36
|
+
id: number;
|
|
37
|
+
/**
|
|
38
|
+
* Main image of the story_arc.
|
|
39
|
+
*/
|
|
40
|
+
image: Image;
|
|
41
|
+
/**
|
|
42
|
+
* Name of the story_arc.
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
/**
|
|
46
|
+
* The primary publisher a story_arc is attached to.
|
|
47
|
+
*/
|
|
48
|
+
publisher: SiteResource;
|
|
49
|
+
/**
|
|
50
|
+
* URL pointing to the story_arc on Giant Bomb.
|
|
51
|
+
*/
|
|
52
|
+
siteDetailUrl: string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcnktYXJjLWxpc3QtaXRlbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvc3RvcnktYXJjL3R5cGVzL3N0b3J5LWFyYy1saXN0LWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIElzc3VlQXBpUmVzb3VyY2UsXG4gIFNpdGVSZXNvdXJjZSxcbiAgRXBpc29kZUFwaVJlc291cmNlLFxuICBJbWFnZSxcbn0gZnJvbSAnLi4vLi4vY29tbW9uLXR5cGVzLmpzJztcblxuZXhwb3J0IGludGVyZmFjZSBTdG9yeUFyY0xpc3RJdGVtIHtcbiAgLyoqXG4gICAqIExpc3Qgb2YgYWxpYXNlcyB0aGUgc3RvcnlfYXJjIGlzIGtub3duIGJ5LiBBIFxcbiAobmV3bGluZSkgc2VwZXJhdGVzIGVhY2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AgICogTmFtZSBvZiB0aGUgc3RvcnlfYXJjLlxuICAgKi9cbiAgbmFtZTogc3RyaW5nO1xuICAvKipcbiAgICogVGhlIHByaW1hcnkgcHVibGlzaGVyIGEgc3RvcnlfYXJjIGlzIGF0dGFjaGVkIHRvLlxuICAgKi9cbiAgcHVibGlzaGVyOiBTaXRlUmVzb3VyY2U7XG4gIC8qKlxuICAgKiBVUkwgcG9pbnRpbmcgdG8gdGhlIHN0b3J5X2FyYyBvbiBHaWFudCBCb21iLlxuICAgKi9cbiAgc2l0ZURldGFpbFVybDogc3RyaW5nO1xufVxuIl19
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './team.js';
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./team.js"), exports);
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3RlYW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLDRDQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdGVhbS5qcyc7XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TeamDetails, TeamListItem } from './types/index.js';
|
|
2
|
+
import { BaseResource } from '../base-resource.js';
|
|
3
|
+
import { ResourceType } from '../resource-type.js';
|
|
4
|
+
export declare class Team extends BaseResource<TeamDetails, TeamListItem> {
|
|
5
|
+
protected resourceType: ResourceType;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Team = void 0;
|
|
4
|
+
const base_resource_js_1 = require("../base-resource.js");
|
|
5
|
+
const resource_type_js_1 = require("../resource-type.js");
|
|
6
|
+
class Team extends base_resource_js_1.BaseResource {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.resourceType = resource_type_js_1.ResourceType.Team;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.Team = Team;
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVhbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvdGVhbS90ZWFtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDBEQUFtRDtBQUNuRCwwREFBbUQ7QUFFbkQsTUFBYSxJQUFLLFNBQVEsK0JBQXVDO0lBQWpFOztRQUNZLGlCQUFZLEdBQWlCLCtCQUFZLENBQUMsSUFBSSxDQUFDO0lBQzNELENBQUM7Q0FBQTtBQUZELG9CQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgVGVhbURldGFpbHMsIFRlYW1MaXN0SXRlbSB9IGZyb20gJy4vdHlwZXMvaW5kZXguanMnO1xuaW1wb3J0IHsgQmFzZVJlc291cmNlIH0gZnJvbSAnLi4vYmFzZS1yZXNvdXJjZS5qcyc7XG5pbXBvcnQgeyBSZXNvdXJjZVR5cGUgfSBmcm9tICcuLi9yZXNvdXJjZS10eXBlLmpzJztcblxuZXhwb3J0IGNsYXNzIFRlYW0gZXh0ZW5kcyBCYXNlUmVzb3VyY2U8VGVhbURldGFpbHMsIFRlYW1MaXN0SXRlbT4ge1xuICBwcm90ZWN0ZWQgcmVzb3VyY2VUeXBlOiBSZXNvdXJjZVR5cGUgPSBSZXNvdXJjZVR5cGUuVGVhbTtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./team-details.js"), exports);
|
|
18
|
+
__exportStar(require("./team-list-item.js"), exports);
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3RlYW0vdHlwZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG9EQUFrQztBQUNsQyxzREFBb0MiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3RlYW0tZGV0YWlscy5qcyc7XG5leHBvcnQgKiBmcm9tICcuL3RlYW0tbGlzdC1pdGVtLmpzJztcbiJdfQ==
|