feat: 添加通知功能,整合通知数据获取和处理,优化通知列表显示
This commit is contained in:
@@ -80,6 +80,10 @@ export type HoldingsData = Treaty.Data<typeof client.api.rwa.holdings.get>;
|
||||
|
||||
export type HoldingItem = HoldingsData extends { data: Array<infer T> } ? T : HoldingsData extends Array<infer T> ? T : never;
|
||||
|
||||
export type NotificationData = Treaty.Data<typeof client.api.notifications.get>["data"][number];
|
||||
|
||||
export type NotificationBody = TreatyQuery<typeof client.api.notifications.get>;
|
||||
|
||||
/**
|
||||
* 应用版本信息
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user