✏️ 修正 type

This commit is contained in:
BTMuli
2023-05-31 23:54:37 +08:00
parent 87a929a26e
commit c21eff2d11
2 changed files with 24 additions and 9 deletions

View File

@@ -32,6 +32,19 @@ create table if not exists AchievementSeries
updated text
);
-- @brief 创建角色数据表
create table if not exists AppCharacters
(
id integer primary key,
name text,
title text,
birthday text,
star integer,
element text,
weapon text,
nameCard text default ''
);
-- @brief 创建应用数据表
create table if not exists AppData
(

View File

@@ -8,27 +8,29 @@
declare namespace TGApp.App.Character {
/**
* @description Wiki 页简略信息
* @since Alpha v0.1.5
* @since Alpha v0.2.0
* @interface WikiBriefInfo
* @property {number} id - 角色 ID
* @property {number} contentId - 观测枢的 content_id
* @property {string} name - 角色名称
* @property {string} title - 角色称号
* @property {string} birthday - 角色生日
* @property {number} star - 角色星级
* @property {string} bg - 角色背景图
* @property {string} elementIcon - 角色元素类型图标
* @property {string} weaponIcon - 角色武器类型图标
* @property {string} icon - 角色图标
* @property {string} element - 角色元素类型图标
* @property {string} weapon - 角色武器类型图标
* @property {string} nameCard - 角色名片
* @return WikiBriefInfo
*/
export interface WikiBriefInfo {
id: number
contentId: number
name: string
title: string
birthday: string
star: number
bg: string
elementIcon: string
weaponIcon: string
icon: string
element: string
weapon: string
nameCard: string
}
}