feat: update onboarding flow
This commit is contained in:
50
packages/types/index.d.ts
vendored
50
packages/types/index.d.ts
vendored
@@ -20,19 +20,6 @@ export interface Account {
|
||||
relayList: string[];
|
||||
}
|
||||
|
||||
export interface WidgetGroup {
|
||||
title: string;
|
||||
data: WidgetGroupItem[];
|
||||
}
|
||||
|
||||
export interface WidgetGroupItem {
|
||||
title: string;
|
||||
description: string;
|
||||
content: string;
|
||||
kind: number;
|
||||
icon?: string;
|
||||
}
|
||||
|
||||
export interface IColumn {
|
||||
id?: number;
|
||||
kind: number;
|
||||
@@ -40,32 +27,6 @@ export interface IColumn {
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface WidgetProps {
|
||||
id?: string;
|
||||
account_id?: number;
|
||||
kind: number;
|
||||
title: string;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface Chats {
|
||||
id: string;
|
||||
event_id?: string;
|
||||
receiver_pubkey: string;
|
||||
sender_pubkey: string;
|
||||
content: string;
|
||||
tags: string[][];
|
||||
created_at: number;
|
||||
new_messages?: number;
|
||||
}
|
||||
|
||||
export interface Relays {
|
||||
id?: string;
|
||||
account_id?: number;
|
||||
relay: string;
|
||||
purpose?: string;
|
||||
}
|
||||
|
||||
export interface Opengraph {
|
||||
url: string;
|
||||
title?: string;
|
||||
@@ -97,17 +58,6 @@ export interface NostrBuildResponse {
|
||||
};
|
||||
}
|
||||
|
||||
export interface Resource {
|
||||
id: string;
|
||||
title: string;
|
||||
image: string;
|
||||
}
|
||||
|
||||
export interface Resources {
|
||||
title: string;
|
||||
data: Array<Resource>;
|
||||
}
|
||||
|
||||
export interface NDKCacheUser {
|
||||
pubkey: string;
|
||||
profile: string | NDKUserProfile;
|
||||
|
||||
Reference in New Issue
Block a user