comic-vine-sdk 1.3.2 → 2.0.1
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 +1462 -0
- package/lib/index.cjs.map +7 -0
- package/lib/index.d.ts +2716 -0
- package/lib/index.js +851 -0
- package/lib/index.js.map +1 -0
- package/package.json +114 -59
- 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
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,2716 @@
|
|
|
1
|
+
import { RequestPriority, HttpClientContract, CacheStore, DedupeStore, RateLimitStore, HttpClientError } from '@http-client-toolkit/core';
|
|
2
|
+
export { HttpClientContract as HttpClient } from '@http-client-toolkit/core';
|
|
3
|
+
|
|
4
|
+
declare enum ResourceType {
|
|
5
|
+
Character = 4005,
|
|
6
|
+
Concept = 4015,
|
|
7
|
+
Episode = 4070,
|
|
8
|
+
Issue = 4000,
|
|
9
|
+
Location = 4020,
|
|
10
|
+
Movie = 4025,
|
|
11
|
+
Origin = 4030,
|
|
12
|
+
Person = 4040,
|
|
13
|
+
Power = 4035,
|
|
14
|
+
Promo = 1700,
|
|
15
|
+
Publisher = 4010,
|
|
16
|
+
Series = 4075,
|
|
17
|
+
StoryArc = 4045,
|
|
18
|
+
Team = 4060,
|
|
19
|
+
Thing = 4055,
|
|
20
|
+
Video = 2300,
|
|
21
|
+
VideoCategory = 2320,
|
|
22
|
+
VideoType = 2320,
|
|
23
|
+
Volume = 4050
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
type digit = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
|
|
27
|
+
type oneToNine = Exclude<digit, 0>;
|
|
28
|
+
type YYYY = `19${digit}${digit}` | `20${digit}${digit}`;
|
|
29
|
+
type MM = `0${oneToNine}` | `1${0 | 1 | 2}`;
|
|
30
|
+
type DD = `${0}${oneToNine}` | `${1 | 2}${digit}` | `3${0 | 1}`;
|
|
31
|
+
type IsoDate = `${YYYY}-${MM}-${DD}`;
|
|
32
|
+
|
|
33
|
+
type KeysMatching<T, V> = {
|
|
34
|
+
[K in keyof T]-?: T[K] extends V ? K : never;
|
|
35
|
+
}[keyof T];
|
|
36
|
+
type PickMatching<T, V> = Pick<T, KeysMatching<T, V>>;
|
|
37
|
+
type PickFilters<T> = Partial<PickMatching<T, number> & PickMatching<T, string | null>>;
|
|
38
|
+
|
|
39
|
+
interface BaseOptions<FieldKey> {
|
|
40
|
+
/**
|
|
41
|
+
* List of field names to include in the response.
|
|
42
|
+
* Use this if you want to reduce the size of the response payload
|
|
43
|
+
*/
|
|
44
|
+
fieldList?: Array<FieldKey>;
|
|
45
|
+
}
|
|
46
|
+
interface PriorityOptions {
|
|
47
|
+
/**
|
|
48
|
+
* Priority level for the request (affects rate limiting behavior)
|
|
49
|
+
* - 'user': High priority, gets reserved capacity during activity
|
|
50
|
+
* - 'background': Lower priority, may be throttled during high user activity
|
|
51
|
+
*/
|
|
52
|
+
priority?: RequestPriority;
|
|
53
|
+
}
|
|
54
|
+
interface RetrieveOptions<FieldKey> extends BaseOptions<FieldKey>, PriorityOptions {
|
|
55
|
+
}
|
|
56
|
+
interface ListOptions<FieldKey, Filter> extends BaseOptions<FieldKey>, PriorityOptions {
|
|
57
|
+
/**
|
|
58
|
+
* The number of results to display per page
|
|
59
|
+
* This value defaults to 100 and can not exceed this number
|
|
60
|
+
*/
|
|
61
|
+
limit?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Return results starting with the object at the offset specified
|
|
64
|
+
*/
|
|
65
|
+
offset?: number;
|
|
66
|
+
/**
|
|
67
|
+
* The result set can be sorted by field in ascending or descending order
|
|
68
|
+
*/
|
|
69
|
+
sort?: Sort;
|
|
70
|
+
/**
|
|
71
|
+
* The results can be filtered by field
|
|
72
|
+
*/
|
|
73
|
+
filter?: Filter;
|
|
74
|
+
}
|
|
75
|
+
interface Sort {
|
|
76
|
+
field: string;
|
|
77
|
+
direction: 'asc' | 'desc';
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
declare enum StatusCode {
|
|
81
|
+
OK = 1,
|
|
82
|
+
InvalidApiKey = 100,
|
|
83
|
+
ObjectNotFound = 101,
|
|
84
|
+
UrlFormatError = 102,
|
|
85
|
+
JsonpCallbackMissing = 103,
|
|
86
|
+
FilterError = 104,
|
|
87
|
+
SubscriberOnlyVideo = 105
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
interface Response<Result> {
|
|
91
|
+
error: 'OK';
|
|
92
|
+
limit: number;
|
|
93
|
+
offset: number;
|
|
94
|
+
numberOfPageResults: number;
|
|
95
|
+
numberOfTotalResults: number;
|
|
96
|
+
statusCode: StatusCode;
|
|
97
|
+
results: Result;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
interface UrlBuilder {
|
|
101
|
+
retrieve<Key>(resourceType: ResourceType, id: number, requestOptions?: RetrieveOptions<Key> | undefined): string;
|
|
102
|
+
list<Resource, FilterType>(resourceType: ResourceType, requestOptions?: ListOptions<Resource, FilterType> | undefined): string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
type ValueOf<T> = T[keyof T];
|
|
106
|
+
|
|
107
|
+
interface ResourceInterface {
|
|
108
|
+
retrieve(id: number, options?: Record<string, unknown>): Promise<unknown>;
|
|
109
|
+
list(options?: Record<string, unknown>): Promise<unknown> & AsyncIterable<unknown>;
|
|
110
|
+
}
|
|
111
|
+
declare abstract class BaseResource<Resource, ResourceListItem> implements ResourceInterface {
|
|
112
|
+
private httpClient;
|
|
113
|
+
private urlBuilder;
|
|
114
|
+
protected abstract resourceType: ResourceType;
|
|
115
|
+
constructor(httpClient: HttpClientContract, urlBuilder: UrlBuilder);
|
|
116
|
+
retrieve<FieldKey extends keyof Resource>(id: number, options?: RetrieveOptions<FieldKey>): Promise<Resource | Pick<Resource, FieldKey>>;
|
|
117
|
+
private fetchPage;
|
|
118
|
+
list<FieldKey extends keyof ResourceListItem>(options?: ListOptions<FieldKey, PickFilters<ResourceListItem>>): Promise<{
|
|
119
|
+
limit: number;
|
|
120
|
+
numberOfPageResults: number;
|
|
121
|
+
numberOfTotalResults: number;
|
|
122
|
+
offset: number;
|
|
123
|
+
data: (ResourceListItem | Pick<ResourceListItem, keyof ResourceListItem>)[];
|
|
124
|
+
}> & {
|
|
125
|
+
[Symbol.asyncIterator](): AsyncGenerator<Awaited<ResourceListItem> | Awaited<Pick<ResourceListItem, keyof ResourceListItem>>, void, unknown>;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare class ResourceFactory {
|
|
130
|
+
private httpClient;
|
|
131
|
+
private urlBuilder;
|
|
132
|
+
private _resources;
|
|
133
|
+
constructor(httpClient: HttpClientContract, urlBuilder: UrlBuilder);
|
|
134
|
+
create<T extends keyof typeof this._resources>(name: T): InstanceType<(typeof this._resources)[T]>;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface ApiResource {
|
|
138
|
+
apiDetailUrl: string;
|
|
139
|
+
id: number;
|
|
140
|
+
name: string | null;
|
|
141
|
+
}
|
|
142
|
+
interface SiteResource extends ApiResource {
|
|
143
|
+
siteDetailUrl: string;
|
|
144
|
+
}
|
|
145
|
+
interface IssueApiResource extends ApiResource {
|
|
146
|
+
issueNumber: string;
|
|
147
|
+
}
|
|
148
|
+
interface IssueSiteResource extends SiteResource {
|
|
149
|
+
issueNumber: string;
|
|
150
|
+
}
|
|
151
|
+
interface SiteResourceWithCount extends SiteResource {
|
|
152
|
+
count: string;
|
|
153
|
+
}
|
|
154
|
+
interface EpisodeApiResource extends ApiResource {
|
|
155
|
+
episodeNumber: string;
|
|
156
|
+
}
|
|
157
|
+
interface EpisodeSiteResource extends SiteResource {
|
|
158
|
+
episodeNumber: string;
|
|
159
|
+
}
|
|
160
|
+
interface PersonCreditSiteResource extends SiteResource {
|
|
161
|
+
role: string;
|
|
162
|
+
}
|
|
163
|
+
interface Death {
|
|
164
|
+
date: IsoString;
|
|
165
|
+
timezoneType: number;
|
|
166
|
+
timezone: string;
|
|
167
|
+
}
|
|
168
|
+
interface AssociatedImage {
|
|
169
|
+
caption: null;
|
|
170
|
+
id: number;
|
|
171
|
+
imageTags: string;
|
|
172
|
+
originalUrl: string;
|
|
173
|
+
}
|
|
174
|
+
interface Image {
|
|
175
|
+
iconUrl: string;
|
|
176
|
+
mediumUrl: string;
|
|
177
|
+
screenUrl: string;
|
|
178
|
+
screenLargeUrl: string;
|
|
179
|
+
smallUrl: string;
|
|
180
|
+
superUrl: string;
|
|
181
|
+
thumbUrl: string;
|
|
182
|
+
tinyUrl: string;
|
|
183
|
+
originalUrl: string;
|
|
184
|
+
imageTags: string;
|
|
185
|
+
}
|
|
186
|
+
type IsoString = string;
|
|
187
|
+
|
|
188
|
+
interface CharacterDetails {
|
|
189
|
+
/**
|
|
190
|
+
* List of aliases the character is known by. A \n (newline) seperates each alias.
|
|
191
|
+
*/
|
|
192
|
+
aliases: null | string;
|
|
193
|
+
/**
|
|
194
|
+
* URL pointing to the character detail resource.
|
|
195
|
+
*/
|
|
196
|
+
apiDetailUrl: string;
|
|
197
|
+
/**
|
|
198
|
+
* A date, if one exists, that the character was born on. Not an origin date.
|
|
199
|
+
*/
|
|
200
|
+
birth: null | string;
|
|
201
|
+
/**
|
|
202
|
+
* List of characters that are enemies with this character.
|
|
203
|
+
*/
|
|
204
|
+
characterEnemies: Array<SiteResource>;
|
|
205
|
+
/**
|
|
206
|
+
* List of characters that are friends with this character.
|
|
207
|
+
*/
|
|
208
|
+
characterFriends: Array<SiteResource>;
|
|
209
|
+
/**
|
|
210
|
+
* Number of issues this character appears in.
|
|
211
|
+
*/
|
|
212
|
+
countOfIssueAppearances: number;
|
|
213
|
+
/**
|
|
214
|
+
* List of the real life people who created this character.
|
|
215
|
+
*/
|
|
216
|
+
creators: Array<SiteResource>;
|
|
217
|
+
/**
|
|
218
|
+
* Date the character was added to Comic Vine.
|
|
219
|
+
*/
|
|
220
|
+
dateAdded: Date;
|
|
221
|
+
/**
|
|
222
|
+
* Date the character was last updated on Comic Vine.
|
|
223
|
+
*/
|
|
224
|
+
dateLastUpdated: Date;
|
|
225
|
+
/**
|
|
226
|
+
* Brief summary of the character.
|
|
227
|
+
*/
|
|
228
|
+
deck: null | string;
|
|
229
|
+
/**
|
|
230
|
+
* Description of the character.
|
|
231
|
+
*/
|
|
232
|
+
description: null | string;
|
|
233
|
+
/**
|
|
234
|
+
* Issue where the character made its first appearance.
|
|
235
|
+
*/
|
|
236
|
+
firstAppearedInIssue: IssueApiResource;
|
|
237
|
+
/**
|
|
238
|
+
* Gender of the character. Available options are: Male, Female, Other
|
|
239
|
+
*/
|
|
240
|
+
gender: number;
|
|
241
|
+
/**
|
|
242
|
+
* Unique ID of the character.
|
|
243
|
+
*/
|
|
244
|
+
id: number;
|
|
245
|
+
/**
|
|
246
|
+
* Main image of the character.
|
|
247
|
+
*/
|
|
248
|
+
image: Image;
|
|
249
|
+
/**
|
|
250
|
+
* List of issues this character appears in.
|
|
251
|
+
*/
|
|
252
|
+
issueCredits: Array<SiteResource>;
|
|
253
|
+
/**
|
|
254
|
+
* List of issues this character died in.
|
|
255
|
+
*/
|
|
256
|
+
issuesDiedIn: Array<SiteResource>;
|
|
257
|
+
/**
|
|
258
|
+
* Movies the character was in.
|
|
259
|
+
*/
|
|
260
|
+
movies: Array<SiteResource>;
|
|
261
|
+
/**
|
|
262
|
+
* Name of the character.
|
|
263
|
+
*/
|
|
264
|
+
name: string;
|
|
265
|
+
/**
|
|
266
|
+
* The origin of the character. Human, Alien, Robot ...etc
|
|
267
|
+
*/
|
|
268
|
+
origin: ApiResource | null;
|
|
269
|
+
/**
|
|
270
|
+
* List of super powers a character has.
|
|
271
|
+
*/
|
|
272
|
+
powers: Array<ApiResource>;
|
|
273
|
+
/**
|
|
274
|
+
* The primary publisher a character is attached to.
|
|
275
|
+
*/
|
|
276
|
+
publisher: ApiResource;
|
|
277
|
+
/**
|
|
278
|
+
* Real name of the character.
|
|
279
|
+
*/
|
|
280
|
+
realName: null | string;
|
|
281
|
+
/**
|
|
282
|
+
* URL pointing to the character on Giant Bomb.
|
|
283
|
+
*/
|
|
284
|
+
siteDetailUrl: string;
|
|
285
|
+
/**
|
|
286
|
+
* List of story arcs this character appears in.
|
|
287
|
+
*/
|
|
288
|
+
storyArcCredits: Array<SiteResource>;
|
|
289
|
+
/**
|
|
290
|
+
* List of teams that are enemies of this character.
|
|
291
|
+
*/
|
|
292
|
+
teamEnemies: Array<SiteResource>;
|
|
293
|
+
/**
|
|
294
|
+
* List of teams that are friends with this character.
|
|
295
|
+
*/
|
|
296
|
+
teamFriends: Array<SiteResource>;
|
|
297
|
+
/**
|
|
298
|
+
* List of teams this character is a member of.
|
|
299
|
+
*/
|
|
300
|
+
teams: Array<SiteResource>;
|
|
301
|
+
/**
|
|
302
|
+
* List of comic volumes this character appears in.
|
|
303
|
+
*/
|
|
304
|
+
volumeCredits: Array<SiteResource>;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
interface CharacterListItem {
|
|
308
|
+
/**
|
|
309
|
+
* List of aliases the character is known by. A \n (newline) seperates each alias.
|
|
310
|
+
*/
|
|
311
|
+
aliases: null | string;
|
|
312
|
+
/**
|
|
313
|
+
* URL pointing to the character detail resource.
|
|
314
|
+
*/
|
|
315
|
+
apiDetailUrl: string;
|
|
316
|
+
/**
|
|
317
|
+
* A date, if one exists, that the character was born on. Not an origin date.
|
|
318
|
+
*/
|
|
319
|
+
birth: null | string;
|
|
320
|
+
/**
|
|
321
|
+
* Number of issues this character appears in.
|
|
322
|
+
*/
|
|
323
|
+
countOfIssueAppearances: number;
|
|
324
|
+
/**
|
|
325
|
+
* Date the character was added to Comic Vine.
|
|
326
|
+
*/
|
|
327
|
+
dateAdded: Date;
|
|
328
|
+
/**
|
|
329
|
+
* Date the character was last updated on Comic Vine.
|
|
330
|
+
*/
|
|
331
|
+
dateLastUpdated: Date;
|
|
332
|
+
/**
|
|
333
|
+
* Brief summary of the character.
|
|
334
|
+
*/
|
|
335
|
+
deck: null | string;
|
|
336
|
+
/**
|
|
337
|
+
* Description of the character.
|
|
338
|
+
*/
|
|
339
|
+
description: null | string;
|
|
340
|
+
/**
|
|
341
|
+
* Issue where the character made its first appearance.
|
|
342
|
+
*/
|
|
343
|
+
firstAppearedInIssue: IssueApiResource;
|
|
344
|
+
/**
|
|
345
|
+
* Gender of the character. Available options are: Male, Female, Other
|
|
346
|
+
*/
|
|
347
|
+
gender: number;
|
|
348
|
+
/**
|
|
349
|
+
* Unique ID of the character.
|
|
350
|
+
*/
|
|
351
|
+
id: number;
|
|
352
|
+
/**
|
|
353
|
+
* Main image of the character.
|
|
354
|
+
*/
|
|
355
|
+
image: Image;
|
|
356
|
+
/**
|
|
357
|
+
* Name of the character.
|
|
358
|
+
*/
|
|
359
|
+
name: string;
|
|
360
|
+
/**
|
|
361
|
+
* The origin of the character. Human, Alien, Robot ...etc
|
|
362
|
+
*/
|
|
363
|
+
origin: ApiResource | null;
|
|
364
|
+
/**
|
|
365
|
+
* The primary publisher a character is attached to.
|
|
366
|
+
*/
|
|
367
|
+
publisher: ApiResource;
|
|
368
|
+
/**
|
|
369
|
+
* Real name of the character.
|
|
370
|
+
*/
|
|
371
|
+
realName: null | string;
|
|
372
|
+
/**
|
|
373
|
+
* URL pointing to the character on Giant Bomb.
|
|
374
|
+
*/
|
|
375
|
+
siteDetailUrl: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare class Character extends BaseResource<CharacterDetails, CharacterListItem> {
|
|
379
|
+
protected resourceType: ResourceType;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
interface ConceptDetails {
|
|
383
|
+
/**
|
|
384
|
+
* List of aliases the concept is known by. A \n (newline) seperates each alias.
|
|
385
|
+
*/
|
|
386
|
+
aliases: null | string;
|
|
387
|
+
/**
|
|
388
|
+
* URL pointing to the concept detail resource.
|
|
389
|
+
*/
|
|
390
|
+
apiDetailUrl: string;
|
|
391
|
+
countOfIsssueAppearances: number;
|
|
392
|
+
/**
|
|
393
|
+
* Date the concept was added to Comic Vine.
|
|
394
|
+
*/
|
|
395
|
+
dateAdded: Date;
|
|
396
|
+
/**
|
|
397
|
+
* Date the concept was last updated on Comic Vine.
|
|
398
|
+
*/
|
|
399
|
+
dateLastUpdated: Date;
|
|
400
|
+
/**
|
|
401
|
+
* Brief summary of the concept.
|
|
402
|
+
*/
|
|
403
|
+
deck: string;
|
|
404
|
+
/**
|
|
405
|
+
* Description of the concept.
|
|
406
|
+
*/
|
|
407
|
+
description: string;
|
|
408
|
+
/**
|
|
409
|
+
* Issue where the concept made its first appearance.
|
|
410
|
+
*/
|
|
411
|
+
firstAppearedInIssue: IssueApiResource;
|
|
412
|
+
/**
|
|
413
|
+
* Unique ID of the concept.
|
|
414
|
+
*/
|
|
415
|
+
id: number;
|
|
416
|
+
/**
|
|
417
|
+
* Main image of the concept.
|
|
418
|
+
*/
|
|
419
|
+
image: Image;
|
|
420
|
+
/**
|
|
421
|
+
* List of issues this concept appears in.
|
|
422
|
+
*/
|
|
423
|
+
issueCredits: Array<SiteResource>;
|
|
424
|
+
/**
|
|
425
|
+
* Movies the concept was in.
|
|
426
|
+
*/
|
|
427
|
+
movies: Array<SiteResource>;
|
|
428
|
+
/**
|
|
429
|
+
* Name of the concept.
|
|
430
|
+
*/
|
|
431
|
+
name: string;
|
|
432
|
+
/**
|
|
433
|
+
* URL pointing to the concept on Giant Bomb.
|
|
434
|
+
*/
|
|
435
|
+
siteDetailUrl: string;
|
|
436
|
+
/**
|
|
437
|
+
* The first year this concept appeared in comics.
|
|
438
|
+
*/
|
|
439
|
+
startYear: string;
|
|
440
|
+
/**
|
|
441
|
+
* List of comic volumes this concept appears in.
|
|
442
|
+
*/
|
|
443
|
+
volumeCredits: Array<SiteResource>;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
interface ConceptListItem {
|
|
447
|
+
/**
|
|
448
|
+
* List of aliases the concept is known by. A \n (newline) seperates each alias.
|
|
449
|
+
*/
|
|
450
|
+
aliases: null | string;
|
|
451
|
+
/**
|
|
452
|
+
* URL pointing to the concept detail resource.
|
|
453
|
+
*/
|
|
454
|
+
apiDetailUrl: string;
|
|
455
|
+
countOfIsssueAppearances: number;
|
|
456
|
+
/**
|
|
457
|
+
* Date the concept was added to Comic Vine.
|
|
458
|
+
*/
|
|
459
|
+
dateAdded: Date;
|
|
460
|
+
/**
|
|
461
|
+
* Date the concept was last updated on Comic Vine.
|
|
462
|
+
*/
|
|
463
|
+
dateLastUpdated: Date;
|
|
464
|
+
/**
|
|
465
|
+
* Brief summary of the concept.
|
|
466
|
+
*/
|
|
467
|
+
deck: string;
|
|
468
|
+
/**
|
|
469
|
+
* Description of the concept.
|
|
470
|
+
*/
|
|
471
|
+
description: null | string;
|
|
472
|
+
/**
|
|
473
|
+
* Issue where the concept made its first appearance.
|
|
474
|
+
*/
|
|
475
|
+
firstAppearedInIssue: IssueApiResource | null;
|
|
476
|
+
/**
|
|
477
|
+
* Unique ID of the concept.
|
|
478
|
+
*/
|
|
479
|
+
id: number;
|
|
480
|
+
/**
|
|
481
|
+
* Main image of the concept.
|
|
482
|
+
*/
|
|
483
|
+
image: Image;
|
|
484
|
+
/**
|
|
485
|
+
* Name of the concept.
|
|
486
|
+
*/
|
|
487
|
+
name: string;
|
|
488
|
+
/**
|
|
489
|
+
* URL pointing to the concept on Giant Bomb.
|
|
490
|
+
*/
|
|
491
|
+
siteDetailUrl: string;
|
|
492
|
+
/**
|
|
493
|
+
* The first year this concept appeared in comics.
|
|
494
|
+
*/
|
|
495
|
+
startYear: null | string;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
declare class Concept extends BaseResource<ConceptDetails, ConceptListItem> {
|
|
499
|
+
protected resourceType: ResourceType;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
interface EpisodeDetails {
|
|
503
|
+
/**
|
|
504
|
+
* The air date of the episode.
|
|
505
|
+
*/
|
|
506
|
+
airDate: Date | null;
|
|
507
|
+
/**
|
|
508
|
+
* List of aliases the episode is known by. A \n (newline) seperates each alias.
|
|
509
|
+
*/
|
|
510
|
+
aliases: null | string;
|
|
511
|
+
/**
|
|
512
|
+
* URL pointing to the episode detail resource.
|
|
513
|
+
*/
|
|
514
|
+
apiDetailUrl: string;
|
|
515
|
+
/**
|
|
516
|
+
* A list of characters that appear in this episode.
|
|
517
|
+
*/
|
|
518
|
+
characterCredits: Array<SiteResource>;
|
|
519
|
+
characterDiedIn: Array<unknown>;
|
|
520
|
+
/**
|
|
521
|
+
* A list of concepts that appear in this episode.
|
|
522
|
+
*/
|
|
523
|
+
conceptCredits: Array<SiteResource>;
|
|
524
|
+
/**
|
|
525
|
+
* Date the episode was added to Comic Vine.
|
|
526
|
+
*/
|
|
527
|
+
dateAdded: Date;
|
|
528
|
+
/**
|
|
529
|
+
* Date the episode was last updated on Comic Vine.
|
|
530
|
+
*/
|
|
531
|
+
dateLastUpdated: Date;
|
|
532
|
+
/**
|
|
533
|
+
* Brief summary of the episode.
|
|
534
|
+
*/
|
|
535
|
+
deck: null | string;
|
|
536
|
+
/**
|
|
537
|
+
* Description of the episode.
|
|
538
|
+
*/
|
|
539
|
+
description: null | string;
|
|
540
|
+
/**
|
|
541
|
+
* The number assigned to the episode within a series.
|
|
542
|
+
*/
|
|
543
|
+
episodeNumber: string;
|
|
544
|
+
/**
|
|
545
|
+
* A list of characters in which this episode is the first appearance of the character.
|
|
546
|
+
*/
|
|
547
|
+
firstAppearanceCharacters: unknown;
|
|
548
|
+
/**
|
|
549
|
+
* A list of concepts in which this episode is the first appearance of the concept.
|
|
550
|
+
*/
|
|
551
|
+
firstAppearanceConcepts: unknown;
|
|
552
|
+
/**
|
|
553
|
+
* A list of locations in which this episode is the first appearance of the location.
|
|
554
|
+
*/
|
|
555
|
+
firstAppearanceLocations: unknown;
|
|
556
|
+
/**
|
|
557
|
+
* A list of things in which this episode is the first appearance of the object.
|
|
558
|
+
*/
|
|
559
|
+
firstAppearanceObjects: unknown;
|
|
560
|
+
/**
|
|
561
|
+
* A list of storyarcs in which this episode is the first appearance of the story arc.
|
|
562
|
+
*/
|
|
563
|
+
firstAppearanceStoryarcs: unknown;
|
|
564
|
+
/**
|
|
565
|
+
* A list of teams in which this episode is the first appearance of the team.
|
|
566
|
+
*/
|
|
567
|
+
firstAppearanceTeams: unknown;
|
|
568
|
+
hasStaffReview: null | false | SiteResource;
|
|
569
|
+
/**
|
|
570
|
+
* Unique ID of the episode.
|
|
571
|
+
*/
|
|
572
|
+
id: number;
|
|
573
|
+
/**
|
|
574
|
+
* Main image of the episode.
|
|
575
|
+
*/
|
|
576
|
+
image: Image;
|
|
577
|
+
/**
|
|
578
|
+
* List of locations that appeared in this episode.
|
|
579
|
+
*/
|
|
580
|
+
locationCredits: Array<SiteResource>;
|
|
581
|
+
/**
|
|
582
|
+
* Name of the episode.
|
|
583
|
+
*/
|
|
584
|
+
name: string;
|
|
585
|
+
/**
|
|
586
|
+
* List of things that appeared in this episode.
|
|
587
|
+
*/
|
|
588
|
+
objectCredits: Array<SiteResource>;
|
|
589
|
+
/**
|
|
590
|
+
* The series the episode belongs to.
|
|
591
|
+
*/
|
|
592
|
+
series: SiteResource;
|
|
593
|
+
/**
|
|
594
|
+
* URL pointing to the episode on Giant Bomb.
|
|
595
|
+
*/
|
|
596
|
+
siteDetailUrl: string;
|
|
597
|
+
/**
|
|
598
|
+
* List of story arcs this episode appears in.
|
|
599
|
+
*/
|
|
600
|
+
storyArcCredits: Array<SiteResource>;
|
|
601
|
+
/**
|
|
602
|
+
* List of teams that appear in this episode.
|
|
603
|
+
*/
|
|
604
|
+
teamCredits: Array<SiteResource>;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
interface EpisodeListItem {
|
|
608
|
+
/**
|
|
609
|
+
* The air date of the episode.
|
|
610
|
+
*/
|
|
611
|
+
airDate: Date | null;
|
|
612
|
+
/**
|
|
613
|
+
* List of aliases the episode is known by. A \n (newline) seperates each alias.
|
|
614
|
+
*/
|
|
615
|
+
aliases: null | string;
|
|
616
|
+
/**
|
|
617
|
+
* URL pointing to the episode detail resource.
|
|
618
|
+
*/
|
|
619
|
+
apiDetailUrl: string;
|
|
620
|
+
/**
|
|
621
|
+
* Date the episode was added to Comic Vine.
|
|
622
|
+
*/
|
|
623
|
+
dateAdded: Date;
|
|
624
|
+
/**
|
|
625
|
+
* Date the episode was last updated on Comic Vine.
|
|
626
|
+
*/
|
|
627
|
+
dateLastUpdated: Date;
|
|
628
|
+
/**
|
|
629
|
+
* Brief summary of the episode.
|
|
630
|
+
*/
|
|
631
|
+
deck: null | string;
|
|
632
|
+
/**
|
|
633
|
+
* Description of the episode.
|
|
634
|
+
*/
|
|
635
|
+
description: null | string;
|
|
636
|
+
episodeNumber: string;
|
|
637
|
+
hasStaffReview: null | false | SiteResource;
|
|
638
|
+
/**
|
|
639
|
+
* Unique ID of the episode.
|
|
640
|
+
*/
|
|
641
|
+
id: number;
|
|
642
|
+
/**
|
|
643
|
+
* Main image of the episode.
|
|
644
|
+
*/
|
|
645
|
+
image: Image;
|
|
646
|
+
/**
|
|
647
|
+
* Name of the episode.
|
|
648
|
+
*/
|
|
649
|
+
name: string;
|
|
650
|
+
/**
|
|
651
|
+
* The series the episode belongs to.
|
|
652
|
+
*/
|
|
653
|
+
series: SiteResource;
|
|
654
|
+
/**
|
|
655
|
+
* URL pointing to the episode on Giant Bomb.
|
|
656
|
+
*/
|
|
657
|
+
siteDetailUrl: string;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
declare class Episode extends BaseResource<EpisodeDetails, EpisodeListItem> {
|
|
661
|
+
protected resourceType: ResourceType;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
interface IssueDetails {
|
|
665
|
+
/**
|
|
666
|
+
* List of aliases the issue is known by. A \n (newline) seperates each alias.
|
|
667
|
+
*/
|
|
668
|
+
aliases: null | string;
|
|
669
|
+
/**
|
|
670
|
+
* URL pointing to the issue detail resource.
|
|
671
|
+
*/
|
|
672
|
+
apiDetailUrl: string;
|
|
673
|
+
associatedImages: Array<AssociatedImage>;
|
|
674
|
+
/**
|
|
675
|
+
* A list of characters that appear in this issue.
|
|
676
|
+
*/
|
|
677
|
+
characterCredits: Array<SiteResource>;
|
|
678
|
+
characterDiedIn: Array<SiteResource>;
|
|
679
|
+
/**
|
|
680
|
+
* A list of concepts that appear in this issue.
|
|
681
|
+
*/
|
|
682
|
+
conceptCredits: Array<SiteResource>;
|
|
683
|
+
/**
|
|
684
|
+
* The publish date printed on the cover of an issue.
|
|
685
|
+
*/
|
|
686
|
+
coverDate: Date;
|
|
687
|
+
/**
|
|
688
|
+
* Date the issue was added to Comic Vine.
|
|
689
|
+
*/
|
|
690
|
+
dateAdded: Date;
|
|
691
|
+
/**
|
|
692
|
+
* Date the issue was last updated on Comic Vine.
|
|
693
|
+
*/
|
|
694
|
+
dateLastUpdated: Date;
|
|
695
|
+
/**
|
|
696
|
+
* Brief summary of the issue.
|
|
697
|
+
*/
|
|
698
|
+
deck: null | string;
|
|
699
|
+
/**
|
|
700
|
+
* Description of the issue.
|
|
701
|
+
*/
|
|
702
|
+
description: null | string;
|
|
703
|
+
/**
|
|
704
|
+
* A list of characters in which this issue is the first appearance of the character.
|
|
705
|
+
*/
|
|
706
|
+
firstAppearanceCharacters: unknown;
|
|
707
|
+
/**
|
|
708
|
+
* A list of concepts in which this issue is the first appearance of the concept.
|
|
709
|
+
*/
|
|
710
|
+
firstAppearanceConcepts: unknown;
|
|
711
|
+
/**
|
|
712
|
+
* A list of locations in which this issue is the first appearance of the location.
|
|
713
|
+
*/
|
|
714
|
+
firstAppearanceLocations: unknown;
|
|
715
|
+
/**
|
|
716
|
+
* A list of things in which this issue is the first appearance of the object.
|
|
717
|
+
*/
|
|
718
|
+
firstAppearanceObjects: unknown;
|
|
719
|
+
/**
|
|
720
|
+
* A list of storyarcs in which this issue is the first appearance of the story arc.
|
|
721
|
+
*/
|
|
722
|
+
firstAppearanceStoryarcs: unknown;
|
|
723
|
+
/**
|
|
724
|
+
* A list of teams in which this issue is the first appearance of the team.
|
|
725
|
+
*/
|
|
726
|
+
firstAppearanceTeams: unknown;
|
|
727
|
+
hasStaffReview: null | false | SiteResource;
|
|
728
|
+
/**
|
|
729
|
+
* Unique ID of the issue.
|
|
730
|
+
*/
|
|
731
|
+
id: number;
|
|
732
|
+
/**
|
|
733
|
+
* Main image of the issue.
|
|
734
|
+
*/
|
|
735
|
+
image: Image;
|
|
736
|
+
/**
|
|
737
|
+
* The number assigned to the issue within the volume set.
|
|
738
|
+
*/
|
|
739
|
+
issueNumber: string;
|
|
740
|
+
/**
|
|
741
|
+
* List of locations that appeared in this issue.
|
|
742
|
+
*/
|
|
743
|
+
locationCredits: Array<SiteResource>;
|
|
744
|
+
/**
|
|
745
|
+
* Name of the issue.
|
|
746
|
+
*/
|
|
747
|
+
name: null | string;
|
|
748
|
+
/**
|
|
749
|
+
* List of things that appeared in this issue.
|
|
750
|
+
*/
|
|
751
|
+
objectCredits: Array<SiteResource>;
|
|
752
|
+
/**
|
|
753
|
+
* List of people that worked on this issue.
|
|
754
|
+
*/
|
|
755
|
+
personCredits: Array<PersonCreditSiteResource>;
|
|
756
|
+
/**
|
|
757
|
+
* URL pointing to the issue on Giant Bomb.
|
|
758
|
+
*/
|
|
759
|
+
siteDetailUrl: string;
|
|
760
|
+
/**
|
|
761
|
+
* The date the issue was first sold in stores.
|
|
762
|
+
*/
|
|
763
|
+
storeDate: Date | null;
|
|
764
|
+
/**
|
|
765
|
+
* List of story arcs this issue appears in.
|
|
766
|
+
*/
|
|
767
|
+
storyArcCredits: Array<SiteResource>;
|
|
768
|
+
/**
|
|
769
|
+
* List of teams that appear in this issue.
|
|
770
|
+
*/
|
|
771
|
+
teamCredits: Array<SiteResource>;
|
|
772
|
+
teamDisbandedIn: Array<SiteResource>;
|
|
773
|
+
/**
|
|
774
|
+
* The volume this issue is a part of.
|
|
775
|
+
*/
|
|
776
|
+
volume: SiteResource;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
interface IssueListItem {
|
|
780
|
+
/**
|
|
781
|
+
* List of aliases the issue is known by. A \n (newline) seperates each alias.
|
|
782
|
+
*/
|
|
783
|
+
aliases: null | string;
|
|
784
|
+
/**
|
|
785
|
+
* URL pointing to the issue detail resource.
|
|
786
|
+
*/
|
|
787
|
+
apiDetailUrl: string;
|
|
788
|
+
associatedImages: Array<AssociatedImage>;
|
|
789
|
+
/**
|
|
790
|
+
* The publish date printed on the cover of an issue.
|
|
791
|
+
*/
|
|
792
|
+
coverDate: Date;
|
|
793
|
+
/**
|
|
794
|
+
* Date the issue was added to Comic Vine.
|
|
795
|
+
*/
|
|
796
|
+
dateAdded: Date;
|
|
797
|
+
/**
|
|
798
|
+
* Date the issue was last updated on Comic Vine.
|
|
799
|
+
*/
|
|
800
|
+
dateLastUpdated: Date;
|
|
801
|
+
/**
|
|
802
|
+
* Brief summary of the issue.
|
|
803
|
+
*/
|
|
804
|
+
deck: unknown;
|
|
805
|
+
/**
|
|
806
|
+
* Description of the issue.
|
|
807
|
+
*/
|
|
808
|
+
description: null | string;
|
|
809
|
+
hasStaffReview: null | false | SiteResource;
|
|
810
|
+
/**
|
|
811
|
+
* Unique ID of the issue.
|
|
812
|
+
*/
|
|
813
|
+
id: number;
|
|
814
|
+
/**
|
|
815
|
+
* Main image of the issue.
|
|
816
|
+
*/
|
|
817
|
+
image: Image;
|
|
818
|
+
/**
|
|
819
|
+
* The number assigned to the issue within the volume set.
|
|
820
|
+
*/
|
|
821
|
+
issueNumber: string;
|
|
822
|
+
/**
|
|
823
|
+
* Name of the issue.
|
|
824
|
+
*/
|
|
825
|
+
name: null | string;
|
|
826
|
+
/**
|
|
827
|
+
* URL pointing to the issue on Giant Bomb.
|
|
828
|
+
*/
|
|
829
|
+
siteDetailUrl: string;
|
|
830
|
+
/**
|
|
831
|
+
* The date the issue was first sold in stores.
|
|
832
|
+
*/
|
|
833
|
+
storeDate: Date | null;
|
|
834
|
+
/**
|
|
835
|
+
* The volume this issue is a part of.
|
|
836
|
+
*/
|
|
837
|
+
volume: SiteResource;
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
declare class Issue extends BaseResource<IssueDetails, IssueListItem> {
|
|
841
|
+
protected resourceType: ResourceType;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
interface LocationDetails {
|
|
845
|
+
/**
|
|
846
|
+
* List of aliases the location is known by. A \n (newline) seperates each alias.
|
|
847
|
+
*/
|
|
848
|
+
aliases: null | string;
|
|
849
|
+
/**
|
|
850
|
+
* URL pointing to the location detail resource.
|
|
851
|
+
*/
|
|
852
|
+
apiDetailUrl: string;
|
|
853
|
+
/**
|
|
854
|
+
* Number of issues this location appears in.
|
|
855
|
+
*/
|
|
856
|
+
countOfIssueAppearances: number;
|
|
857
|
+
/**
|
|
858
|
+
* Date the location was added to Comic Vine.
|
|
859
|
+
*/
|
|
860
|
+
dateAdded: Date;
|
|
861
|
+
/**
|
|
862
|
+
* Date the location was last updated on Comic Vine.
|
|
863
|
+
*/
|
|
864
|
+
dateLastUpdated: Date;
|
|
865
|
+
/**
|
|
866
|
+
* Brief summary of the location.
|
|
867
|
+
*/
|
|
868
|
+
deck: string;
|
|
869
|
+
/**
|
|
870
|
+
* Description of the location.
|
|
871
|
+
*/
|
|
872
|
+
description: string;
|
|
873
|
+
/**
|
|
874
|
+
* Issue where the location made its first appearance.
|
|
875
|
+
*/
|
|
876
|
+
firstAppearedInIssue: IssueApiResource;
|
|
877
|
+
/**
|
|
878
|
+
* Unique ID of the location.
|
|
879
|
+
*/
|
|
880
|
+
id: number;
|
|
881
|
+
/**
|
|
882
|
+
* Main image of the location.
|
|
883
|
+
*/
|
|
884
|
+
image: Image;
|
|
885
|
+
/**
|
|
886
|
+
* List of issues this location appears in.
|
|
887
|
+
*/
|
|
888
|
+
issueCredits: Array<SiteResource>;
|
|
889
|
+
/**
|
|
890
|
+
* Movies the location was in.
|
|
891
|
+
*/
|
|
892
|
+
movies: Array<SiteResource>;
|
|
893
|
+
/**
|
|
894
|
+
* Name of the location.
|
|
895
|
+
*/
|
|
896
|
+
name: string;
|
|
897
|
+
/**
|
|
898
|
+
* URL pointing to the location on Giant Bomb.
|
|
899
|
+
*/
|
|
900
|
+
siteDetailUrl: string;
|
|
901
|
+
/**
|
|
902
|
+
* The first year this location appeared in comics.
|
|
903
|
+
*/
|
|
904
|
+
startYear: string;
|
|
905
|
+
/**
|
|
906
|
+
* List of story arcs this location appears in.
|
|
907
|
+
*/
|
|
908
|
+
storyArcCredits: Array<unknown>;
|
|
909
|
+
/**
|
|
910
|
+
* List of comic volumes this location appears in.
|
|
911
|
+
*/
|
|
912
|
+
volumeCredits: Array<SiteResource>;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
interface LocationListItem {
|
|
916
|
+
/**
|
|
917
|
+
* List of aliases the location is known by. A \n (newline) seperates each alias.
|
|
918
|
+
*/
|
|
919
|
+
aliases: null | string;
|
|
920
|
+
/**
|
|
921
|
+
* URL pointing to the location detail resource.
|
|
922
|
+
*/
|
|
923
|
+
apiDetailUrl: string;
|
|
924
|
+
/**
|
|
925
|
+
* Number of issues this location appears in.
|
|
926
|
+
*/
|
|
927
|
+
countOfIssueAppearances: number;
|
|
928
|
+
/**
|
|
929
|
+
* Date the location was added to Comic Vine.
|
|
930
|
+
*/
|
|
931
|
+
dateAdded: Date;
|
|
932
|
+
/**
|
|
933
|
+
* Date the location was last updated on Comic Vine.
|
|
934
|
+
*/
|
|
935
|
+
dateLastUpdated: Date;
|
|
936
|
+
/**
|
|
937
|
+
* Brief summary of the location.
|
|
938
|
+
*/
|
|
939
|
+
deck: string;
|
|
940
|
+
/**
|
|
941
|
+
* Description of the location.
|
|
942
|
+
*/
|
|
943
|
+
description: null | string;
|
|
944
|
+
/**
|
|
945
|
+
* Issue where the location made its first appearance.
|
|
946
|
+
*/
|
|
947
|
+
firstAppearedInIssue: IssueApiResource | null;
|
|
948
|
+
/**
|
|
949
|
+
* Unique ID of the location.
|
|
950
|
+
*/
|
|
951
|
+
id: number;
|
|
952
|
+
/**
|
|
953
|
+
* Main image of the location.
|
|
954
|
+
*/
|
|
955
|
+
image: Image;
|
|
956
|
+
/**
|
|
957
|
+
* Name of the location.
|
|
958
|
+
*/
|
|
959
|
+
name: string;
|
|
960
|
+
/**
|
|
961
|
+
* URL pointing to the location on Giant Bomb.
|
|
962
|
+
*/
|
|
963
|
+
siteDetailUrl: string;
|
|
964
|
+
/**
|
|
965
|
+
* The first year this location appeared in comics.
|
|
966
|
+
*/
|
|
967
|
+
startYear: null | string;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
declare class Location extends BaseResource<LocationDetails, LocationListItem> {
|
|
971
|
+
protected resourceType: ResourceType;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
interface MovieDetails {
|
|
975
|
+
/**
|
|
976
|
+
* URL pointing to the movie detail resource.
|
|
977
|
+
*/
|
|
978
|
+
apiDetailUrl: string;
|
|
979
|
+
/**
|
|
980
|
+
* The total revenue made in the box offices for this movie.
|
|
981
|
+
*/
|
|
982
|
+
boxOfficeRevenue: null | string;
|
|
983
|
+
/**
|
|
984
|
+
* The cost of making this movie.
|
|
985
|
+
*/
|
|
986
|
+
budget: string;
|
|
987
|
+
/**
|
|
988
|
+
* Characters related to the movie.
|
|
989
|
+
*/
|
|
990
|
+
characters: Array<SiteResource>;
|
|
991
|
+
/**
|
|
992
|
+
* Concepts related to the movie.
|
|
993
|
+
*/
|
|
994
|
+
concepts: Array<SiteResource>;
|
|
995
|
+
/**
|
|
996
|
+
* Date the movie was added to Comic Vine.
|
|
997
|
+
*/
|
|
998
|
+
dateAdded: Date;
|
|
999
|
+
/**
|
|
1000
|
+
* Date the movie was last updated on Comic Vine.
|
|
1001
|
+
*/
|
|
1002
|
+
dateLastUpdated: Date;
|
|
1003
|
+
/**
|
|
1004
|
+
* Brief summary of the movie.
|
|
1005
|
+
*/
|
|
1006
|
+
deck: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Description of the movie.
|
|
1009
|
+
*/
|
|
1010
|
+
description: null | string;
|
|
1011
|
+
hasStaffReview: null | false | SiteResource;
|
|
1012
|
+
/**
|
|
1013
|
+
* Unique ID of the movie.
|
|
1014
|
+
*/
|
|
1015
|
+
id: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* Main image of the movie.
|
|
1018
|
+
*/
|
|
1019
|
+
image: Image;
|
|
1020
|
+
/**
|
|
1021
|
+
* Locations related to the movie.
|
|
1022
|
+
*/
|
|
1023
|
+
locations: Array<SiteResource>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Name of the movie.
|
|
1026
|
+
*/
|
|
1027
|
+
name: string;
|
|
1028
|
+
objects: Array<SiteResource>;
|
|
1029
|
+
/**
|
|
1030
|
+
* The producers of this movie.
|
|
1031
|
+
*/
|
|
1032
|
+
producers: Array<SiteResource>;
|
|
1033
|
+
/**
|
|
1034
|
+
* The rating of this movie.
|
|
1035
|
+
*/
|
|
1036
|
+
rating: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* Date of the movie.
|
|
1039
|
+
*/
|
|
1040
|
+
releaseDate: Date;
|
|
1041
|
+
/**
|
|
1042
|
+
* The length of this movie.
|
|
1043
|
+
*/
|
|
1044
|
+
runtime: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* URL pointing to the movie on Giant Bomb.
|
|
1047
|
+
*/
|
|
1048
|
+
siteDetailUrl: string;
|
|
1049
|
+
studios: Array<SiteResource>;
|
|
1050
|
+
/**
|
|
1051
|
+
* List of teams this movie is a member of.
|
|
1052
|
+
*/
|
|
1053
|
+
teams: Array<SiteResource>;
|
|
1054
|
+
/**
|
|
1055
|
+
* Total revenue generated by this movie.
|
|
1056
|
+
*/
|
|
1057
|
+
totalRevenue: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Writers for this movie.
|
|
1060
|
+
*/
|
|
1061
|
+
writers: Array<SiteResource>;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
interface MovieListItem {
|
|
1065
|
+
/**
|
|
1066
|
+
* URL pointing to the movie detail resource.
|
|
1067
|
+
*/
|
|
1068
|
+
apiDetailUrl: string;
|
|
1069
|
+
/**
|
|
1070
|
+
* The total revenue made in the box offices for this movie.
|
|
1071
|
+
*/
|
|
1072
|
+
boxOfficeRevenue: null | string;
|
|
1073
|
+
/**
|
|
1074
|
+
* The cost of making this movie.
|
|
1075
|
+
*/
|
|
1076
|
+
budget: null | string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Date the movie was added to Comic Vine.
|
|
1079
|
+
*/
|
|
1080
|
+
dateAdded: Date;
|
|
1081
|
+
/**
|
|
1082
|
+
* Date the movie was last updated on Comic Vine.
|
|
1083
|
+
*/
|
|
1084
|
+
dateLastUpdated: Date;
|
|
1085
|
+
/**
|
|
1086
|
+
* Brief summary of the movie.
|
|
1087
|
+
*/
|
|
1088
|
+
deck: null | string;
|
|
1089
|
+
/**
|
|
1090
|
+
* Description of the movie.
|
|
1091
|
+
*/
|
|
1092
|
+
description: null | string;
|
|
1093
|
+
hasStaffReview: null | false | SiteResource;
|
|
1094
|
+
/**
|
|
1095
|
+
* Unique ID of the movie.
|
|
1096
|
+
*/
|
|
1097
|
+
id: number;
|
|
1098
|
+
/**
|
|
1099
|
+
* Main image of the movie.
|
|
1100
|
+
*/
|
|
1101
|
+
image: Image;
|
|
1102
|
+
/**
|
|
1103
|
+
* Name of the movie.
|
|
1104
|
+
*/
|
|
1105
|
+
name: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* The producers of this movie.
|
|
1108
|
+
*/
|
|
1109
|
+
producers: Array<SiteResource>;
|
|
1110
|
+
/**
|
|
1111
|
+
* The rating of this movie.
|
|
1112
|
+
*/
|
|
1113
|
+
rating: null | string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Date of the movie.
|
|
1116
|
+
*/
|
|
1117
|
+
releaseDate: Date;
|
|
1118
|
+
/**
|
|
1119
|
+
* The length of this movie.
|
|
1120
|
+
*/
|
|
1121
|
+
runtime: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* URL pointing to the movie on Giant Bomb.
|
|
1124
|
+
*/
|
|
1125
|
+
siteDetailUrl: string;
|
|
1126
|
+
studios: Array<SiteResource>;
|
|
1127
|
+
/**
|
|
1128
|
+
* Total revenue generated by this movie.
|
|
1129
|
+
*/
|
|
1130
|
+
totalRevenue: null | string;
|
|
1131
|
+
/**
|
|
1132
|
+
* Writers for this movie.
|
|
1133
|
+
*/
|
|
1134
|
+
writers: Array<SiteResource>;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
declare class Movie extends BaseResource<MovieDetails, MovieListItem> {
|
|
1138
|
+
protected resourceType: ResourceType;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
interface OriginDetails {
|
|
1142
|
+
/**
|
|
1143
|
+
* URL pointing to the origin detail resource.
|
|
1144
|
+
*/
|
|
1145
|
+
apiDetailUrl: string;
|
|
1146
|
+
characters: Array<ApiResource>;
|
|
1147
|
+
characterSet: null;
|
|
1148
|
+
/**
|
|
1149
|
+
* Unique ID of the origin.
|
|
1150
|
+
*/
|
|
1151
|
+
id: number;
|
|
1152
|
+
/**
|
|
1153
|
+
* Name of the origin.
|
|
1154
|
+
*/
|
|
1155
|
+
name: string;
|
|
1156
|
+
profiles: Array<unknown>;
|
|
1157
|
+
/**
|
|
1158
|
+
* URL pointing to the origin on Giant Bomb.
|
|
1159
|
+
*/
|
|
1160
|
+
siteDetailUrl: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface OriginListItem {
|
|
1164
|
+
/**
|
|
1165
|
+
* URL pointing to the origin detail resource.
|
|
1166
|
+
*/
|
|
1167
|
+
apiDetailUrl: string;
|
|
1168
|
+
/**
|
|
1169
|
+
* Unique ID of the origin.
|
|
1170
|
+
*/
|
|
1171
|
+
id: number;
|
|
1172
|
+
/**
|
|
1173
|
+
* Name of the origin.
|
|
1174
|
+
*/
|
|
1175
|
+
name: string;
|
|
1176
|
+
/**
|
|
1177
|
+
* URL pointing to the origin on Giant Bomb.
|
|
1178
|
+
*/
|
|
1179
|
+
siteDetailUrl: string;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
declare class Origin extends BaseResource<OriginDetails, OriginListItem> {
|
|
1183
|
+
protected resourceType: ResourceType;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
interface PersonDetails {
|
|
1187
|
+
/**
|
|
1188
|
+
* List of aliases the person is known by. A \n (newline) seperates each alias.
|
|
1189
|
+
*/
|
|
1190
|
+
aliases: null | string;
|
|
1191
|
+
/**
|
|
1192
|
+
* URL pointing to the person detail resource.
|
|
1193
|
+
*/
|
|
1194
|
+
apiDetailUrl: string;
|
|
1195
|
+
/**
|
|
1196
|
+
* A date, if one exists, that the person was born on. Not an origin date.
|
|
1197
|
+
*/
|
|
1198
|
+
birth: Date | null;
|
|
1199
|
+
countOfIsssueAppearances: unknown;
|
|
1200
|
+
/**
|
|
1201
|
+
* Country the person resides in.
|
|
1202
|
+
*/
|
|
1203
|
+
country: null | string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Comic characters this person created.
|
|
1206
|
+
*/
|
|
1207
|
+
createdCharacters: Array<SiteResource>;
|
|
1208
|
+
/**
|
|
1209
|
+
* Date the person was added to Comic Vine.
|
|
1210
|
+
*/
|
|
1211
|
+
dateAdded: Date;
|
|
1212
|
+
/**
|
|
1213
|
+
* Date the person was last updated on Comic Vine.
|
|
1214
|
+
*/
|
|
1215
|
+
dateLastUpdated: Date;
|
|
1216
|
+
/**
|
|
1217
|
+
* Date this person died on.
|
|
1218
|
+
*/
|
|
1219
|
+
death: Death | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Brief summary of the person.
|
|
1222
|
+
*/
|
|
1223
|
+
deck: null | string;
|
|
1224
|
+
/**
|
|
1225
|
+
* Description of the person.
|
|
1226
|
+
*/
|
|
1227
|
+
description: null | string;
|
|
1228
|
+
/**
|
|
1229
|
+
* The email of this person.
|
|
1230
|
+
*/
|
|
1231
|
+
email: null | string;
|
|
1232
|
+
/**
|
|
1233
|
+
* Gender of the person. Available options are: Male, Female, Other
|
|
1234
|
+
*/
|
|
1235
|
+
gender: number;
|
|
1236
|
+
/**
|
|
1237
|
+
* City or town the person resides in.
|
|
1238
|
+
*/
|
|
1239
|
+
hometown: null | string;
|
|
1240
|
+
/**
|
|
1241
|
+
* Unique ID of the person.
|
|
1242
|
+
*/
|
|
1243
|
+
id: number;
|
|
1244
|
+
/**
|
|
1245
|
+
* Main image of the person.
|
|
1246
|
+
*/
|
|
1247
|
+
image: Image;
|
|
1248
|
+
/**
|
|
1249
|
+
* List of issues this person appears in.
|
|
1250
|
+
*/
|
|
1251
|
+
issues: Array<SiteResource>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Name of the person.
|
|
1254
|
+
*/
|
|
1255
|
+
name: string;
|
|
1256
|
+
/**
|
|
1257
|
+
* URL pointing to the person on Giant Bomb.
|
|
1258
|
+
*/
|
|
1259
|
+
siteDetailUrl: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* List of story arcs this person appears in.
|
|
1262
|
+
*/
|
|
1263
|
+
storyArcCredits: Array<SiteResource>;
|
|
1264
|
+
/**
|
|
1265
|
+
* List of comic volumes this person appears in.
|
|
1266
|
+
*/
|
|
1267
|
+
volumeCredits: Array<SiteResource>;
|
|
1268
|
+
/**
|
|
1269
|
+
* URL to the person website.
|
|
1270
|
+
*/
|
|
1271
|
+
website: null | string;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
interface PersonListItem {
|
|
1275
|
+
/**
|
|
1276
|
+
* List of aliases the person is known by. A \n (newline) seperates each alias.
|
|
1277
|
+
*/
|
|
1278
|
+
aliases: null | string;
|
|
1279
|
+
/**
|
|
1280
|
+
* URL pointing to the person detail resource.
|
|
1281
|
+
*/
|
|
1282
|
+
apiDetailUrl: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* A date, if one exists, that the person was born on. Not an origin date.
|
|
1285
|
+
*/
|
|
1286
|
+
birth: Date | null;
|
|
1287
|
+
countOfIsssueAppearances: unknown;
|
|
1288
|
+
/**
|
|
1289
|
+
* Country the person resides in.
|
|
1290
|
+
*/
|
|
1291
|
+
country: null | string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Date the person was added to Comic Vine.
|
|
1294
|
+
*/
|
|
1295
|
+
dateAdded: Date;
|
|
1296
|
+
/**
|
|
1297
|
+
* Date the person was last updated on Comic Vine.
|
|
1298
|
+
*/
|
|
1299
|
+
dateLastUpdated: Date;
|
|
1300
|
+
/**
|
|
1301
|
+
* Date this person died on.
|
|
1302
|
+
*/
|
|
1303
|
+
death: Death | null;
|
|
1304
|
+
/**
|
|
1305
|
+
* Brief summary of the person.
|
|
1306
|
+
*/
|
|
1307
|
+
deck: null | string;
|
|
1308
|
+
/**
|
|
1309
|
+
* Description of the person.
|
|
1310
|
+
*/
|
|
1311
|
+
description: null | string;
|
|
1312
|
+
/**
|
|
1313
|
+
* The email of this person.
|
|
1314
|
+
*/
|
|
1315
|
+
email: null | string;
|
|
1316
|
+
/**
|
|
1317
|
+
* Gender of the person. Available options are: Male, Female, Other
|
|
1318
|
+
*/
|
|
1319
|
+
gender: number;
|
|
1320
|
+
/**
|
|
1321
|
+
* City or town the person resides in.
|
|
1322
|
+
*/
|
|
1323
|
+
hometown: null | string;
|
|
1324
|
+
/**
|
|
1325
|
+
* Unique ID of the person.
|
|
1326
|
+
*/
|
|
1327
|
+
id: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* Main image of the person.
|
|
1330
|
+
*/
|
|
1331
|
+
image: {
|
|
1332
|
+
[key: string]: null | string;
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* Name of the person.
|
|
1336
|
+
*/
|
|
1337
|
+
name: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* URL pointing to the person on Giant Bomb.
|
|
1340
|
+
*/
|
|
1341
|
+
siteDetailUrl: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* URL to the person website.
|
|
1344
|
+
*/
|
|
1345
|
+
website: null | string;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
declare class Person extends BaseResource<PersonDetails, PersonListItem> {
|
|
1349
|
+
protected resourceType: ResourceType;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
interface PowerDetails {
|
|
1353
|
+
/**
|
|
1354
|
+
* List of aliases the power is known by. A \n (newline) seperates each alias.
|
|
1355
|
+
*/
|
|
1356
|
+
aliases: null | string;
|
|
1357
|
+
/**
|
|
1358
|
+
* URL pointing to the power detail resource.
|
|
1359
|
+
*/
|
|
1360
|
+
apiDetailUrl: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Characters related to the power.
|
|
1363
|
+
*/
|
|
1364
|
+
characters: Array<SiteResource>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Date the power was added to Comic Vine.
|
|
1367
|
+
*/
|
|
1368
|
+
dateAdded: Date;
|
|
1369
|
+
/**
|
|
1370
|
+
* Date the power was last updated on Comic Vine.
|
|
1371
|
+
*/
|
|
1372
|
+
dateLastUpdated: Date;
|
|
1373
|
+
/**
|
|
1374
|
+
* Description of the power.
|
|
1375
|
+
*/
|
|
1376
|
+
description: null | string;
|
|
1377
|
+
/**
|
|
1378
|
+
* Unique ID of the power.
|
|
1379
|
+
*/
|
|
1380
|
+
id: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* Name of the power.
|
|
1383
|
+
*/
|
|
1384
|
+
name: string;
|
|
1385
|
+
/**
|
|
1386
|
+
* URL pointing to the power on Giant Bomb.
|
|
1387
|
+
*/
|
|
1388
|
+
siteDetailUrl: string;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
interface PowerListItem {
|
|
1392
|
+
/**
|
|
1393
|
+
* List of aliases the power is known by. A \n (newline) seperates each alias.
|
|
1394
|
+
*/
|
|
1395
|
+
aliases: null | string;
|
|
1396
|
+
/**
|
|
1397
|
+
* URL pointing to the power detail resource.
|
|
1398
|
+
*/
|
|
1399
|
+
apiDetailUrl: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Date the power was added to Comic Vine.
|
|
1402
|
+
*/
|
|
1403
|
+
dateAdded: Date;
|
|
1404
|
+
/**
|
|
1405
|
+
* Date the power was last updated on Comic Vine.
|
|
1406
|
+
*/
|
|
1407
|
+
dateLastUpdated: Date;
|
|
1408
|
+
/**
|
|
1409
|
+
* Description of the power.
|
|
1410
|
+
*/
|
|
1411
|
+
description: null | string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Unique ID of the power.
|
|
1414
|
+
*/
|
|
1415
|
+
id: number;
|
|
1416
|
+
/**
|
|
1417
|
+
* Name of the power.
|
|
1418
|
+
*/
|
|
1419
|
+
name: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* URL pointing to the power on Giant Bomb.
|
|
1422
|
+
*/
|
|
1423
|
+
siteDetailUrl: string;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
declare class Power extends BaseResource<PowerDetails, PowerListItem> {
|
|
1427
|
+
protected resourceType: ResourceType;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
interface PromoDetails {
|
|
1431
|
+
/**
|
|
1432
|
+
* URL pointing to the promo detail resource.
|
|
1433
|
+
*/
|
|
1434
|
+
apiDetailUrl: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* Date the promo was added to Comic Vine.
|
|
1437
|
+
*/
|
|
1438
|
+
dateAdded: Date;
|
|
1439
|
+
/**
|
|
1440
|
+
* Brief summary of the promo.
|
|
1441
|
+
*/
|
|
1442
|
+
deck: string;
|
|
1443
|
+
guid: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* Unique ID of the promo.
|
|
1446
|
+
*/
|
|
1447
|
+
id: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* Main image of the promo.
|
|
1450
|
+
*/
|
|
1451
|
+
image: Image;
|
|
1452
|
+
/**
|
|
1453
|
+
* The link that promo points to.
|
|
1454
|
+
*/
|
|
1455
|
+
link: string;
|
|
1456
|
+
/**
|
|
1457
|
+
* Name of the promo.
|
|
1458
|
+
*/
|
|
1459
|
+
name: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* The type of resource the promo is pointing towards.
|
|
1462
|
+
*/
|
|
1463
|
+
resourceType: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Author of the promo.
|
|
1466
|
+
*/
|
|
1467
|
+
user: string;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
interface PromoListItem {
|
|
1471
|
+
/**
|
|
1472
|
+
* URL pointing to the promo detail resource.
|
|
1473
|
+
*/
|
|
1474
|
+
apiDetailUrl: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* Date the promo was added to Comic Vine.
|
|
1477
|
+
*/
|
|
1478
|
+
dateAdded: Date;
|
|
1479
|
+
/**
|
|
1480
|
+
* Brief summary of the promo.
|
|
1481
|
+
*/
|
|
1482
|
+
deck: string;
|
|
1483
|
+
guid: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Unique ID of the promo.
|
|
1486
|
+
*/
|
|
1487
|
+
id: number;
|
|
1488
|
+
/**
|
|
1489
|
+
* Main image of the promo.
|
|
1490
|
+
*/
|
|
1491
|
+
image: Image;
|
|
1492
|
+
/**
|
|
1493
|
+
* The link that promo points to.
|
|
1494
|
+
*/
|
|
1495
|
+
link: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* Name of the promo.
|
|
1498
|
+
*/
|
|
1499
|
+
name: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* The type of resource the promo is pointing towards.
|
|
1502
|
+
*/
|
|
1503
|
+
resourceType: string;
|
|
1504
|
+
/**
|
|
1505
|
+
* Author of the promo.
|
|
1506
|
+
*/
|
|
1507
|
+
user: string;
|
|
1508
|
+
}
|
|
1509
|
+
|
|
1510
|
+
declare class Promo extends BaseResource<PromoDetails, PromoListItem> {
|
|
1511
|
+
protected resourceType: ResourceType;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
interface PublisherDetails {
|
|
1515
|
+
/**
|
|
1516
|
+
* List of aliases the publisher is known by. A \n (newline) seperates each alias.
|
|
1517
|
+
*/
|
|
1518
|
+
aliases: null | string;
|
|
1519
|
+
/**
|
|
1520
|
+
* URL pointing to the publisher detail resource.
|
|
1521
|
+
*/
|
|
1522
|
+
apiDetailUrl: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* Characters related to the publisher.
|
|
1525
|
+
*/
|
|
1526
|
+
characters: Array<SiteResource>;
|
|
1527
|
+
/**
|
|
1528
|
+
* Date the publisher was added to Comic Vine.
|
|
1529
|
+
*/
|
|
1530
|
+
dateAdded: Date;
|
|
1531
|
+
/**
|
|
1532
|
+
* Date the publisher was last updated on Comic Vine.
|
|
1533
|
+
*/
|
|
1534
|
+
dateLastUpdated: Date;
|
|
1535
|
+
/**
|
|
1536
|
+
* Brief summary of the publisher.
|
|
1537
|
+
*/
|
|
1538
|
+
deck: null | string;
|
|
1539
|
+
/**
|
|
1540
|
+
* Description of the publisher.
|
|
1541
|
+
*/
|
|
1542
|
+
description: null | string;
|
|
1543
|
+
/**
|
|
1544
|
+
* Unique ID of the publisher.
|
|
1545
|
+
*/
|
|
1546
|
+
id: number;
|
|
1547
|
+
/**
|
|
1548
|
+
* Main image of the publisher.
|
|
1549
|
+
*/
|
|
1550
|
+
image: Image;
|
|
1551
|
+
/**
|
|
1552
|
+
* Street address of the publisher.
|
|
1553
|
+
*/
|
|
1554
|
+
locationAddress: null | string;
|
|
1555
|
+
/**
|
|
1556
|
+
* City the publisher resides in.
|
|
1557
|
+
*/
|
|
1558
|
+
locationCity: null | string;
|
|
1559
|
+
/**
|
|
1560
|
+
* State the publisher resides in.
|
|
1561
|
+
*/
|
|
1562
|
+
locationState: null | string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Name of the publisher.
|
|
1565
|
+
*/
|
|
1566
|
+
name: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* URL pointing to the publisher on Giant Bomb.
|
|
1569
|
+
*/
|
|
1570
|
+
siteDetailUrl: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* List of story arcs tied to this publisher.
|
|
1573
|
+
*/
|
|
1574
|
+
storyArcs: Array<SiteResource>;
|
|
1575
|
+
/**
|
|
1576
|
+
* List of teams this publisher is a member of.
|
|
1577
|
+
*/
|
|
1578
|
+
teams: Array<SiteResource>;
|
|
1579
|
+
/**
|
|
1580
|
+
* List of volumes this publisher has put out.
|
|
1581
|
+
*/
|
|
1582
|
+
volumes: Array<SiteResource>;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
interface PublisherListItem {
|
|
1586
|
+
/**
|
|
1587
|
+
* List of aliases the publisher is known by. A \n (newline) seperates each alias.
|
|
1588
|
+
*/
|
|
1589
|
+
aliases: null | string;
|
|
1590
|
+
/**
|
|
1591
|
+
* URL pointing to the publisher detail resource.
|
|
1592
|
+
*/
|
|
1593
|
+
apiDetailUrl: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* Date the publisher was added to Comic Vine.
|
|
1596
|
+
*/
|
|
1597
|
+
dateAdded: Date;
|
|
1598
|
+
/**
|
|
1599
|
+
* Date the publisher was last updated on Comic Vine.
|
|
1600
|
+
*/
|
|
1601
|
+
dateLastUpdated: Date;
|
|
1602
|
+
/**
|
|
1603
|
+
* Brief summary of the publisher.
|
|
1604
|
+
*/
|
|
1605
|
+
deck: null | string;
|
|
1606
|
+
/**
|
|
1607
|
+
* Description of the publisher.
|
|
1608
|
+
*/
|
|
1609
|
+
description: null | string;
|
|
1610
|
+
/**
|
|
1611
|
+
* Unique ID of the publisher.
|
|
1612
|
+
*/
|
|
1613
|
+
id: number;
|
|
1614
|
+
/**
|
|
1615
|
+
* Main image of the publisher.
|
|
1616
|
+
*/
|
|
1617
|
+
image: Image;
|
|
1618
|
+
/**
|
|
1619
|
+
* Street address of the publisher.
|
|
1620
|
+
*/
|
|
1621
|
+
locationAddress: null | string;
|
|
1622
|
+
/**
|
|
1623
|
+
* City the publisher resides in.
|
|
1624
|
+
*/
|
|
1625
|
+
locationCity: null | string;
|
|
1626
|
+
/**
|
|
1627
|
+
* State the publisher resides in.
|
|
1628
|
+
*/
|
|
1629
|
+
locationState: LocationState | null;
|
|
1630
|
+
/**
|
|
1631
|
+
* Name of the publisher.
|
|
1632
|
+
*/
|
|
1633
|
+
name: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* URL pointing to the publisher on Giant Bomb.
|
|
1636
|
+
*/
|
|
1637
|
+
siteDetailUrl: string;
|
|
1638
|
+
}
|
|
1639
|
+
declare enum LocationState {
|
|
1640
|
+
California = "California",
|
|
1641
|
+
NewYork = "New York",
|
|
1642
|
+
LocationStateNewYork = "New York ",
|
|
1643
|
+
Pennsylvania = "Pennsylvania"
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
declare class Publisher extends BaseResource<PublisherDetails, PublisherListItem> {
|
|
1647
|
+
protected resourceType: ResourceType;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
interface SeriesDetails {
|
|
1651
|
+
/**
|
|
1652
|
+
* List of aliases the series is known by. A \n (newline) seperates each alias.
|
|
1653
|
+
*/
|
|
1654
|
+
aliases: null | string;
|
|
1655
|
+
/**
|
|
1656
|
+
* URL pointing to the series detail resource.
|
|
1657
|
+
*/
|
|
1658
|
+
apiDetailUrl: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* A list of characters that appear in this series.
|
|
1661
|
+
*/
|
|
1662
|
+
characters: Array<SiteResourceWithCount>;
|
|
1663
|
+
/**
|
|
1664
|
+
* Number of episodes included in this series.
|
|
1665
|
+
*/
|
|
1666
|
+
countOfEpisodes: number;
|
|
1667
|
+
/**
|
|
1668
|
+
* Date the series was added to Comic Vine.
|
|
1669
|
+
*/
|
|
1670
|
+
dateAdded: Date;
|
|
1671
|
+
/**
|
|
1672
|
+
* Date the series was last updated on Comic Vine.
|
|
1673
|
+
*/
|
|
1674
|
+
dateLastUpdated: Date;
|
|
1675
|
+
/**
|
|
1676
|
+
* Brief summary of the series.
|
|
1677
|
+
*/
|
|
1678
|
+
deck: null | string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Description of the series.
|
|
1681
|
+
*/
|
|
1682
|
+
description: string;
|
|
1683
|
+
episodes: Array<EpisodeSiteResource>;
|
|
1684
|
+
/**
|
|
1685
|
+
* The first episode in this series.
|
|
1686
|
+
*/
|
|
1687
|
+
firstEpisode: EpisodeApiResource;
|
|
1688
|
+
/**
|
|
1689
|
+
* Unique ID of the series.
|
|
1690
|
+
*/
|
|
1691
|
+
id: number;
|
|
1692
|
+
/**
|
|
1693
|
+
* Main image of the series.
|
|
1694
|
+
*/
|
|
1695
|
+
image: Image;
|
|
1696
|
+
/**
|
|
1697
|
+
* The last episode in this series.
|
|
1698
|
+
*/
|
|
1699
|
+
lastEpisode: EpisodeApiResource;
|
|
1700
|
+
/**
|
|
1701
|
+
* Name of the series.
|
|
1702
|
+
*/
|
|
1703
|
+
name: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* The primary publisher a series is attached to.
|
|
1706
|
+
*/
|
|
1707
|
+
publisher: ApiResource | null;
|
|
1708
|
+
/**
|
|
1709
|
+
* URL pointing to the series on Giant Bomb.
|
|
1710
|
+
*/
|
|
1711
|
+
siteDetailUrl: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* The first year this series appeared in comics.
|
|
1714
|
+
*/
|
|
1715
|
+
startYear: string;
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
interface SeriesListItem {
|
|
1719
|
+
aliases: null | string;
|
|
1720
|
+
apiDetailUrl: string;
|
|
1721
|
+
countOfEpisodes: number;
|
|
1722
|
+
dateAdded: Date;
|
|
1723
|
+
dateLastUpdated: Date;
|
|
1724
|
+
deck: null | string;
|
|
1725
|
+
description: null | string;
|
|
1726
|
+
firstEpisode: EpisodeApiResource;
|
|
1727
|
+
id: number;
|
|
1728
|
+
image: Image;
|
|
1729
|
+
lastEpisode: EpisodeApiResource;
|
|
1730
|
+
name: string;
|
|
1731
|
+
publisher: ApiResource | null;
|
|
1732
|
+
siteDetailUrl: string;
|
|
1733
|
+
startYear: string;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
declare class Series extends BaseResource<SeriesDetails, SeriesListItem> {
|
|
1737
|
+
protected resourceType: ResourceType;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
interface StoryArcDetails {
|
|
1741
|
+
/**
|
|
1742
|
+
* List of aliases the story_arc is known by. A \n (newline) seperates each alias.
|
|
1743
|
+
*/
|
|
1744
|
+
aliases: null | string;
|
|
1745
|
+
/**
|
|
1746
|
+
* URL pointing to the story_arc detail resource.
|
|
1747
|
+
*/
|
|
1748
|
+
apiDetailUrl: string;
|
|
1749
|
+
countOfIsssueAppearances: number;
|
|
1750
|
+
/**
|
|
1751
|
+
* Date the story_arc was added to Comic Vine.
|
|
1752
|
+
*/
|
|
1753
|
+
dateAdded: Date;
|
|
1754
|
+
/**
|
|
1755
|
+
* Date the story_arc was last updated on Comic Vine.
|
|
1756
|
+
*/
|
|
1757
|
+
dateLastUpdated: Date;
|
|
1758
|
+
/**
|
|
1759
|
+
* Brief summary of the story_arc.
|
|
1760
|
+
*/
|
|
1761
|
+
deck: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* Description of the story_arc.
|
|
1764
|
+
*/
|
|
1765
|
+
description: string;
|
|
1766
|
+
episodes: Array<SiteResource>;
|
|
1767
|
+
firstAppearedInEpisode: EpisodeApiResource | null;
|
|
1768
|
+
/**
|
|
1769
|
+
* Issue where the story_arc made its first appearance.
|
|
1770
|
+
*/
|
|
1771
|
+
firstAppearedInIssue: IssueApiResource;
|
|
1772
|
+
/**
|
|
1773
|
+
* Unique ID of the story_arc.
|
|
1774
|
+
*/
|
|
1775
|
+
id: number;
|
|
1776
|
+
/**
|
|
1777
|
+
* Main image of the story_arc.
|
|
1778
|
+
*/
|
|
1779
|
+
image: Image;
|
|
1780
|
+
/**
|
|
1781
|
+
* List of issues included in this story_arc.
|
|
1782
|
+
*/
|
|
1783
|
+
issues: Array<SiteResource>;
|
|
1784
|
+
/**
|
|
1785
|
+
* Movies the story_arc was in.
|
|
1786
|
+
*/
|
|
1787
|
+
movies?: Array<unknown>;
|
|
1788
|
+
/**
|
|
1789
|
+
* Name of the story_arc.
|
|
1790
|
+
*/
|
|
1791
|
+
name: string;
|
|
1792
|
+
/**
|
|
1793
|
+
* The primary publisher a story_arc is attached to.
|
|
1794
|
+
*/
|
|
1795
|
+
publisher: SiteResource;
|
|
1796
|
+
/**
|
|
1797
|
+
* URL pointing to the story_arc on Giant Bomb.
|
|
1798
|
+
*/
|
|
1799
|
+
siteDetailUrl: string;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
interface StoryArcListItem {
|
|
1803
|
+
/**
|
|
1804
|
+
* List of aliases the story_arc is known by. A \n (newline) seperates each alias.
|
|
1805
|
+
*/
|
|
1806
|
+
aliases: null | string;
|
|
1807
|
+
/**
|
|
1808
|
+
* URL pointing to the story_arc detail resource.
|
|
1809
|
+
*/
|
|
1810
|
+
apiDetailUrl: string;
|
|
1811
|
+
countOfIsssueAppearances: number;
|
|
1812
|
+
/**
|
|
1813
|
+
* Date the story_arc was added to Comic Vine.
|
|
1814
|
+
*/
|
|
1815
|
+
dateAdded: Date;
|
|
1816
|
+
/**
|
|
1817
|
+
* Date the story_arc was last updated on Comic Vine.
|
|
1818
|
+
*/
|
|
1819
|
+
dateLastUpdated: Date;
|
|
1820
|
+
/**
|
|
1821
|
+
* Brief summary of the story_arc.
|
|
1822
|
+
*/
|
|
1823
|
+
deck: null | string;
|
|
1824
|
+
/**
|
|
1825
|
+
* Description of the story_arc.
|
|
1826
|
+
*/
|
|
1827
|
+
description: null | string;
|
|
1828
|
+
firstAppearedInEpisode: EpisodeApiResource | null;
|
|
1829
|
+
/**
|
|
1830
|
+
* Issue where the story_arc made its first appearance.
|
|
1831
|
+
*/
|
|
1832
|
+
firstAppearedInIssue: IssueApiResource;
|
|
1833
|
+
/**
|
|
1834
|
+
* Unique ID of the story_arc.
|
|
1835
|
+
*/
|
|
1836
|
+
id: number;
|
|
1837
|
+
/**
|
|
1838
|
+
* Main image of the story_arc.
|
|
1839
|
+
*/
|
|
1840
|
+
image: Image;
|
|
1841
|
+
/**
|
|
1842
|
+
* Name of the story_arc.
|
|
1843
|
+
*/
|
|
1844
|
+
name: string;
|
|
1845
|
+
/**
|
|
1846
|
+
* The primary publisher a story_arc is attached to.
|
|
1847
|
+
*/
|
|
1848
|
+
publisher: SiteResource;
|
|
1849
|
+
/**
|
|
1850
|
+
* URL pointing to the story_arc on Giant Bomb.
|
|
1851
|
+
*/
|
|
1852
|
+
siteDetailUrl: string;
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
declare class StoryArc extends BaseResource<StoryArcDetails, StoryArcListItem> {
|
|
1856
|
+
protected resourceType: ResourceType;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1859
|
+
interface TeamDetails {
|
|
1860
|
+
/**
|
|
1861
|
+
* List of aliases the team is known by. A \n (newline) seperates each alias.
|
|
1862
|
+
*/
|
|
1863
|
+
aliases: null | string;
|
|
1864
|
+
/**
|
|
1865
|
+
* URL pointing to the team detail resource.
|
|
1866
|
+
*/
|
|
1867
|
+
apiDetailUrl: string;
|
|
1868
|
+
/**
|
|
1869
|
+
* List of characters that are enemies with this team.
|
|
1870
|
+
*/
|
|
1871
|
+
characterEnemies: Array<SiteResource>;
|
|
1872
|
+
/**
|
|
1873
|
+
* List of characters that are friends with this team.
|
|
1874
|
+
*/
|
|
1875
|
+
characterFriends: Array<SiteResource>;
|
|
1876
|
+
/**
|
|
1877
|
+
* Characters related to the team.
|
|
1878
|
+
*/
|
|
1879
|
+
characters: Array<SiteResource>;
|
|
1880
|
+
countOfIsssueAppearances: number;
|
|
1881
|
+
/**
|
|
1882
|
+
* Number of team members in this team.
|
|
1883
|
+
*/
|
|
1884
|
+
countOfTeamMembers: number;
|
|
1885
|
+
/**
|
|
1886
|
+
* Date the team was added to Comic Vine.
|
|
1887
|
+
*/
|
|
1888
|
+
dateAdded: Date;
|
|
1889
|
+
/**
|
|
1890
|
+
* Date the team was last updated on Comic Vine.
|
|
1891
|
+
*/
|
|
1892
|
+
dateLastUpdated: Date;
|
|
1893
|
+
/**
|
|
1894
|
+
* Brief summary of the team.
|
|
1895
|
+
*/
|
|
1896
|
+
deck: string;
|
|
1897
|
+
/**
|
|
1898
|
+
* Description of the team.
|
|
1899
|
+
*/
|
|
1900
|
+
description: string;
|
|
1901
|
+
/**
|
|
1902
|
+
* List of issues this team disbanded in.
|
|
1903
|
+
*/
|
|
1904
|
+
disbandedInIssues: Array<SiteResource>;
|
|
1905
|
+
/**
|
|
1906
|
+
* Issue where the team made its first appearance.
|
|
1907
|
+
*/
|
|
1908
|
+
firstAppearedInIssue: IssueApiResource;
|
|
1909
|
+
/**
|
|
1910
|
+
* Unique ID of the team.
|
|
1911
|
+
*/
|
|
1912
|
+
id: number;
|
|
1913
|
+
/**
|
|
1914
|
+
* Main image of the team.
|
|
1915
|
+
*/
|
|
1916
|
+
image: Image;
|
|
1917
|
+
isssuesDisbandedIn: Array<SiteResource>;
|
|
1918
|
+
/**
|
|
1919
|
+
* List of issues this team appears in.
|
|
1920
|
+
*/
|
|
1921
|
+
issueCredits: Array<SiteResource>;
|
|
1922
|
+
/**
|
|
1923
|
+
* Movies the team was in.
|
|
1924
|
+
*/
|
|
1925
|
+
movies: Array<SiteResource>;
|
|
1926
|
+
/**
|
|
1927
|
+
* Name of the team.
|
|
1928
|
+
*/
|
|
1929
|
+
name: string;
|
|
1930
|
+
/**
|
|
1931
|
+
* The primary publisher a team is attached to.
|
|
1932
|
+
*/
|
|
1933
|
+
publisher: ApiResource;
|
|
1934
|
+
/**
|
|
1935
|
+
* URL pointing to the team on Giant Bomb.
|
|
1936
|
+
*/
|
|
1937
|
+
siteDetailUrl: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* List of story arcs this team appears in.
|
|
1940
|
+
*/
|
|
1941
|
+
storyArcCredits: Array<SiteResource>;
|
|
1942
|
+
/**
|
|
1943
|
+
* List of comic volumes this team appears in.
|
|
1944
|
+
*/
|
|
1945
|
+
volumeCredits: Array<SiteResource>;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
interface TeamListItem {
|
|
1949
|
+
/**
|
|
1950
|
+
* List of aliases the team is known by. A \n (newline) seperates each alias.
|
|
1951
|
+
*/
|
|
1952
|
+
aliases: null | string;
|
|
1953
|
+
/**
|
|
1954
|
+
* URL pointing to the team detail resource.
|
|
1955
|
+
*/
|
|
1956
|
+
apiDetailUrl: string;
|
|
1957
|
+
countOfIsssueAppearances: number;
|
|
1958
|
+
/**
|
|
1959
|
+
* Number of team members in this team.
|
|
1960
|
+
*/
|
|
1961
|
+
countOfTeamMembers: number;
|
|
1962
|
+
/**
|
|
1963
|
+
* Date the team was added to Comic Vine.
|
|
1964
|
+
*/
|
|
1965
|
+
dateAdded: Date;
|
|
1966
|
+
/**
|
|
1967
|
+
* Date the team was last updated on Comic Vine.
|
|
1968
|
+
*/
|
|
1969
|
+
dateLastUpdated: Date;
|
|
1970
|
+
/**
|
|
1971
|
+
* Brief summary of the team.
|
|
1972
|
+
*/
|
|
1973
|
+
deck: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Description of the team.
|
|
1976
|
+
*/
|
|
1977
|
+
description: null | string;
|
|
1978
|
+
/**
|
|
1979
|
+
* Issue where the team made its first appearance.
|
|
1980
|
+
*/
|
|
1981
|
+
firstAppearedInIssue: IssueApiResource;
|
|
1982
|
+
/**
|
|
1983
|
+
* Unique ID of the team.
|
|
1984
|
+
*/
|
|
1985
|
+
id: number;
|
|
1986
|
+
/**
|
|
1987
|
+
* Main image of the team.
|
|
1988
|
+
*/
|
|
1989
|
+
image: Image;
|
|
1990
|
+
/**
|
|
1991
|
+
* Name of the team.
|
|
1992
|
+
*/
|
|
1993
|
+
name: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* The primary publisher a team is attached to.
|
|
1996
|
+
*/
|
|
1997
|
+
publisher: ApiResource;
|
|
1998
|
+
/**
|
|
1999
|
+
* URL pointing to the team on Giant Bomb.
|
|
2000
|
+
*/
|
|
2001
|
+
siteDetailUrl: string;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
declare class Team extends BaseResource<TeamDetails, TeamListItem> {
|
|
2005
|
+
protected resourceType: ResourceType;
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
interface ThingDetails {
|
|
2009
|
+
/**
|
|
2010
|
+
* List of aliases the thing is known by. A \n (newline) seperates each alias.
|
|
2011
|
+
*/
|
|
2012
|
+
aliases: null | string;
|
|
2013
|
+
/**
|
|
2014
|
+
* URL pointing to the thing detail resource.
|
|
2015
|
+
*/
|
|
2016
|
+
apiDetailUrl: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Number of issues this thing appears in.
|
|
2019
|
+
*/
|
|
2020
|
+
countOfIssueAppearances: number;
|
|
2021
|
+
/**
|
|
2022
|
+
* Date the thing was added to Comic Vine.
|
|
2023
|
+
*/
|
|
2024
|
+
dateAdded: Date;
|
|
2025
|
+
/**
|
|
2026
|
+
* Date the thing was last updated on Comic Vine.
|
|
2027
|
+
*/
|
|
2028
|
+
dateLastUpdated: Date;
|
|
2029
|
+
/**
|
|
2030
|
+
* Brief summary of the thing.
|
|
2031
|
+
*/
|
|
2032
|
+
deck: string;
|
|
2033
|
+
/**
|
|
2034
|
+
* Description of the thing.
|
|
2035
|
+
*/
|
|
2036
|
+
description: null | string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Issue where the thing made its first appearance.
|
|
2039
|
+
*/
|
|
2040
|
+
firstAppearedInIssue: IssueApiResource | null;
|
|
2041
|
+
/**
|
|
2042
|
+
* Unique ID of the thing.
|
|
2043
|
+
*/
|
|
2044
|
+
id: number;
|
|
2045
|
+
/**
|
|
2046
|
+
* Main image of the thing.
|
|
2047
|
+
*/
|
|
2048
|
+
image: Image;
|
|
2049
|
+
/**
|
|
2050
|
+
* List of issues this thing appears in.
|
|
2051
|
+
*/
|
|
2052
|
+
issueCredits: Array<SiteResource>;
|
|
2053
|
+
/**
|
|
2054
|
+
* Movies the thing was in.
|
|
2055
|
+
*/
|
|
2056
|
+
movies: Array<SiteResource>;
|
|
2057
|
+
/**
|
|
2058
|
+
* Name of the thing.
|
|
2059
|
+
*/
|
|
2060
|
+
name: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* URL pointing to the thing on Giant Bomb.
|
|
2063
|
+
*/
|
|
2064
|
+
siteDetailUrl: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* The first year this thing appeared in comics.
|
|
2067
|
+
*/
|
|
2068
|
+
startYear: null | string;
|
|
2069
|
+
/**
|
|
2070
|
+
* List of story arcs this thing appears in.
|
|
2071
|
+
*/
|
|
2072
|
+
storyArcCredits: Array<SiteResource>;
|
|
2073
|
+
/**
|
|
2074
|
+
* List of comic volumes this thing appears in.
|
|
2075
|
+
*/
|
|
2076
|
+
volumeCredits: Array<SiteResource>;
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
interface ThingListItem {
|
|
2080
|
+
/**
|
|
2081
|
+
* List of aliases the thing is known by. A \n (newline) seperates each alias.
|
|
2082
|
+
*/
|
|
2083
|
+
aliases: null | string;
|
|
2084
|
+
/**
|
|
2085
|
+
* URL pointing to the thing detail resource.
|
|
2086
|
+
*/
|
|
2087
|
+
apiDetailUrl: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Number of issues this thing appears in.
|
|
2090
|
+
*/
|
|
2091
|
+
countOfIssueAppearances: number;
|
|
2092
|
+
/**
|
|
2093
|
+
* Date the thing was added to Comic Vine.
|
|
2094
|
+
*/
|
|
2095
|
+
dateAdded: Date;
|
|
2096
|
+
/**
|
|
2097
|
+
* Date the thing was last updated on Comic Vine.
|
|
2098
|
+
*/
|
|
2099
|
+
dateLastUpdated: Date;
|
|
2100
|
+
/**
|
|
2101
|
+
* Brief summary of the thing.
|
|
2102
|
+
*/
|
|
2103
|
+
deck: null | string;
|
|
2104
|
+
/**
|
|
2105
|
+
* Description of the thing.
|
|
2106
|
+
*/
|
|
2107
|
+
description: null | string;
|
|
2108
|
+
/**
|
|
2109
|
+
* Issue where the thing made its first appearance.
|
|
2110
|
+
*/
|
|
2111
|
+
firstAppearedInIssue: IssueApiResource | null;
|
|
2112
|
+
/**
|
|
2113
|
+
* Unique ID of the thing.
|
|
2114
|
+
*/
|
|
2115
|
+
id: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* Main image of the thing.
|
|
2118
|
+
*/
|
|
2119
|
+
image: Image;
|
|
2120
|
+
/**
|
|
2121
|
+
* Name of the thing.
|
|
2122
|
+
*/
|
|
2123
|
+
name: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* URL pointing to the thing on Giant Bomb.
|
|
2126
|
+
*/
|
|
2127
|
+
siteDetailUrl: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* The first year this thing appeared in comics.
|
|
2130
|
+
*/
|
|
2131
|
+
startYear: null | string;
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
declare class Thing extends BaseResource<ThingDetails, ThingListItem> {
|
|
2135
|
+
protected resourceType: ResourceType;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
interface VideoDetails {
|
|
2139
|
+
/**
|
|
2140
|
+
* URL pointing to the video detail resource.
|
|
2141
|
+
*/
|
|
2142
|
+
apiDetailUrl: string;
|
|
2143
|
+
crew: null | string;
|
|
2144
|
+
/**
|
|
2145
|
+
* Brief summary of the video.
|
|
2146
|
+
*/
|
|
2147
|
+
deck: string;
|
|
2148
|
+
embedPlayer: string;
|
|
2149
|
+
guid: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* URL to the High Res version of the video.
|
|
2152
|
+
*/
|
|
2153
|
+
highUrl: string;
|
|
2154
|
+
hosts: null | string;
|
|
2155
|
+
/**
|
|
2156
|
+
* Unique ID of the video.
|
|
2157
|
+
*/
|
|
2158
|
+
id: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* Main image of the video.
|
|
2161
|
+
*/
|
|
2162
|
+
image: {
|
|
2163
|
+
[key: string]: null | string;
|
|
2164
|
+
};
|
|
2165
|
+
/**
|
|
2166
|
+
* Length (in seconds) of the video.
|
|
2167
|
+
*/
|
|
2168
|
+
lengthSeconds: number;
|
|
2169
|
+
/**
|
|
2170
|
+
* URL to the Low Res version of the video.
|
|
2171
|
+
*/
|
|
2172
|
+
lowUrl: string;
|
|
2173
|
+
/**
|
|
2174
|
+
* Name of the video.
|
|
2175
|
+
*/
|
|
2176
|
+
name: string;
|
|
2177
|
+
premium: boolean;
|
|
2178
|
+
/**
|
|
2179
|
+
* Date the video was published on Comic Vine.
|
|
2180
|
+
*/
|
|
2181
|
+
publishDate: Date;
|
|
2182
|
+
/**
|
|
2183
|
+
* URL pointing to the video on Giant Bomb.
|
|
2184
|
+
*/
|
|
2185
|
+
siteDetailUrl: string;
|
|
2186
|
+
/**
|
|
2187
|
+
* The video's filename.
|
|
2188
|
+
*/
|
|
2189
|
+
url: string;
|
|
2190
|
+
/**
|
|
2191
|
+
* Author of the video.
|
|
2192
|
+
*/
|
|
2193
|
+
user: null | string;
|
|
2194
|
+
videoCategories: Array<SiteResource>;
|
|
2195
|
+
videoType: string;
|
|
2196
|
+
youtubeId: null | string;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
interface VideoListItem {
|
|
2200
|
+
/**
|
|
2201
|
+
* URL pointing to the video detail resource.
|
|
2202
|
+
*/
|
|
2203
|
+
apiDetailUrl: string;
|
|
2204
|
+
crew: Crew | null;
|
|
2205
|
+
/**
|
|
2206
|
+
* Brief summary of the video.
|
|
2207
|
+
*/
|
|
2208
|
+
deck: string;
|
|
2209
|
+
embedPlayer: string;
|
|
2210
|
+
guid: string;
|
|
2211
|
+
/**
|
|
2212
|
+
* URL to the High Res version of the video.
|
|
2213
|
+
*/
|
|
2214
|
+
highUrl: string;
|
|
2215
|
+
hosts: Hosts | null;
|
|
2216
|
+
/**
|
|
2217
|
+
* Unique ID of the video.
|
|
2218
|
+
*/
|
|
2219
|
+
id: number;
|
|
2220
|
+
/**
|
|
2221
|
+
* Main image of the video.
|
|
2222
|
+
*/
|
|
2223
|
+
image: {
|
|
2224
|
+
[key: string]: null | string;
|
|
2225
|
+
};
|
|
2226
|
+
/**
|
|
2227
|
+
* Length (in seconds) of the video.
|
|
2228
|
+
*/
|
|
2229
|
+
lengthSeconds: number;
|
|
2230
|
+
/**
|
|
2231
|
+
* URL to the Low Res version of the video.
|
|
2232
|
+
*/
|
|
2233
|
+
lowUrl: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* Name of the video.
|
|
2236
|
+
*/
|
|
2237
|
+
name: string;
|
|
2238
|
+
premium: boolean;
|
|
2239
|
+
/**
|
|
2240
|
+
* Date the video was published on Comic Vine.
|
|
2241
|
+
*/
|
|
2242
|
+
publishDate: Date;
|
|
2243
|
+
/**
|
|
2244
|
+
* URL pointing to the video on Giant Bomb.
|
|
2245
|
+
*/
|
|
2246
|
+
siteDetailUrl: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* The video's filename.
|
|
2249
|
+
*/
|
|
2250
|
+
url: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* Author of the video.
|
|
2253
|
+
*/
|
|
2254
|
+
user: User | null;
|
|
2255
|
+
videoCategories: Array<SiteResource>;
|
|
2256
|
+
videoType: VideoType$1 | null;
|
|
2257
|
+
youtubeId: null | string;
|
|
2258
|
+
}
|
|
2259
|
+
declare enum Crew {
|
|
2260
|
+
Aclarkp = "aclarkp",
|
|
2261
|
+
Buddyhutton = "buddyhutton",
|
|
2262
|
+
Gmanfromheck = "gmanfromheck",
|
|
2263
|
+
GmanfromheckRyanerikp = "gmanfromheck, ryanerikp",
|
|
2264
|
+
GmanfromheckRyanerikpBuddyhutton = "gmanfromheck, ryanerikp, buddyhutton",
|
|
2265
|
+
Ryanerikp = "ryanerikp",
|
|
2266
|
+
RyanerikpBuddyhutton = "ryanerikp, buddyhutton"
|
|
2267
|
+
}
|
|
2268
|
+
declare enum Hosts {
|
|
2269
|
+
Aclarkp = "aclarkp",
|
|
2270
|
+
Buddyhutton = "buddyhutton",
|
|
2271
|
+
Gmanfromheck = "gmanfromheck",
|
|
2272
|
+
Inferiorego = "inferiorego",
|
|
2273
|
+
Ryanerikp = "ryanerikp"
|
|
2274
|
+
}
|
|
2275
|
+
declare enum User {
|
|
2276
|
+
Aclarkp = "aclarkp",
|
|
2277
|
+
Buddyhutton = "buddyhutton",
|
|
2278
|
+
Cadamien = "cadamien",
|
|
2279
|
+
Gmanfromheck = "gmanfromheck",
|
|
2280
|
+
Ryanerikp = "ryanerikp"
|
|
2281
|
+
}
|
|
2282
|
+
declare enum VideoType$1 {
|
|
2283
|
+
Events = "Events",
|
|
2284
|
+
Feature = "Feature",
|
|
2285
|
+
FeatureEvents = "Feature, Events",
|
|
2286
|
+
FeatureMysteryArtChallenge = "Feature, Mystery Art Challenge",
|
|
2287
|
+
FeatureUnboxing = "Feature, Unboxing",
|
|
2288
|
+
MysteryArtChallenge = "Mystery Art Challenge",
|
|
2289
|
+
Review = "Review",
|
|
2290
|
+
Trailer = "Trailer",
|
|
2291
|
+
Unboxing = "Unboxing"
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
declare class Video extends BaseResource<VideoDetails, VideoListItem> {
|
|
2295
|
+
protected resourceType: ResourceType;
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
interface VideoCategoryDetails {
|
|
2299
|
+
/**
|
|
2300
|
+
* URL pointing to the video_category detail resource.
|
|
2301
|
+
*/
|
|
2302
|
+
apiDetailUrl: string;
|
|
2303
|
+
/**
|
|
2304
|
+
* Brief summary of the video_category.
|
|
2305
|
+
*/
|
|
2306
|
+
deck: null | string;
|
|
2307
|
+
/**
|
|
2308
|
+
* Unique ID of the video_category.
|
|
2309
|
+
*/
|
|
2310
|
+
id: number;
|
|
2311
|
+
image: Image;
|
|
2312
|
+
/**
|
|
2313
|
+
* Name of the video_category.
|
|
2314
|
+
*/
|
|
2315
|
+
name: string;
|
|
2316
|
+
/**
|
|
2317
|
+
* URL pointing to the video_category on Giant Bomb.
|
|
2318
|
+
*/
|
|
2319
|
+
siteDetailUrl: string;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
interface VideoCategoryListItem {
|
|
2323
|
+
/**
|
|
2324
|
+
* URL pointing to the video_category detail resource.
|
|
2325
|
+
*/
|
|
2326
|
+
apiDetailUrl: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* Brief summary of the video_category.
|
|
2329
|
+
*/
|
|
2330
|
+
deck: null | string;
|
|
2331
|
+
/**
|
|
2332
|
+
* Unique ID of the video_category.
|
|
2333
|
+
*/
|
|
2334
|
+
id: number;
|
|
2335
|
+
image: Image;
|
|
2336
|
+
/**
|
|
2337
|
+
* Name of the video_category.
|
|
2338
|
+
*/
|
|
2339
|
+
name: string;
|
|
2340
|
+
/**
|
|
2341
|
+
* URL pointing to the video_category on Giant Bomb.
|
|
2342
|
+
*/
|
|
2343
|
+
siteDetailUrl: string;
|
|
2344
|
+
}
|
|
2345
|
+
|
|
2346
|
+
declare class VideoCategory extends BaseResource<VideoCategoryDetails, VideoCategoryListItem> {
|
|
2347
|
+
protected resourceType: ResourceType;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
interface VideoTypeDetails {
|
|
2351
|
+
/**
|
|
2352
|
+
* URL pointing to the video_type detail resource.
|
|
2353
|
+
*/
|
|
2354
|
+
apiDetailUrl: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* Brief summary of the video_type.
|
|
2357
|
+
*/
|
|
2358
|
+
deck: null | string;
|
|
2359
|
+
/**
|
|
2360
|
+
* Unique ID of the video_type.
|
|
2361
|
+
*/
|
|
2362
|
+
id: number;
|
|
2363
|
+
/**
|
|
2364
|
+
* Name of the video_type.
|
|
2365
|
+
*/
|
|
2366
|
+
name: string;
|
|
2367
|
+
/**
|
|
2368
|
+
* URL pointing to the video_type on Giant Bomb.
|
|
2369
|
+
*/
|
|
2370
|
+
siteDetailUrl: string;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
interface VideoTypeListItem {
|
|
2374
|
+
/**
|
|
2375
|
+
* URL pointing to the video_type detail resource.
|
|
2376
|
+
*/
|
|
2377
|
+
apiDetailUrl: string;
|
|
2378
|
+
/**
|
|
2379
|
+
* Brief summary of the video_type.
|
|
2380
|
+
*/
|
|
2381
|
+
deck: null | string;
|
|
2382
|
+
/**
|
|
2383
|
+
* Unique ID of the video_type.
|
|
2384
|
+
*/
|
|
2385
|
+
id: number;
|
|
2386
|
+
/**
|
|
2387
|
+
* Name of the video_type.
|
|
2388
|
+
*/
|
|
2389
|
+
name: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* URL pointing to the video_type on Giant Bomb.
|
|
2392
|
+
*/
|
|
2393
|
+
siteDetailUrl: string;
|
|
2394
|
+
}
|
|
2395
|
+
|
|
2396
|
+
declare class VideoType extends BaseResource<VideoTypeDetails, VideoTypeListItem> {
|
|
2397
|
+
protected resourceType: ResourceType;
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
interface VolumeDetails {
|
|
2401
|
+
/**
|
|
2402
|
+
* List of aliases the volume is known by. A \n (newline) seperates each alias.
|
|
2403
|
+
*/
|
|
2404
|
+
aliases: null | string;
|
|
2405
|
+
/**
|
|
2406
|
+
* URL pointing to the volume detail resource.
|
|
2407
|
+
*/
|
|
2408
|
+
apiDetailUrl: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* A list of characters that appear in this volume.
|
|
2411
|
+
*/
|
|
2412
|
+
characters?: Array<SiteResourceWithCount>;
|
|
2413
|
+
/**
|
|
2414
|
+
* A list of concepts that appear in this volume.
|
|
2415
|
+
*/
|
|
2416
|
+
concepts?: Array<SiteResourceWithCount>;
|
|
2417
|
+
/**
|
|
2418
|
+
* Number of issues included in this volume.
|
|
2419
|
+
*/
|
|
2420
|
+
countOfIssues: number;
|
|
2421
|
+
/**
|
|
2422
|
+
* Date the volume was added to Comic Vine.
|
|
2423
|
+
*/
|
|
2424
|
+
dateAdded: Date;
|
|
2425
|
+
/**
|
|
2426
|
+
* Date the volume was last updated on Comic Vine.
|
|
2427
|
+
*/
|
|
2428
|
+
dateLastUpdated: Date;
|
|
2429
|
+
/**
|
|
2430
|
+
* Brief summary of the volume.
|
|
2431
|
+
*/
|
|
2432
|
+
deck: null | string;
|
|
2433
|
+
/**
|
|
2434
|
+
* Description of the volume.
|
|
2435
|
+
*/
|
|
2436
|
+
description: null | string;
|
|
2437
|
+
/**
|
|
2438
|
+
* The first issue in this volume.
|
|
2439
|
+
*/
|
|
2440
|
+
firstIssue: IssueApiResource;
|
|
2441
|
+
/**
|
|
2442
|
+
* Unique ID of the volume.
|
|
2443
|
+
*/
|
|
2444
|
+
id: number;
|
|
2445
|
+
/**
|
|
2446
|
+
* Main image of the volume.
|
|
2447
|
+
*/
|
|
2448
|
+
image: Image;
|
|
2449
|
+
issues: Array<IssueSiteResource>;
|
|
2450
|
+
/**
|
|
2451
|
+
* The last issue in this volume.
|
|
2452
|
+
*/
|
|
2453
|
+
lastIssue: IssueApiResource;
|
|
2454
|
+
/**
|
|
2455
|
+
* Name of the volume.
|
|
2456
|
+
*/
|
|
2457
|
+
name: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* List of things that appeared in this volume.
|
|
2460
|
+
*/
|
|
2461
|
+
objects?: Array<SiteResourceWithCount>;
|
|
2462
|
+
people: Array<SiteResourceWithCount>;
|
|
2463
|
+
/**
|
|
2464
|
+
* The primary publisher a volume is attached to.
|
|
2465
|
+
*/
|
|
2466
|
+
publisher: ApiResource;
|
|
2467
|
+
/**
|
|
2468
|
+
* URL pointing to the volume on Giant Bomb.
|
|
2469
|
+
*/
|
|
2470
|
+
siteDetailUrl: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* The first year this volume appeared in comics.
|
|
2473
|
+
*/
|
|
2474
|
+
startYear: string;
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
interface VolumeListItem {
|
|
2478
|
+
/**
|
|
2479
|
+
* List of aliases the volume is known by. A \n (newline) seperates each alias.
|
|
2480
|
+
*/
|
|
2481
|
+
aliases: null | string;
|
|
2482
|
+
/**
|
|
2483
|
+
* URL pointing to the volume detail resource.
|
|
2484
|
+
*/
|
|
2485
|
+
apiDetailUrl: string;
|
|
2486
|
+
/**
|
|
2487
|
+
* Number of issues included in this volume.
|
|
2488
|
+
*/
|
|
2489
|
+
countOfIssues: number;
|
|
2490
|
+
/**
|
|
2491
|
+
* Date the volume was added to Comic Vine.
|
|
2492
|
+
*/
|
|
2493
|
+
dateAdded: Date;
|
|
2494
|
+
/**
|
|
2495
|
+
* Date the volume was last updated on Comic Vine.
|
|
2496
|
+
*/
|
|
2497
|
+
dateLastUpdated: Date;
|
|
2498
|
+
/**
|
|
2499
|
+
* Brief summary of the volume.
|
|
2500
|
+
*/
|
|
2501
|
+
deck: null | string;
|
|
2502
|
+
/**
|
|
2503
|
+
* Description of the volume.
|
|
2504
|
+
*/
|
|
2505
|
+
description: null | string;
|
|
2506
|
+
/**
|
|
2507
|
+
* The first issue in this volume.
|
|
2508
|
+
*/
|
|
2509
|
+
firstIssue: IssueApiResource;
|
|
2510
|
+
/**
|
|
2511
|
+
* Unique ID of the volume.
|
|
2512
|
+
*/
|
|
2513
|
+
id: number;
|
|
2514
|
+
/**
|
|
2515
|
+
* Main image of the volume.
|
|
2516
|
+
*/
|
|
2517
|
+
image: Image;
|
|
2518
|
+
/**
|
|
2519
|
+
* The last issue in this volume.
|
|
2520
|
+
*/
|
|
2521
|
+
lastIssue: IssueApiResource;
|
|
2522
|
+
/**
|
|
2523
|
+
* Name of the volume.
|
|
2524
|
+
*/
|
|
2525
|
+
name: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* The primary publisher a volume is attached to.
|
|
2528
|
+
*/
|
|
2529
|
+
publisher: ApiResource;
|
|
2530
|
+
/**
|
|
2531
|
+
* URL pointing to the volume on Giant Bomb.
|
|
2532
|
+
*/
|
|
2533
|
+
siteDetailUrl: string;
|
|
2534
|
+
/**
|
|
2535
|
+
* The first year this volume appeared in comics.
|
|
2536
|
+
*/
|
|
2537
|
+
startYear: string;
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
declare class Volume extends BaseResource<VolumeDetails, VolumeListItem> {
|
|
2541
|
+
protected resourceType: ResourceType;
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
type resources_Character = Character;
|
|
2545
|
+
declare const resources_Character: typeof Character;
|
|
2546
|
+
type resources_Concept = Concept;
|
|
2547
|
+
declare const resources_Concept: typeof Concept;
|
|
2548
|
+
type resources_Episode = Episode;
|
|
2549
|
+
declare const resources_Episode: typeof Episode;
|
|
2550
|
+
type resources_Issue = Issue;
|
|
2551
|
+
declare const resources_Issue: typeof Issue;
|
|
2552
|
+
type resources_Location = Location;
|
|
2553
|
+
declare const resources_Location: typeof Location;
|
|
2554
|
+
type resources_Movie = Movie;
|
|
2555
|
+
declare const resources_Movie: typeof Movie;
|
|
2556
|
+
type resources_Origin = Origin;
|
|
2557
|
+
declare const resources_Origin: typeof Origin;
|
|
2558
|
+
type resources_Person = Person;
|
|
2559
|
+
declare const resources_Person: typeof Person;
|
|
2560
|
+
type resources_Power = Power;
|
|
2561
|
+
declare const resources_Power: typeof Power;
|
|
2562
|
+
type resources_Promo = Promo;
|
|
2563
|
+
declare const resources_Promo: typeof Promo;
|
|
2564
|
+
type resources_Publisher = Publisher;
|
|
2565
|
+
declare const resources_Publisher: typeof Publisher;
|
|
2566
|
+
type resources_Series = Series;
|
|
2567
|
+
declare const resources_Series: typeof Series;
|
|
2568
|
+
type resources_StoryArc = StoryArc;
|
|
2569
|
+
declare const resources_StoryArc: typeof StoryArc;
|
|
2570
|
+
type resources_Team = Team;
|
|
2571
|
+
declare const resources_Team: typeof Team;
|
|
2572
|
+
type resources_Thing = Thing;
|
|
2573
|
+
declare const resources_Thing: typeof Thing;
|
|
2574
|
+
type resources_Video = Video;
|
|
2575
|
+
declare const resources_Video: typeof Video;
|
|
2576
|
+
type resources_VideoCategory = VideoCategory;
|
|
2577
|
+
declare const resources_VideoCategory: typeof VideoCategory;
|
|
2578
|
+
type resources_VideoType = VideoType;
|
|
2579
|
+
declare const resources_VideoType: typeof VideoType;
|
|
2580
|
+
type resources_Volume = Volume;
|
|
2581
|
+
declare const resources_Volume: typeof Volume;
|
|
2582
|
+
declare namespace resources {
|
|
2583
|
+
export { resources_Character as Character, resources_Concept as Concept, resources_Episode as Episode, resources_Issue as Issue, resources_Location as Location, resources_Movie as Movie, resources_Origin as Origin, resources_Person as Person, resources_Power as Power, resources_Promo as Promo, resources_Publisher as Publisher, resources_Series as Series, resources_StoryArc as StoryArc, resources_Team as Team, resources_Thing as Thing, resources_Video as Video, resources_VideoCategory as VideoCategory, resources_VideoType as VideoType, resources_Volume as Volume };
|
|
2584
|
+
}
|
|
2585
|
+
|
|
2586
|
+
type ResourceInstance = ReturnType<ResourceFactory['create']> & ResourceInterface;
|
|
2587
|
+
type ResourcePropertyMap = {
|
|
2588
|
+
[K in keyof typeof resources as Uncapitalize<K>]: InstanceType<(typeof resources)[K]>;
|
|
2589
|
+
};
|
|
2590
|
+
/**
|
|
2591
|
+
* Consolidated options interface for ComicVine client
|
|
2592
|
+
*/
|
|
2593
|
+
interface ComicVineOptions {
|
|
2594
|
+
/** Comic Vine API key */
|
|
2595
|
+
apiKey: string;
|
|
2596
|
+
/** Base URL for the Comic Vine API */
|
|
2597
|
+
baseUrl?: string;
|
|
2598
|
+
/** Store implementations for caching, deduplication, and rate limiting */
|
|
2599
|
+
stores?: {
|
|
2600
|
+
cache?: CacheStore;
|
|
2601
|
+
dedupe?: DedupeStore;
|
|
2602
|
+
rateLimit?: RateLimitStore;
|
|
2603
|
+
};
|
|
2604
|
+
/** HTTP client configuration */
|
|
2605
|
+
client?: {
|
|
2606
|
+
/** Default cache TTL in seconds */
|
|
2607
|
+
defaultCacheTTL?: number;
|
|
2608
|
+
/** Whether to throw errors on rate limit violations */
|
|
2609
|
+
throwOnRateLimit?: boolean;
|
|
2610
|
+
/** Maximum time to wait for rate limit in milliseconds */
|
|
2611
|
+
maxWaitTime?: number;
|
|
2612
|
+
};
|
|
2613
|
+
}
|
|
2614
|
+
declare class ComicVine implements ResourcePropertyMap {
|
|
2615
|
+
private resourceFactory;
|
|
2616
|
+
private resourceCache;
|
|
2617
|
+
private resourceNames;
|
|
2618
|
+
private stores;
|
|
2619
|
+
readonly character: ResourcePropertyMap['character'];
|
|
2620
|
+
readonly concept: ResourcePropertyMap['concept'];
|
|
2621
|
+
readonly episode: ResourcePropertyMap['episode'];
|
|
2622
|
+
readonly issue: ResourcePropertyMap['issue'];
|
|
2623
|
+
readonly location: ResourcePropertyMap['location'];
|
|
2624
|
+
readonly movie: ResourcePropertyMap['movie'];
|
|
2625
|
+
readonly origin: ResourcePropertyMap['origin'];
|
|
2626
|
+
readonly person: ResourcePropertyMap['person'];
|
|
2627
|
+
readonly power: ResourcePropertyMap['power'];
|
|
2628
|
+
readonly promo: ResourcePropertyMap['promo'];
|
|
2629
|
+
readonly publisher: ResourcePropertyMap['publisher'];
|
|
2630
|
+
readonly series: ResourcePropertyMap['series'];
|
|
2631
|
+
readonly storyArc: ResourcePropertyMap['storyArc'];
|
|
2632
|
+
readonly team: ResourcePropertyMap['team'];
|
|
2633
|
+
readonly thing: ResourcePropertyMap['thing'];
|
|
2634
|
+
readonly video: ResourcePropertyMap['video'];
|
|
2635
|
+
readonly videoCategory: ResourcePropertyMap['videoCategory'];
|
|
2636
|
+
readonly videoType: ResourcePropertyMap['videoType'];
|
|
2637
|
+
readonly volume: ResourcePropertyMap['volume'];
|
|
2638
|
+
/**
|
|
2639
|
+
* Create a new ComicVine client
|
|
2640
|
+
* @param options - Configuration options for the client
|
|
2641
|
+
*/
|
|
2642
|
+
constructor(options: ComicVineOptions);
|
|
2643
|
+
private isResourceProperty;
|
|
2644
|
+
private getResource;
|
|
2645
|
+
getAvailableResources(): Array<string>;
|
|
2646
|
+
hasResource(resourceName: string): boolean;
|
|
2647
|
+
getResourceByName(resourceName: string): ResourceInstance | undefined;
|
|
2648
|
+
isResourceLoaded(resourceName: string): boolean;
|
|
2649
|
+
getCacheStats(): {
|
|
2650
|
+
total: number;
|
|
2651
|
+
loaded: number;
|
|
2652
|
+
loadedResources: Array<string>;
|
|
2653
|
+
};
|
|
2654
|
+
clearCache(): Promise<void>;
|
|
2655
|
+
getRateLimitStatus(resourceName: string): Promise<{
|
|
2656
|
+
remaining: number;
|
|
2657
|
+
resetTime: Date;
|
|
2658
|
+
limit: number;
|
|
2659
|
+
} | null>;
|
|
2660
|
+
resetRateLimit(resourceName: string): Promise<void>;
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
interface ErrorDetails {
|
|
2664
|
+
message: string;
|
|
2665
|
+
help: string;
|
|
2666
|
+
}
|
|
2667
|
+
declare abstract class BaseError extends HttpClientError {
|
|
2668
|
+
help: string;
|
|
2669
|
+
constructor(details: ErrorDetails);
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
declare class GenericError extends BaseError {
|
|
2673
|
+
constructor(message?: string);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
declare const customError: (error: unknown) => GenericError;
|
|
2677
|
+
|
|
2678
|
+
declare class ComicVineFilterError extends BaseError {
|
|
2679
|
+
constructor();
|
|
2680
|
+
}
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* @deprecated will be removed in the next major version, use ComicVineGenericRequestError instead!
|
|
2684
|
+
*/
|
|
2685
|
+
declare class ComicVineGenericError extends BaseError {
|
|
2686
|
+
constructor(message?: string);
|
|
2687
|
+
}
|
|
2688
|
+
declare class ComicVineGenericRequestError extends ComicVineGenericError {
|
|
2689
|
+
constructor(message?: string);
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
declare class ComicJsonpCallbackMissingError extends BaseError {
|
|
2693
|
+
constructor();
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
declare class ComicVineObjectNotFoundError extends BaseError {
|
|
2697
|
+
constructor();
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
declare class OptionsValidationError extends BaseError {
|
|
2701
|
+
constructor(path: Array<string | number>, message: string);
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
declare class ComicVineSubscriberOnlyError extends BaseError {
|
|
2705
|
+
constructor();
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
declare class ComicVineUnauthorizedError extends BaseError {
|
|
2709
|
+
constructor();
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
declare class ComicVineUrlFormatError extends BaseError {
|
|
2713
|
+
constructor();
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
export { type BaseOptions, ComicJsonpCallbackMissingError, ComicVine, ComicVineFilterError, ComicVineGenericError, ComicVineGenericRequestError, ComicVineObjectNotFoundError, type ComicVineOptions, ComicVineSubscriberOnlyError, ComicVineUnauthorizedError, ComicVineUrlFormatError, GenericError, type IsoDate, type ListOptions, OptionsValidationError, type PickFilters, type PriorityOptions, type Response, type RetrieveOptions, type Sort, StatusCode, type UrlBuilder, type ValueOf, customError, ComicVine as default };
|