🎨 代码格式化

This commit is contained in:
BTMuli
2023-06-25 16:15:15 +08:00
parent 7982649bbc
commit 7567bba147
174 changed files with 29970 additions and 29840 deletions

View File

@@ -27,18 +27,18 @@ declare namespace TGApp.BBS.Account {
* @return VerifySTokenInfo
*/
export interface VerifySTokenInfo {
aid: string
mid: string
account_name: string
email: string
is_email_verify: number
area_code: string
safe_mobile: string
realname: string
identity_code: string
rebind_area_code: string
rebind_mobile: string
rebind_mobile_time: string
links: unknown[]
aid: string;
mid: string;
account_name: string;
email: string;
is_email_verify: number;
area_code: string;
safe_mobile: string;
realname: string;
identity_code: string;
rebind_area_code: string;
rebind_mobile: string;
rebind_mobile_time: string;
links: unknown[];
}
}

View File

@@ -15,7 +15,7 @@ declare namespace TGApp.BBS.Announcement {
* @return ListResponse
*/
export interface ListResponse extends TGApp.BBS.Response.Base {
data: ListData
data: ListData;
}
/**
@@ -27,7 +27,7 @@ declare namespace TGApp.BBS.Announcement {
* @return ContentResponse
*/
export interface ContentResponse extends TGApp.BBS.Response.Base {
data: ContentData
data: ContentData;
}
/**
@@ -49,18 +49,18 @@ declare namespace TGApp.BBS.Announcement {
* @return ListData
*/
export interface ListData {
list: ListItem[]
total: number
type_list: ListType[]
alert: boolean
time_zone: number
t: string
pic_list: unknown[]
pic_total: number
pic_type_list: unknown[]
pic_alert: boolean
pic_alert_id: number
static_sign: unknown
list: ListItem[];
total: number;
type_list: ListType[];
alert: boolean;
time_zone: number;
t: string;
pic_list: unknown[];
pic_total: number;
pic_type_list: unknown[];
pic_alert: boolean;
pic_alert_id: number;
static_sign: unknown;
}
/**
@@ -74,10 +74,10 @@ declare namespace TGApp.BBS.Announcement {
* @return ContentData
*/
export interface ContentData {
list: ContentItem[]
total: number
pic_list: unknown[]
pic_total: number
list: ContentItem[];
total: number;
pic_list: unknown[];
pic_total: number;
}
/**
@@ -90,9 +90,9 @@ declare namespace TGApp.BBS.Announcement {
* @return ListItem
*/
export interface ListItem {
list: AnnoSingle[]
type_id: number
type_label: string
list: AnnoSingle[];
type_id: number;
type_label: string;
}
/**
@@ -122,26 +122,26 @@ declare namespace TGApp.BBS.Announcement {
* @return AnnoSingle
*/
export interface AnnoSingle {
ann_id: number
title: string
subtitle: string
banner: string
content: unknown
type_label: string
tag_label: string
tag_icon: string
login_alert: number
lang: string
start_time: string
end_time: string
type: number
remind: number
alert: number
tag_start_time: string
tag_end_time: string
remind_ver: number
has_content: boolean
extra_remind: boolean
ann_id: number;
title: string;
subtitle: string;
banner: string;
content: unknown;
type_label: string;
tag_label: string;
tag_icon: string;
login_alert: number;
lang: string;
start_time: string;
end_time: string;
type: number;
remind: number;
alert: number;
tag_start_time: string;
tag_end_time: string;
remind_ver: number;
has_content: boolean;
extra_remind: boolean;
}
/**
@@ -154,9 +154,9 @@ declare namespace TGApp.BBS.Announcement {
* @return ListType
*/
export interface ListType {
id: number
name: string
mi18n_name: string
id: number;
name: string;
mi18n_name: string;
}
/**
@@ -172,11 +172,11 @@ declare namespace TGApp.BBS.Announcement {
* @return ContentItem
*/
export interface ContentItem {
ann_id: number
title: string
subtitle: string
banner: string
content: string
lang: string
ann_id: number;
title: string;
subtitle: string;
banner: string;
content: string;
lang: string;
}
}

View File

@@ -34,16 +34,16 @@ declare namespace TGApp.BBS.Constant {
* @return Cookie
*/
export interface Cookie {
login_ticket: string
login_uid: string
account_id: string
cookie_token: string
ltoken: string
ltuid: string
mid: string
stoken: string
stuid: string
stoken_v2?: string
login_ticket: string;
login_uid: string;
account_id: string;
cookie_token: string;
ltoken: string;
ltuid: string;
mid: string;
stoken: string;
stuid: string;
stoken_v2?: string;
}
/**
@@ -55,8 +55,8 @@ declare namespace TGApp.BBS.Constant {
* @return CookieGroup1
*/
export interface CookieGroup1 {
login_ticket: string
login_uid: string
login_ticket: string;
login_uid: string;
}
/**
@@ -68,8 +68,8 @@ declare namespace TGApp.BBS.Constant {
* @return CookieGroup2
*/
export interface CookieGroup2 {
account_id: string
cookie_token: string
account_id: string;
cookie_token: string;
}
/**
@@ -81,8 +81,8 @@ declare namespace TGApp.BBS.Constant {
* @return CookieGroup3
*/
export interface CookieGroup3 {
ltoken: string
ltuid: string
ltoken: string;
ltuid: string;
}
/**
@@ -94,5 +94,4 @@ declare namespace TGApp.BBS.Constant {
* @return CookieGroup4
*/
export interface CookieGroup4 extends CookieGroup2, CookieGroup3 {}
}

View File

@@ -17,9 +17,9 @@ declare namespace TGApp.BBS.Response {
* @return Base
*/
export interface Base {
retcode: number
message: string
data: any
retcode: number;
message: string;
data: any;
}
/**
@@ -31,8 +31,8 @@ declare namespace TGApp.BBS.Response {
* @return getTokensRes
*/
export interface getTokensRes {
name: string
token: string
name: string;
token: string;
}
/**
@@ -46,8 +46,8 @@ declare namespace TGApp.BBS.Response {
*/
export interface getTokens extends Base {
data: {
list: getTokensRes[]
}
list: getTokensRes[];
};
}
/**
@@ -61,8 +61,8 @@ declare namespace TGApp.BBS.Response {
*/
export interface getLTokenBySToken extends Base {
data: {
ltoken: string
}
ltoken: string;
};
}
/**
@@ -77,9 +77,9 @@ declare namespace TGApp.BBS.Response {
*/
export interface getCookieTokenBySToken extends Base {
data: {
uid: string
cookie_token: string
}
uid: string;
cookie_token: string;
};
}
/**
@@ -95,9 +95,9 @@ declare namespace TGApp.BBS.Response {
*/
export interface verifyUserInfoBySToken extends Base {
data: {
user_info: TGApp.BBS.Account.VerifySTokenInfo
realname_info: unknown
need_realperson: boolean
}
user_info: TGApp.BBS.Account.VerifySTokenInfo;
realname_info: unknown;
need_realperson: boolean;
};
}
}