You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
350 B
TypeScript
17 lines
350 B
TypeScript
2 years ago
|
import {Event} from 'nostr-tools';
|
||
|
|
||
|
export type EventWithNip19 = Event & {
|
||
|
nip19: {
|
||
|
note: string;
|
||
|
npub: string;
|
||
|
}
|
||
|
};
|
||
|
|
||
|
export const textNoteList: Array<EventWithNip19> = []; // could use indexDB
|
||
|
|
||
|
export type EventWithNip19AndReplyTo = EventWithNip19 & {
|
||
|
replyTo: string;
|
||
|
};
|
||
|
|
||
|
export const replyList: Array<EventWithNip19AndReplyTo> = [];
|