mirror of
https://github.com/tcgdex/javascript-sdk.git
synced 2025-08-06 12:21:57 +00:00
19
interfaces/Ability.ts
Normal file
19
interfaces/Ability.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
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>
|
||||
}
|
Reference in New Issue
Block a user