Remove CharacterComponent and CharacterDetail components

- Deleted `CharacterComponent` and `CharacterDetail` files from the project.
- Refactored related logic to improve code maintainability and reduce redundancy.
This commit is contained in:
natreex
2026-02-05 14:12:08 -05:00
parent cec5830360
commit 209dc6f85a
133 changed files with 17673 additions and 3110 deletions

View File

@@ -11,8 +11,14 @@ import {
faSnowflake,
faUserCog,
faUserFriends,
IconDefinition,
} from '@fortawesome/free-solid-svg-icons';
import {ElementSection} from "@/components/book/settings/world/WorldSetting";
export interface ElementSection {
title: string;
section: keyof WorldProps;
icon: IconDefinition;
}
export interface WorldElement {
id: string;
@@ -40,6 +46,7 @@ export interface WorldProps {
ethnicGroups: WorldElement[];
socialClasses: WorldElement[];
importantCharacters: WorldElement[];
seriesWorldId?: string | null;
}
export interface WorldListResponse {