feat(database): refine weapon registry cards
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user