comic-vine-sdk 1.0.3 → 1.0.4

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.
Files changed (57) hide show
  1. package/dist/cjs/resources/character/types/character-details.d.ts +1 -1
  2. package/dist/cjs/resources/common-types.d.ts +6 -0
  3. package/dist/cjs/resources/episode/types/episode-details.d.ts +10 -10
  4. package/dist/cjs/resources/episode/types/episode-list-item.d.ts +2 -6
  5. package/dist/cjs/resources/episode/types/episode-list-item.js +0 -6
  6. package/dist/cjs/resources/episode/types/episode-list-item.js.map +1 -1
  7. package/dist/cjs/resources/issue/types/issue-details.d.ts +18 -18
  8. package/dist/cjs/resources/issue/types/issue-list-item.d.ts +5 -14
  9. package/dist/cjs/resources/issue/types/issue-list-item.js +0 -5
  10. package/dist/cjs/resources/issue/types/issue-list-item.js.map +1 -1
  11. package/dist/cjs/resources/location/types/location-details.d.ts +1 -1
  12. package/dist/cjs/resources/movie/types/movie-details.d.ts +1 -1
  13. package/dist/cjs/resources/movie/types/movie-list-item.d.ts +1 -1
  14. package/dist/cjs/resources/origin/types/origin-details.d.ts +2 -2
  15. package/dist/cjs/resources/person/types/person-details.d.ts +4 -4
  16. package/dist/cjs/resources/person/types/person-list-item.d.ts +1 -1
  17. package/dist/cjs/resources/power/types/power-details.d.ts +1 -1
  18. package/dist/cjs/resources/power/types/power-list-item.d.ts +1 -1
  19. package/dist/cjs/resources/publisher/types/publisher-details.d.ts +2 -2
  20. package/dist/cjs/resources/series/types/series-list-item.d.ts +0 -11
  21. package/dist/cjs/resources/series/types/series-list-item.js +0 -13
  22. package/dist/cjs/resources/series/types/series-list-item.js.map +1 -1
  23. package/dist/cjs/resources/story-arc/types/story-arc-details.d.ts +5 -5
  24. package/dist/cjs/resources/thing/types/thing-details.d.ts +1 -1
  25. package/dist/cjs/resources/volume/types/volume-details.d.ts +1 -1
  26. package/dist/cjs/resources/volume/types/volume-list-item.d.ts +0 -4
  27. package/dist/cjs/resources/volume/types/volume-list-item.js +0 -6
  28. package/dist/cjs/resources/volume/types/volume-list-item.js.map +1 -1
  29. package/dist/mjs/resources/character/types/character-details.d.ts +1 -1
  30. package/dist/mjs/resources/common-types.d.ts +6 -0
  31. package/dist/mjs/resources/episode/types/episode-details.d.ts +10 -10
  32. package/dist/mjs/resources/episode/types/episode-list-item.d.ts +2 -6
  33. package/dist/mjs/resources/episode/types/episode-list-item.js +1 -5
  34. package/dist/mjs/resources/episode/types/episode-list-item.js.map +1 -1
  35. package/dist/mjs/resources/issue/types/issue-details.d.ts +18 -18
  36. package/dist/mjs/resources/issue/types/issue-list-item.d.ts +5 -14
  37. package/dist/mjs/resources/issue/types/issue-list-item.js +1 -4
  38. package/dist/mjs/resources/issue/types/issue-list-item.js.map +1 -1
  39. package/dist/mjs/resources/location/types/location-details.d.ts +1 -1
  40. package/dist/mjs/resources/movie/types/movie-details.d.ts +1 -1
  41. package/dist/mjs/resources/movie/types/movie-list-item.d.ts +1 -1
  42. package/dist/mjs/resources/origin/types/origin-details.d.ts +2 -2
  43. package/dist/mjs/resources/person/types/person-details.d.ts +4 -4
  44. package/dist/mjs/resources/person/types/person-list-item.d.ts +1 -1
  45. package/dist/mjs/resources/power/types/power-details.d.ts +1 -1
  46. package/dist/mjs/resources/power/types/power-list-item.d.ts +1 -1
  47. package/dist/mjs/resources/publisher/types/publisher-details.d.ts +2 -2
  48. package/dist/mjs/resources/series/types/series-list-item.d.ts +0 -11
  49. package/dist/mjs/resources/series/types/series-list-item.js +1 -12
  50. package/dist/mjs/resources/series/types/series-list-item.js.map +1 -1
  51. package/dist/mjs/resources/story-arc/types/story-arc-details.d.ts +5 -5
  52. package/dist/mjs/resources/thing/types/thing-details.d.ts +1 -1
  53. package/dist/mjs/resources/volume/types/volume-details.d.ts +1 -1
  54. package/dist/mjs/resources/volume/types/volume-list-item.d.ts +0 -4
  55. package/dist/mjs/resources/volume/types/volume-list-item.js +1 -5
  56. package/dist/mjs/resources/volume/types/volume-list-item.js.map +1 -1
  57. package/package.json +1 -1
