From c91e2f80e989af14d10906798bd755ff765b2b3b Mon Sep 17 00:00:00 2001 From: BTMuli Date: Fri, 26 May 2023 22:29:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=B7=EF=B8=8F=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=B8=B8=E7=94=A8=20ck=20=E7=BB=84=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/BBS/Constant.d.ts | 52 ++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/src/types/BBS/Constant.d.ts b/src/types/BBS/Constant.d.ts index c8b831f5..93eac85c 100644 --- a/src/types/BBS/Constant.d.ts +++ b/src/types/BBS/Constant.d.ts @@ -2,7 +2,7 @@ * @file types BBS Constant.d.ts * @description BBS 常量相关类型定义文件 * @author BTMuli - * @since Alpha v0.1.5 + * @since Alpha v0.1.6 */ declare namespace TGApp.BBS.Constant { @@ -45,4 +45,54 @@ declare namespace TGApp.BBS.Constant { stuid: 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 {} + }