mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
feat(DittoTables): create EventZapRow
This commit is contained in:
parent
766290bd45
commit
ddb93af09f
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ export interface DittoTables {
|
|||
author_stats: AuthorStatsRow;
|
||||
event_stats: EventStatsRow;
|
||||
pubkey_domains: PubkeyDomainRow;
|
||||
event_zaps: EventZapRow;
|
||||
}
|
||||
|
||||
interface AuthorStatsRow {
|
||||
|
|
@ -69,3 +70,11 @@ interface PubkeyDomainRow {
|
|||
domain: string;
|
||||
last_updated_at: number;
|
||||
}
|
||||
|
||||
interface EventZapRow {
|
||||
receipt_id: string;
|
||||
target_event_id: string;
|
||||
sender_pubkey: string;
|
||||
amount: number;
|
||||
comment: string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue