mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-10 16:04:20 +01:00
feat: create and add author_search interface to DittoTables
This commit is contained in:
@@ -6,6 +6,7 @@ export interface DittoTables extends NPostgresSchema {
|
||||
event_stats: EventStatsRow;
|
||||
pubkey_domains: PubkeyDomainRow;
|
||||
event_zaps: EventZapRow;
|
||||
author_search: AuthorSearch;
|
||||
}
|
||||
|
||||
interface AuthorStatsRow {
|
||||
@@ -47,3 +48,8 @@ interface EventZapRow {
|
||||
amount_millisats: number;
|
||||
comment: string;
|
||||
}
|
||||
|
||||
interface AuthorSearch {
|
||||
pubkey: string;
|
||||
search: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user