arkham-investigator-data 2.2.0 → 2.2.1

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.
@@ -0,0 +1 @@
1
+ export declare const getEncounterSetIcon: (code: string) => string;
@@ -0,0 +1 @@
1
+ export * from "./getEncounterSetIcon";
@@ -1 +1,2 @@
1
1
  export * from "./signatures";
2
+ export * from "./icons";
@@ -1,2 +1,3 @@
1
1
  export declare const getStories: () => import("arkham-divider-data/build/types/database").IDatabase.Story[];
2
2
  export declare const getIcons: () => import("arkham-divider-data/build/types/cache").ICache.IconInfo[];
3
+ export declare const getEncounterSets: () => import("arkham-divider-data/build/types/database").IDatabase.EncounterSet[];
@@ -1,4 +1,4 @@
1
- import { ChaosBagToken } from "../chaosBag";
1
+ import type { ChaosBagToken } from "../chaosBag";
2
2
  import type { Stat } from "./entities";
3
3
  export type LimitType = "round" | "turn" | "phase" | "ability" | "test" | "game";
4
4
  export type InvestigatorAbilityType = {
@@ -1,6 +1,6 @@
1
1
  import type { ArkhamCardsInvestigator } from "../../../api/arkhamCards";
2
2
  import type { Investigator, InvestigatorFaction } from "./common";
3
- import { InvestigatorSkin } from "./options";
3
+ import type { InvestigatorSkin } from "./options";
4
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;
@@ -2,5 +2,6 @@ import type { ArkhamCardsReferenceTranslation } from "../../../api/arkhamCards";
2
2
  export type ReferenceCard = Omit<ArkhamCardsReferenceTranslation, "locale"> & {
3
3
  code: string;
4
4
  encounter_code: string;
5
+ icon?: string;
5
6
  position: number;
6
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arkham-investigator-data",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "main": "index.js",
5
5
  "types": "build/src/types.d.ts",
6
6
  "scripts": {