mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
feat(DittoTables): create DittoDomainRow
This commit is contained in:
parent
9b74a8c5e8
commit
effb316409
1 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ export interface DittoTables {
|
||||||
event_stats: EventStatsRow;
|
event_stats: EventStatsRow;
|
||||||
pubkey_domains: PubkeyDomainRow;
|
pubkey_domains: PubkeyDomainRow;
|
||||||
event_zaps: EventZapRow;
|
event_zaps: EventZapRow;
|
||||||
|
ditto_domains: DittoDomainRow;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AuthorStatsRow {
|
interface AuthorStatsRow {
|
||||||
|
|
@ -54,3 +55,12 @@ interface EventZapRow {
|
||||||
amount_millisats: number;
|
amount_millisats: number;
|
||||||
comment: string;
|
comment: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface DittoDomainRow {
|
||||||
|
domain: string;
|
||||||
|
title: string;
|
||||||
|
description: string;
|
||||||
|
categories: Set<string>;
|
||||||
|
image: string;
|
||||||
|
total_users: number;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue