arkham-investigator-data 2.9.1 → 2.9.3

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.
@@ -6,6 +6,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
6
6
  custom: boolean;
7
7
  canonical: boolean;
8
8
  official: boolean;
9
+ tokens: import("../../model").ReferenceCardToken[];
9
10
  image: {
10
11
  id: string;
11
12
  width: number;
@@ -41,6 +42,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
41
42
  custom: boolean;
42
43
  canonical: boolean;
43
44
  official: boolean;
45
+ tokens: import("../../model").ReferenceCardToken[];
44
46
  image: {
45
47
  id: string;
46
48
  width: number;
@@ -73,6 +75,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
73
75
  custom: boolean;
74
76
  canonical: boolean;
75
77
  official: boolean;
78
+ tokens: import("../../model").ReferenceCardToken[];
76
79
  image: {
77
80
  id: string;
78
81
  width: number;
@@ -105,6 +108,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
105
108
  custom: boolean;
106
109
  canonical: boolean;
107
110
  official: boolean;
111
+ tokens: import("../../model").ReferenceCardToken[];
108
112
  image: {
109
113
  id: string;
110
114
  width: number;
@@ -137,6 +141,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
137
141
  custom: boolean;
138
142
  canonical: boolean;
139
143
  official: boolean;
144
+ tokens: import("../../model").ReferenceCardToken[];
140
145
  image: {
141
146
  id: string;
142
147
  width: number;
@@ -1 +1,5 @@
1
1
  export type ChaosBagToken = "+1" | "0" | "-1" | "-2" | "-3" | "-4" | "-5" | "-6" | "-7" | "-8" | "bless" | "curse" | "elderSign" | "skull" | "cultist" | "autoFail" | "tablet" | "frost" | "elderThing";
2
+ export type ScenarioChaosBag = {
3
+ scenario_id: string;
4
+ tokens: ChaosBagToken[];
5
+ };
@@ -1,7 +1,7 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../../api/arkhamCards";
2
2
  import type { Investigator, InvestigatorFaction } from "./common";
3
3
  import type { InvestigatorSkin } from "./options";
4
- import { ReferencePart } from "../story";
4
+ import { ReferenceCardToken, ReferencePart } from "../story";
5
5
  export type InvestigatorSignatureGender = "male" | "female" | "non-binary";
6
6
  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" | "gender"> & Omit<Investigator, "variants" | "skins" | "image"> & {
7
7
  icon: string;
@@ -25,6 +25,7 @@ export type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" |
25
25
  cycle: InvestigatorSignatureCycle;
26
26
  gender: InvestigatorSignatureGender;
27
27
  tokens_reference: ReferencePart[];
28
+ tokens: ReferenceCardToken[];
28
29
  };
29
30
  export type InvestigatorSignatureType = "default" | "custom" | "parallel" | "book" | "taboo";
30
31
  export type InvestigatorSignaturePack = {
@@ -32,6 +32,7 @@ export type ReferenceCardToken = {
32
32
  type: "counter";
33
33
  min?: number;
34
34
  max?: number;
35
+ step: number;
35
36
  } | {
36
37
  type: "select";
37
38
  values?: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkham-investigator-data",
3
- "version": "2.9.1",
3
+ "version": "2.9.3",
4
4
  "main": "index.js",
5
5
  "types": "build/src/types.d.ts",
6
6
  "scripts": {
File without changes
File without changes