UNPKG

@ginstone/nga-api

Version:

64 lines (63 loc) 1.39 kB
import { ReputationLogType } from "../../enums/ReputationLogType"; export declare class AlterInfo { /** * 最后编辑 */ readonly lastEdit?: LastEdit; /** * 操作日志 */ readonly logs?: ReputationLog[]; constructor(s: string); } export declare class LastEdit { readonly timestamp?: Date; readonly userId?: number; readonly username?: string; constructor(s: string[]); } /** * 声望操作日志 */ export declare class ReputationLog { /** * 声望 */ readonly reputation: number; /** * 威望 */ readonly prestige: number; /** * 铜币 */ readonly money?: number; /** * 操作类型 */ readonly type: ReputationLogType; constructor(reputation: number, prestige: number, type: ReputationLogType, money?: number); } export declare class RewardLog extends ReputationLog { readonly reason?: string; constructor(split: string[]); } export declare class PunishmentLog extends ReputationLog { /** * 理由 */ readonly reason?: string; /** * 禁言天数 */ readonly days: number; /** * 版面id */ readonly forumId?: number; constructor(split: string[]); } export declare class CanceledLog extends ReputationLog { readonly remark: string | undefined; constructor(split: string[]); }