arkham-investigator-data 1.0.13 → 1.0.23

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.
Files changed (159) hide show
  1. package/build/src/App.d.ts +4 -0
  2. package/build/src/config/app.d.ts +7 -0
  3. package/build/src/config/googleDrive.d.ts +4 -0
  4. package/build/src/config/index.d.ts +2 -0
  5. package/build/src/data/campaigns/core/AgnesBaker.d.ts +2 -0
  6. package/build/src/data/campaigns/core/DaisyWalker.d.ts +2 -0
  7. package/build/src/data/campaigns/core/RolandBanks.d.ts +2 -0
  8. package/build/src/data/campaigns/core/SkidsOToole.d.ts +2 -0
  9. package/build/src/data/campaigns/core/WendyAdams.d.ts +2 -0
  10. package/build/src/data/campaigns/core/index.d.ts +2 -0
  11. package/build/src/data/campaigns/dwl/AshcanPete.d.ts +2 -0
  12. package/build/src/data/campaigns/dwl/JennyBarnes.d.ts +2 -0
  13. package/build/src/data/campaigns/dwl/JimCulver.d.ts +2 -0
  14. package/build/src/data/campaigns/dwl/RexMurphy.d.ts +2 -0
  15. package/build/src/data/campaigns/dwl/ZoeySamaras.d.ts +2 -0
  16. package/build/src/data/campaigns/dwl/index.d.ts +2 -0
  17. package/build/src/data/campaigns/eoe/BobJenkins.d.ts +2 -0
  18. package/build/src/data/campaigns/eoe/DanielaReyes.d.ts +2 -0
  19. package/build/src/data/campaigns/eoe/LilyChen.d.ts +2 -0
  20. package/build/src/data/campaigns/eoe/MontereyJack.d.ts +2 -0
  21. package/build/src/data/campaigns/eoe/NormanWithers.d.ts +2 -0
  22. package/build/src/data/campaigns/eoe/index.d.ts +2 -0
  23. package/build/src/data/campaigns/fhv/AlessandraZorzi.d.ts +2 -0
  24. package/build/src/data/campaigns/fhv/HankSamson.d.ts +2 -0
  25. package/build/src/data/campaigns/fhv/KateWinthrop.d.ts +2 -0
  26. package/build/src/data/campaigns/fhv/KohakuNarukami.d.ts +2 -0
  27. package/build/src/data/campaigns/fhv/ShatteredSelf.d.ts +2 -0
  28. package/build/src/data/campaigns/fhv/WilsonRichards.d.ts +2 -0
  29. package/build/src/data/campaigns/fhv/index.d.ts +2 -0
  30. package/build/src/data/campaigns/index.d.ts +2 -0
  31. package/build/src/data/campaigns/ptc/AkachiOnyele.d.ts +2 -0
  32. package/build/src/data/campaigns/ptc/LolaHayes.d.ts +2 -0
  33. package/build/src/data/campaigns/ptc/MarkHarrigan.d.ts +2 -0
  34. package/build/src/data/campaigns/ptc/MinhThiPhan.d.ts +2 -0
  35. package/build/src/data/campaigns/ptc/SefinaRousseau.d.ts +2 -0
  36. package/build/src/data/campaigns/ptc/WilliamYorick.d.ts +2 -0
  37. package/build/src/data/campaigns/ptc/index.d.ts +2 -0
  38. package/build/src/data/campaigns/tcu/CarolynFern.d.ts +2 -0
  39. package/build/src/data/campaigns/tcu/DianaStanley.d.ts +2 -0
  40. package/build/src/data/campaigns/tcu/GavriellaMizrah.d.ts +2 -0
  41. package/build/src/data/campaigns/tcu/JeromeDavids.d.ts +2 -0
  42. package/build/src/data/campaigns/tcu/JoeDiamond.d.ts +2 -0
  43. package/build/src/data/campaigns/tcu/MarieLambeau.d.ts +2 -0
  44. package/build/src/data/campaigns/tcu/PennyWhite.d.ts +2 -0
  45. package/build/src/data/campaigns/tcu/PrestonFairmont.d.ts +2 -0
  46. package/build/src/data/campaigns/tcu/RitaYoung.d.ts +2 -0
  47. package/build/src/data/campaigns/tcu/ValentinoRivas.d.ts +2 -0
  48. package/build/src/data/campaigns/tcu/index.d.ts +2 -0
  49. package/build/src/data/campaigns/tdc/AgathaCrane.d.ts +8 -0
  50. package/build/src/data/campaigns/tdc/GeorgeBarnaby.d.ts +2 -0
  51. package/build/src/data/campaigns/tdc/GloriaGoldberg.d.ts +2 -0
  52. package/build/src/data/campaigns/tdc/LostHomunculus.d.ts +2 -0
  53. package/build/src/data/campaigns/tdc/LuciusGalloway.d.ts +2 -0
  54. package/build/src/data/campaigns/tdc/MarionTavares.d.ts +2 -0
  55. package/build/src/data/campaigns/tdc/MichaelMcGlen.d.ts +2 -0
  56. package/build/src/data/campaigns/tdc/index.d.ts +2 -0
  57. package/build/src/data/campaigns/tde/LukeRobinson.d.ts +2 -0
  58. package/build/src/data/campaigns/tde/MandyThompson.d.ts +2 -0
  59. package/build/src/data/campaigns/tde/PatriceHathaway.d.ts +2 -0
  60. package/build/src/data/campaigns/tde/TommyMuldoon.d.ts +2 -0
  61. package/build/src/data/campaigns/tde/TonyMorgan.d.ts +2 -0
  62. package/build/src/data/campaigns/tde/index.d.ts +2 -0
  63. package/build/src/data/campaigns/tfa/CalvinWright.d.ts +2 -0
  64. package/build/src/data/campaigns/tfa/FatherMateo.d.ts +2 -0
  65. package/build/src/data/campaigns/tfa/FinnEdwards.d.ts +2 -0
  66. package/build/src/data/campaigns/tfa/LeoAnderson.d.ts +2 -0
  67. package/build/src/data/campaigns/tfa/UrsulaDowns.d.ts +2 -0
  68. package/build/src/data/campaigns/tfa/YithianBody.d.ts +2 -0
  69. package/build/src/data/campaigns/tfa/index.d.ts +2 -0
  70. package/build/src/data/campaigns/tic/AmandaSharpe.d.ts +2 -0
  71. package/build/src/data/campaigns/tic/DexterDrake.d.ts +2 -0
  72. package/build/src/data/campaigns/tic/SilasMarsh.d.ts +2 -0
  73. package/build/src/data/campaigns/tic/SisterMary.d.ts +2 -0
  74. package/build/src/data/campaigns/tic/TrishScarborough.d.ts +2 -0
  75. package/build/src/data/campaigns/tic/index.d.ts +2 -0
  76. package/build/src/data/campaigns/tsk/AminaZidane.d.ts +2 -0
  77. package/build/src/data/campaigns/tsk/CarsonSinclair.d.ts +2 -0
  78. package/build/src/data/campaigns/tsk/CharlieKane.d.ts +2 -0
  79. package/build/src/data/campaigns/tsk/DarrellSimmons.d.ts +2 -0
  80. package/build/src/data/campaigns/tsk/KymaniJones.d.ts +2 -0
  81. package/build/src/data/campaigns/tsk/VincentLee.d.ts +2 -0
  82. package/build/src/data/campaigns/tsk/index.d.ts +2 -0
  83. package/build/src/data/custom/campaigns/index.d.ts +2 -0
  84. package/build/src/data/custom/campaigns/zaw/AliceLiddell.d.ts +5 -0
  85. package/build/src/data/custom/campaigns/zaw/index.d.ts +2 -0
  86. package/build/src/data/custom/campaigns/zgoo/AkiraArisato.d.ts +2 -0
  87. package/build/src/data/custom/campaigns/zgoo/HidekiHonda.d.ts +2 -0
  88. package/build/src/data/custom/campaigns/zgoo/MakotoMiyazaki.d.ts +2 -0
  89. package/build/src/data/custom/campaigns/zgoo/SakuraSanada.d.ts +2 -0
  90. package/build/src/data/custom/campaigns/zgoo/YukiYagami.d.ts +2 -0
  91. package/build/src/data/custom/campaigns/zgoo/index.d.ts +2 -0
  92. package/build/src/data/custom/campaigns/zhod/JulianHerbert.d.ts +2 -0
  93. package/build/src/data/custom/campaigns/zhod/index.d.ts +2 -0
  94. package/build/src/data/custom/index.d.ts +2 -0
  95. package/build/src/data/custom/side/index.d.ts +2 -0
  96. package/build/src/data/custom/side/zez/IsabelLaFratta.d.ts +2 -0
  97. package/build/src/data/custom/side/zez/index.d.ts +2 -0
  98. package/build/src/data/custom/side/zinv/index.d.ts +2 -0
  99. package/build/src/data/custom/side/zinv/zci/TheInsane.d.ts +2 -0
  100. package/build/src/data/custom/side/zinv/zci/index.d.ts +2 -0
  101. package/build/src/data/custom/side/zinv/zoc/LuciaDeveraux.d.ts +2 -0
  102. package/build/src/data/custom/side/zinv/zoc/MelissaSwanson.d.ts +2 -0
  103. package/build/src/data/custom/side/zinv/zoc/RichardCarlisle.d.ts +2 -0
  104. package/build/src/data/custom/side/zinv/zoc/RodneyDorman.d.ts +2 -0
  105. package/build/src/data/custom/side/zinv/zoc/SampsonWelch.d.ts +2 -0
  106. package/build/src/data/custom/side/zinv/zoc/WalterCrankovitch.d.ts +2 -0
  107. package/build/src/data/custom/side/zinv/zoc/index.d.ts +2 -0
  108. package/build/src/data/custom/side/zinv/zsti/AnnaAnderson.d.ts +2 -0
  109. package/build/src/data/custom/side/zinv/zsti/AntonPavel.d.ts +2 -0
  110. package/build/src/data/custom/side/zinv/zsti/AstridLee.d.ts +2 -0
  111. package/build/src/data/custom/side/zinv/zsti/EdmundMoore.d.ts +2 -0
  112. package/build/src/data/custom/side/zinv/zsti/EuniceGolding.d.ts +2 -0
  113. package/build/src/data/custom/side/zinv/zsti/HoseaMayhew.d.ts +2 -0
  114. package/build/src/data/custom/side/zinv/zsti/ObiLaveau.d.ts +2 -0
  115. package/build/src/data/custom/side/zinv/zsti/SadieGodfrey.d.ts +2 -0
  116. package/build/src/data/custom/side/zinv/zsti/index.d.ts +2 -0
  117. package/build/src/data/custom/side/zjc/IsabelleBarnes.d.ts +2 -0
  118. package/build/src/data/custom/side/zjc/index.d.ts +2 -0
  119. package/build/src/data/decks/HarveyWalters.d.ts +2 -0
  120. package/build/src/data/decks/JacquelineFine.d.ts +2 -0
  121. package/build/src/data/decks/NathanielCho.d.ts +2 -0
  122. package/build/src/data/decks/StellaClark.d.ts +2 -0
  123. package/build/src/data/decks/WinifredHabbamock.d.ts +2 -0
  124. package/build/src/data/decks/index.d.ts +2 -0
  125. package/build/src/data/index.d.ts +2 -0
  126. package/build/src/data/side/blbe/Subject5U21.d.ts +2 -0
  127. package/build/src/data/side/blbe/index.d.ts +2 -0
  128. package/build/src/data/side/index.d.ts +2 -0
  129. package/build/src/data/side/zbh/BarkHarrigan.d.ts +2 -0
  130. package/build/src/data/side/zbh/Duke.d.ts +2 -0
  131. package/build/src/data/side/zbh/JacquelineCanine.d.ts +2 -0
  132. package/build/src/data/side/zbh/KateWinthpup.d.ts +2 -0
  133. package/build/src/data/side/zbh/SkidsODrool.d.ts +2 -0
  134. package/build/src/data/side/zbh/index.d.ts +2 -0
  135. package/build/src/environment.d.ts +1 -0
  136. package/build/src/features/googleDrive/getGoogleDriveFile.d.ts +7 -0
  137. package/build/src/features/googleDrive/getGoogleDriveFolderContents.d.ts +2 -0
  138. package/build/src/features/googleDrive/getGoogleDriveService.d.ts +2 -0
  139. package/build/src/features/googleDrive/index.d.ts +2 -0
  140. package/build/src/features/index.d.ts +2 -0
  141. package/build/src/features/util/fs.d.ts +21 -0
  142. package/build/src/features/util/index.d.ts +2 -0
  143. package/build/src/features/util/promise.d.ts +2 -0
  144. package/build/src/index.d.ts +1 -0
  145. package/build/src/model/build.d.ts +5 -0
  146. package/build/src/model/common.d.ts +7 -0
  147. package/build/src/model/dimensions.d.ts +4 -0
  148. package/build/src/model/game/common.d.ts +22 -0
  149. package/build/src/model/game/image.d.ts +20 -0
  150. package/build/src/model/game/index.d.ts +3 -0
  151. package/build/src/model/game/options.d.ts +31 -0
  152. package/build/src/model/index.d.ts +4 -0
  153. package/build/src/tasks/createImageCache.d.ts +3 -0
  154. package/build/src/tasks/createInvestigatorsCache.d.ts +1 -0
  155. package/build/src/tasks/index.d.ts +2 -0
  156. package/build/src/tasks/prepareDirectories.d.ts +1 -0
  157. package/build/src/types.d.ts +1 -0
  158. package/package.json +5 -3
  159. package/tsconfig.json +0 -1
