clone of repo on github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
663 B

export type Tab = {
id: number;
type: TabType;
parent?: number;
previous?: Tab;
data?: unknown;
};
export type TabType =
| "welcome"
| "find"
| "article"
| "user"
| "settings"
| "editor";
export type EventCounts = { [kind: number]: number };
/**
* Enum of Nostr event kinds relevant to Alexandria.
*/
export enum NostrKind {
/** User metadata event (kind 0) */
UserMetadata = 0,
/** Text note event (kind 1) */
TextNote = 1,
/** Publication index event (kind 30040) */
PublicationIndex = 30040,
/** Publication content event (kind 30041) */
PublicationContent = 30041,
/** Wiki event (kind 30818) */
Wiki = 30818,
}