arkham-investigator-data 2.14.0 → 2.14.2
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/components/stories/reference/getReferenceCardChaosTokens.d.ts +3 -1
- package/build/src/components/stories/reference/odds/effects/parseChaosOddsEffects.d.ts +6 -1
- package/build/src/components/stories/reference/odds/parseChaosOdds.d.ts +10 -2
- package/build/src/components/stories/reference/odds/types/parseOddsCondition.d.ts +6 -1
- package/build/src/components/stories/reference/odds/types/parseOddsCounter.d.ts +6 -1
- package/build/src/components/stories/reference/odds/types/parseOddsSingleValue.d.ts +6 -1
- package/build/src/model/build.d.ts +1 -0
- package/build/src/model/game/story/reference.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ReferenceCard } from "../../../model";
|
|
1
|
+
import type { ReferenceCard, ReferencePart } from "../../../model";
|
|
2
2
|
type Options = {
|
|
3
3
|
source?: ReferenceCard;
|
|
4
4
|
code: string;
|
|
@@ -6,6 +6,8 @@ type Options = {
|
|
|
6
6
|
text: string;
|
|
7
7
|
back_text: string;
|
|
8
8
|
locale: string;
|
|
9
|
+
reference: ReferencePart[];
|
|
10
|
+
back_reference: ReferencePart[];
|
|
9
11
|
};
|
|
10
12
|
export declare const getReferenceCardChaosTokens: ({ source, ...options }: Options) => {
|
|
11
13
|
tokens: import("../../../model").ReferenceCardToken[];
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type Options = {
|
|
2
|
+
prompt: string;
|
|
3
|
+
effect: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const parseChaosOddsEffects: ({ prompt, effect }: Options) => {
|
|
2
6
|
personal: boolean;
|
|
3
7
|
expression: any;
|
|
4
8
|
};
|
|
9
|
+
export {};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { ArkhamCardsChaosOddToken } from "../../../../api/arkhamCards";
|
|
2
|
-
import type { ReferenceCardToken } from "../../../../model";
|
|
3
|
-
export
|
|
2
|
+
import type { ReferenceCardToken, ReferencePart } from "../../../../model";
|
|
3
|
+
export type Options = {
|
|
4
|
+
tokens: ArkhamCardsChaosOddToken[];
|
|
5
|
+
reference: ReferencePart[];
|
|
6
|
+
};
|
|
7
|
+
export declare const parseChaosOdds: ({ tokens, reference }: Options) => NonNullable<ReferenceCardToken>[];
|
|
8
|
+
export type ParseTokenOptions = {
|
|
9
|
+
item: ArkhamCardsChaosOddToken;
|
|
10
|
+
effect: string;
|
|
11
|
+
};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { ArkhamCardsChaosOddTokenCondition } from "../../../../../api/arkhamCards";
|
|
2
2
|
import type { ReferenceCardToken } from "../../../../../model";
|
|
3
|
-
|
|
3
|
+
type Options = {
|
|
4
|
+
item: ArkhamCardsChaosOddTokenCondition;
|
|
5
|
+
effect: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const parseOddsCondition: ({ item, effect, }: Options) => ReferenceCardToken | null;
|
|
8
|
+
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { ArkhamCardsChaosOddTokenCounter } from "../../../../../api/arkhamCards";
|
|
2
2
|
import type { ReferenceCardToken } from "../../../../../model";
|
|
3
|
-
|
|
3
|
+
type Options = {
|
|
4
|
+
item: ArkhamCardsChaosOddTokenCounter;
|
|
5
|
+
effect: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const parseOddsCounter: ({ item, effect, }: Options) => ReferenceCardToken;
|
|
8
|
+
export {};
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
import type { ArkhamCardsChaosOddTokenSingleValue } from "../../../../../api/arkhamCards";
|
|
2
2
|
import type { ReferenceCardToken } from "../../../../../model";
|
|
3
|
-
|
|
3
|
+
type Options = {
|
|
4
|
+
item: ArkhamCardsChaosOddTokenSingleValue;
|
|
5
|
+
effect: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const parseOddsSingleValue: ({ item }: Options) => ReferenceCardToken;
|
|
8
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ArkhamCardsRulesItem, ArkhamCardsUpdate } from "../api/arkhamCards";
|
|
2
|
+
export * from "../components";
|
|
2
3
|
import type { ArkhamDivider } from "arkham-divider-data";
|
|
3
4
|
import type { SignatureCollection } from "./game";
|
|
4
5
|
import type { Story } from "./game/story";
|