card-drop/src/contracts/SeriesMetadata.ts
Ethan Lane 40db7cfebc
Some checks failed
Test / build (push) Failing after 8s
Add paginated view for embeds by search
2024-08-14 22:26:47 +01:00

20 lines
No EOL
372 B
TypeScript

import { CardRarity } from "../constants/CardRarity.js";
export interface SeriesMetadata {
id: number,
name: string,
cards: CardMetadata[],
}
export interface CardMetadata {
id: string,
name: string,
type: CardRarity,
path: string,
subseries?: string,
}
export interface DropResult {
series: SeriesMetadata,
card: CardMetadata,
}