add mention to composer

This commit is contained in:
Ren Amamiya
2023-07-21 18:07:17 +07:00
parent 64cd17389d
commit 17d2a8cb56
11 changed files with 250 additions and 183 deletions

View File

@@ -1,4 +1,4 @@
import { NDKEvent } from '@nostr-dev-kit/ndk';
import { NDKEvent, NDKUserProfile } from '@nostr-dev-kit/ndk';
export interface LumeEvent extends NDKEvent {
event_id?: string;
@@ -15,6 +15,11 @@ export interface Account {
is_active: number;
}
export interface Profile extends NDKUserProfile {
ident?: string;
pubkey?: string;
}
export interface Block {
id: string;
account_id: number;