This commit is contained in:
Ren Amamiya
2023-07-17 07:51:00 +07:00
parent 9a09a04a5d
commit 4f41022b30
9 changed files with 44 additions and 33 deletions

17
src/utils/types.d.ts vendored
View File

@@ -5,6 +5,23 @@ export interface LumeEvent extends NDKEvent {
parent_id: string;
}
export interface Account {
id: number;
npub: string;
pubkey: string;
privkey: string;
follows: string[] | string;
is_active: number;
}
export interface Block {
id: string;
account_id: number;
kind: number;
title: string;
content: string;
}
export interface Chats {
id: string;
event_id: string;