mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🏷️ 添加常用 ck 组合
This commit is contained in:
52
src/types/BBS/Constant.d.ts
vendored
52
src/types/BBS/Constant.d.ts
vendored
@@ -2,7 +2,7 @@
|
|||||||
* @file types BBS Constant.d.ts
|
* @file types BBS Constant.d.ts
|
||||||
* @description BBS 常量相关类型定义文件
|
* @description BBS 常量相关类型定义文件
|
||||||
* @author BTMuli<bt-muli@outlook.com>
|
* @author BTMuli<bt-muli@outlook.com>
|
||||||
* @since Alpha v0.1.5
|
* @since Alpha v0.1.6
|
||||||
*/
|
*/
|
||||||
|
|
||||||
declare namespace TGApp.BBS.Constant {
|
declare namespace TGApp.BBS.Constant {
|
||||||
@@ -45,4 +45,54 @@ declare namespace TGApp.BBS.Constant {
|
|||||||
stuid: string
|
stuid: string
|
||||||
stoken_v2?: string
|
stoken_v2?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description cookie 组合-1
|
||||||
|
* @interface CookieGroup1
|
||||||
|
* @since Alpha v0.1.6
|
||||||
|
* @property {string} login_ticket 登录凭证
|
||||||
|
* @property {string} login_uid 登录 uid
|
||||||
|
* @return CookieGroup1
|
||||||
|
*/
|
||||||
|
export interface CookieGroup1 {
|
||||||
|
login_ticket: string
|
||||||
|
login_uid: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description cookie 组合-2
|
||||||
|
* @interface CookieGroup2
|
||||||
|
* @since Alpha v0.1.6
|
||||||
|
* @property {string} account_id 账号 id
|
||||||
|
* @property {string} cookie_token cookie token
|
||||||
|
* @return CookieGroup2
|
||||||
|
*/
|
||||||
|
export interface CookieGroup2 {
|
||||||
|
account_id: string
|
||||||
|
cookie_token: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description cookie 组合-3
|
||||||
|
* @interface CookieGroup3
|
||||||
|
* @since Alpha v0.1.6
|
||||||
|
* @property {string} ltoken ltoken
|
||||||
|
* @property {string} ltuid ltoken 对应的 uid
|
||||||
|
* @return CookieGroup3
|
||||||
|
*/
|
||||||
|
export interface CookieGroup3 {
|
||||||
|
ltoken: string
|
||||||
|
ltuid: string
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description cookie 组合-4
|
||||||
|
* @interface CookieGroup4
|
||||||
|
* @since Alpha v0.1.6
|
||||||
|
* @extends CookieGroup2
|
||||||
|
* @extends CookieGroup3
|
||||||
|
* @return CookieGroup4
|
||||||
|
*/
|
||||||
|
export interface CookieGroup4 extends CookieGroup2, CookieGroup3 {}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user