ds4/src/item/item-data-source.ts

38 lines
1.4 KiB
TypeScript
Raw Normal View History

// SPDX-FileCopyrightText: 2022 Johannes Loher
2021-06-30 03:53:52 +02:00
//
// SPDX-License-Identifier: MIT
import { DS4 } from "../config";
import { DS4AlphabetDataSource } from "./alphabet/alphabet-data-source";
import { DS4ArmorDataSource } from "./armor/armor-data-source";
import { DS4EquipmentDataSource } from "./equipment/equipment-data-source";
import { DS4LanguageDataSource } from "./language/language-data-source";
import { DS4LootDataSource } from "./loot/loot-data-source";
import { DS4RacialAbilityDataSource } from "./racial-ability/racial-ability-data-source";
import { DS4ShieldDataSource } from "./shield/shield-data-source";
import { DS4SpecialCreatureAbilityDataSource } from "./special-creature-ability/special-creature-ability-data-source";
import { DS4SpellDataSource } from "./spell/spell-data-source";
import { DS4TalentDataSource } from "./talent/talent-data-source";
import { DS4WeaponDataSource } from "./weapon/weapon-data-source";
2021-06-30 03:53:52 +02:00
declare global {
interface SourceConfig {
Item: DS4ItemDataSource;
}
}
export type ItemType = keyof typeof DS4.i18n.itemTypes;
export type DS4ItemDataSource =
| DS4AlphabetDataSource
2021-06-30 03:53:52 +02:00
| DS4ArmorDataSource
| DS4EquipmentDataSource
| DS4LanguageDataSource
2021-06-30 03:53:52 +02:00
| DS4LootDataSource
| DS4RacialAbilityDataSource
| DS4ShieldDataSource
| DS4SpecialCreatureAbilityDataSource
| DS4SpellDataSource
| DS4TalentDataSource
| DS4WeaponDataSource;