feat: update onboarding flow

This commit is contained in:
2024-01-12 10:12:06 +07:00
parent 2c8571ecc7
commit e0d4c53098
10 changed files with 468 additions and 115 deletions

View File

@@ -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;