UNPKG

typerinth

Version:

A TypeScript library for interacting with the Modrinth API.

23 lines (22 loc) 585 B
export interface Payout { /** The date of this transaction */ created: string; /** * The amount of this transaction in USD * @example 10 */ amount: number; /** * The status of this transaction * @example "success" */ status: string; } export interface PayoutHistory { /** The all-time balance accrued by this user in USD */ all_time: string; /** The amount in USD made by the user in the previous 30 days */ last_month: string; /** A history of all of the user’s past transactions */ payouts: Payout[]; }