UNPKG

@trophyso/node

Version:
17 lines (16 loc) 628 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 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; }