comic-vine-sdk 1.3.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -732
- package/lib/index.cjs +1456 -0
- package/lib/index.cjs.map +7 -0
- package/lib/index.d.ts +2716 -0
- package/lib/index.js +845 -0
- package/lib/index.js.map +1 -0
- package/package.json +108 -54
- package/.gitattributes +0 -23
- package/.husky/pre-commit +0 -1
- package/.prettierignore +0 -1
- package/.prettierrc.json +0 -4
- package/.projen/tasks.json +0 -261
- package/.releaserc.json +0 -17
- package/CHANGELOG.md +0 -97
- package/CODE_OF_CONDUCT.md +0 -128
- package/CONTRIBUTING.md +0 -294
- package/eslint.config.js +0 -168
- package/lib/cjs/comic-vine.d.ts +0 -44
- package/lib/cjs/comic-vine.js +0 -105
- package/lib/cjs/errors/base-error.d.ts +0 -9
- package/lib/cjs/errors/base-error.js +0 -18
- package/lib/cjs/errors/custom-error.d.ts +0 -2
- package/lib/cjs/errors/custom-error.js +0 -12
- package/lib/cjs/errors/filter-error.d.ts +0 -4
- package/lib/cjs/errors/filter-error.js +0 -14
- package/lib/cjs/errors/generic-error.d.ts +0 -4
- package/lib/cjs/errors/generic-error.js +0 -14
- package/lib/cjs/errors/generic-request-error.d.ts +0 -10
- package/lib/cjs/errors/generic-request-error.js +0 -23
- package/lib/cjs/errors/index.d.ts +0 -10
- package/lib/cjs/errors/index.js +0 -27
- package/lib/cjs/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/lib/cjs/errors/jsonp-callback-missing-error.js +0 -14
- package/lib/cjs/errors/object-not-found-error.d.ts +0 -4
- package/lib/cjs/errors/object-not-found-error.js +0 -14
- package/lib/cjs/errors/options-validation-error.d.ts +0 -4
- package/lib/cjs/errors/options-validation-error.js +0 -14
- package/lib/cjs/errors/subscriber-only-error.d.ts +0 -4
- package/lib/cjs/errors/subscriber-only-error.js +0 -14
- package/lib/cjs/errors/unauthorized-error.d.ts +0 -4
- package/lib/cjs/errors/unauthorized-error.js +0 -14
- package/lib/cjs/errors/url-format-error.d.ts +0 -4
- package/lib/cjs/errors/url-format-error.js +0 -14
- package/lib/cjs/http-client/http-client-factory.d.ts +0 -6
- package/lib/cjs/http-client/http-client-factory.js +0 -15
- package/lib/cjs/http-client/http-client.d.ts +0 -8
- package/lib/cjs/http-client/http-client.js +0 -71
- package/lib/cjs/http-client/index.d.ts +0 -1
- package/lib/cjs/http-client/index.js +0 -18
- package/lib/cjs/http-client/status-code.d.ts +0 -9
- package/lib/cjs/http-client/status-code.js +0 -14
- package/lib/cjs/http-client/url-builder.d.ts +0 -29
- package/lib/cjs/http-client/url-builder.js +0 -107
- package/lib/cjs/index.d.ts +0 -3
- package/lib/cjs/index.js +0 -5
- package/lib/cjs/options/index.d.ts +0 -20
- package/lib/cjs/options/index.js +0 -32
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/resources/base-resource.d.ts +0 -19
- package/lib/cjs/resources/base-resource.js +0 -87
- package/lib/cjs/resources/character/character.d.ts +0 -6
- package/lib/cjs/resources/character/character.js +0 -13
- package/lib/cjs/resources/character/index.d.ts +0 -1
- package/lib/cjs/resources/character/index.js +0 -18
- package/lib/cjs/resources/character/types/character-details.d.ts +0 -110
- package/lib/cjs/resources/character/types/character-details.js +0 -3
- package/lib/cjs/resources/character/types/character-list-item.d.ts +0 -71
- package/lib/cjs/resources/character/types/character-list-item.js +0 -3
- package/lib/cjs/resources/character/types/index.d.ts +0 -2
- package/lib/cjs/resources/character/types/index.js +0 -19
- package/lib/cjs/resources/common-types.d.ts +0 -58
- package/lib/cjs/resources/common-types.js +0 -3
- package/lib/cjs/resources/concept/concept.d.ts +0 -6
- package/lib/cjs/resources/concept/concept.js +0 -13
- package/lib/cjs/resources/concept/index.d.ts +0 -1
- package/lib/cjs/resources/concept/index.js +0 -18
- package/lib/cjs/resources/concept/types/concept-details.d.ts +0 -58
- package/lib/cjs/resources/concept/types/concept-details.js +0 -3
- package/lib/cjs/resources/concept/types/concept-list-item.d.ts +0 -52
- package/lib/cjs/resources/concept/types/concept-list-item.js +0 -3
- package/lib/cjs/resources/concept/types/index.d.ts +0 -2
- package/lib/cjs/resources/concept/types/index.js +0 -19
- package/lib/cjs/resources/episode/episode.d.ts +0 -6
- package/lib/cjs/resources/episode/episode.js +0 -13
- package/lib/cjs/resources/episode/index.d.ts +0 -1
- package/lib/cjs/resources/episode/index.js +0 -18
- package/lib/cjs/resources/episode/types/episode-details.d.ts +0 -87
- package/lib/cjs/resources/episode/types/episode-details.js +0 -3
- package/lib/cjs/resources/episode/types/episode-list-item.d.ts +0 -53
- package/lib/cjs/resources/episode/types/episode-list-item.js +0 -3
- package/lib/cjs/resources/episode/types/index.d.ts +0 -2
- package/lib/cjs/resources/episode/types/index.js +0 -19
- package/lib/cjs/resources/index.d.ts +0 -3
- package/lib/cjs/resources/index.js +0 -20
- package/lib/cjs/resources/issue/index.d.ts +0 -1
- package/lib/cjs/resources/issue/index.js +0 -18
- package/lib/cjs/resources/issue/issue.d.ts +0 -6
- package/lib/cjs/resources/issue/issue.js +0 -13
- package/lib/cjs/resources/issue/types/index.d.ts +0 -2
- package/lib/cjs/resources/issue/types/index.js +0 -19
- package/lib/cjs/resources/issue/types/issue-details.d.ts +0 -94
- package/lib/cjs/resources/issue/types/issue-details.js +0 -3
- package/lib/cjs/resources/issue/types/issue-list-item.d.ts +0 -61
- package/lib/cjs/resources/issue/types/issue-list-item.js +0 -3
- package/lib/cjs/resources/location/index.d.ts +0 -1
- package/lib/cjs/resources/location/index.js +0 -18
- package/lib/cjs/resources/location/location.d.ts +0 -6
- package/lib/cjs/resources/location/location.js +0 -13
- package/lib/cjs/resources/location/types/index.d.ts +0 -2
- package/lib/cjs/resources/location/types/index.js +0 -19
- package/lib/cjs/resources/location/types/location-details.d.ts +0 -62
- package/lib/cjs/resources/location/types/location-details.js +0 -3
- package/lib/cjs/resources/location/types/location-list-item.d.ts +0 -55
- package/lib/cjs/resources/location/types/location-list-item.js +0 -3
- package/lib/cjs/resources/movie/index.d.ts +0 -1
- package/lib/cjs/resources/movie/index.js +0 -18
- package/lib/cjs/resources/movie/movie.d.ts +0 -6
- package/lib/cjs/resources/movie/movie.js +0 -13
- package/lib/cjs/resources/movie/types/index.d.ts +0 -2
- package/lib/cjs/resources/movie/types/index.js +0 -19
- package/lib/cjs/resources/movie/types/movie-details.d.ts +0 -91
- package/lib/cjs/resources/movie/types/movie-details.js +0 -3
- package/lib/cjs/resources/movie/types/movie-list-item.d.ts +0 -74
- package/lib/cjs/resources/movie/types/movie-list-item.js +0 -3
- package/lib/cjs/resources/origin/index.d.ts +0 -1
- package/lib/cjs/resources/origin/index.js +0 -18
- package/lib/cjs/resources/origin/origin.d.ts +0 -6
- package/lib/cjs/resources/origin/origin.js +0 -13
- package/lib/cjs/resources/origin/types/index.d.ts +0 -2
- package/lib/cjs/resources/origin/types/index.js +0 -19
- package/lib/cjs/resources/origin/types/origin-details.d.ts +0 -22
- package/lib/cjs/resources/origin/types/origin-details.js +0 -3
- package/lib/cjs/resources/origin/types/origin-list-item.d.ts +0 -18
- package/lib/cjs/resources/origin/types/origin-list-item.js +0 -3
- package/lib/cjs/resources/person/index.d.ts +0 -1
- package/lib/cjs/resources/person/index.js +0 -18
- package/lib/cjs/resources/person/person.d.ts +0 -6
- package/lib/cjs/resources/person/person.js +0 -13
- package/lib/cjs/resources/person/types/index.d.ts +0 -2
- package/lib/cjs/resources/person/types/index.js +0 -19
- package/lib/cjs/resources/person/types/person-details.d.ts +0 -82
- package/lib/cjs/resources/person/types/person-details.js +0 -3
- package/lib/cjs/resources/person/types/person-list-item.d.ts +0 -77
- package/lib/cjs/resources/person/types/person-list-item.js +0 -8
- package/lib/cjs/resources/power/index.d.ts +0 -1
- package/lib/cjs/resources/power/index.js +0 -18
- package/lib/cjs/resources/power/power.d.ts +0 -6
- package/lib/cjs/resources/power/power.js +0 -13
- package/lib/cjs/resources/power/types/index.d.ts +0 -2
- package/lib/cjs/resources/power/types/index.js +0 -19
- package/lib/cjs/resources/power/types/power-details.d.ts +0 -39
- package/lib/cjs/resources/power/types/power-details.js +0 -3
- package/lib/cjs/resources/power/types/power-list-item.d.ts +0 -34
- package/lib/cjs/resources/power/types/power-list-item.js +0 -3
- package/lib/cjs/resources/promo/index.d.ts +0 -1
- package/lib/cjs/resources/promo/index.js +0 -18
- package/lib/cjs/resources/promo/promo.d.ts +0 -6
- package/lib/cjs/resources/promo/promo.js +0 -13
- package/lib/cjs/resources/promo/types/index.d.ts +0 -2
- package/lib/cjs/resources/promo/types/index.js +0 -19
- package/lib/cjs/resources/promo/types/promo-details.d.ts +0 -40
- package/lib/cjs/resources/promo/types/promo-details.js +0 -3
- package/lib/cjs/resources/promo/types/promo-list-item.d.ts +0 -40
- package/lib/cjs/resources/promo/types/promo-list-item.js +0 -3
- package/lib/cjs/resources/publisher/index.d.ts +0 -1
- package/lib/cjs/resources/publisher/index.js +0 -18
- package/lib/cjs/resources/publisher/publisher.d.ts +0 -6
- package/lib/cjs/resources/publisher/publisher.js +0 -13
- package/lib/cjs/resources/publisher/types/index.d.ts +0 -2
- package/lib/cjs/resources/publisher/types/index.js +0 -19
- package/lib/cjs/resources/publisher/types/publisher-details.d.ts +0 -71
- package/lib/cjs/resources/publisher/types/publisher-details.js +0 -3
- package/lib/cjs/resources/publisher/types/publisher-list-item.d.ts +0 -61
- package/lib/cjs/resources/publisher/types/publisher-list-item.js +0 -11
- package/lib/cjs/resources/resource-factory.d.ts +0 -8
- package/lib/cjs/resources/resource-factory.js +0 -53
- package/lib/cjs/resources/resource-list.d.ts +0 -19
- package/lib/cjs/resources/resource-list.js +0 -36
- package/lib/cjs/resources/resource-map.d.ts +0 -7
- package/lib/cjs/resources/resource-map.js +0 -40
- package/lib/cjs/resources/resource-type.d.ts +0 -21
- package/lib/cjs/resources/resource-type.js +0 -27
- package/lib/cjs/resources/series/index.d.ts +0 -1
- package/lib/cjs/resources/series/index.js +0 -18
- package/lib/cjs/resources/series/series.d.ts +0 -6
- package/lib/cjs/resources/series/series.js +0 -13
- package/lib/cjs/resources/series/types/index.d.ts +0 -2
- package/lib/cjs/resources/series/types/index.js +0 -19
- package/lib/cjs/resources/series/types/series-details.d.ts +0 -68
- package/lib/cjs/resources/series/types/series-details.js +0 -3
- package/lib/cjs/resources/series/types/series-list-item.d.ts +0 -18
- package/lib/cjs/resources/series/types/series-list-item.js +0 -3
- package/lib/cjs/resources/story-arc/index.d.ts +0 -1
- package/lib/cjs/resources/story-arc/index.js +0 -18
- package/lib/cjs/resources/story-arc/story-arc.d.ts +0 -6
- package/lib/cjs/resources/story-arc/story-arc.js +0 -13
- package/lib/cjs/resources/story-arc/types/index.d.ts +0 -2
- package/lib/cjs/resources/story-arc/types/index.js +0 -19
- package/lib/cjs/resources/story-arc/types/story-arc-details.d.ts +0 -62
- package/lib/cjs/resources/story-arc/types/story-arc-details.js +0 -3
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
- package/lib/cjs/resources/story-arc/types/story-arc-list-item.js +0 -3
- package/lib/cjs/resources/team/index.d.ts +0 -1
- package/lib/cjs/resources/team/index.js +0 -18
- package/lib/cjs/resources/team/team.d.ts +0 -6
- package/lib/cjs/resources/team/team.js +0 -13
- package/lib/cjs/resources/team/types/index.d.ts +0 -2
- package/lib/cjs/resources/team/types/index.js +0 -19
- package/lib/cjs/resources/team/types/team-details.d.ts +0 -80
- package/lib/cjs/resources/team/types/team-details.js +0 -3
- package/lib/cjs/resources/team/types/team-list-item.d.ts +0 -56
- package/lib/cjs/resources/team/types/team-list-item.js +0 -3
- package/lib/cjs/resources/thing/index.d.ts +0 -1
- package/lib/cjs/resources/thing/index.js +0 -18
- package/lib/cjs/resources/thing/thing.d.ts +0 -6
- package/lib/cjs/resources/thing/thing.js +0 -13
- package/lib/cjs/resources/thing/types/index.d.ts +0 -2
- package/lib/cjs/resources/thing/types/index.js +0 -19
- package/lib/cjs/resources/thing/types/thing-details.d.ts +0 -62
- package/lib/cjs/resources/thing/types/thing-details.js +0 -3
- package/lib/cjs/resources/thing/types/thing-list-item.d.ts +0 -55
- package/lib/cjs/resources/thing/types/thing-list-item.js +0 -3
- package/lib/cjs/resources/video/index.d.ts +0 -1
- package/lib/cjs/resources/video/index.js +0 -18
- package/lib/cjs/resources/video/types/index.d.ts +0 -2
- package/lib/cjs/resources/video/types/index.js +0 -19
- package/lib/cjs/resources/video/types/video-details.d.ts +0 -63
- package/lib/cjs/resources/video/types/video-details.js +0 -3
- package/lib/cjs/resources/video/types/video-list-item.d.ts +0 -85
- package/lib/cjs/resources/video/types/video-list-item.js +0 -28
- package/lib/cjs/resources/video/video.d.ts +0 -6
- package/lib/cjs/resources/video/video.js +0 -13
- package/lib/cjs/resources/video-category/index.d.ts +0 -1
- package/lib/cjs/resources/video-category/index.js +0 -18
- package/lib/cjs/resources/video-category/types/index.d.ts +0 -2
- package/lib/cjs/resources/video-category/types/index.js +0 -19
- package/lib/cjs/resources/video-category/types/video-category-details.d.ts +0 -24
- package/lib/cjs/resources/video-category/types/video-category-details.js +0 -3
- package/lib/cjs/resources/video-category/types/video-category-list-item.d.ts +0 -24
- package/lib/cjs/resources/video-category/types/video-category-list-item.js +0 -3
- package/lib/cjs/resources/video-category/video-category.d.ts +0 -6
- package/lib/cjs/resources/video-category/video-category.js +0 -13
- package/lib/cjs/resources/video-type/index.d.ts +0 -1
- package/lib/cjs/resources/video-type/index.js +0 -18
- package/lib/cjs/resources/video-type/types/index.d.ts +0 -2
- package/lib/cjs/resources/video-type/types/index.js +0 -19
- package/lib/cjs/resources/video-type/types/video-type-details.d.ts +0 -22
- package/lib/cjs/resources/video-type/types/video-type-details.js +0 -3
- package/lib/cjs/resources/video-type/types/video-type-list-item.d.ts +0 -22
- package/lib/cjs/resources/video-type/types/video-type-list-item.js +0 -3
- package/lib/cjs/resources/video-type/video-type.d.ts +0 -6
- package/lib/cjs/resources/video-type/video-type.js +0 -13
- package/lib/cjs/resources/volume/index.d.ts +0 -1
- package/lib/cjs/resources/volume/index.js +0 -18
- package/lib/cjs/resources/volume/types/index.d.ts +0 -2
- package/lib/cjs/resources/volume/types/index.js +0 -19
- package/lib/cjs/resources/volume/types/volume-details.d.ts +0 -77
- package/lib/cjs/resources/volume/types/volume-details.js +0 -3
- package/lib/cjs/resources/volume/types/volume-list-item.d.ts +0 -63
- package/lib/cjs/resources/volume/types/volume-list-item.js +0 -3
- package/lib/cjs/resources/volume/volume.d.ts +0 -6
- package/lib/cjs/resources/volume/volume.js +0 -13
- package/lib/cjs/types/apply-override.d.ts +0 -1
- package/lib/cjs/types/apply-override.js +0 -3
- package/lib/cjs/types/http-client.d.ts +0 -4
- package/lib/cjs/types/http-client.js +0 -3
- package/lib/cjs/types/index.d.ts +0 -7
- package/lib/cjs/types/index.js +0 -24
- package/lib/cjs/types/iso-date.d.ts +0 -7
- package/lib/cjs/types/iso-date.js +0 -3
- package/lib/cjs/types/pick-filters.d.ts +0 -6
- package/lib/cjs/types/pick-filters.js +0 -3
- package/lib/cjs/types/request.d.ts +0 -31
- package/lib/cjs/types/request.js +0 -3
- package/lib/cjs/types/response.d.ts +0 -10
- package/lib/cjs/types/response.js +0 -3
- package/lib/cjs/types/url-builder.d.ts +0 -6
- package/lib/cjs/types/url-builder.js +0 -3
- package/lib/cjs/types/valueof.d.ts +0 -1
- package/lib/cjs/types/valueof.js +0 -3
- package/lib/cjs/utils/case-converter.d.ts +0 -4
- package/lib/cjs/utils/case-converter.js +0 -34
- package/lib/cjs/utils/index.d.ts +0 -2
- package/lib/cjs/utils/index.js +0 -19
- package/lib/cjs/utils/is-object.d.ts +0 -1
- package/lib/cjs/utils/is-object.js +0 -8
- package/lib/esm/comic-vine.d.ts +0 -44
- package/lib/esm/comic-vine.js +0 -68
- package/lib/esm/errors/base-error.d.ts +0 -9
- package/lib/esm/errors/base-error.js +0 -14
- package/lib/esm/errors/custom-error.d.ts +0 -2
- package/lib/esm/errors/custom-error.js +0 -8
- package/lib/esm/errors/filter-error.d.ts +0 -4
- package/lib/esm/errors/filter-error.js +0 -10
- package/lib/esm/errors/generic-error.d.ts +0 -4
- package/lib/esm/errors/generic-error.js +0 -10
- package/lib/esm/errors/generic-request-error.d.ts +0 -10
- package/lib/esm/errors/generic-request-error.js +0 -18
- package/lib/esm/errors/index.d.ts +0 -10
- package/lib/esm/errors/index.js +0 -11
- package/lib/esm/errors/jsonp-callback-missing-error.d.ts +0 -4
- package/lib/esm/errors/jsonp-callback-missing-error.js +0 -10
- package/lib/esm/errors/object-not-found-error.d.ts +0 -4
- package/lib/esm/errors/object-not-found-error.js +0 -10
- package/lib/esm/errors/options-validation-error.d.ts +0 -4
- package/lib/esm/errors/options-validation-error.js +0 -10
- package/lib/esm/errors/subscriber-only-error.d.ts +0 -4
- package/lib/esm/errors/subscriber-only-error.js +0 -10
- package/lib/esm/errors/unauthorized-error.d.ts +0 -4
- package/lib/esm/errors/unauthorized-error.js +0 -10
- package/lib/esm/errors/url-format-error.d.ts +0 -4
- package/lib/esm/errors/url-format-error.js +0 -10
- package/lib/esm/http-client/http-client-factory.d.ts +0 -6
- package/lib/esm/http-client/http-client-factory.js +0 -11
- package/lib/esm/http-client/http-client.d.ts +0 -8
- package/lib/esm/http-client/http-client.js +0 -52
- package/lib/esm/http-client/index.d.ts +0 -1
- package/lib/esm/http-client/index.js +0 -2
- package/lib/esm/http-client/status-code.d.ts +0 -9
- package/lib/esm/http-client/status-code.js +0 -11
- package/lib/esm/http-client/url-builder.d.ts +0 -29
- package/lib/esm/http-client/url-builder.js +0 -103
- package/lib/esm/index.d.ts +0 -3
- package/lib/esm/index.js +0 -3
- package/lib/esm/options/index.d.ts +0 -20
- package/lib/esm/options/index.js +0 -28
- package/lib/esm/package.json +0 -3
- package/lib/esm/resources/base-resource.d.ts +0 -19
- package/lib/esm/resources/base-resource.js +0 -54
- package/lib/esm/resources/character/character.d.ts +0 -6
- package/lib/esm/resources/character/character.js +0 -9
- package/lib/esm/resources/character/index.d.ts +0 -1
- package/lib/esm/resources/character/index.js +0 -2
- package/lib/esm/resources/character/types/character-details.d.ts +0 -110
- package/lib/esm/resources/character/types/character-details.js +0 -2
- package/lib/esm/resources/character/types/character-list-item.d.ts +0 -71
- package/lib/esm/resources/character/types/character-list-item.js +0 -2
- package/lib/esm/resources/character/types/index.d.ts +0 -2
- package/lib/esm/resources/character/types/index.js +0 -3
- package/lib/esm/resources/common-types.d.ts +0 -58
- package/lib/esm/resources/common-types.js +0 -2
- package/lib/esm/resources/concept/concept.d.ts +0 -6
- package/lib/esm/resources/concept/concept.js +0 -9
- package/lib/esm/resources/concept/index.d.ts +0 -1
- package/lib/esm/resources/concept/index.js +0 -2
- package/lib/esm/resources/concept/types/concept-details.d.ts +0 -58
- package/lib/esm/resources/concept/types/concept-details.js +0 -2
- package/lib/esm/resources/concept/types/concept-list-item.d.ts +0 -52
- package/lib/esm/resources/concept/types/concept-list-item.js +0 -2
- package/lib/esm/resources/concept/types/index.d.ts +0 -2
- package/lib/esm/resources/concept/types/index.js +0 -3
- package/lib/esm/resources/episode/episode.d.ts +0 -6
- package/lib/esm/resources/episode/episode.js +0 -9
- package/lib/esm/resources/episode/index.d.ts +0 -1
- package/lib/esm/resources/episode/index.js +0 -2
- package/lib/esm/resources/episode/types/episode-details.d.ts +0 -87
- package/lib/esm/resources/episode/types/episode-details.js +0 -2
- package/lib/esm/resources/episode/types/episode-list-item.d.ts +0 -53
- package/lib/esm/resources/episode/types/episode-list-item.js +0 -2
- package/lib/esm/resources/episode/types/index.d.ts +0 -2
- package/lib/esm/resources/episode/types/index.js +0 -3
- package/lib/esm/resources/index.d.ts +0 -3
- package/lib/esm/resources/index.js +0 -4
- package/lib/esm/resources/issue/index.d.ts +0 -1
- package/lib/esm/resources/issue/index.js +0 -2
- package/lib/esm/resources/issue/issue.d.ts +0 -6
- package/lib/esm/resources/issue/issue.js +0 -9
- package/lib/esm/resources/issue/types/index.d.ts +0 -2
- package/lib/esm/resources/issue/types/index.js +0 -3
- package/lib/esm/resources/issue/types/issue-details.d.ts +0 -94
- package/lib/esm/resources/issue/types/issue-details.js +0 -2
- package/lib/esm/resources/issue/types/issue-list-item.d.ts +0 -61
- package/lib/esm/resources/issue/types/issue-list-item.js +0 -2
- package/lib/esm/resources/location/index.d.ts +0 -1
- package/lib/esm/resources/location/index.js +0 -2
- package/lib/esm/resources/location/location.d.ts +0 -6
- package/lib/esm/resources/location/location.js +0 -9
- package/lib/esm/resources/location/types/index.d.ts +0 -2
- package/lib/esm/resources/location/types/index.js +0 -3
- package/lib/esm/resources/location/types/location-details.d.ts +0 -62
- package/lib/esm/resources/location/types/location-details.js +0 -2
- package/lib/esm/resources/location/types/location-list-item.d.ts +0 -55
- package/lib/esm/resources/location/types/location-list-item.js +0 -2
- package/lib/esm/resources/movie/index.d.ts +0 -1
- package/lib/esm/resources/movie/index.js +0 -2
- package/lib/esm/resources/movie/movie.d.ts +0 -6
- package/lib/esm/resources/movie/movie.js +0 -9
- package/lib/esm/resources/movie/types/index.d.ts +0 -2
- package/lib/esm/resources/movie/types/index.js +0 -3
- package/lib/esm/resources/movie/types/movie-details.d.ts +0 -91
- package/lib/esm/resources/movie/types/movie-details.js +0 -2
- package/lib/esm/resources/movie/types/movie-list-item.d.ts +0 -74
- package/lib/esm/resources/movie/types/movie-list-item.js +0 -2
- package/lib/esm/resources/origin/index.d.ts +0 -1
- package/lib/esm/resources/origin/index.js +0 -2
- package/lib/esm/resources/origin/origin.d.ts +0 -6
- package/lib/esm/resources/origin/origin.js +0 -9
- package/lib/esm/resources/origin/types/index.d.ts +0 -2
- package/lib/esm/resources/origin/types/index.js +0 -3
- package/lib/esm/resources/origin/types/origin-details.d.ts +0 -22
- package/lib/esm/resources/origin/types/origin-details.js +0 -2
- package/lib/esm/resources/origin/types/origin-list-item.d.ts +0 -18
- package/lib/esm/resources/origin/types/origin-list-item.js +0 -2
- package/lib/esm/resources/person/index.d.ts +0 -1
- package/lib/esm/resources/person/index.js +0 -2
- package/lib/esm/resources/person/person.d.ts +0 -6
- package/lib/esm/resources/person/person.js +0 -9
- package/lib/esm/resources/person/types/index.d.ts +0 -2
- package/lib/esm/resources/person/types/index.js +0 -3
- package/lib/esm/resources/person/types/person-details.d.ts +0 -82
- package/lib/esm/resources/person/types/person-details.js +0 -2
- package/lib/esm/resources/person/types/person-list-item.d.ts +0 -77
- package/lib/esm/resources/person/types/person-list-item.js +0 -5
- package/lib/esm/resources/power/index.d.ts +0 -1
- package/lib/esm/resources/power/index.js +0 -2
- package/lib/esm/resources/power/power.d.ts +0 -6
- package/lib/esm/resources/power/power.js +0 -9
- package/lib/esm/resources/power/types/index.d.ts +0 -2
- package/lib/esm/resources/power/types/index.js +0 -3
- package/lib/esm/resources/power/types/power-details.d.ts +0 -39
- package/lib/esm/resources/power/types/power-details.js +0 -2
- package/lib/esm/resources/power/types/power-list-item.d.ts +0 -34
- package/lib/esm/resources/power/types/power-list-item.js +0 -2
- package/lib/esm/resources/promo/index.d.ts +0 -1
- package/lib/esm/resources/promo/index.js +0 -2
- package/lib/esm/resources/promo/promo.d.ts +0 -6
- package/lib/esm/resources/promo/promo.js +0 -9
- package/lib/esm/resources/promo/types/index.d.ts +0 -2
- package/lib/esm/resources/promo/types/index.js +0 -3
- package/lib/esm/resources/promo/types/promo-details.d.ts +0 -40
- package/lib/esm/resources/promo/types/promo-details.js +0 -2
- package/lib/esm/resources/promo/types/promo-list-item.d.ts +0 -40
- package/lib/esm/resources/promo/types/promo-list-item.js +0 -2
- package/lib/esm/resources/publisher/index.d.ts +0 -1
- package/lib/esm/resources/publisher/index.js +0 -2
- package/lib/esm/resources/publisher/publisher.d.ts +0 -6
- package/lib/esm/resources/publisher/publisher.js +0 -9
- package/lib/esm/resources/publisher/types/index.d.ts +0 -2
- package/lib/esm/resources/publisher/types/index.js +0 -3
- package/lib/esm/resources/publisher/types/publisher-details.d.ts +0 -71
- package/lib/esm/resources/publisher/types/publisher-details.js +0 -2
- package/lib/esm/resources/publisher/types/publisher-list-item.d.ts +0 -61
- package/lib/esm/resources/publisher/types/publisher-list-item.js +0 -8
- package/lib/esm/resources/resource-factory.d.ts +0 -8
- package/lib/esm/resources/resource-factory.js +0 -16
- package/lib/esm/resources/resource-list.d.ts +0 -19
- package/lib/esm/resources/resource-list.js +0 -20
- package/lib/esm/resources/resource-map.d.ts +0 -7
- package/lib/esm/resources/resource-map.js +0 -36
- package/lib/esm/resources/resource-type.d.ts +0 -21
- package/lib/esm/resources/resource-type.js +0 -24
- package/lib/esm/resources/series/index.d.ts +0 -1
- package/lib/esm/resources/series/index.js +0 -2
- package/lib/esm/resources/series/series.d.ts +0 -6
- package/lib/esm/resources/series/series.js +0 -9
- package/lib/esm/resources/series/types/index.d.ts +0 -2
- package/lib/esm/resources/series/types/index.js +0 -3
- package/lib/esm/resources/series/types/series-details.d.ts +0 -68
- package/lib/esm/resources/series/types/series-details.js +0 -2
- package/lib/esm/resources/series/types/series-list-item.d.ts +0 -18
- package/lib/esm/resources/series/types/series-list-item.js +0 -2
- package/lib/esm/resources/story-arc/index.d.ts +0 -1
- package/lib/esm/resources/story-arc/index.js +0 -2
- package/lib/esm/resources/story-arc/story-arc.d.ts +0 -6
- package/lib/esm/resources/story-arc/story-arc.js +0 -9
- package/lib/esm/resources/story-arc/types/index.d.ts +0 -2
- package/lib/esm/resources/story-arc/types/index.js +0 -3
- package/lib/esm/resources/story-arc/types/story-arc-details.d.ts +0 -62
- package/lib/esm/resources/story-arc/types/story-arc-details.js +0 -2
- package/lib/esm/resources/story-arc/types/story-arc-list-item.d.ts +0 -53
- package/lib/esm/resources/story-arc/types/story-arc-list-item.js +0 -2
- package/lib/esm/resources/team/index.d.ts +0 -1
- package/lib/esm/resources/team/index.js +0 -2
- package/lib/esm/resources/team/team.d.ts +0 -6
- package/lib/esm/resources/team/team.js +0 -9
- package/lib/esm/resources/team/types/index.d.ts +0 -2
- package/lib/esm/resources/team/types/index.js +0 -3
- package/lib/esm/resources/team/types/team-details.d.ts +0 -80
- package/lib/esm/resources/team/types/team-details.js +0 -2
- package/lib/esm/resources/team/types/team-list-item.d.ts +0 -56
- package/lib/esm/resources/team/types/team-list-item.js +0 -2
- package/lib/esm/resources/thing/index.d.ts +0 -1
- package/lib/esm/resources/thing/index.js +0 -2
- package/lib/esm/resources/thing/thing.d.ts +0 -6
- package/lib/esm/resources/thing/thing.js +0 -9
- package/lib/esm/resources/thing/types/index.d.ts +0 -2
- package/lib/esm/resources/thing/types/index.js +0 -3
- package/lib/esm/resources/thing/types/thing-details.d.ts +0 -62
- package/lib/esm/resources/thing/types/thing-details.js +0 -2
- package/lib/esm/resources/thing/types/thing-list-item.d.ts +0 -55
- package/lib/esm/resources/thing/types/thing-list-item.js +0 -2
- package/lib/esm/resources/video/index.d.ts +0 -1
- package/lib/esm/resources/video/index.js +0 -2
- package/lib/esm/resources/video/types/index.d.ts +0 -2
- package/lib/esm/resources/video/types/index.js +0 -3
- package/lib/esm/resources/video/types/video-details.d.ts +0 -63
- package/lib/esm/resources/video/types/video-details.js +0 -2
- package/lib/esm/resources/video/types/video-list-item.d.ts +0 -85
- package/lib/esm/resources/video/types/video-list-item.js +0 -25
- package/lib/esm/resources/video/video.d.ts +0 -6
- package/lib/esm/resources/video/video.js +0 -9
- package/lib/esm/resources/video-category/index.d.ts +0 -1
- package/lib/esm/resources/video-category/index.js +0 -2
- package/lib/esm/resources/video-category/types/index.d.ts +0 -2
- package/lib/esm/resources/video-category/types/index.js +0 -3
- package/lib/esm/resources/video-category/types/video-category-details.d.ts +0 -24
- package/lib/esm/resources/video-category/types/video-category-details.js +0 -2
- package/lib/esm/resources/video-category/types/video-category-list-item.d.ts +0 -24
- package/lib/esm/resources/video-category/types/video-category-list-item.js +0 -2
- package/lib/esm/resources/video-category/video-category.d.ts +0 -6
- package/lib/esm/resources/video-category/video-category.js +0 -9
- package/lib/esm/resources/video-type/index.d.ts +0 -1
- package/lib/esm/resources/video-type/index.js +0 -2
- package/lib/esm/resources/video-type/types/index.d.ts +0 -2
- package/lib/esm/resources/video-type/types/index.js +0 -3
- package/lib/esm/resources/video-type/types/video-type-details.d.ts +0 -22
- package/lib/esm/resources/video-type/types/video-type-details.js +0 -2
- package/lib/esm/resources/video-type/types/video-type-list-item.d.ts +0 -22
- package/lib/esm/resources/video-type/types/video-type-list-item.js +0 -2
- package/lib/esm/resources/video-type/video-type.d.ts +0 -6
- package/lib/esm/resources/video-type/video-type.js +0 -9
- package/lib/esm/resources/volume/index.d.ts +0 -1
- package/lib/esm/resources/volume/index.js +0 -2
- package/lib/esm/resources/volume/types/index.d.ts +0 -2
- package/lib/esm/resources/volume/types/index.js +0 -3
- package/lib/esm/resources/volume/types/volume-details.d.ts +0 -77
- package/lib/esm/resources/volume/types/volume-details.js +0 -2
- package/lib/esm/resources/volume/types/volume-list-item.d.ts +0 -63
- package/lib/esm/resources/volume/types/volume-list-item.js +0 -2
- package/lib/esm/resources/volume/volume.d.ts +0 -6
- package/lib/esm/resources/volume/volume.js +0 -9
- package/lib/esm/types/apply-override.d.ts +0 -1
- package/lib/esm/types/apply-override.js +0 -2
- package/lib/esm/types/http-client.d.ts +0 -4
- package/lib/esm/types/http-client.js +0 -2
- package/lib/esm/types/index.d.ts +0 -7
- package/lib/esm/types/index.js +0 -8
- package/lib/esm/types/iso-date.d.ts +0 -7
- package/lib/esm/types/iso-date.js +0 -2
- package/lib/esm/types/pick-filters.d.ts +0 -6
- package/lib/esm/types/pick-filters.js +0 -2
- package/lib/esm/types/request.d.ts +0 -31
- package/lib/esm/types/request.js +0 -2
- package/lib/esm/types/response.d.ts +0 -10
- package/lib/esm/types/response.js +0 -2
- package/lib/esm/types/url-builder.d.ts +0 -6
- package/lib/esm/types/url-builder.js +0 -2
- package/lib/esm/types/valueof.d.ts +0 -1
- package/lib/esm/types/valueof.js +0 -2
- package/lib/esm/utils/case-converter.d.ts +0 -4
- package/lib/esm/utils/case-converter.js +0 -27
- package/lib/esm/utils/index.d.ts +0 -2
- package/lib/esm/utils/index.js +0 -3
- package/lib/esm/utils/is-object.d.ts +0 -1
- package/lib/esm/utils/is-object.js +0 -4
- package/scripts/create-package-json.ts +0 -29
- package/vitest.config.ts +0 -8
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Image } from '../../common-types.js';
|
|
2
|
-
export interface PromoListItem {
|
|
3
|
-
/**
|
|
4
|
-
* URL pointing to the promo detail resource.
|
|
5
|
-
*/
|
|
6
|
-
apiDetailUrl: string;
|
|
7
|
-
/**
|
|
8
|
-
* Date the promo was added to Comic Vine.
|
|
9
|
-
*/
|
|
10
|
-
dateAdded: Date;
|
|
11
|
-
/**
|
|
12
|
-
* Brief summary of the promo.
|
|
13
|
-
*/
|
|
14
|
-
deck: string;
|
|
15
|
-
guid: string;
|
|
16
|
-
/**
|
|
17
|
-
* Unique ID of the promo.
|
|
18
|
-
*/
|
|
19
|
-
id: number;
|
|
20
|
-
/**
|
|
21
|
-
* Main image of the promo.
|
|
22
|
-
*/
|
|
23
|
-
image: Image;
|
|
24
|
-
/**
|
|
25
|
-
* The link that promo points to.
|
|
26
|
-
*/
|
|
27
|
-
link: string;
|
|
28
|
-
/**
|
|
29
|
-
* Name of the promo.
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
/**
|
|
33
|
-
* The type of resource the promo is pointing towards.
|
|
34
|
-
*/
|
|
35
|
-
resourceType: string;
|
|
36
|
-
/**
|
|
37
|
-
* Author of the promo.
|
|
38
|
-
*/
|
|
39
|
-
user: string;
|
|
40
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvbW8tbGlzdC1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9wcm9tby90eXBlcy9wcm9tby1saXN0LWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsIn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";
|
|
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("./publisher.js"), exports);
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3B1Ymxpc2hlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQStCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wdWJsaXNoZXIuanMnO1xuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResource } from '../base-resource.js';
|
|
2
|
-
import { ResourceType } from '../resource-type.js';
|
|
3
|
-
import { PublisherDetails, PublisherListItem } from './types/index.js';
|
|
4
|
-
export declare class Publisher extends BaseResource<PublisherDetails, PublisherListItem> {
|
|
5
|
-
protected resourceType: ResourceType;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Publisher = void 0;
|
|
4
|
-
const base_resource_js_1 = require("../base-resource.js");
|
|
5
|
-
const resource_type_js_1 = require("../resource-type.js");
|
|
6
|
-
class Publisher extends base_resource_js_1.BaseResource {
|
|
7
|
-
constructor() {
|
|
8
|
-
super(...arguments);
|
|
9
|
-
this.resourceType = resource_type_js_1.ResourceType.Publisher;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.Publisher = Publisher;
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGlzaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9wdWJsaXNoZXIvcHVibGlzaGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBEQUFtRDtBQUNuRCwwREFBbUQ7QUFHbkQsTUFBYSxTQUFVLFNBQVEsK0JBRzlCO0lBSEQ7O1FBSVksaUJBQVksR0FBaUIsK0JBQVksQ0FBQyxTQUFTLENBQUM7SUFDaEUsQ0FBQztDQUFBO0FBTEQsOEJBS0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYXNlUmVzb3VyY2UgfSBmcm9tICcuLi9iYXNlLXJlc291cmNlLmpzJztcbmltcG9ydCB7IFJlc291cmNlVHlwZSB9IGZyb20gJy4uL3Jlc291cmNlLXR5cGUuanMnO1xuaW1wb3J0IHsgUHVibGlzaGVyRGV0YWlscywgUHVibGlzaGVyTGlzdEl0ZW0gfSBmcm9tICcuL3R5cGVzL2luZGV4LmpzJztcblxuZXhwb3J0IGNsYXNzIFB1Ymxpc2hlciBleHRlbmRzIEJhc2VSZXNvdXJjZTxcbiAgUHVibGlzaGVyRGV0YWlscyxcbiAgUHVibGlzaGVyTGlzdEl0ZW1cbj4ge1xuICBwcm90ZWN0ZWQgcmVzb3VyY2VUeXBlOiBSZXNvdXJjZVR5cGUgPSBSZXNvdXJjZVR5cGUuUHVibGlzaGVyO1xufVxuIl19
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./publisher-details.js"), exports);
|
|
18
|
-
__exportStar(require("./publisher-list-item.js"), exports);
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3B1Ymxpc2hlci90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXVDO0FBQ3ZDLDJEQUF5QyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcHVibGlzaGVyLWRldGFpbHMuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9wdWJsaXNoZXItbGlzdC1pdGVtLmpzJztcbiJdfQ==
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { SiteResource, Image } from '../../common-types.js';
|
|
2
|
-
export interface PublisherDetails {
|
|
3
|
-
/**
|
|
4
|
-
* List of aliases the publisher is known by. A \n (newline) seperates each alias.
|
|
5
|
-
*/
|
|
6
|
-
aliases: null | string;
|
|
7
|
-
/**
|
|
8
|
-
* URL pointing to the publisher detail resource.
|
|
9
|
-
*/
|
|
10
|
-
apiDetailUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
* Characters related to the publisher.
|
|
13
|
-
*/
|
|
14
|
-
characters: Array<SiteResource>;
|
|
15
|
-
/**
|
|
16
|
-
* Date the publisher was added to Comic Vine.
|
|
17
|
-
*/
|
|
18
|
-
dateAdded: Date;
|
|
19
|
-
/**
|
|
20
|
-
* Date the publisher was last updated on Comic Vine.
|
|
21
|
-
*/
|
|
22
|
-
dateLastUpdated: Date;
|
|
23
|
-
/**
|
|
24
|
-
* Brief summary of the publisher.
|
|
25
|
-
*/
|
|
26
|
-
deck: null | string;
|
|
27
|
-
/**
|
|
28
|
-
* Description of the publisher.
|
|
29
|
-
*/
|
|
30
|
-
description: null | string;
|
|
31
|
-
/**
|
|
32
|
-
* Unique ID of the publisher.
|
|
33
|
-
*/
|
|
34
|
-
id: number;
|
|
35
|
-
/**
|
|
36
|
-
* Main image of the publisher.
|
|
37
|
-
*/
|
|
38
|
-
image: Image;
|
|
39
|
-
/**
|
|
40
|
-
* Street address of the publisher.
|
|
41
|
-
*/
|
|
42
|
-
locationAddress: null | string;
|
|
43
|
-
/**
|
|
44
|
-
* City the publisher resides in.
|
|
45
|
-
*/
|
|
46
|
-
locationCity: null | string;
|
|
47
|
-
/**
|
|
48
|
-
* State the publisher resides in.
|
|
49
|
-
*/
|
|
50
|
-
locationState: null | string;
|
|
51
|
-
/**
|
|
52
|
-
* Name of the publisher.
|
|
53
|
-
*/
|
|
54
|
-
name: string;
|
|
55
|
-
/**
|
|
56
|
-
* URL pointing to the publisher on Giant Bomb.
|
|
57
|
-
*/
|
|
58
|
-
siteDetailUrl: string;
|
|
59
|
-
/**
|
|
60
|
-
* List of story arcs tied to this publisher.
|
|
61
|
-
*/
|
|
62
|
-
storyArcs: Array<SiteResource>;
|
|
63
|
-
/**
|
|
64
|
-
* List of teams this publisher is a member of.
|
|
65
|
-
*/
|
|
66
|
-
teams: Array<SiteResource>;
|
|
67
|
-
/**
|
|
68
|
-
* List of volumes this publisher has put out.
|
|
69
|
-
*/
|
|
70
|
-
volumes: Array<SiteResource>;
|
|
71
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGlzaGVyLWRldGFpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3B1Ymxpc2hlci90eXBlcy9wdWJsaXNoZXItZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2l0ZVJlc291cmNlLCBJbWFnZSB9IGZyb20gJy4uLy4uL2NvbW1vbi10eXBlcy5qcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUHVibGlzaGVyRGV0YWlscyB7XG4gIC8qKlxuICAgKiBMaXN0IG9mIGFsaWFzZXMgdGhlIHB1Ymxpc2hlciBpcyBrbm93biBieS4gQSBcXG4gKG5ld2xpbmUpIHNlcGVyYXRlcyBlYWNoIGFsaWFzLlxuICAgKi9cbiAgYWxpYXNlczogbnVsbCB8IHN0cmluZztcbiAgLyoqXG4gICAqIFVSTCBwb2ludGluZyB0byB0aGUgcHVibGlzaGVyIGRldGFpbCByZXNvdXJjZS5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qL1xuICBsb2NhdGlvblN0YXRlOiBudWxsIHwgc3RyaW5nO1xuICAvKipcbiAgICogTmFtZSBvZiB0aGUgcHVibGlzaGVyLlxuICAgKi9cbiAgbmFtZTogc3RyaW5nO1xuICAvKipcbiAgICogVVJMIHBvaW50aW5nIHRvIHRoZSBwdWJsaXNoZXIgb24gR2lhbnQgQm9tYi5cbiAgICovXG4gIHNpdGVEZXRhaWxVcmw6IHN0cmluZztcbiAgLyoqXG4gICAqIExpc3Qgb2Ygc3RvcnkgYXJjcyB0aWVkIHRvIHRoaXMgcHVibGlzaGVyLlxuICAgKi9cbiAgc3RvcnlBcmNzOiBBcnJheTxTaXRlUmVzb3VyY2U+O1xuICAvKipcbiAgICogTGlzdCBvZiB0ZWFtcyB0aGlzIHB1Ymxpc2hlciBpcyBhIG1lbWJlciBvZi5cbiAgICovXG4gIHRlYW1zOiBBcnJheTxTaXRlUmVzb3VyY2U+O1xuICAvKipcbiAgICogTGlzdCBvZiB2b2x1bWVzIHRoaXMgcHVibGlzaGVyIGhhcyBwdXQgb3V0LlxuICAgKi9cbiAgdm9sdW1lczogQXJyYXk8U2l0ZVJlc291cmNlPjtcbn1cbiJdfQ==
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Image } from '../../common-types.js';
|
|
2
|
-
export interface PublisherListItem {
|
|
3
|
-
/**
|
|
4
|
-
* List of aliases the publisher is known by. A \n (newline) seperates each alias.
|
|
5
|
-
*/
|
|
6
|
-
aliases: null | string;
|
|
7
|
-
/**
|
|
8
|
-
* URL pointing to the publisher detail resource.
|
|
9
|
-
*/
|
|
10
|
-
apiDetailUrl: string;
|
|
11
|
-
/**
|
|
12
|
-
* Date the publisher was added to Comic Vine.
|
|
13
|
-
*/
|
|
14
|
-
dateAdded: Date;
|
|
15
|
-
/**
|
|
16
|
-
* Date the publisher was last updated on Comic Vine.
|
|
17
|
-
*/
|
|
18
|
-
dateLastUpdated: Date;
|
|
19
|
-
/**
|
|
20
|
-
* Brief summary of the publisher.
|
|
21
|
-
*/
|
|
22
|
-
deck: null | string;
|
|
23
|
-
/**
|
|
24
|
-
* Description of the publisher.
|
|
25
|
-
*/
|
|
26
|
-
description: null | string;
|
|
27
|
-
/**
|
|
28
|
-
* Unique ID of the publisher.
|
|
29
|
-
*/
|
|
30
|
-
id: number;
|
|
31
|
-
/**
|
|
32
|
-
* Main image of the publisher.
|
|
33
|
-
*/
|
|
34
|
-
image: Image;
|
|
35
|
-
/**
|
|
36
|
-
* Street address of the publisher.
|
|
37
|
-
*/
|
|
38
|
-
locationAddress: null | string;
|
|
39
|
-
/**
|
|
40
|
-
* City the publisher resides in.
|
|
41
|
-
*/
|
|
42
|
-
locationCity: null | string;
|
|
43
|
-
/**
|
|
44
|
-
* State the publisher resides in.
|
|
45
|
-
*/
|
|
46
|
-
locationState: LocationState | null;
|
|
47
|
-
/**
|
|
48
|
-
* Name of the publisher.
|
|
49
|
-
*/
|
|
50
|
-
name: string;
|
|
51
|
-
/**
|
|
52
|
-
* URL pointing to the publisher on Giant Bomb.
|
|
53
|
-
*/
|
|
54
|
-
siteDetailUrl: string;
|
|
55
|
-
}
|
|
56
|
-
export declare enum LocationState {
|
|
57
|
-
California = "California",
|
|
58
|
-
LocationStateNewYork = "New York ",
|
|
59
|
-
NewYork = "New York",
|
|
60
|
-
Pennsylvania = "Pennsylvania"
|
|
61
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LocationState = void 0;
|
|
4
|
-
var LocationState;
|
|
5
|
-
(function (LocationState) {
|
|
6
|
-
LocationState["California"] = "California";
|
|
7
|
-
LocationState["LocationStateNewYork"] = "New York ";
|
|
8
|
-
LocationState["NewYork"] = "New York";
|
|
9
|
-
LocationState["Pennsylvania"] = "Pennsylvania";
|
|
10
|
-
})(LocationState || (exports.LocationState = LocationState = {}));
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ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ldyBZb3JrICcsXG4gIE5ld1lvcmsgPSAnTmV3IFlvcmsnLFxuICBQZW5uc3lsdmFuaWEgPSAnUGVubnN5bHZhbmlhJyxcbn1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { HttpClient, UrlBuilder } from '../types/index.js';
|
|
2
|
-
export declare class ResourceFactory {
|
|
3
|
-
private httpClient;
|
|
4
|
-
private urlBuilder;
|
|
5
|
-
private _resources;
|
|
6
|
-
constructor(httpClient: HttpClient, urlBuilder: UrlBuilder);
|
|
7
|
-
create<T extends keyof typeof this._resources>(name: T): InstanceType<(typeof this._resources)[T]>;
|
|
8
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ResourceFactory = void 0;
|
|
37
|
-
const resources = __importStar(require("./resource-list.js"));
|
|
38
|
-
class ResourceFactory {
|
|
39
|
-
constructor(httpClient, urlBuilder) {
|
|
40
|
-
this.httpClient = httpClient;
|
|
41
|
-
this.urlBuilder = urlBuilder;
|
|
42
|
-
this._resources = Object.assign({}, resources);
|
|
43
|
-
}
|
|
44
|
-
create(name) {
|
|
45
|
-
if (!this._resources[name]) {
|
|
46
|
-
throw new Error(`${name} resource not implemented`);
|
|
47
|
-
}
|
|
48
|
-
const ResourceClass = this._resources[name];
|
|
49
|
-
return new ResourceClass(this.httpClient, this.urlBuilder);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.ResourceFactory = ResourceFactory;
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvcmVzb3VyY2UtZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSw4REFBZ0Q7QUFHaEQsTUFBYSxlQUFlO0lBRzFCLFlBQ1UsVUFBc0IsRUFDdEIsVUFBc0I7UUFEdEIsZUFBV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1RdPjtcbiAgcHVibGljIGNyZWF0ZShcbiAgICBuYW1lOiBrZXlvZiB0eXBlb2YgdGhpcy5fcmVzb3VyY2VzLFxuICApOiBJbnN0YW5jZVR5cGU8KHR5cGVvZiB0aGlzLl9yZXNvdXJjZXMpW2tleW9mIHR5cGVvZiB0aGlzLl9yZXNvdXJjZXNdPiB7XG4gICAgaWYgKCF0aGlzLl9yZXNvdXJjZXNbbmFtZV0pIHtcbiAgICAgIHRocm93IG5ldyBFcnJvcihgJHtuYW1lfSByZXNvdXJjZSBub3QgaW1wbGVtZW50ZWRgKTtcbiAgICB9XG4gICAgY29uc3QgUmVzb3VyY2VDbGFzcyA9IHRoaXMuX3Jlc291cmNlc1tuYW1lXSBhcyBuZXcgKFxuICAgICAgaHR0cENsaWVudDogSHR0cENsaWVudCxcbiAgICAgIHVybEJ1aWxkZXI6IFVybEJ1aWxkZXIsXG4gICAgKSA9PiBJbnN0YW5jZVR5cGU8KHR5cGVvZiB0aGlzLl9yZXNvdXJjZXMpW2tleW9mIHR5cGVvZiB0aGlzLl9yZXNvdXJjZXNdPjtcbiAgICByZXR1cm4gbmV3IFJlc291cmNlQ2xhc3ModGhpcy5odHRwQ2xpZW50LCB0aGlzLnVybEJ1aWxkZXIpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export * from './character/index.js';
|
|
2
|
-
export * from './concept/index.js';
|
|
3
|
-
export * from './episode/index.js';
|
|
4
|
-
export * from './issue/index.js';
|
|
5
|
-
export * from './location/index.js';
|
|
6
|
-
export * from './movie/index.js';
|
|
7
|
-
export * from './origin/index.js';
|
|
8
|
-
export * from './person/index.js';
|
|
9
|
-
export * from './power/index.js';
|
|
10
|
-
export * from './promo/index.js';
|
|
11
|
-
export * from './publisher/index.js';
|
|
12
|
-
export * from './series/index.js';
|
|
13
|
-
export * from './story-arc/index.js';
|
|
14
|
-
export * from './team/index.js';
|
|
15
|
-
export * from './thing/index.js';
|
|
16
|
-
export * from './video/index.js';
|
|
17
|
-
export * from './video-category/index.js';
|
|
18
|
-
export * from './video-type/index.js';
|
|
19
|
-
export * from './volume/index.js';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./character/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=
|
|
@@ -1,40 +0,0 @@
|
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtbWFwLmpzIiwic291cmNlUm9vdCI6IiIsIn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
-
Episode = 4070,
|
|
5
|
-
Issue = 4000,
|
|
6
|
-
Location = 4020,
|
|
7
|
-
Movie = 4025,
|
|
8
|
-
Origin = 4030,
|
|
9
|
-
Person = 4040,
|
|
10
|
-
Power = 4035,
|
|
11
|
-
Promo = 1700,
|
|
12
|
-
Publisher = 4010,
|
|
13
|
-
Series = 4075,
|
|
14
|
-
StoryArc = 4045,
|
|
15
|
-
Team = 4060,
|
|
16
|
-
Thing = 4055,
|
|
17
|
-
Video = 2300,
|
|
18
|
-
VideoCategory = 2320,
|
|
19
|
-
VideoType = 2320,
|
|
20
|
-
Volume = 4050
|
|
21
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceType = void 0;
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-duplicate-enum-values */
|
|
5
|
-
var ResourceType;
|
|
6
|
-
(function (ResourceType) {
|
|
7
|
-
ResourceType[ResourceType["Character"] = 4005] = "Character";
|
|
8
|
-
ResourceType[ResourceType["Concept"] = 4015] = "Concept";
|
|
9
|
-
ResourceType[ResourceType["Episode"] = 4070] = "Episode";
|
|
10
|
-
ResourceType[ResourceType["Issue"] = 4000] = "Issue";
|
|
11
|
-
ResourceType[ResourceType["Location"] = 4020] = "Location";
|
|
12
|
-
ResourceType[ResourceType["Movie"] = 4025] = "Movie";
|
|
13
|
-
ResourceType[ResourceType["Origin"] = 4030] = "Origin";
|
|
14
|
-
ResourceType[ResourceType["Person"] = 4040] = "Person";
|
|
15
|
-
ResourceType[ResourceType["Power"] = 4035] = "Power";
|
|
16
|
-
ResourceType[ResourceType["Promo"] = 1700] = "Promo";
|
|
17
|
-
ResourceType[ResourceType["Publisher"] = 4010] = "Publisher";
|
|
18
|
-
ResourceType[ResourceType["Series"] = 4075] = "Series";
|
|
19
|
-
ResourceType[ResourceType["StoryArc"] = 4045] = "StoryArc";
|
|
20
|
-
ResourceType[ResourceType["Team"] = 4060] = "Team";
|
|
21
|
-
ResourceType[ResourceType["Thing"] = 4055] = "Thing";
|
|
22
|
-
ResourceType[ResourceType["Video"] = 2300] = "Video";
|
|
23
|
-
ResourceType[ResourceType["VideoCategory"] = 2320] = "VideoCategory";
|
|
24
|
-
ResourceType[ResourceType["VideoType"] = 2320] = "VideoType";
|
|
25
|
-
ResourceType[ResourceType["Volume"] = 4050] = "Volume";
|
|
26
|
-
})(ResourceType || (exports.ResourceType = ResourceType = {}));
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2UtdHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9yZXNvdXJjZXMvcmVzb3VyY2UtdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxnRUFBZ0U7QUFDaEUsSUFBWSxZQW9CWDtBQXBCRCxXQUFZLFlBQVk7SUFDdEIsNERBQWdCLENBQUE7SUFDaEIsd0RBQWMsQ0FBQTtJQUNkLHdEQUFjLENBQUE7SUFDZCxvREFBWSxDQUFBO0lBQ1osMERBQWUsQ0FBQTtJQUNmLG9EQUFZLENBQUE7SUFDWixzREFBYSxDQUFBO0lBQ2Isc0RBQWEsQ0FBQTtJQUNiLG9EQUFZLENBQUE7SUFDWixvREFBWSxDQUFBO0lBQ1osNERBQWdCLENBQUE7SUFDaEIsc0RBQWEsQ0FBQTtJQUNiLDBEQUFlLENBQUE7SUFDZixrREFBVyxDQUFBO0lBQ1gsb0RBQVksQ0FBQTtJQUNaLG9EQUFZLENBQUE7SUFDWixvRUFBb0IsQ0FBQTtJQUNwQiw0REFBZ0IsQ0FBQTtJQUNoQixzREFBYSxDQUFBO0FBQ2YsQ0FBQyxFQXBCVyxZQUFZLDRCQUFaLFlBQVksUUFvQnZCIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgQHR5cGVzY3JpcHQtZXNsaW50L25vLWR1cGxpY2F0ZS1lbnVtLXZhbHVlcyAqL1xuZXhwb3J0IGVudW0gUmVzb3VyY2VUeXBlIHtcbiAgQ2hhcmFjdGVyID0gNDAwNSxcbiAgQ29uY2VwdCA9IDQwMTUsXG4gIEVwaXNvZGUgPSA0MDcwLFxuICBJc3N1ZSA9IDQwMDAsXG4gIExvY2F0aW9uID0gNDAyMCxcbiAgTW92aWUgPSA0MDI1LFxuICBPcmlnaW4gPSA0MDMwLFxuICBQZXJzb24gPSA0MDQwLFxuICBQb3dlciA9IDQwMzUsXG4gIFByb21vID0gMTcwMCxcbiAgUHVibGlzaGVyID0gNDAxMCxcbiAgU2VyaWVzID0gNDA3NSxcbiAgU3RvcnlBcmMgPSA0MDQ1LFxuICBUZWFtID0gNDA2MCxcbiAgVGhpbmcgPSA0MDU1LFxuICBWaWRlbyA9IDIzMDAsXG4gIFZpZGVvQ2F0ZWdvcnkgPSAyMzIwLFxuICBWaWRlb1R5cGUgPSAyMzIwLFxuICBWb2x1bWUgPSA0MDUwLFxufVxuIl19
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './series.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./series.js"), exports);
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3Nlcmllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsOENBQTRCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zZXJpZXMuanMnO1xuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseResource } from '../base-resource.js';
|
|
2
|
-
import { ResourceType } from '../resource-type.js';
|
|
3
|
-
import { SeriesDetails, SeriesListItem } from './types/index.js';
|
|
4
|
-
export declare class Series extends BaseResource<SeriesDetails, SeriesListItem> {
|
|
5
|
-
protected resourceType: ResourceType;
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3Jlc291cmNlcy9zZXJpZXMvc2VyaWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBEQUFtRDtBQUNuRCwwREFBbUQ7QUFHbkQsTUFBYSxNQUFPLFNBQVEsK0JBQTJDO0lBQXZFOztRQUNZLGlCQUFZLEdBQWlCLCtCQUFZLENBQUMsTUFBTSxDQUFDO0lBQzdELENBQUM7Q0FBQTtBQUZELHdCQUVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQmFzZVJlc291cmNlIH0gZnJvbSAnLi4vYmFzZS1yZXNvdXJjZS5qcyc7XG5pbXBvcnQgeyBSZXNvdXJjZVR5cGUgfSBmcm9tICcuLi9yZXNvdXJjZS10eXBlLmpzJztcbmltcG9ydCB7IFNlcmllc0RldGFpbHMsIFNlcmllc0xpc3RJdGVtIH0gZnJvbSAnLi90eXBlcy9pbmRleC5qcyc7XG5cbmV4cG9ydCBjbGFzcyBTZXJpZXMgZXh0ZW5kcyBCYXNlUmVzb3VyY2U8U2VyaWVzRGV0YWlscywgU2VyaWVzTGlzdEl0ZW0+IHtcbiAgcHJvdGVjdGVkIHJlc291cmNlVHlwZTogUmVzb3VyY2VUeXBlID0gUmVzb3VyY2VUeXBlLlNlcmllcztcbn1cbiJdfQ==
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./series-details.js"), exports);
|
|
18
|
-
__exportStar(require("./series-list-item.js"), exports);
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcmVzb3VyY2VzL3Nlcmllcy90eXBlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsc0RBQW9DO0FBQ3BDLHdEQUFzQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc2VyaWVzLWRldGFpbHMuanMnO1xuZXhwb3J0ICogZnJvbSAnLi9zZXJpZXMtbGlzdC1pdGVtLmpzJztcbiJdfQ==
|