mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
feat: create and add author_search interface to DittoTables
This commit is contained in:
parent
40c187680e
commit
8bc8712cf3
1 changed files with 6 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ export interface DittoTables extends NPostgresSchema {
|
||||||
event_stats: EventStatsRow;
|
event_stats: EventStatsRow;
|
||||||
pubkey_domains: PubkeyDomainRow;
|
pubkey_domains: PubkeyDomainRow;
|
||||||
event_zaps: EventZapRow;
|
event_zaps: EventZapRow;
|
||||||
|
author_search: AuthorSearch;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface AuthorStatsRow {
|
interface AuthorStatsRow {
|
||||||
|
|
@ -47,3 +48,8 @@ interface EventZapRow {
|
||||||
amount_millisats: number;
|
amount_millisats: number;
|
||||||
comment: string;
|
comment: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface AuthorSearch {
|
||||||
|
pubkey: string;
|
||||||
|
search: string;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue