arkham-investigator-data 2.0.8 → 2.0.10

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.
@@ -3,9 +3,15 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
3
3
  taboo: boolean;
4
4
  canonical: boolean;
5
5
  official: boolean;
6
+ image: {
7
+ id: string;
8
+ width: number;
9
+ height: number;
10
+ face?: import("../../model").InvestigatorImageBox;
11
+ media?: import("../../model").InvestigatorImageMedia[];
12
+ };
6
13
  type: "default";
7
14
  code: string;
8
- image: import("../../model").InvestigatorImage;
9
15
  spoiler: boolean;
10
16
  previewId?: string;
11
17
  variantName?: string;
@@ -28,7 +34,13 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
28
34
  taboo: boolean;
29
35
  canonical: boolean;
30
36
  official: boolean;
31
- image: import("../../model").InvestigatorImage;
37
+ image: {
38
+ id: string;
39
+ width: number;
40
+ height: number;
41
+ face?: import("../../model").InvestigatorImageBox;
42
+ media?: import("../../model").InvestigatorImageMedia[];
43
+ };
32
44
  code: string;
33
45
  type: "parallel";
34
46
  name: string;
@@ -50,7 +62,13 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
50
62
  taboo: boolean;
51
63
  canonical: boolean;
52
64
  official: boolean;
53
- image: import("../../model").InvestigatorImage;
65
+ image: {
66
+ id: string;
67
+ width: number;
68
+ height: number;
69
+ face?: import("../../model").InvestigatorImageBox;
70
+ media?: import("../../model").InvestigatorImageMedia[];
71
+ };
54
72
  code: string;
55
73
  type: "book";
56
74
  name: string;
@@ -72,7 +90,13 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
72
90
  taboo: boolean;
73
91
  canonical: boolean;
74
92
  official: boolean;
75
- image: import("../../model").InvestigatorImage;
93
+ image: {
94
+ id: string;
95
+ width: number;
96
+ height: number;
97
+ face?: import("../../model").InvestigatorImageBox;
98
+ media?: import("../../model").InvestigatorImageMedia[];
99
+ };
76
100
  type: "custom";
77
101
  code: string;
78
102
  name: string;
@@ -94,7 +118,13 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
94
118
  taboo: boolean;
95
119
  canonical: boolean;
96
120
  official: boolean;
97
- image: import("../../model").InvestigatorImage;
121
+ image: {
122
+ id: string;
123
+ width: number;
124
+ height: number;
125
+ face?: import("../../model").InvestigatorImageBox;
126
+ media?: import("../../model").InvestigatorImageMedia[];
127
+ };
98
128
  type: "taboo";
99
129
  code: string;
100
130
  name: string;
@@ -1,8 +1,14 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../../api/arkhamCards";
2
2
  export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
3
+ image: {
4
+ id: string;
5
+ width: number;
6
+ height: number;
7
+ face?: import("../../../model").InvestigatorImageBox;
8
+ media?: import("../../../model").InvestigatorImageMedia[];
9
+ };
3
10
  type: "default";
4
11
  code: string;
5
- image: import("../../../model").InvestigatorImage;
6
12
  spoiler?: boolean;
7
13
  previewId?: string;
8
14
  variantName?: string;
@@ -11,28 +17,52 @@ export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
11
17
  abilities?: import("../../../model").InvestigatorAbility[];
12
18
  roles?: import("../../../model").InvestigatorFaction[];
13
19
  } | {
14
- image: import("../../../model").InvestigatorImage;
20
+ image: {
21
+ id: string;
22
+ width: number;
23
+ height: number;
24
+ face?: import("../../../model").InvestigatorImageBox;
25
+ media?: import("../../../model").InvestigatorImageMedia[];
26
+ };
15
27
  code: string;
16
28
  type: "parallel";
17
29
  name: string;
18
30
  additionalAction?: boolean;
19
31
  abilities?: import("../../../model").InvestigatorAbility[];
20
32
  } | {
21
- image: import("../../../model").InvestigatorImage;
33
+ image: {
34
+ id: string;
35
+ width: number;
36
+ height: number;
37
+ face?: import("../../../model").InvestigatorImageBox;
38
+ media?: import("../../../model").InvestigatorImageMedia[];
39
+ };
22
40
  code: string;
23
41
  type: "book";
24
42
  name: string;
25
43
  additionalAction?: boolean;
26
44
  abilities?: import("../../../model").InvestigatorAbility[];
27
45
  } | {
28
- image: import("../../../model").InvestigatorImage;
46
+ image: {
47
+ id: string;
48
+ width: number;
49
+ height: number;
50
+ face?: import("../../../model").InvestigatorImageBox;
51
+ media?: import("../../../model").InvestigatorImageMedia[];
52
+ };
29
53
  type: "custom";
30
54
  code: string;
31
55
  name: string;
32
56
  additionalAction?: boolean;
33
57
  abilities?: import("../../../model").InvestigatorAbility[];
34
58
  } | {
35
- image: import("../../../model").InvestigatorImage;
59
+ image: {
60
+ id: string;
61
+ width: number;
62
+ height: number;
63
+ face?: import("../../../model").InvestigatorImageBox;
64
+ media?: import("../../../model").InvestigatorImageMedia[];
65
+ };
36
66
  type: "taboo";
37
67
  code: string;
38
68
  name: string;
@@ -1,9 +1,12 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../api/arkhamCards";
2
2
  import type { Investigator, InvestigatorFaction } from "./common";
3
3
  import type { InvestigatorSkin } from "./options";
4
- export type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" | "real_subname" | "real_text" | "real_flavor" | "real_traits" | "real_taboo_original_text" | "real_taboo_text_change" | "translations" | "pack"> & Omit<Investigator, "variants" | "skins"> & {
4
+ export type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" | "real_subname" | "real_text" | "real_flavor" | "real_traits" | "real_taboo_original_text" | "real_taboo_text_change" | "translations" | "pack"> & Omit<Investigator, "variants" | "skins" | "image"> & {
5
5
  icon: string;
6
6
  type: InvestigatorSignatureType;
7
+ image: Omit<Investigator["image"], "id"> & {
8
+ id: string;
9
+ };
7
10
  locale: string;
8
11
  text: string;
9
12
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkham-investigator-data",
3
- "version": "2.0.8",
3
+ "version": "2.0.10",
4
4
  "main": "index.js",
5
5
  "types": "build/src/types.d.ts",
6
6
  "scripts": {