robosats/frontend/src/models/Book.model.ts
Reckless_Satoshi fc4f3e1593
Add undo confirm fiat sent action (#461)
* Add undo confirm fiat sent action

* Collect phrases

* Small fixes
2023-04-28 09:19:18 +00:00

31 lines
604 B
TypeScript

export interface PublicOrder {
id: number;
created_at: Date;
expires_at: Date;
type: number;
currency: number;
amount: string;
base_amount?: number;
has_range: boolean;
min_amount: number;
max_amount: number;
payment_method: string;
is_explicit: false;
premium: number;
satoshis: number;
satoshis_now: number;
bond_size: number;
maker: number;
escrow_duration: number;
maker_nick: string;
price: number;
maker_status: 'Active' | 'Seen recently' | 'Inactive';
}
export interface Book {
orders: PublicOrder[];
loading: boolean;
}
export default PublicOrder;