UNPKG

genshin-manager

Version:

<div align="center"> <p> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https://img.shields.io/npm/v/genshin-manager.svg?maxAge=3600" alt="npm version" /></a> <a href="https://www.npmjs.com/package/genshin-manager"><img src="https:

119 lines (118 loc) 1.86 kB
import { APIAvatarInfo, APIPlayerInfo } from '../../types/enkaNetwork/EnkaTypes'; /** * Enka API GameAccount type */ export interface APIGameAccount { /** * UID */ uid: number; /** * Is the UID public */ uid_public: boolean; /** * Is the UID public */ public: boolean; /** * Is the live preview public */ live_public: boolean; /** * is the account verified */ verified: boolean; /** * Player Info */ player_info: APIPlayerInfo; /** * GameAccount Hash */ hash: string; /** * region */ region: string; /** * order */ order: number; /** * avatar order */ avatar_order: { [characterId: string]: number; }; /** * hoyo type (0: GI 1:HSR) */ hoyo_type: number; } /** * Enka API Build type */ export interface APIBuild { /** * Build ID */ id: number; /** * Build Name */ name: string; /** * Character ID */ avatar_id: string; /** * Avatar Info */ avatar_data: APIAvatarInfo; /** * order */ order: number; /** * is the live preview */ live: boolean; /** * Build Settings */ settings: APIBuildSettings; /** * is the public */ public: boolean; /** * image URL */ image: null | string; /** * hoyo type (0: GI 1:HSR) */ hoyo_type: number; } /** * Enka API Build Settings type */ export interface APIBuildSettings { /** * build description */ caption?: string; /** * custom art source */ artSource?: string; /** * honkard width */ honkardWidth?: number; /** * Is Adaptive Color */ adaptiveColor?: boolean; }