mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
44 lines
528 B
TypeScript
44 lines
528 B
TypeScript
import { List } from "./General"
|
|
import { CardSimple } from "./Card"
|
|
|
|
export enum Rarity {
|
|
Common,
|
|
Uncommon,
|
|
Rare,
|
|
|
|
// Rare holo
|
|
RareHolo,
|
|
RareHoloEX,
|
|
RareHoloGX,
|
|
RareHoloLvX,
|
|
|
|
// Rare other
|
|
RareUltra,
|
|
RarePrime,
|
|
RareACE,
|
|
RareBREAK,
|
|
RareRainbow,
|
|
|
|
// Other
|
|
LEGEND,
|
|
|
|
// V & Vmax
|
|
RareV,
|
|
RareVMAX,
|
|
}
|
|
|
|
export default Rarity
|
|
|
|
export interface RaritySimple {
|
|
id: Rarity
|
|
name: string
|
|
}
|
|
|
|
export type RaritySingle = {
|
|
id: Rarity
|
|
name: string
|
|
cards: Array<CardSimple>
|
|
}
|
|
|
|
export type RarityList = List<RaritySimple>
|