@@ -16,7 +16,7 @@ export interface CharacterDetails {
16
16
  id: number;
17
17
  image: Image;
18
18
  issueCredits: Array<SiteResource>;
19
- issuesDiedIn: any[];
19
+ issuesDiedIn: Array<SiteResource>;
20
20
  movies: Array<SiteResource>;
21
21
  name: string;
22
22
  origin: ApiResource;
@@ -29,6 +29,12 @@ export interface Death {
29
29
  timezoneType: number;
30
30
  timezone: string;
31
31
  }
32
+ export interface AssociatedImage {
33
+ caption: null;
34
+ id: number;
35
+ imageTags: string;
36
+ originalUrl: string;
37
+ }
32
38
  export interface Image {
33
39
  iconUrl: string;
34
40
  mediumUrl: string;
@@ -1,23 +1,23 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface EpisodeDetails {
3
3
  airDate: Date | null;
4
- aliases: null;
4
+ aliases: null | string;
5
5
  apiDetailUrl: string;
6
6
  characterCredits: Array<SiteResource>;
7
- characterDiedIn: any[];
7
+ characterDiedIn: Array<unknown>;
8
8
  conceptCredits: Array<SiteResource>;
9
9
  dateAdded: Date;
10
10
  dateLastUpdated: Date;
11
11
  deck: null | string;
12
12
  description: null | string;
13
13
  episodeNumber: string;
14
- firstAppearanceCharacters: null;
15
- firstAppearanceConcepts: null;
16
- firstAppearanceLocations: null;
17
- firstAppearanceObjects: null;
18
- firstAppearanceStoryarcs: null;
19
- firstAppearanceTeams: null;
20
- hasStaffReview: SiteResource;
14
+ firstAppearanceCharacters: null | unknown;
15
+ firstAppearanceConcepts: null | unknown;
16
+ firstAppearanceLocations: null | unknown;
17
+ firstAppearanceObjects: null | unknown;
18
+ firstAppearanceStoryarcs: null | unknown;
19
+ firstAppearanceTeams: null | unknown;
20
+ hasStaffReview: null | false | SiteResource;
21
21
  id: number;
22
22
  image: Image;
23
23
  locationCredits: Array<SiteResource>;
@@ -25,6 +25,6 @@ export interface EpisodeDetails {
25
25
  objectCredits: Array<SiteResource>;
26
26
  series: SiteResource;
27
27
  siteDetailUrl: string;
28
- storyArcCredits: any[];
28
+ storyArcCredits: Array<SiteResource>;
29
29
  teamCredits: Array<SiteResource>;
30
30
  }
@@ -1,21 +1,17 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface EpisodeListItem {
3
3
  airDate: Date | null;
4
- aliases: null;
4
+ aliases: null | string;
5
5
  apiDetailUrl: string;
6
6
  dateAdded: Date;
7
7
  dateLastUpdated: Date;
8
8
  deck: null | string;
9
9
  description: null | string;
10
10
  episodeNumber: string;
11
- hasStaffReview: SiteResource;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  name: string;
15
15
  series: SiteResource;
16
16
  siteDetailUrl: string;
17
17
  }
18
- export declare enum ImageTags {
19
- AllImages = "All Images",
20
- AllImagesXFiles = "All Images,X Files"
21
- }
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageTags = void 0;
4
- var ImageTags;
5
- (function (ImageTags) {
6
- ImageTags["AllImages"] = "All Images";
7
- ImageTags["AllImagesXFiles"] = "All Images,X Files";
8
- })(ImageTags = exports.ImageTags || (exports.ImageTags = {}));
9
3
  //# sourceMappingURL=episode-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"episode-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-list-item.ts"],"names":[],"mappings":";;;AAuDA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,mDAAsC,CAAA;AACxC,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"episode-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-list-item.ts"],"names":[],"mappings":""}
@@ -1,34 +1,34 @@
1
- import { SiteResource, PersonCreditSiteResource, Image } from '../../common-types';
1
+ import { SiteResource, PersonCreditSiteResource, AssociatedImage, Image } from '../../common-types';
2
2
  export interface IssueDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
- associatedImages: any[];
5
+ associatedImages: Array<AssociatedImage>;
6
6
  characterCredits: Array<SiteResource>;
7
- characterDiedIn: any[];
7
+ characterDiedIn: Array<SiteResource>;
8
8
  conceptCredits: Array<SiteResource>;
9
9
  coverDate: Date;
10
10
  dateAdded: Date;
11
11
  dateLastUpdated: Date;
12
- deck: null;
13
- description: null;
14
- firstAppearanceCharacters: null;
15
- firstAppearanceConcepts: null;
16
- firstAppearanceLocations: null;
17
- firstAppearanceObjects: null;
18
- firstAppearanceStoryarcs: null;
19
- firstAppearanceTeams: null;
20
- hasStaffReview: boolean;
12
+ deck: null | string;
13
+ description: null | string;
14
+ firstAppearanceCharacters: null | unknown;
15
+ firstAppearanceConcepts: null | unknown;
16
+ firstAppearanceLocations: null | unknown;
17
+ firstAppearanceObjects: null | unknown;
18
+ firstAppearanceStoryarcs: null | unknown;
19
+ firstAppearanceTeams: null | unknown;
20
+ hasStaffReview: null | false | SiteResource;
21
21
  id: number;
22
22
  image: Image;
23
23
  issueNumber: string;
24
- locationCredits: any[];
24
+ locationCredits: Array<SiteResource>;
25
25
  name: null | string;
26
- objectCredits: any[];
26
+ objectCredits: Array<SiteResource>;
27
27
  personCredits: Array<PersonCreditSiteResource>;
28
28
  siteDetailUrl: string;
29
- storeDate: null;
30
- storyArcCredits: any[];
29
+ storeDate: Date | null;
30
+ storyArcCredits: Array<SiteResource>;
31
31
  teamCredits: Array<SiteResource>;
32
- teamDisbandedIn: any[];
32
+ teamDisbandedIn: Array<SiteResource>;
33
33
  volume: SiteResource;
34
34
  }
@@ -1,14 +1,14 @@
1
- import { SiteResource, Image } from '../../common-types';
1
+ import { AssociatedImage, SiteResource, Image } from '../../common-types';
2
2
  export interface IssueListItem {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
- associatedImages: AssociatedImage[];
5
+ associatedImages: Array<AssociatedImage>;
6
6
  coverDate: Date;
7
7
  dateAdded: Date;
8
8
  dateLastUpdated: Date;
9
- deck: null;
9
+ deck: null | unknown;
10
10
  description: null | string;
11
- hasStaffReview: boolean;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  issueNumber: string;
@@ -17,12 +17,3 @@ export interface IssueListItem {
17
17
  storeDate: Date | null;
18
18
  volume: SiteResource;
19
19
  }
20
- export interface AssociatedImage {
21
- caption: null;
22
- id: number;
23
- imageTags: ImageTags;
24
- originalUrl: string;
25
- }
26
- export declare enum ImageTags {
27
- AllImages = "All Images"
28
- }
@@ -1,8 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageTags = void 0;
4
- var ImageTags;
5
- (function (ImageTags) {
6
- ImageTags["AllImages"] = "All Images";
7
- })(ImageTags = exports.ImageTags || (exports.ImageTags = {}));
8
3
  //# sourceMappingURL=issue-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/issue/types/issue-list-item.ts"],"names":[],"mappings":";;;AAsEA,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,qCAAwB,CAAA;AAC1B,CAAC,EAFW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAEpB"}
1
+ {"version":3,"file":"issue-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/issue/types/issue-list-item.ts"],"names":[],"mappings":""}
@@ -15,6 +15,6 @@ export interface LocationDetails {
15
15
  name: string;
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
- storyArcCredits: any[];
18
+ storyArcCredits: Array<unknown>;
19
19
  volumeCredits: Array<SiteResource>;
20
20
  }
@@ -10,7 +10,7 @@ export interface MovieDetails {
10
10
  deck: string;
11
11
  description: null | string;
12
12
  distributor: null;
13
- hasStaffReview: null;
13
+ hasStaffReview: null | false | SiteResource;
14
14
  id: number;
15
15
  image: Image;
16
16
  locations: Array<SiteResource>;
@@ -8,7 +8,7 @@ export interface MovieListItem {
8
8
  deck: null | string;
9
9
  description: null | string;
10
10
  distributor: null;
11
- hasStaffReview: null;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  name: string;
@@ -2,9 +2,9 @@ import { ApiResource } from '../../common-types';
2
2
  export interface OriginDetails {
3
3
  apiDetailUrl: string;
4
4
  characters: Array<ApiResource>;
5
- characterSet: null;
5
+ characterSet: null | unknown;
6
6
  id: number;
7
7
  name: string;
8
- profiles: any[];
8
+ profiles: Array<unknown>;
9
9
  siteDetailUrl: string;
10
10
  }
@@ -3,17 +3,17 @@ export interface PersonDetails {
3
3
  aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  birth: Date | null;
6
- countOfIsssueAppearances: null;
6
+ countOfIsssueAppearances: null | unknown;
7
7
  country: null | string;
8
8
  createdCharacters: Array<SiteResource>;
9
9
  dateAdded: Date;
10
10
  dateLastUpdated: Date;
11
- death: null;
11
+ death: null | unknown;
12
12
  deck: null | string;
13
13
  description: null | string;
14
- email: null;
14
+ email: null | unknown;
15
15
  gender: number;
16
- hometown: null;
16
+ hometown: null | unknown;
17
17
  id: number;
18
18
  image: Image;
19
19
  issues: Array<SiteResource>;
@@ -3,7 +3,7 @@ export interface PersonListItem {
3
3
  aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  birth: Date | null;
6
- countOfIsssueAppearances: null;
6
+ countOfIsssueAppearances: null | unknown;
7
7
  country: null | string;
8
8
  dateAdded: Date;
9
9
  dateLastUpdated: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResource } from '../../common-types';
2
2
  export interface PowerDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResource>;
6
6
  dateAdded: Date;
@@ -1,5 +1,5 @@
1
1
  export interface PowerListItem {
2
- aliases: null;
2
+ aliases: null | string;
3
3
  apiDetailUrl: string;
4
4
  dateAdded: Date;
5
5
  dateLastUpdated: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface PublisherDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResource>;
6
6
  dateAdded: Date;
@@ -14,7 +14,7 @@ export interface PublisherDetails {
14
14
  locationState: null | string;
15
15
  name: string;
16
16
  siteDetailUrl: string;
17
- storyArcs: any[];
17
+ storyArcs: Array<SiteResource>;
18
18
  teams: Array<SiteResource>;
19
19
  volumes: Array<SiteResource>;
20
20
  }
@@ -16,14 +16,3 @@ export interface SeriesListItem {
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
18
  }
19
- export declare enum ImageTags {
20
- AllImages = "All Images",
21
- AllImagesDVDCoverSeason1 = "All Images,DVD Cover,Season 1",
22
- AllImagesOfficialSeriesArt = "All Images,Official Series Art",
23
- AllImagesOthers = "All Images,Others",
24
- AllImagesSilverSurferAnimated1998 = "All Images,Silver Surfer Animated (1998)",
25
- AllImagesStarWars = "All Images,Star Wars",
26
- AllImagesTheFamily = "All Images,The Family",
27
- AllImagesWiki = "All Images,Wiki",
28
- AllImagesWikiXMenEvolutionTitleCards = "All Images,Wiki - X-Men Evolution Title Cards"
29
- }
@@ -1,16 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageTags = void 0;
4
- var ImageTags;
5
- (function (ImageTags) {
6
- ImageTags["AllImages"] = "All Images";
7
- ImageTags["AllImagesDVDCoverSeason1"] = "All Images,DVD Cover,Season 1";
8
- ImageTags["AllImagesOfficialSeriesArt"] = "All Images,Official Series Art";
9
- ImageTags["AllImagesOthers"] = "All Images,Others";
10
- ImageTags["AllImagesSilverSurferAnimated1998"] = "All Images,Silver Surfer Animated (1998)";
11
- ImageTags["AllImagesStarWars"] = "All Images,Star Wars";
12
- ImageTags["AllImagesTheFamily"] = "All Images,The Family";
13
- ImageTags["AllImagesWiki"] = "All Images,Wiki";
14
- ImageTags["AllImagesWikiXMenEvolutionTitleCards"] = "All Images,Wiki - X-Men Evolution Title Cards";
15
- })(ImageTags = exports.ImageTags || (exports.ImageTags = {}));
16
3
  //# sourceMappingURL=series-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"series-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/series/types/series-list-item.ts"],"names":[],"mappings":";;;AAoBA,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,uEAA0D,CAAA;IAC1D,0EAA6D,CAAA;IAC7D,kDAAqC,CAAA;IACrC,2FAA8E,CAAA;IAC9E,uDAA0C,CAAA;IAC1C,yDAA4C,CAAA;IAC5C,8CAAiC,CAAA;IACjC,mGAAsF,CAAA;AACxF,CAAC,EAVW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAUpB"}
1
+ {"version":3,"file":"series-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/series/types/series-list-item.ts"],"names":[],"mappings":""}
@@ -1,19 +1,19 @@
1
- import { IssueApiResource, SiteResource, Image } from '../../common-types';
1
+ import { SiteResource, EpisodeApiResource, IssueApiResource, Image } from '../../common-types';
2
2
  export interface StoryArcDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  countOfIsssueAppearances: number;
6
6
  dateAdded: Date;
7
7
  dateLastUpdated: Date;
8
8
  deck: string;
9
9
  description: string;
10
- episodes: any[];
11
- firstAppearedInEpisode: null;
10
+ episodes: Array<SiteResource>;
11
+ firstAppearedInEpisode: EpisodeApiResource;
12
12
  firstAppearedInIssue: IssueApiResource;
13
13
  id: number;
14
14
  image: Image;
15
15
  issues: Array<SiteResource>;
16
- movies: any[];
16
+ movies?: Array<unknown>;
17
17
  name: string;
18
18
  publisher: SiteResource;
19
19
  siteDetailUrl: string;
@@ -1,6 +1,6 @@
1
1
  import { IssueApiResource, SiteResource, Image } from '../../common-types';
2
2
  export interface ThingDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  countOfIssueAppearances: number;
6
6
  dateAdded: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResourceWithCount, IssueApiResource, IssueSiteResource, ApiResource, Image } from '../../common-types';
2
2
  export interface VolumeDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResourceWithCount>;
6
6
  concepts: Array<SiteResourceWithCount>;
@@ -16,7 +16,3 @@ export interface VolumeListItem {
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
18
  }
19
- export declare enum ImageTags {
20
- AllImages = "All Images",
21
- AllImagesComicBookCovers = "All Images,Comic book covers"
22
- }
@@ -1,9 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageTags = void 0;
4
- var ImageTags;
5
- (function (ImageTags) {
6
- ImageTags["AllImages"] = "All Images";
7
- ImageTags["AllImagesComicBookCovers"] = "All Images,Comic book covers";
8
- })(ImageTags = exports.ImageTags || (exports.ImageTags = {}));
9
3
  //# sourceMappingURL=volume-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"volume-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/volume/types/volume-list-item.ts"],"names":[],"mappings":";;;AAiEA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,sEAAyD,CAAA;AAC3D,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"volume-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/volume/types/volume-list-item.ts"],"names":[],"mappings":""}
@@ -16,7 +16,7 @@ export interface CharacterDetails {
16
16
  id: number;
17
17
  image: Image;
18
18
  issueCredits: Array<SiteResource>;
19
- issuesDiedIn: any[];
19
+ issuesDiedIn: Array<SiteResource>;
20
20
  movies: Array<SiteResource>;
21
21
  name: string;
22
22
  origin: ApiResource;
@@ -29,6 +29,12 @@ export interface Death {
29
29
  timezoneType: number;
30
30
  timezone: string;
31
31
  }
32
+ export interface AssociatedImage {
33
+ caption: null;
34
+ id: number;
35
+ imageTags: string;
36
+ originalUrl: string;
37
+ }
32
38
  export interface Image {
33
39
  iconUrl: string;
34
40
  mediumUrl: string;
@@ -1,23 +1,23 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface EpisodeDetails {
3
3
  airDate: Date | null;
4
- aliases: null;
4
+ aliases: null | string;
5
5
  apiDetailUrl: string;
6
6
  characterCredits: Array<SiteResource>;
7
- characterDiedIn: any[];
7
+ characterDiedIn: Array<unknown>;
8
8
  conceptCredits: Array<SiteResource>;
9
9
  dateAdded: Date;
10
10
  dateLastUpdated: Date;
11
11
  deck: null | string;
12
12
  description: null | string;
13
13
  episodeNumber: string;
14
- firstAppearanceCharacters: null;
15
- firstAppearanceConcepts: null;
16
- firstAppearanceLocations: null;
17
- firstAppearanceObjects: null;
18
- firstAppearanceStoryarcs: null;
19
- firstAppearanceTeams: null;
20
- hasStaffReview: SiteResource;
14
+ firstAppearanceCharacters: null | unknown;
15
+ firstAppearanceConcepts: null | unknown;
16
+ firstAppearanceLocations: null | unknown;
17
+ firstAppearanceObjects: null | unknown;
18
+ firstAppearanceStoryarcs: null | unknown;
19
+ firstAppearanceTeams: null | unknown;
20
+ hasStaffReview: null | false | SiteResource;
21
21
  id: number;
22
22
  image: Image;
23
23
  locationCredits: Array<SiteResource>;
@@ -25,6 +25,6 @@ export interface EpisodeDetails {
25
25
  objectCredits: Array<SiteResource>;
26
26
  series: SiteResource;
27
27
  siteDetailUrl: string;
28
- storyArcCredits: any[];
28
+ storyArcCredits: Array<SiteResource>;
29
29
  teamCredits: Array<SiteResource>;
30
30
  }
@@ -1,21 +1,17 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface EpisodeListItem {
3
3
  airDate: Date | null;
4
- aliases: null;
4
+ aliases: null | string;
5
5
  apiDetailUrl: string;
6
6
  dateAdded: Date;
7
7
  dateLastUpdated: Date;
8
8
  deck: null | string;
9
9
  description: null | string;
10
10
  episodeNumber: string;
11
- hasStaffReview: SiteResource;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  name: string;
15
15
  series: SiteResource;
16
16
  siteDetailUrl: string;
17
17
  }
18
- export declare enum ImageTags {
19
- AllImages = "All Images",
20
- AllImagesXFiles = "All Images,X Files"
21
- }
@@ -1,6 +1,2 @@
1
- export var ImageTags;
2
- (function (ImageTags) {
3
- ImageTags["AllImages"] = "All Images";
4
- ImageTags["AllImagesXFiles"] = "All Images,X Files";
5
- })(ImageTags || (ImageTags = {}));
1
+ export {};
6
2
  //# sourceMappingURL=episode-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"episode-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-list-item.ts"],"names":[],"mappings":"AAuDA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,mDAAsC,CAAA;AACxC,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"episode-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/episode/types/episode-list-item.ts"],"names":[],"mappings":""}
@@ -1,34 +1,34 @@
1
- import { SiteResource, PersonCreditSiteResource, Image } from '../../common-types';
1
+ import { SiteResource, PersonCreditSiteResource, AssociatedImage, Image } from '../../common-types';
2
2
  export interface IssueDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
- associatedImages: any[];
5
+ associatedImages: Array<AssociatedImage>;
6
6
  characterCredits: Array<SiteResource>;
7
- characterDiedIn: any[];
7
+ characterDiedIn: Array<SiteResource>;
8
8
  conceptCredits: Array<SiteResource>;
9
9
  coverDate: Date;
10
10
  dateAdded: Date;
11
11
  dateLastUpdated: Date;
12
- deck: null;
13
- description: null;
14
- firstAppearanceCharacters: null;
15
- firstAppearanceConcepts: null;
16
- firstAppearanceLocations: null;
17
- firstAppearanceObjects: null;
18
- firstAppearanceStoryarcs: null;
19
- firstAppearanceTeams: null;
20
- hasStaffReview: boolean;
12
+ deck: null | string;
13
+ description: null | string;
14
+ firstAppearanceCharacters: null | unknown;
15
+ firstAppearanceConcepts: null | unknown;
16
+ firstAppearanceLocations: null | unknown;
17
+ firstAppearanceObjects: null | unknown;
18
+ firstAppearanceStoryarcs: null | unknown;
19
+ firstAppearanceTeams: null | unknown;
20
+ hasStaffReview: null | false | SiteResource;
21
21
  id: number;
22
22
  image: Image;
23
23
  issueNumber: string;
24
- locationCredits: any[];
24
+ locationCredits: Array<SiteResource>;
25
25
  name: null | string;
26
- objectCredits: any[];
26
+ objectCredits: Array<SiteResource>;
27
27
  personCredits: Array<PersonCreditSiteResource>;
28
28
  siteDetailUrl: string;
29
- storeDate: null;
30
- storyArcCredits: any[];
29
+ storeDate: Date | null;
30
+ storyArcCredits: Array<SiteResource>;
31
31
  teamCredits: Array<SiteResource>;
32
- teamDisbandedIn: any[];
32
+ teamDisbandedIn: Array<SiteResource>;
33
33
  volume: SiteResource;
34
34
  }
@@ -1,14 +1,14 @@
1
- import { SiteResource, Image } from '../../common-types';
1
+ import { AssociatedImage, SiteResource, Image } from '../../common-types';
2
2
  export interface IssueListItem {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
- associatedImages: AssociatedImage[];
5
+ associatedImages: Array<AssociatedImage>;
6
6
  coverDate: Date;
7
7
  dateAdded: Date;
8
8
  dateLastUpdated: Date;
9
- deck: null;
9
+ deck: null | unknown;
10
10
  description: null | string;
11
- hasStaffReview: boolean;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  issueNumber: string;
@@ -17,12 +17,3 @@ export interface IssueListItem {
17
17
  storeDate: Date | null;
18
18
  volume: SiteResource;
19
19
  }
20
- export interface AssociatedImage {
21
- caption: null;
22
- id: number;
23
- imageTags: ImageTags;
24
- originalUrl: string;
25
- }
26
- export declare enum ImageTags {
27
- AllImages = "All Images"
28
- }
@@ -1,5 +1,2 @@
1
- export var ImageTags;
2
- (function (ImageTags) {
3
- ImageTags["AllImages"] = "All Images";
4
- })(ImageTags || (ImageTags = {}));
1
+ export {};
5
2
  //# sourceMappingURL=issue-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/issue/types/issue-list-item.ts"],"names":[],"mappings":"AAsEA,MAAM,CAAN,IAAY,SAEX;AAFD,WAAY,SAAS;IACnB,qCAAwB,CAAA;AAC1B,CAAC,EAFW,SAAS,KAAT,SAAS,QAEpB"}
1
+ {"version":3,"file":"issue-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/issue/types/issue-list-item.ts"],"names":[],"mappings":""}
@@ -15,6 +15,6 @@ export interface LocationDetails {
15
15
  name: string;
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
- storyArcCredits: any[];
18
+ storyArcCredits: Array<unknown>;
19
19
  volumeCredits: Array<SiteResource>;
20
20
  }
@@ -10,7 +10,7 @@ export interface MovieDetails {
10
10
  deck: string;
11
11
  description: null | string;
12
12
  distributor: null;
13
- hasStaffReview: null;
13
+ hasStaffReview: null | false | SiteResource;
14
14
  id: number;
15
15
  image: Image;
16
16
  locations: Array<SiteResource>;
@@ -8,7 +8,7 @@ export interface MovieListItem {
8
8
  deck: null | string;
9
9
  description: null | string;
10
10
  distributor: null;
11
- hasStaffReview: null;
11
+ hasStaffReview: null | false | SiteResource;
12
12
  id: number;
13
13
  image: Image;
14
14
  name: string;
@@ -2,9 +2,9 @@ import { ApiResource } from '../../common-types';
2
2
  export interface OriginDetails {
3
3
  apiDetailUrl: string;
4
4
  characters: Array<ApiResource>;
5
- characterSet: null;
5
+ characterSet: null | unknown;
6
6
  id: number;
7
7
  name: string;
8
- profiles: any[];
8
+ profiles: Array<unknown>;
9
9
  siteDetailUrl: string;
10
10
  }
@@ -3,17 +3,17 @@ export interface PersonDetails {
3
3
  aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  birth: Date | null;
6
- countOfIsssueAppearances: null;
6
+ countOfIsssueAppearances: null | unknown;
7
7
  country: null | string;
8
8
  createdCharacters: Array<SiteResource>;
9
9
  dateAdded: Date;
10
10
  dateLastUpdated: Date;
11
- death: null;
11
+ death: null | unknown;
12
12
  deck: null | string;
13
13
  description: null | string;
14
- email: null;
14
+ email: null | unknown;
15
15
  gender: number;
16
- hometown: null;
16
+ hometown: null | unknown;
17
17
  id: number;
18
18
  image: Image;
19
19
  issues: Array<SiteResource>;
@@ -3,7 +3,7 @@ export interface PersonListItem {
3
3
  aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  birth: Date | null;
6
- countOfIsssueAppearances: null;
6
+ countOfIsssueAppearances: null | unknown;
7
7
  country: null | string;
8
8
  dateAdded: Date;
9
9
  dateLastUpdated: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResource } from '../../common-types';
2
2
  export interface PowerDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResource>;
6
6
  dateAdded: Date;
@@ -1,5 +1,5 @@
1
1
  export interface PowerListItem {
2
- aliases: null;
2
+ aliases: null | string;
3
3
  apiDetailUrl: string;
4
4
  dateAdded: Date;
5
5
  dateLastUpdated: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResource, Image } from '../../common-types';
2
2
  export interface PublisherDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResource>;
6
6
  dateAdded: Date;
@@ -14,7 +14,7 @@ export interface PublisherDetails {
14
14
  locationState: null | string;
15
15
  name: string;
16
16
  siteDetailUrl: string;
17
- storyArcs: any[];
17
+ storyArcs: Array<SiteResource>;
18
18
  teams: Array<SiteResource>;
19
19
  volumes: Array<SiteResource>;
20
20
  }
@@ -16,14 +16,3 @@ export interface SeriesListItem {
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
18
  }
19
- export declare enum ImageTags {
20
- AllImages = "All Images",
21
- AllImagesDVDCoverSeason1 = "All Images,DVD Cover,Season 1",
22
- AllImagesOfficialSeriesArt = "All Images,Official Series Art",
23
- AllImagesOthers = "All Images,Others",
24
- AllImagesSilverSurferAnimated1998 = "All Images,Silver Surfer Animated (1998)",
25
- AllImagesStarWars = "All Images,Star Wars",
26
- AllImagesTheFamily = "All Images,The Family",
27
- AllImagesWiki = "All Images,Wiki",
28
- AllImagesWikiXMenEvolutionTitleCards = "All Images,Wiki - X-Men Evolution Title Cards"
29
- }
@@ -1,13 +1,2 @@
1
- export var ImageTags;
2
- (function (ImageTags) {
3
- ImageTags["AllImages"] = "All Images";
4
- ImageTags["AllImagesDVDCoverSeason1"] = "All Images,DVD Cover,Season 1";
5
- ImageTags["AllImagesOfficialSeriesArt"] = "All Images,Official Series Art";
6
- ImageTags["AllImagesOthers"] = "All Images,Others";
7
- ImageTags["AllImagesSilverSurferAnimated1998"] = "All Images,Silver Surfer Animated (1998)";
8
- ImageTags["AllImagesStarWars"] = "All Images,Star Wars";
9
- ImageTags["AllImagesTheFamily"] = "All Images,The Family";
10
- ImageTags["AllImagesWiki"] = "All Images,Wiki";
11
- ImageTags["AllImagesWikiXMenEvolutionTitleCards"] = "All Images,Wiki - X-Men Evolution Title Cards";
12
- })(ImageTags || (ImageTags = {}));
1
+ export {};
13
2
  //# sourceMappingURL=series-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"series-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/series/types/series-list-item.ts"],"names":[],"mappings":"AAoBA,MAAM,CAAN,IAAY,SAUX;AAVD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,uEAA0D,CAAA;IAC1D,0EAA6D,CAAA;IAC7D,kDAAqC,CAAA;IACrC,2FAA8E,CAAA;IAC9E,uDAA0C,CAAA;IAC1C,yDAA4C,CAAA;IAC5C,8CAAiC,CAAA;IACjC,mGAAsF,CAAA;AACxF,CAAC,EAVW,SAAS,KAAT,SAAS,QAUpB"}
1
+ {"version":3,"file":"series-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/series/types/series-list-item.ts"],"names":[],"mappings":""}
@@ -1,19 +1,19 @@
1
- import { IssueApiResource, SiteResource, Image } from '../../common-types';
1
+ import { SiteResource, EpisodeApiResource, IssueApiResource, Image } from '../../common-types';
2
2
  export interface StoryArcDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  countOfIsssueAppearances: number;
6
6
  dateAdded: Date;
7
7
  dateLastUpdated: Date;
8
8
  deck: string;
9
9
  description: string;
10
- episodes: any[];
11
- firstAppearedInEpisode: null;
10
+ episodes: Array<SiteResource>;
11
+ firstAppearedInEpisode: EpisodeApiResource;
12
12
  firstAppearedInIssue: IssueApiResource;
13
13
  id: number;
14
14
  image: Image;
15
15
  issues: Array<SiteResource>;
16
- movies: any[];
16
+ movies?: Array<unknown>;
17
17
  name: string;
18
18
  publisher: SiteResource;
19
19
  siteDetailUrl: string;
@@ -1,6 +1,6 @@
1
1
  import { IssueApiResource, SiteResource, Image } from '../../common-types';
2
2
  export interface ThingDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  countOfIssueAppearances: number;
6
6
  dateAdded: Date;
@@ -1,6 +1,6 @@
1
1
  import { SiteResourceWithCount, IssueApiResource, IssueSiteResource, ApiResource, Image } from '../../common-types';
2
2
  export interface VolumeDetails {
3
- aliases: null;
3
+ aliases: null | string;
4
4
  apiDetailUrl: string;
5
5
  characters: Array<SiteResourceWithCount>;
6
6
  concepts: Array<SiteResourceWithCount>;
@@ -16,7 +16,3 @@ export interface VolumeListItem {
16
16
  siteDetailUrl: string;
17
17
  startYear: string;
18
18
  }
19
- export declare enum ImageTags {
20
- AllImages = "All Images",
21
- AllImagesComicBookCovers = "All Images,Comic book covers"
22
- }
@@ -1,6 +1,2 @@
1
- export var ImageTags;
2
- (function (ImageTags) {
3
- ImageTags["AllImages"] = "All Images";
4
- ImageTags["AllImagesComicBookCovers"] = "All Images,Comic book covers";
5
- })(ImageTags || (ImageTags = {}));
1
+ export {};
6
2
  //# sourceMappingURL=volume-list-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"volume-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/volume/types/volume-list-item.ts"],"names":[],"mappings":"AAiEA,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,qCAAwB,CAAA;IACxB,sEAAyD,CAAA;AAC3D,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"volume-list-item.js","sourceRoot":"","sources":["../../../../../src/resources/volume/types/volume-list-item.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "comic-vine-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A JS/TS client for the Comic Vine API",
5
5
  "keywords": [
6
6
  "comic",