UNPKG

node-hoyolab

Version:

node-hoyolab is an unofficial API Wrapper library developed to integrate with the Hoyolab, which provides a more convenient way to access the Hoyolab API.

18 lines (17 loc) 442 B
/** * Interface for redeeming a code in Genshin Impact. */ export interface IRedeemCode { /** * The data returned from redeeming the code. It can be a string or null. */ data: string | null; /** * A message describing the result of redeeming the code. */ message: string; /** * The return code from redeeming the code. A non-zero code indicates an error occurred. */ retcode: number; }