node-valorant-api
Version:
A NodeJS wrapper for the VALORANT API
88 lines (87 loc) • 1.66 kB
TypeScript
import { LocalizedNamesDto } from '../general';
/**
* Response of the Content V1 Endpoint
*
*/
export interface ContentDto {
/**
* API Version
*/
version: string;
/**
* Characters List
*/
characters: ContentItemDto[];
/**
* Maps List
*/
maps: ContentItemDto[];
/**
* Chromas List
*/
chromas: ContentItemDto[];
/**
* Weapon Skins List
*/
skins: ContentItemDto[];
/**
* Weapon Skin Levels List
*/
skinLevels: ContentItemDto[];
/**
* Equipments List
*/
equips: ContentItemDto[];
/**
* Gamemodes List
*/
gameModes: ContentItemDto[];
/**
* Spray Paints List
*/
sprays: ContentItemDto[];
/**
* Spray Paints Level List
*/
sprayLevels: ContentItemDto[];
/**
* Weapon Charms List
*/
charms: ContentItemDto[];
/**
* Weapon Charm Levels List
*/
charmLevels: ContentItemDto[];
/**
* Player Cards List
*/
playerCards: ContentItemDto[];
/**
* Player Title List
*/
playerTitles: ContentItemDto[];
/**
* Acts List
*/
acts: ActDto[];
}
export interface ContentItemDto {
/**
* Name of the item
*/
name: string;
/**
* Localized Names of the item
*/
localizedNames: LocalizedNamesDto;
/**
* Asset Name of the item
*/
assetName: string;
}
export interface ActDto {
name: string;
localizedNames: LocalizedNamesDto;
id: string;
isActive: boolean;
}