mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-05-23 05:45:46 +08:00
✏️ 修正数据库类型
This commit is contained in:
6
src/types/Sqlite/Achievement.d.ts
vendored
6
src/types/Sqlite/Achievement.d.ts
vendored
@@ -3,7 +3,7 @@
|
|||||||
* @description 数据库成就相关类型定义文件
|
* @description 数据库成就相关类型定义文件
|
||||||
* @todo https://github.com/BTMuli/Tauri.Genshin/issues/19
|
* @todo https://github.com/BTMuli/Tauri.Genshin/issues/19
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.Sqlite.Achievement {
|
declare namespace TGApp.Sqlite.Achievement {
|
||||||
@@ -40,7 +40,7 @@ declare namespace TGApp.Sqlite.Achievement {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @description 数据库-成就系列表
|
* @description 数据库-成就系列表
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.0
|
||||||
* @interface SeriesTable
|
* @interface SeriesTable
|
||||||
* @property {number} id - 成就系列 ID
|
* @property {number} id - 成就系列 ID
|
||||||
* @property {number} order - 成就系列排列顺序,用于展示全部成就系列
|
* @property {number} order - 成就系列排列顺序,用于展示全部成就系列
|
||||||
@@ -48,7 +48,6 @@ declare namespace TGApp.Sqlite.Achievement {
|
|||||||
* @property {string} version - 成就系列版本
|
* @property {string} version - 成就系列版本
|
||||||
* @property {number} totalCount - 成就系列包含的成就数
|
* @property {number} totalCount - 成就系列包含的成就数
|
||||||
* @property {number} finCount - 成就系列已完成的成就数
|
* @property {number} finCount - 成就系列已完成的成就数
|
||||||
* @property {string} icon - 成就系列图标
|
|
||||||
* @property {string} nameCard - 成就系列对应名片
|
* @property {string} nameCard - 成就系列对应名片
|
||||||
* @property {string} updated - 数据库更新时间
|
* @property {string} updated - 数据库更新时间
|
||||||
* @returns SeriesTable
|
* @returns SeriesTable
|
||||||
@@ -60,7 +59,6 @@ declare namespace TGApp.Sqlite.Achievement {
|
|||||||
version: string
|
version: string
|
||||||
totalCount: number
|
totalCount: number
|
||||||
finCount: number
|
finCount: number
|
||||||
icon: string
|
|
||||||
nameCard: string
|
nameCard: string
|
||||||
updated: string
|
updated: string
|
||||||
}
|
}
|
||||||
|
|||||||
16
src/types/Sqlite/NameCard.d.ts
vendored
16
src/types/Sqlite/NameCard.d.ts
vendored
@@ -2,31 +2,25 @@
|
|||||||
* @file types Sqlite NameCard.d.ts
|
* @file types Sqlite NameCard.d.ts
|
||||||
* @description Sqlite 名片类型定义文件
|
* @description Sqlite 名片类型定义文件
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.Sqlite.NameCard {
|
declare namespace TGApp.Sqlite.NameCard {
|
||||||
/**
|
/**
|
||||||
* @description 名片数据
|
* @description 名片数据
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.2.0
|
||||||
* @interface Item
|
* @interface SingleTable
|
||||||
* @property {string} name - 名片名称
|
* @property {string} name - 名片名称
|
||||||
* @property {string} desc - 名片描述
|
* @property {string} desc - 名片描述
|
||||||
* @property {string} icon - 名片图标
|
|
||||||
* @property {string} bg - 名片背景图
|
|
||||||
* @property {string} profile - 名片 Profile 图
|
|
||||||
* @description 0: 其他,1: 成就,2:角色,3:纪行,4:活动 // todo: 后续用枚举替换
|
* @description 0: 其他,1: 成就,2:角色,3:纪行,4:活动 // todo: 后续用枚举替换
|
||||||
* @property {number} type - 名片类型
|
* @property {number} type - 名片类型
|
||||||
* @property {string} source - 名片来源
|
* @property {string} source - 名片来源
|
||||||
* @property {string} updated - 数据库更新时间
|
* @property {string} updated - 数据库更新时间
|
||||||
* @return Item
|
* @return SingleTable
|
||||||
*/
|
*/
|
||||||
export interface Item {
|
export interface SingleTable {
|
||||||
name: string
|
name: string
|
||||||
desc: string
|
desc: string
|
||||||
icon: string
|
|
||||||
bg: string
|
|
||||||
profile: string
|
|
||||||
type: number
|
type: number
|
||||||
source: string
|
source: string
|
||||||
updated: string
|
updated: string
|
||||||
|
|||||||
Reference in New Issue
Block a user