Skip to content

@valoranchi/riot-client / raw / AccountValidator

Class: AccountValidator ​

Defined in: src/client/AccountValidator.ts:8

Constructors ​

Constructor ​

new AccountValidator(): AccountValidator

Returns ​

AccountValidator

Methods ​

validateActivateContract() ​

static validateActivateContract(rawContracts, ownedItems, catalogue, contractInput): object

Defined in: src/client/AccountValidator.ts:18

Parameters ​

rawContracts ​

RiotContractsResponse

ownedItems ​

OwnedItems

catalogue ​

Catalogue

contractInput ​

string

Returns ​

object

contractId ​

contractId: string


validateAddFavourite() ​

static validateAddFavourite(rawFavorites, ownedItems, catalogue, skinInput): object

Defined in: src/client/AccountValidator.ts:48

Parameters ​

rawFavorites ​

RiotFavoritesResponse

ownedItems ​

OwnedItems

catalogue ​

Catalogue

skinInput ​

string

Returns ​

object

ItemID ​

ItemID: string


validateMatchId() ​

static validateMatchId(matchId): string

Defined in: src/client/AccountValidator.ts:9

Parameters ​

matchId ​

string

Returns ​

string


validateRemoveFavourite() ​

static validateRemoveFavourite(rawFavorites, catalogue, skinInput): object

Defined in: src/client/AccountValidator.ts:80

Parameters ​

rawFavorites ​

RiotFavoritesResponse

catalogue ​

Catalogue

skinInput ​

string

Returns ​

object

itemIdWithoutDashes ​

itemIdWithoutDashes: string

Not affiliated with Riot Games