feat(database): refine weapon registry cards

This commit is contained in:
JB
2026-07-26 01:09:22 -04:00
parent 81784f6f02
commit 143a30a23a
7 changed files with 168 additions and 10 deletions
+13 -1
View File
@@ -1,5 +1,15 @@
import type { GameIconName } from '$lib/game-icons';
export type DatabaseBadge = { label: string; tone?: string };
export type DatabaseFact = { label: string; value: string };
export type DatabaseMeter = { label: string; value: number };
export type DatabaseFact = {
label: string;
value: string;
emphasis?: 'primary';
gameIcon?: GameIconName;
note?: string;
meters?: DatabaseMeter[];
};
export type DatabaseItem = {
id: string;
@@ -7,6 +17,8 @@ export type DatabaseItem = {
kicker: string;
iconUrl?: string;
gameIcon?: string;
headerBadge?: string;
headerMetaIcon?: GameIconName;
badges?: DatabaseBadge[];
facts: DatabaseFact[];
factLayout?: 'grid' | 'stack';