mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-16 09:58:13 +08:00
🐛 Tauri.Genshin → TeyvatGuide
This commit is contained in:
9
src/types/App/Achievement.d.ts
vendored
9
src/types/App/Achievement.d.ts
vendored
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* @file types App Achievement.d.ts
|
||||
* @file types/App/Achievement.d.ts
|
||||
* @description 应用成就相关类型定义文件
|
||||
* @todo https://github.com/BTMuli/Tauri.Genshin/issues/19
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
|
||||
* @since Alpha v0.1.5
|
||||
*/
|
||||
|
||||
@@ -20,7 +19,7 @@ declare namespace TGApp.App.Achievement {
|
||||
* @property {string} version - 成就版本
|
||||
* @return Item
|
||||
*/
|
||||
export interface Item {
|
||||
interface Item {
|
||||
id: number;
|
||||
series: number;
|
||||
order: number;
|
||||
@@ -41,7 +40,7 @@ declare namespace TGApp.App.Achievement {
|
||||
* @property {string} icon - 成就系列图标
|
||||
* @return Series
|
||||
*/
|
||||
export interface Series {
|
||||
interface Series {
|
||||
id: number;
|
||||
order: number;
|
||||
name: string;
|
||||
|
||||
15
src/types/BBS/Constant.d.ts
vendored
15
src/types/BBS/Constant.d.ts
vendored
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @file types BBS Constant.d.ts
|
||||
* @file types/BBS/Constant.d.ts
|
||||
* @description BBS 常量相关类型定义文件
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @since Alpha v0.1.6
|
||||
*/
|
||||
|
||||
@@ -28,12 +27,12 @@ declare namespace TGApp.BBS.Constant {
|
||||
* @property {string} stoken stoken
|
||||
* @property {string} stuid stoken 对应的 uid
|
||||
* @description stoken_v2 与 mid 一起使用,这是新版本的 token
|
||||
* @see https://github.com/BTMuli/Tauri.Genshin/issues/18
|
||||
* @see https://github.com/BTMuli/TeyvatGuide/issues/18
|
||||
* @property {string} stoken_v2 stoken_v2
|
||||
* @property {string} mid mid
|
||||
* @return Cookie
|
||||
*/
|
||||
export interface Cookie {
|
||||
interface Cookie {
|
||||
login_ticket: string;
|
||||
login_uid: string;
|
||||
account_id: string;
|
||||
@@ -54,7 +53,7 @@ declare namespace TGApp.BBS.Constant {
|
||||
* @property {string} login_uid 登录 uid
|
||||
* @return CookieGroup1
|
||||
*/
|
||||
export interface CookieGroup1 {
|
||||
interface CookieGroup1 {
|
||||
login_ticket: string;
|
||||
login_uid: string;
|
||||
}
|
||||
@@ -67,7 +66,7 @@ declare namespace TGApp.BBS.Constant {
|
||||
* @property {string} cookie_token cookie token
|
||||
* @return CookieGroup2
|
||||
*/
|
||||
export interface CookieGroup2 {
|
||||
interface CookieGroup2 {
|
||||
account_id: string;
|
||||
cookie_token: string;
|
||||
}
|
||||
@@ -80,7 +79,7 @@ declare namespace TGApp.BBS.Constant {
|
||||
* @property {string} ltuid ltoken 对应的 uid
|
||||
* @return CookieGroup3
|
||||
*/
|
||||
export interface CookieGroup3 {
|
||||
interface CookieGroup3 {
|
||||
ltoken: string;
|
||||
ltuid: string;
|
||||
}
|
||||
@@ -93,5 +92,5 @@ declare namespace TGApp.BBS.Constant {
|
||||
* @extends CookieGroup3
|
||||
* @return CookieGroup4
|
||||
*/
|
||||
export interface CookieGroup4 extends CookieGroup2, CookieGroup3 {}
|
||||
interface CookieGroup4 extends CookieGroup2, CookieGroup3 {}
|
||||
}
|
||||
|
||||
9
src/types/Sqlite/Achievement.d.ts
vendored
9
src/types/Sqlite/Achievement.d.ts
vendored
@@ -1,8 +1,7 @@
|
||||
/**
|
||||
* @file types Sqlite Achievement.d.ts
|
||||
* @file types/Sqlite/Achievement.d.ts
|
||||
* @description 数据库成就相关类型定义文件
|
||||
* @todo https://github.com/BTMuli/Tauri.Genshin/issues/19
|
||||
* @author BTMuli<bt-muli@outlook.com>
|
||||
* @todo https://github.com/BTMuli/TeyvatGuide/issues/19
|
||||
* @since Alpha v0.2.0
|
||||
*/
|
||||
|
||||
@@ -24,7 +23,7 @@ declare namespace TGApp.Sqlite.Achievement {
|
||||
* @property {string} updated - 数据库更新时间
|
||||
* @return SingleTable
|
||||
*/
|
||||
export interface SingleTable {
|
||||
interface SingleTable {
|
||||
id: number;
|
||||
series: number;
|
||||
order: number;
|
||||
@@ -52,7 +51,7 @@ declare namespace TGApp.Sqlite.Achievement {
|
||||
* @property {string} updated - 数据库更新时间
|
||||
* @returns SeriesTable
|
||||
*/
|
||||
export interface SeriesTable {
|
||||
interface SeriesTable {
|
||||
id: number;
|
||||
order: number;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user