arkham-divider-data
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -1,6 +0,6 @@ | ||
import { IArkhamCards } from "../../types/arkhamCards"; | ||
import { IIcoMoon } from "../../types/icomoon"; | ||
import { Mapping } from "../../types/common"; | ||
import { IPOEditor } from "../../types/i18n"; | ||
import { IArkhamDB } from "../../types/arkhamDB"; | ||
import type { IArkhamCards } from "../../types/arkhamCards"; | ||
import type { IIcoMoon } from "../../types/icomoon"; | ||
import type { Mapping } from "../../types/common"; | ||
import type { IPOEditor } from "../../types/i18n"; | ||
import type { IArkhamDB } from "../../types/arkhamDB"; | ||
export declare const withLanguagePostfix: <T>(getUrl: (language: string) => string) => (language: string) => Promise<T>; | ||
@@ -7,0 +7,0 @@ export declare const loadIcons: () => Promise<IIcoMoon.Project>; |
@@ -1,2 +0,2 @@ | ||
import { IArkhamDB } from "../../types/arkhamDB"; | ||
import type { IArkhamDB } from "../../types/arkhamDB"; | ||
export declare const loadPacks: () => Promise<IArkhamDB.API.Pack[]>; | ||
@@ -3,0 +3,0 @@ export declare const loadLocalPackCards: (cycleCode: string, code: string, language: string) => Promise<IArkhamDB.API.Card[]>; |
@@ -1,2 +0,2 @@ | ||
import { AxiosRequestConfig } from "axios"; | ||
import { type AxiosRequestConfig } from "axios"; | ||
export declare const getWithPrefix: (baseURL: string) => <T>(path: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<T, any>>; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../types/cache'; | ||
import type { ICache } from '../../../types/cache'; | ||
export declare const getCampaignLinks: () => ICache.CampaignLink[]; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../../types/database"; | ||
import type { IDatabase } from "../../../types/database"; | ||
export declare const getEncounterSets: () => IDatabase.EncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../types/cache'; | ||
import type { ICache } from '../../../types/cache'; | ||
export declare const getEncounterSets: () => Promise<ICache.EncounterSet[]>; |
@@ -1,3 +0,3 @@ | ||
import { IIcoMoon } from '../../../types/icomoon'; | ||
import type { IIcoMoon } from '../../../types/icomoon'; | ||
export declare const getIcoMoonIcons: () => Promise<IIcoMoon.Icon[]>; | ||
export declare const getIconsInfo: ({ iconSets }: IIcoMoon.Project) => IIcoMoon.Icon[]; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from "../../../types/common"; | ||
import type { Mapping } from "../../../types/common"; | ||
export declare const getIconsMapping: () => Promise<Mapping>; | ||
@@ -3,0 +3,0 @@ export declare const PATCH_EXPRESSION: RegExp; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from "../../../types/common"; | ||
import type { Mapping } from "../../../types/common"; | ||
import { IconDBType } from "../../../types/icons"; | ||
@@ -3,0 +3,0 @@ export type IconDBOptions = { |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../../types/cache'; | ||
import type { ICache } from '../../../../types/cache'; | ||
export declare const getCampaignEncounterSets: () => ICache.ScenarioEncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../../types/cache'; | ||
import type { ICache } from '../../../../types/cache'; | ||
export declare const getSideEncounterSets: () => ICache.ScenarioEncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../types/cache'; | ||
import type { ICache } from '../../../types/cache'; | ||
export declare const getScenarioEncounterSets: () => ICache.ScenarioEncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../types/cache'; | ||
import type { ICache } from '../../../types/cache'; | ||
export declare const getSideScenarios: () => ICache.SideScenario[]; |
@@ -1,4 +0,4 @@ | ||
import { Mapping, SingleValue } from "../../../types/common"; | ||
import type { Mapping, SingleValue } from "../../../types/common"; | ||
import * as Cache from "../../../util/cache"; | ||
import { IArkhamCards } from "../../../types/arkhamCards"; | ||
import type { IArkhamCards } from "../../../types/arkhamCards"; | ||
type FullCampaigns = ReturnType<typeof Cache.getCampaigns>; | ||
@@ -5,0 +5,0 @@ type FullCampaign = SingleValue<FullCampaigns>; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from '../../../types/common'; | ||
import type { Mapping } from '../../../types/common'; | ||
export declare const getEncounterSetTranslations: (language: string) => Promise<Mapping>; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from '../../../types/database'; | ||
import type { IDatabase } from '../../../types/database'; | ||
export declare const getEncounterSets: () => IDatabase.EncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../../types/cache'; | ||
import type { ICache } from '../../../types/cache'; | ||
export declare const getEncounterSets: () => Promise<ICache.EncounterSet[]>; |
@@ -1,2 +0,2 @@ | ||
import { IArkhamDB } from '../../../types/arkhamDB'; | ||
import type { IArkhamDB } from '../../../types/arkhamDB'; | ||
import { ICache } from '../../../types/cache'; | ||
@@ -3,0 +3,0 @@ export declare const getPackEncounterSets: () => Promise<ICache.PackEncounterSet[]>; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from '../../types/database'; | ||
import type { IDatabase } from '../../types/database'; | ||
import { ICache } from '../../types/cache'; | ||
@@ -3,0 +3,0 @@ export declare const CUSTOM_POSITION_OFFSET = 200; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../types/cache'; | ||
import type { ICache } from '../../types/cache'; | ||
export declare const getPackEncounterSets: () => Promise<ICache.PackEncounterSet[]>; |
@@ -1,2 +0,2 @@ | ||
import { ICache } from '../../types/cache'; | ||
import type { ICache } from '../../types/cache'; | ||
export declare const getPackInvestigators: () => Promise<ICache.PackInvestigator[]>; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from '../../types/database'; | ||
import type { IDatabase } from '../../types/database'; | ||
export declare const getEncounterSets: () => IDatabase.EncounterSet[]; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../types/database"; | ||
import type { IDatabase } from "../../types/database"; | ||
export declare const getStories: () => IDatabase.Story[]; |
@@ -1,5 +0,5 @@ | ||
import { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import { ICache } from "../../../../types/cache"; | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import type { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import type { ICache } from "../../../../types/cache"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
export declare const createStoryCampaignHandler: ({ iconDB, scenarioEncounters }: { | ||
@@ -6,0 +6,0 @@ iconDB: IIconDB; |
@@ -1,3 +0,3 @@ | ||
import { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
export declare const getStoryCustomContent: ({ code, content }: { | ||
@@ -4,0 +4,0 @@ code: string; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../../types/database"; | ||
import type { IDatabase } from "../../../types/database"; | ||
export declare const getInvestigatorStories: () => IDatabase.Story[]; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../../types/database"; | ||
import type { IDatabase } from "../../../types/database"; | ||
export declare const getPromoStories: () => IDatabase.Story[]; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
export declare const checkScenario: ({ id, type, encounter_sets }: IDatabase.StoryScenario) => boolean; |
@@ -1,5 +0,5 @@ | ||
import { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import { ICache } from "../../../../types/cache"; | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import type { IArkhamCards } from "../../../../types/arkhamCards"; | ||
import type { ICache } from "../../../../types/cache"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
export declare const getScenarioIconIds: ({ campaignId, scenario, encounterSets }: { | ||
@@ -6,0 +6,0 @@ campaignId: any; |
@@ -1,2 +0,2 @@ | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
export declare const getStoryScenarioEncounters: ({ encounterSets, scenarios }: { | ||
@@ -3,0 +3,0 @@ encounterSets: IDatabase.EncounterSet[]; |
@@ -1,3 +0,3 @@ | ||
import { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import { IDatabase } from "../../../../types/database"; | ||
import type { IIconDB } from "../../../../components/arkhamCards/icons/IconDB"; | ||
import type { IDatabase } from "../../../../types/database"; | ||
type IGroupComposer = { | ||
@@ -4,0 +4,0 @@ scenarios: IDatabase.StoryScenario[]; |
@@ -1,3 +0,3 @@ | ||
import { Mapping } from "../../types/common"; | ||
import { LanguageStoryTranslation, StoryTranslation } from "../../types/i18n"; | ||
import type { Mapping } from "../../types/common"; | ||
import type { LanguageStoryTranslation, StoryTranslation } from "../../types/i18n"; | ||
export declare const createTranslationBundle: (sources: Mapping<LanguageStoryTranslation>[]) => Mapping<{ | ||
@@ -4,0 +4,0 @@ common: Mapping; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from '../../types/common'; | ||
import type { Mapping } from '../../types/common'; | ||
export declare const getCommonTranslations: (language: string) => Promise<Mapping>; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from "../../types/common"; | ||
import type { Mapping } from "../../types/common"; | ||
export declare const mergeTranslations: (dir: string) => Mapping; |
export { default as zhod } from './zhod.json'; | ||
export { default as ages_unwound } from './ages_unwound.json'; | ||
export { default as zau } from './zau.json'; | ||
export { default as ages_unwound } from './zau.json'; | ||
export { default as winter_winds } from './winter_winds.json'; | ||
@@ -4,0 +5,0 @@ export { default as zbh } from './zbh.json'; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from '../../types/common'; | ||
import type { Mapping } from '../../types/common'; | ||
declare const translations: Mapping<{ | ||
@@ -3,0 +3,0 @@ common: Mapping; |
@@ -1,2 +0,2 @@ | ||
import { IIcoMoon } from "../../types/icomoon"; | ||
import type { IIcoMoon } from "../../types/icomoon"; | ||
export declare const getIconContents: (item: IIcoMoon.Icon) => Promise<{ | ||
@@ -3,0 +3,0 @@ svg: string; |
@@ -1,2 +0,2 @@ | ||
import sharp from "sharp"; | ||
import type sharp from "sharp"; | ||
export declare const getIsIconCircled: ({ data, info }: { | ||
@@ -3,0 +3,0 @@ data: Buffer; |
@@ -1,2 +0,2 @@ | ||
import { Mapping } from '../../types/common'; | ||
import type { Mapping } from '../../types/common'; | ||
export declare const createStoryTranslationsCache: () => Promise<void>; | ||
@@ -3,0 +3,0 @@ export declare const getStoriesTranslation: (mapping: Mapping) => { |
@@ -1,3 +0,3 @@ | ||
import { Mapping } from "../../types/common"; | ||
import type { Mapping } from "../../types/common"; | ||
export declare const toTranslationBundle: (mapping: Mapping) => Mapping; | ||
export declare const toI18Next: (text: string) => string; |
@@ -1,3 +0,3 @@ | ||
import { IArkhamDB } from "./arkhamDB"; | ||
import { Mapping } from "./common"; | ||
import type { IArkhamDB } from "./arkhamDB"; | ||
import type { Mapping } from "./common"; | ||
export declare namespace IArkhamCards { | ||
@@ -4,0 +4,0 @@ enum ScenarioType { |
@@ -58,2 +58,3 @@ export declare namespace IArkhamDB { | ||
name: string; | ||
alternate_of?: string; | ||
real_name?: string; | ||
@@ -60,0 +61,0 @@ subname?: string; |
@@ -1,4 +0,4 @@ | ||
import { ICache } from "./cache"; | ||
import { Mapping } from "./common"; | ||
import { IDatabase } from "./database"; | ||
import type { ICache } from "./cache"; | ||
import type { Mapping } from "./common"; | ||
import type { IDatabase } from "./database"; | ||
export declare namespace IBuild { | ||
@@ -5,0 +5,0 @@ type Core = { |
@@ -1,2 +0,2 @@ | ||
import { ICache } from "./cache"; | ||
import type { ICache } from "./cache"; | ||
export declare namespace IDatabase { | ||
@@ -3,0 +3,0 @@ type CustomContent = { |
@@ -1,3 +0,3 @@ | ||
import { Mapping } from "./common"; | ||
import { IDatabase } from "./database"; | ||
import type { Mapping } from "./common"; | ||
import type { IDatabase } from "./database"; | ||
export declare namespace IPOEditor { | ||
@@ -4,0 +4,0 @@ type Translation = { |
@@ -1,6 +0,6 @@ | ||
import { IArkhamCards } from "../types/arkhamCards"; | ||
import { ICache } from "../types/cache"; | ||
import { Mapping } from "../types/common"; | ||
import { IDatabase } from "../types/database"; | ||
import { IIcoMoon } from "../types/icomoon"; | ||
import type { IArkhamCards } from "../types/arkhamCards"; | ||
import { type ICache } from "../types/cache"; | ||
import type { Mapping } from "../types/common"; | ||
import type { IDatabase } from "../types/database"; | ||
import type { IIcoMoon } from "../types/icomoon"; | ||
export declare const cache: (name: string, data: object) => void; | ||
@@ -7,0 +7,0 @@ export declare const getCache: <R extends any>(name: string, defaultValue?: R) => R; |
{ | ||
"name": "arkham-divider-data", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "types": "build/types.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
174
1908
90300