damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

Types.tsx (529B)


      1 
      2 export interface LNCheckout {
      3   id: string;
      4   verified_pubkey?: string;
      5   product_template_name?: string;
      6   invoice?: {
      7     bolt11: string;
      8     paid?: boolean;
      9     label: string;
     10     connection_params: {
     11       nodeid: string;
     12       address: string;
     13       rune: string;
     14       ws_proxy_address: string;
     15     };
     16   };
     17   completed: boolean;
     18 }
     19 interface ProductTemplate {
     20   description: string;
     21   special_label?: string | null;
     22   amount_msat: number;
     23   expiry: number;
     24 }
     25 export type ProductTemplates = Record<string, ProductTemplate>;