Release v4.1 (#229)
* refactor: remove custom icon packs * fix: command not work on windows * fix: make open_window command async * feat: improve commands * feat: improve * refactor: column * feat: improve thread column * feat: improve * feat: add stories column * feat: improve * feat: add search column * feat: add reset password * feat: add subscription * refactor: settings * chore: improve commands * fix: crash on production * feat: use tauri store plugin for cache * feat: new icon * chore: update icon for windows * chore: improve some columns * chore: polish code
This commit is contained in:
26
src/types.ts
26
src/types.ts
@@ -1,8 +1,3 @@
|
||||
export interface Keys {
|
||||
npub: string;
|
||||
nsec: string;
|
||||
}
|
||||
|
||||
export enum Kind {
|
||||
Metadata = 0,
|
||||
Text = 1,
|
||||
@@ -57,22 +52,20 @@ export interface Metadata {
|
||||
}
|
||||
|
||||
export interface ColumnRouteSearch {
|
||||
account: string;
|
||||
label: string;
|
||||
name: string;
|
||||
account?: string;
|
||||
label?: string;
|
||||
name?: string;
|
||||
redirect?: string;
|
||||
}
|
||||
|
||||
export interface LumeColumn {
|
||||
label: string;
|
||||
name: string;
|
||||
content: URL | string;
|
||||
description?: string;
|
||||
author?: string;
|
||||
logo?: string;
|
||||
cover?: string;
|
||||
coverRetina?: string;
|
||||
featured?: boolean;
|
||||
url: string;
|
||||
picture?: string;
|
||||
default?: boolean;
|
||||
official?: boolean;
|
||||
}
|
||||
|
||||
export interface ColumnEvent {
|
||||
@@ -94,3 +87,8 @@ export interface Relay {
|
||||
url: string;
|
||||
purpose: "read" | "write" | string;
|
||||
}
|
||||
|
||||
export interface EventPayload {
|
||||
raw: string;
|
||||
parsed: Meta;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user