Properties
Static version
version: string = ...
Accessors
Static defaultOptions
- get defaultOptions(): Partial<Options>
Methods
createVersion
-
Parameters
Returns Promise<Version>
currentUser
- currentUser(): Promise<User>
login
- login(token: string): void
mod
- mod(id: string): Promise<Mod>
-
Parameters
Returns Promise<Mod>
mods
- mods(id: string[]): Promise<Mod[]>
- mods(...id: string[]): Promise<Mod[]>
-
Parameters
Returns Promise<Mod[]>
-
Parameters
Returns Promise<Mod[]>
user
- user(id: string): Promise<User>
-
Parameters
Returns Promise<User>
users
- users(id: string[]): Promise<User[]>
- users(...id: string[]): Promise<User[]>
-
Parameters
Returns Promise<User[]>
-
Parameters
Returns Promise<User[]>
version
- version(id: string): Promise<Version>
-
Parameters
Returns Promise<Version>
versions
- versions(id: string[]): Promise<Version[]>
- versions(...id: string[]): Promise<Version[]>
-
Parameters
Returns Promise<Version[]>
-
Parameters
Returns Promise<Version[]>