mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
✏️ 修正 type
This commit is contained in:
@@ -32,6 +32,19 @@ create table if not exists AchievementSeries
|
|||||||
updated text
|
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 创建应用数据表
|
-- @brief 创建应用数据表
|
||||||
create table if not exists AppData
|
create table if not exists AppData
|
||||||
(
|
(
|
||||||
|
|||||||
20
src/types/App/Character.d.ts
vendored
20
src/types/App/Character.d.ts
vendored
@@ -8,27 +8,29 @@
|
|||||||
declare namespace TGApp.App.Character {
|
declare namespace TGApp.App.Character {
|
||||||
/**
|
/**
|
||||||
* @description Wiki 页简略信息
|
* @description Wiki 页简略信息
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.0
|
||||||
* @interface WikiBriefInfo
|
* @interface WikiBriefInfo
|
||||||
* @property {number} id - 角色 ID
|
* @property {number} id - 角色 ID
|
||||||
* @property {number} contentId - 观测枢的 content_id
|
* @property {number} contentId - 观测枢的 content_id
|
||||||
* @property {string} name - 角色名称
|
* @property {string} name - 角色名称
|
||||||
|
* @property {string} title - 角色称号
|
||||||
|
* @property {string} birthday - 角色生日
|
||||||
* @property {number} star - 角色星级
|
* @property {number} star - 角色星级
|
||||||
* @property {string} bg - 角色背景图
|
* @property {string} element - 角色元素类型图标
|
||||||
* @property {string} elementIcon - 角色元素类型图标
|
* @property {string} weapon - 角色武器类型图标
|
||||||
* @property {string} weaponIcon - 角色武器类型图标
|
* @property {string} nameCard - 角色名片
|
||||||
* @property {string} icon - 角色图标
|
|
||||||
* @return WikiBriefInfo
|
* @return WikiBriefInfo
|
||||||
*/
|
*/
|
||||||
export interface WikiBriefInfo {
|
export interface WikiBriefInfo {
|
||||||
id: number
|
id: number
|
||||||
contentId: number
|
contentId: number
|
||||||
name: string
|
name: string
|
||||||
|
title: string
|
||||||
|
birthday: string
|
||||||
star: number
|
star: number
|
||||||
bg: string
|
element: string
|
||||||
elementIcon: string
|
weapon: string
|
||||||
weaponIcon: string
|
nameCard: string
|
||||||
icon: string
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user