arkham-investigator-data 1.3.3 → 1.3.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.
@@ -1,3 +1,3 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../api/arkhamCards";
2
2
  import type { InvestigatorSignature } from "../../model";
3
- export declare const getEnglishSignatures: (data: ArkhamCardsInvestigator[]) => InvestigatorSignature[];
3
+ export declare const getEnglishSignatures: (data: ArkhamCardsInvestigator[]) => NonNullable<InvestigatorSignature>[];
@@ -1,2 +1,23 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../api/arkhamCards";
2
- export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => Omit<ArkhamCardsInvestigator, "real_name" | "real_subname" | "real_text" | "real_flavor" | "real_traits" | "real_taboo_original_text" | "real_taboo_text_change" | "translations">;
2
+ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
3
+ code: string;
4
+ previewId?: string;
5
+ variantName?: string;
6
+ additionalAction?: boolean;
7
+ image: import("../../model").InvestigatorImage;
8
+ variants?: import("../../model").InvestigatorVariant[];
9
+ skins?: import("../../model").InvestigatorSkin[];
10
+ multiselect?: boolean;
11
+ abilities?: import("../../model").InvestigatorAbility[];
12
+ roles?: import("../../model").InvestigatorFaction[];
13
+ spoiler: boolean;
14
+ id: string;
15
+ health: number;
16
+ sanity: number;
17
+ faction_code: import("../../model").InvestigatorFaction;
18
+ skill_agility: number;
19
+ skill_combat: number;
20
+ skill_intellect: number;
21
+ skill_willpower: number;
22
+ taboo_set: import("../../api/arkhamCards").ArkhamCardsTabooSet;
23
+ };
@@ -1,5 +1,6 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../api/arkhamCards";
2
- export declare type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" | "real_subname" | "real_text" | "real_flavor" | "real_traits" | "real_taboo_original_text" | "real_taboo_text_change" | "translations"> & {
2
+ import type { Investigator } from "./common";
3
+ export declare type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" | "real_subname" | "real_text" | "real_flavor" | "real_traits" | "real_taboo_original_text" | "real_taboo_text_change" | "translations"> & Investigator & {
3
4
  locale: string;
4
5
  text: string;
5
6
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkham-investigator-data",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "main": "index.js",
5
5
  "types": "build/src/types.d.ts",
6
6
  "scripts": {