mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-04-22 10:42:10 +00:00
20 lines
386 B
TypeScript
20 lines
386 B
TypeScript
import AbilityType, { AbilityTypeSimple } from "./AbilityType";
|
|
import LangList from "./LangList";
|
|
|
|
export interface AbilitySingle extends AbilitySimple {
|
|
type: AbilityTypeSimple
|
|
text: string
|
|
}
|
|
|
|
export interface AbilitySimple {
|
|
// id: number // WIP
|
|
name: string
|
|
}
|
|
|
|
export default interface Ability {
|
|
id?: number
|
|
type: AbilityType
|
|
name: LangList<string>
|
|
text: LangList<string>
|
|
}
|