mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-23 14:41:35 +00:00
35 lines
767 B
TypeScript
35 lines
767 B
TypeScript
export interface PublicOrder {
|
|
id: number;
|
|
created_at: Date;
|
|
expires_at: Date;
|
|
type: number;
|
|
currency: number | null;
|
|
amount: string;
|
|
base_price?: number;
|
|
has_range: boolean;
|
|
min_amount: string | null;
|
|
max_amount: string | null;
|
|
payment_method: string;
|
|
is_explicit: false;
|
|
premium: string;
|
|
satoshis: number | null;
|
|
satoshis_now: number | null;
|
|
latitude: number | null;
|
|
longitude: number | null;
|
|
bond_size: string;
|
|
maker: number | null;
|
|
escrow_duration: number;
|
|
maker_nick: string;
|
|
maker_hash_id: string;
|
|
price: number | null;
|
|
maker_status?: 'Active' | 'Seen recently' | 'Inactive';
|
|
coordinatorShortAlias?: string;
|
|
}
|
|
|
|
export interface Book {
|
|
orders: PublicOrder[];
|
|
loading: boolean;
|
|
}
|
|
|
|
export default PublicOrder;
|