mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
31 lines
482 B
Python
31 lines
482 B
Python
from typing import NamedTuple
|
|
|
|
|
|
class Domains(NamedTuple):
|
|
id: str
|
|
wallet: str
|
|
domain: str
|
|
cf_token: str
|
|
cf_zone_id: str
|
|
webhook: str
|
|
description: str
|
|
cost: int
|
|
amountmade: int
|
|
time: int
|
|
allowed_record_types: str
|
|
|
|
|
|
class Subdomains(NamedTuple):
|
|
id: str
|
|
wallet: str
|
|
domain: str
|
|
domain_name: str
|
|
subdomain: str
|
|
email: str
|
|
ip: str
|
|
sats: int
|
|
duration: int
|
|
paid: bool
|
|
time: int
|
|
record_type: str
|