UNPKG

@trophyso/node

Version:
19 lines (18 loc) 718 B
import type * as TrophyApi from "../index"; /** * An issue encountered while processing an item in an admin API request. */ export interface AdminIssue { /** The ID of the resource the issue relates to, when applicable. */ id?: string; /** The ID of the user the issue relates to, when applicable. */ userId?: string; /** The ID of the points boost the issue relates to, when applicable. */ boostId?: string; /** The zero-based index of the item the issue relates to, when no resource ID exists yet. */ index?: number; /** The severity level of the issue. */ severity: TrophyApi.AdminIssueSeverity; /** A human-readable description of the issue. */ message: string; }