mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-13 02:24:20 +01:00
feat(DittoTables): create EventZapRow
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user