@@ -0,0 +1,4 @@
1
+ export declare class App {
2
+ run(command: string): Promise<void>;
3
+ start(): Promise<void>;
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare const ROOT_DIR: string;
2
+ export declare const DIST_DIR: string;
3
+ export declare const CACHE_DIR: string;
4
+ export declare const DOWNLOADS_DIR: string;
5
+ export declare const CACHED_IMAGES_DIR: string;
6
+ export declare const DEVELOPMENT_MODE: boolean;
7
+ export declare const APP_VERSION: string;
@@ -0,0 +1,4 @@
1
+ export declare const GOOGLE_DRIVE_FOLDER_ID: string;
2
+ export declare const GOOGLE_SERVICE_ACCOUNT_CLIENT_EMAIL: string;
3
+ export declare const GOOGLE_SERVICE_ACCOUNT_CLIENT_ID: string;
4
+ export declare const GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: string;
@@ -0,0 +1,2 @@
1
+ export * from './app';
2
+ export * from './googleDrive';
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AgnesBaker: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const DaisyWalker: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const RolandBanks: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const SkidsOToole: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const WendyAdams: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AshcanPete: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const JennyBarnes: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const JimCulver: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const RexMurphy: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const ZoeySamaras: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const BobJenkins: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const DanielaReyes: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LilyChen: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MontereyJack: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const NormanWithers: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AlessandraZorzi: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const HankSamson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const KateWinthrop: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const KohakuNarukami: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const ShatteredSelf: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const WilsonRichards: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AkachiOnyele: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LolaHayes: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MarkHarrigan: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MinhThiPhan: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const SefinaRousseau: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const WilliamYorick: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const CarolynFern: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const DianaStanley: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const GavriellaMizrah: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const JeromeDavids: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const JoeDiamond: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MarieLambeau: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const PennyWhite: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const PrestonFairmont: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const RitaYoung: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const ValentinoRivas: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import type { Investigator, InvestigatorImage } from "../../../model";
2
+ export declare const image: InvestigatorImage;
3
+ export declare const AgathaCraneSeeker: Investigator;
4
+ export declare const AgathaCraneMystic: Investigator;
5
+ export declare const AgathaCrane: {
6
+ Seeker: Investigator;
7
+ Mystic: Investigator;
8
+ };
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const GeorgeBarnaby: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const GloriaGoldberg: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LostHomunculus: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LuciusGalloway: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MarionTavares: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MichaelMcGlen: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LukeRobinson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const MandyThompson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const PatriceHathaway: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const TommyMuldoon: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const TonyMorgan: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const CalvinWright: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const FatherMateo: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const FinnEdwards: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const LeoAnderson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const UrsulaDowns: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const YithianBody: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AmandaSharpe: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const DexterDrake: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const SilasMarsh: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const SisterMary: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const TrishScarborough: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const AminaZidane: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const CarsonSinclair: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const CharlieKane: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const DarrellSimmons: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const KymaniJones: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const VincentLee: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const AliceLiddell: {
3
+ Neutral: Investigator;
4
+ Seeker: Investigator;
5
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const AkiraArisato: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const HidekiHonda: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const MakotoMiyazaki: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const SakuraSanada: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const YukiYagami: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const JulianHerbert: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const IsabelLaFratta: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const TheInsane: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const LuciaDeveraux: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const MelissaSwanson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const RichardCarlisle: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const RodneyDorman: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const SampsonWelch: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const WalterCrankovitch: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const AnnaAnderson: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const AntonPavel: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const AstridLee: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const EdmundMoore: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const EuniceGolding: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const HoseaMayhew: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const ObiLaveau: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../../model";
2
+ export declare const SadieGodfrey: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../../model";
2
+ export declare const IsabelleBarnes: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../model";
2
+ export declare const HarveyWalters: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../model";
2
+ export declare const JacquelineFine: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../model";
2
+ export declare const NathanielCho: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../model";
2
+ export declare const StellaClark: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../model";
2
+ export declare const WinifredHabbamock: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const Subject5U21: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const BarkHarrigan: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const Duke: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const JacquelineCanine: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const KateWinthpup: Investigator;
@@ -0,0 +1,2 @@
1
+ import type { Investigator } from "../../../model";
2
+ export declare const SkidsODrool: Investigator;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("../../../model").Investigator[];
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="node" />
2
+ import type { drive_v3 } from "@googleapis/drive";
3
+ import type { WriteStream } from "node:fs";
4
+ export declare type IGetGoogleDriveFileOptions = drive_v3.Schema$File & {
5
+ stream: WriteStream;
6
+ };
7
+ export declare const getGoogleDriveFile: ({ id, name, stream }: IGetGoogleDriveFileOptions) => Promise<unknown>;
@@ -0,0 +1,2 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ export declare const getGoogleDriveFolderContents: (parentId: string) => Promise<drive_v3.Schema$File[]>;
@@ -0,0 +1,2 @@
1
+ import * as google from '@googleapis/drive';
2
+ export declare const getGoogleDriveService: () => Promise<google.drive_v3.Drive>;
@@ -0,0 +1,2 @@
1
+ export * from './getGoogleDriveFile';
2
+ export * from './getGoogleDriveFolderContents';
@@ -0,0 +1,2 @@
1
+ export * from './util';
2
+ export * from './googleDrive';
@@ -0,0 +1,21 @@
1
+ export declare const createExistsChecker: ({ dir, extension, }: {
2
+ dir: string;
3
+ extension?: string;
4
+ }) => (name: string) => boolean;
5
+ export declare const createWriter: <T = string, D = string>({ dir, extension, serialize }: {
6
+ dir: string;
7
+ extension?: string;
8
+ serialize?: (data: D) => string;
9
+ }) => (name: T, data: D) => void;
10
+ export declare const createJSONWriter: (dir: string) => (name: string, data: object) => void;
11
+ export declare const createReader: <T = string, D = string>({ dir, extension, unserialize }: {
12
+ dir: string;
13
+ extension: string;
14
+ unserialize?: (data: string) => D;
15
+ }) => <R extends D>(name: T, defaultValue?: R) => R;
16
+ export declare const createJSONReader: (dir: string) => <R extends any>(name: string, defaultValue?: R) => R;
17
+ export declare const createFilenameResolver: (dir: string, extension: string) => (name: string) => string;
18
+ export declare const createJSONResolver: (dir: string) => (name: string) => string;
19
+ export declare const mkDir: (dir: string) => void;
20
+ export declare const rmDir: (dir: string) => void;
21
+ export declare const flattenDir: (dir: string, moveToDir?: string) => void;
@@ -0,0 +1,2 @@
1
+ export * from './fs';
2
+ export * from './promise';
@@ -0,0 +1,2 @@
1
+ export declare const retry: <T>(callback: () => Promise<T>, tries?: number) => Promise<T>;
2
+ export declare const delay: (ms: number) => Promise<unknown>;
@@ -0,0 +1 @@
1
+ import './environment';
@@ -0,0 +1,5 @@
1
+ import type { Investigator } from "./game";
2
+ export declare type Build = {
3
+ version: string;
4
+ data: Investigator[];
5
+ };
@@ -0,0 +1,7 @@
1
+ export declare type Nullable<T> = T | null;
2
+ export declare type WithCode = {
3
+ code: string;
4
+ };
5
+ export declare type WithId = {
6
+ id: string;
7
+ };
@@ -0,0 +1,4 @@
1
+ export declare type Box = {
2
+ width: number;
3
+ height: number;
4
+ };
@@ -0,0 +1,22 @@
1
+ import type { InvestigatorImage } from "./image";
2
+ import type { InvestigatorSkin, InvestigatorVariant } from "./options";
3
+ export declare type Investigator = {
4
+ code: string;
5
+ previewId?: string;
6
+ variantName?: string;
7
+ additionalAction?: boolean;
8
+ image: InvestigatorImage;
9
+ variants?: InvestigatorVariant[];
10
+ skins?: InvestigatorSkin[];
11
+ multiselect?: boolean;
12
+ abilities?: InvestigatorAbility[];
13
+ roles?: InvestigatorFaction[];
14
+ };
15
+ export declare type InvestigatorFaction = 'guardian' | 'rogue' | 'seeker' | 'mystic' | 'survivor' | 'neutral';
16
+ export declare type LimitType = 'round' | 'turn' | 'phase' | 'ability' | 'test' | 'game';
17
+ export declare type InvestigatorAbility = {
18
+ type: 'reaction' | 'fast';
19
+ limitPer?: LimitType | LimitType[];
20
+ perInvestigator?: boolean;
21
+ limitCount?: number;
22
+ };
@@ -0,0 +1,20 @@
1
+ import type { Box } from "../dimensions";
2
+ export declare type InvestigatorImageBox = Box & {
3
+ top: number;
4
+ left: number;
5
+ };
6
+ export declare type InvestigatorImageSource = Box & {
7
+ type: 'mini' | 'full';
8
+ id: string;
9
+ face: InvestigatorImageBox;
10
+ };
11
+ export declare type InvestigatorImageMedia = InvestigatorImageBox & {
12
+ source?: InvestigatorImageSource;
13
+ primary?: boolean;
14
+ type?: 'face' | 'body';
15
+ };
16
+ export declare type InvestigatorImage = Box & {
17
+ id?: string;
18
+ face?: InvestigatorImageBox;
19
+ media?: InvestigatorImageMedia[];
20
+ };
@@ -0,0 +1,3 @@
1
+ export * from './common';
2
+ export * from './options';
3
+ export * from './image';
@@ -0,0 +1,31 @@
1
+ import type { InvestigatorAbility } from "./common";
2
+ import type { InvestigatorImage } from "./image";
3
+ export declare type InvestigatorSkin = {
4
+ id: string;
5
+ name: string;
6
+ image: InvestigatorImage;
7
+ };
8
+ export declare type InvestigatorVariant = InvestigatorVariantIdentity & {
9
+ name: string;
10
+ additionalAction?: boolean;
11
+ abilities?: InvestigatorAbility[];
12
+ };
13
+ export declare type InvestigatorVariantIdentity = InvestigatorVariantWithPack | InvestigatorCustomVariant;
14
+ export declare type InvestigatorCustomVariant = {
15
+ type: 'custom';
16
+ } & ({
17
+ code: string;
18
+ image?: InvestigatorImage;
19
+ } | {
20
+ id: string;
21
+ image: InvestigatorImage;
22
+ });
23
+ export declare type InvestigatorVariantWithPack = {
24
+ code: string;
25
+ } & ({
26
+ type: 'parallel';
27
+ image?: InvestigatorImage;
28
+ } | {
29
+ type: 'book';
30
+ image: InvestigatorImage;
31
+ });
@@ -0,0 +1,4 @@
1
+ export * from './common';
2
+ export * from './dimensions';
3
+ export * from './game';
4
+ export * from './build';
@@ -0,0 +1,3 @@
1
+ import type { drive_v3 } from "@googleapis/drive";
2
+ export declare const createImageCache: () => Promise<void>;
3
+ export declare const downloadSingle: (file: drive_v3.Schema$File) => Promise<string>;
@@ -0,0 +1 @@
1
+ export declare const createInvestigatorsCache: () => Promise<void>;
@@ -0,0 +1,2 @@
1
+ export * from './createImageCache';
2
+ export * from './createInvestigatorsCache';
@@ -0,0 +1 @@
1
+ export declare const prepareDirectories: () => Promise<void>;
@@ -0,0 +1 @@
1
+ export * from './model';
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "arkham-investigator-data",
3
- "version": "1.0.13",
3
+ "version": "1.0.23",
4
4
  "main": "index.js",
5
- "types": "build/types.d.ts",
5
+ "types": "build/src/types.d.ts",
6
6
  "scripts": {
7
7
  "start": "tsx ./src/index.ts",
8
8
  "test": "echo \"Error: no test specified\" && exit 1",
9
9
  "lint": "npx @biomejs/biome format --write ./src",
10
10
  "serve": "http-server ./dist --cors",
11
- "build": "tsc && tsc-alias"
11
+ "build:clean": "rimraf ./build",
12
+ "build": "npm run build:clean && tsc && tsc-alias"
12
13
  },
13
14
  "repository": {
14
15
  "type": "git",
@@ -26,6 +27,7 @@
26
27
  "@types/decompress": "^4.2.7",
27
28
  "@types/node": "^22.13.1",
28
29
  "http-server": "^14.1.1",
30
+ "rimraf": "^6.0.1",
29
31
  "tsx": "^4.19.2"
30
32
  },
31
33
  "dependencies": {
package/tsconfig.json CHANGED
@@ -7,7 +7,6 @@
7
7
  "moduleResolution": "Node",
8
8
  // "allowImportingTsExtensions": true,
9
9
  "emitDeclarationOnly": true,
10
- // "noEmit": true,
11
10
  "resolveJsonModule": true,
12
11
  "esModuleInterop": true,
13
12
  "paths": {