forked from phenom/healer-man
updating buff and debuff icons. separated COA classes from WoW classes on the character creation screen
This commit is contained in:
1 parent
b5c9bce1aa
commit
c00f3211ea
39 files changed
+2037
-208
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import { DUNGEON_DEFINITIONS, dungeonCanEnter, type DungeonId } from "./dungeonRegistry";
|
||||
import { CONTENT_CATEGORIES, type ContentCategoryId } from "../app/contentCategories";
|
||||
import { contentCategoryById, type ContentCategoryId } from "../app/contentCategories";
|
||||
|
||||
export type DungeonCategoryId = ContentCategoryId;
|
||||
const DUNGEON_CATEGORY_IDS = ["wow", "rom"] as const satisfies readonly ContentCategoryId[];
|
||||
export type DungeonCategoryId = (typeof DUNGEON_CATEGORY_IDS)[number];
|
||||
|
||||
export interface DungeonCategory {
|
||||
readonly id: DungeonCategoryId;
|
||||
@@ -10,11 +11,10 @@ export interface DungeonCategory {
|
||||
}
|
||||
|
||||
export const DUNGEON_CATEGORIES: readonly DungeonCategory[] = Object.freeze([
|
||||
...CONTENT_CATEGORIES.map((category) => ({
|
||||
id: category.id,
|
||||
label: category.label,
|
||||
fullName: category.name,
|
||||
})),
|
||||
...DUNGEON_CATEGORY_IDS.map((id) => {
|
||||
const category = contentCategoryById(id);
|
||||
return { id, label: category.label, fullName: category.name };
|
||||
}),
|
||||
]);
|
||||
|
||||
export interface DungeonCatalogEntry {
|
||||
|
||||
Reference in new issue
Block a user