From effb316409cd1a21583d39cef58f06828dadce78 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Tue, 13 Aug 2024 17:07:58 -0300 Subject: [PATCH] feat(DittoTables): create DittoDomainRow --- src/db/DittoTables.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/db/DittoTables.ts b/src/db/DittoTables.ts index 69356649..8200c55f 100644 --- a/src/db/DittoTables.ts +++ b/src/db/DittoTables.ts @@ -5,6 +5,7 @@ export interface DittoTables { event_stats: EventStatsRow; pubkey_domains: PubkeyDomainRow; event_zaps: EventZapRow; + ditto_domains: DittoDomainRow; } interface AuthorStatsRow { @@ -54,3 +55,12 @@ interface EventZapRow { amount_millisats: number; comment: string; } + +interface DittoDomainRow { + domain: string; + title: string; + description: string; + categories: Set; + image: string; + total_users: number; +}