mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-23 05:56:03 +01:00
refactor: add search field to AuthorStatsRow, remove AuthorSearch interface
This commit is contained in:
@@ -9,7 +9,6 @@ export interface DittoTables extends NPostgresSchema {
|
||||
event_stats: EventStatsRow;
|
||||
pubkey_domains: PubkeyDomainRow;
|
||||
event_zaps: EventZapRow;
|
||||
author_search: AuthorSearch;
|
||||
}
|
||||
|
||||
type NostrEventsRow = NPostgresSchema['nostr_events'] & {
|
||||
@@ -21,6 +20,7 @@ interface AuthorStatsRow {
|
||||
followers_count: number;
|
||||
following_count: number;
|
||||
notes_count: number;
|
||||
search: string;
|
||||
}
|
||||
|
||||
interface EventStatsRow {
|
||||
@@ -55,8 +55,3 @@ interface EventZapRow {
|
||||
amount_millisats: number;
|
||||
comment: string;
|
||||
}
|
||||
|
||||
interface AuthorSearch {
|
||||
pubkey: string;
|
||||
search: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user