mirror of
https://github.com/Such-Software/smirk-website.git
synced 2026-11-13 09:14:03 +01:00
docs: update TODO and tips page for alpha
- Simplify TODO with completed items - Tips page shows confirmation status
This commit is contained in:
@@ -185,6 +185,12 @@ export interface SentTip {
|
||||
created_at: string;
|
||||
claimed_at: string | null;
|
||||
clawed_back_at: string | null;
|
||||
/** Current number of confirmations for funding tx */
|
||||
funding_confirmations: number;
|
||||
/** Required confirmations before tip is claimable (XMR/GRIN=10, WOW=4, BTC/LTC=0) */
|
||||
confirmations_required: number;
|
||||
/** Whether the tip has enough confirmations to be claimed */
|
||||
is_claimable: boolean;
|
||||
}
|
||||
|
||||
export interface ClaimableTip {
|
||||
@@ -207,6 +213,12 @@ export interface ReceivedTip {
|
||||
created_at: string;
|
||||
claimed_at: string | null;
|
||||
clawed_back_at: string | null;
|
||||
/** Current number of confirmations for funding tx */
|
||||
funding_confirmations: number;
|
||||
/** Required confirmations before tip is claimable (XMR/GRIN=10, WOW=4, BTC/LTC=0) */
|
||||
confirmations_required: number;
|
||||
/** Whether the tip has enough confirmations to be claimed */
|
||||
is_claimable: boolean;
|
||||
}
|
||||
|
||||
export async function getSentTips(token: string): Promise<{ tips: SentTip[] }> {
|
||||
|
||||
Reference in New Issue
Block a user