arkham-investigator-data 2.0.4 → 2.0.6
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/build/src/api/arkhamCards/arkhamCards.d.ts +24 -2
- package/build/src/api/arkhamCards/arkhamCards.types.d.ts +1 -0
- package/build/src/api/arkhamCards/mapLinkedCode.d.ts +26 -0
- package/build/src/components/signatures/getSignatureBase.d.ts +5 -1
- package/build/src/components/signatures/special/getCardSpecial.d.ts +1 -1
- package/build/src/model/game/signature.d.ts +1 -1
- package/package.json +1 -1
@@ -1,2 +1,24 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
export declare const loadArkhamCardsInvestigators: () => Promise<{
|
2
|
+
linked_code: string;
|
3
|
+
id: string;
|
4
|
+
alternate_of_code: string | null;
|
5
|
+
code: string;
|
6
|
+
real_text: string;
|
7
|
+
real_name: string;
|
8
|
+
real_subname: string;
|
9
|
+
real_flavor: string;
|
10
|
+
real_traits: string;
|
11
|
+
real_taboo_original_text: string | null;
|
12
|
+
real_taboo_text_change: string | null;
|
13
|
+
faction_code: import("../../model").InvestigatorFaction;
|
14
|
+
sanity: number;
|
15
|
+
health: number;
|
16
|
+
skill_agility: number;
|
17
|
+
skill_combat: number;
|
18
|
+
skill_intellect: number;
|
19
|
+
skill_willpower: number;
|
20
|
+
translations: import("./arkhamCards.types").ArkhamCardsInvestigatorTranslation[];
|
21
|
+
taboo_set: import("./arkhamCards.types").ArkhamCardsTabooSet | null;
|
22
|
+
pack: import("./arkhamCards.types").ArkhamCardsPack;
|
23
|
+
spoiler: boolean;
|
24
|
+
}[]>;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { ArkhamCardsInvestigator } from "./arkhamCards.types";
|
2
|
+
export declare const mapLinkedCode: (card: ArkhamCardsInvestigator, _: number, cards: ArkhamCardsInvestigator[]) => {
|
3
|
+
linked_code: string;
|
4
|
+
id: string;
|
5
|
+
alternate_of_code: string | null;
|
6
|
+
code: string;
|
7
|
+
real_text: string;
|
8
|
+
real_name: string;
|
9
|
+
real_subname: string;
|
10
|
+
real_flavor: string;
|
11
|
+
real_traits: string;
|
12
|
+
real_taboo_original_text: string | null;
|
13
|
+
real_taboo_text_change: string | null;
|
14
|
+
faction_code: import("../../model").InvestigatorFaction;
|
15
|
+
sanity: number;
|
16
|
+
health: number;
|
17
|
+
skill_agility: number;
|
18
|
+
skill_combat: number;
|
19
|
+
skill_intellect: number;
|
20
|
+
skill_willpower: number;
|
21
|
+
translations: import("./arkhamCards.types").ArkhamCardsInvestigatorTranslation[];
|
22
|
+
taboo_set: import("./arkhamCards.types").ArkhamCardsTabooSet | null;
|
23
|
+
pack: import("./arkhamCards.types").ArkhamCardsPack;
|
24
|
+
spoiler: boolean;
|
25
|
+
};
|
26
|
+
export declare const getLinkedCode: ({ alternate_of_code, real_name, code }: ArkhamCardsInvestigator, cards: ArkhamCardsInvestigator[]) => string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { ArkhamCardsInvestigator } from "../../api/arkhamCards";
|
2
2
|
export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
3
3
|
official: boolean;
|
4
|
-
type: "
|
4
|
+
type: "default";
|
5
5
|
code: string;
|
6
6
|
image: import("../../model").InvestigatorImage;
|
7
7
|
spoiler: boolean;
|
@@ -15,6 +15,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
15
15
|
health: number;
|
16
16
|
sanity: number;
|
17
17
|
alternate_of_code: string | null;
|
18
|
+
linked_code: string | null;
|
18
19
|
faction_code: import("../../model").InvestigatorFaction;
|
19
20
|
skill_agility: number;
|
20
21
|
skill_combat: number;
|
@@ -34,6 +35,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
34
35
|
health: number;
|
35
36
|
sanity: number;
|
36
37
|
alternate_of_code: string | null;
|
38
|
+
linked_code: string | null;
|
37
39
|
faction_code: import("../../model").InvestigatorFaction;
|
38
40
|
skill_agility: number;
|
39
41
|
skill_combat: number;
|
@@ -54,6 +56,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
54
56
|
health: number;
|
55
57
|
sanity: number;
|
56
58
|
alternate_of_code: string | null;
|
59
|
+
linked_code: string | null;
|
57
60
|
faction_code: import("../../model").InvestigatorFaction;
|
58
61
|
skill_agility: number;
|
59
62
|
skill_combat: number;
|
@@ -74,6 +77,7 @@ export declare const getSignatureBase: (card: ArkhamCardsInvestigator) => {
|
|
74
77
|
health: number;
|
75
78
|
sanity: number;
|
76
79
|
alternate_of_code: string | null;
|
80
|
+
linked_code: string | null;
|
77
81
|
faction_code: import("../../model").InvestigatorFaction;
|
78
82
|
skill_agility: number;
|
79
83
|
skill_combat: number;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { ArkhamCardsInvestigator } from "../../../api/arkhamCards";
|
2
2
|
export declare const getCardSpecial: (card: ArkhamCardsInvestigator) => {
|
3
|
-
type: "
|
3
|
+
type: "default";
|
4
4
|
code: string;
|
5
5
|
image: import("../../../model").InvestigatorImage;
|
6
6
|
spoiler?: boolean;
|
@@ -15,7 +15,7 @@ export type InvestigatorSignature = Omit<ArkhamCardsInvestigator, "real_name" |
|
|
15
15
|
pack: InvestigatorSignaturePack;
|
16
16
|
cycle: InvestigatorSignatureCycle;
|
17
17
|
};
|
18
|
-
export type InvestigatorSignatureType = "
|
18
|
+
export type InvestigatorSignatureType = "default" | "custom" | "parallel" | "book";
|
19
19
|
export type InvestigatorSignaturePack = {
|
20
20
|
locale: string;
|
21
21
|
code: string;
|