arkham-divider-data
Advanced tools
Comparing version 1.0.27 to 1.0.28
import { IArkhamDB } from '../../../types/arkhamDB'; | ||
import { ICache } from '../../../types/cache'; | ||
export declare const getPackEncounterSets: () => Promise<ICache.PackEncounterSet[]>; | ||
export declare const getEncounterSetTypes: (cards: IArkhamDB.JSON.EncounterCard[]) => { | ||
export declare const getEncounterSetTypes: (cards: IArkhamDB.JSON.Card[]) => { | ||
type: string; | ||
size: number; | ||
}[]; |
@@ -58,2 +58,3 @@ import { IArkhamDB } from "./arkhamDB"; | ||
icon: string; | ||
type?: string; | ||
steps: ScenarioStep[]; | ||
@@ -60,0 +61,0 @@ }; |
@@ -91,12 +91,15 @@ export declare namespace IArkhamDB { | ||
type ExtendedEncounter = Encounter & Partial<HasPackCode> & Partial<HasCycleCode> & Partial<HasSize>; | ||
type Card = HasName & HasPosition & HasPackCode & { | ||
type Card = HasCode & HasName & HasPosition & HasPackCode & { | ||
type_code: string; | ||
encounter_code?: string; | ||
quantity: number; | ||
faction_code?: string; | ||
encounter_position?: number; | ||
}; | ||
type EncounterCard = Card & { | ||
encounter_code: string; | ||
faction_code: string; | ||
encounter_position: number; | ||
encounter_code: string; | ||
quantity: number; | ||
}; | ||
} | ||
} |
@@ -47,2 +47,3 @@ import { ICache } from "./cache"; | ||
full_name: string; | ||
type?: string; | ||
header: string; | ||
@@ -49,0 +50,0 @@ number?: number; |
@@ -0,1 +1,5 @@ | ||
export declare const createExistsChecker: ({ dir, extension, }: { | ||
dir: string; | ||
extension?: string; | ||
}) => (name: string) => boolean; | ||
export declare const createWriter: <T = string, D = string>({ dir, extension, serialize }: { | ||
@@ -2,0 +6,0 @@ dir: string; |
{ | ||
"name": "arkham-divider-data", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "", | ||
@@ -11,6 +11,4 @@ "types": "build/types.d.ts", | ||
"serve": "http-server ./dist --cors", | ||
"build:compile": "tsc && tsc-alias", | ||
"build:start": "node -r tsconfig-paths/register ./build/index.js", | ||
"build": "npm run build:compile && npm run build:start", | ||
"publish-package": "npm run build:compile && npm publish" | ||
"build": "tsc && tsc-alias", | ||
"publish": "npm run build && npm publish" | ||
}, | ||
@@ -17,0 +15,0 @@ "keywords": [], |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
276574
1074
0