From 8bc8712cf37d542258c9eecf4179d99e0ec8496d Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Fri, 13 Sep 2024 10:23:08 -0300 Subject: [PATCH] feat: create and add author_search interface to DittoTables --- src/db/DittoTables.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/db/DittoTables.ts b/src/db/DittoTables.ts index a62c485..38f7249 100644 --- a/src/db/DittoTables.ts +++ b/src/db/DittoTables.ts @@ -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; +}