mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-26 05:39:45 +08:00
✏️ extends BaseWithData #51
This commit is contained in:
5
src/plugins/Mys/types/Emoji.d.ts
vendored
5
src/plugins/Mys/types/Emoji.d.ts
vendored
@@ -15,13 +15,12 @@ declare namespace TGApp.Plugins.Mys.Emoji {
|
||||
* @description 获取表情包列表返回
|
||||
* @since Beta v0.3.0
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {Series[]} data.list 表情包列表
|
||||
* @property {unknown} data.recently_emoticon 最近使用的表情包
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
list: Series[];
|
||||
recently_emoticon: unknown;
|
||||
|
||||
5
src/plugins/Mys/types/Gacha.d.ts
vendored
5
src/plugins/Mys/types/Gacha.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.Gacha {
|
||||
* @description 获取卡池信息返回
|
||||
* @since Alpha v0.2.1
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {Data[]} data.list 卡池数据
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
list: Data[];
|
||||
};
|
||||
|
||||
10
src/plugins/Mys/types/GameLogin.d.ts
vendored
10
src/plugins/Mys/types/GameLogin.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.GameLogin {
|
||||
* @description 获取登录二维码返回数据
|
||||
* @since Beta v0.3.0
|
||||
* @interface GetLoginQrResponse
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {GetLoginQrData} data 数据
|
||||
* @return GetLoginQrResponse
|
||||
*/
|
||||
interface GetLoginQrResponse extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface GetLoginQrResponse extends TGApp.BBS.Response.BaseWithData {
|
||||
data: GetLoginQrData;
|
||||
}
|
||||
|
||||
@@ -39,12 +38,11 @@ declare namespace TGApp.Plugins.Mys.GameLogin {
|
||||
* @description 获取登录状态返回数据
|
||||
* @since Beta v0.3.0
|
||||
* @interface GetLoginStatusResponse
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {GetLoginStatusData} data 数据
|
||||
* @return GetLoginStatusResponse
|
||||
*/
|
||||
interface GetLoginStatusResponse extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface GetLoginStatusResponse extends TGApp.BBS.Response.BaseWithData {
|
||||
data: GetLoginStatusData;
|
||||
}
|
||||
|
||||
|
||||
5
src/plugins/Mys/types/Lottery.d.ts
vendored
5
src/plugins/Mys/types/Lottery.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.Lottery {
|
||||
* @description 抽奖返回数据
|
||||
* @since Alpha v0.2.1
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {FullData} data.show_lottery 抽奖数据
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
show_lottery: FullData;
|
||||
};
|
||||
|
||||
5
src/plugins/Mys/types/News.d.ts
vendored
5
src/plugins/Mys/types/News.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.News {
|
||||
* @description 咨讯返回数据
|
||||
* @since Alpha v0.2.1
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {FullData} data 咨讯数据
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: FullData;
|
||||
}
|
||||
|
||||
|
||||
11
src/plugins/Mys/types/Obc.d.ts
vendored
11
src/plugins/Mys/types/Obc.d.ts
vendored
@@ -13,16 +13,15 @@
|
||||
declare namespace TGApp.Plugins.Mys.Obc {
|
||||
/**
|
||||
* @description Mys obc 返回数据
|
||||
* @since Alpha v0.2.1
|
||||
* @since Beta v0.3.6
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @property {Obc[]} data.list obc 列表
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {Data[]} data.list obc 列表
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
list: Obc[];
|
||||
list: Data[];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
5
src/plugins/Mys/types/Position.d.ts
vendored
5
src/plugins/Mys/types/Position.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.Position {
|
||||
* @description 热点追踪信息的返回类型
|
||||
* @since Alpha v0.2.1
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {ObcItem[]} data.list obc 列表
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
list: ObcItem[];
|
||||
};
|
||||
|
||||
5
src/plugins/Mys/types/Post.d.ts
vendored
5
src/plugins/Mys/types/Post.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.Post {
|
||||
* @description 帖子返回数据
|
||||
* @since Alpha v0.2.1
|
||||
* @interface Response
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {FullData} data.post 帖子数据
|
||||
* @return Response
|
||||
*/
|
||||
interface Response extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface Response extends TGApp.BBS.Response.BaseWithData {
|
||||
data: {
|
||||
post: FullData;
|
||||
};
|
||||
|
||||
5
src/plugins/Mys/types/User.d.ts
vendored
5
src/plugins/Mys/types/User.d.ts
vendored
@@ -15,12 +15,11 @@ declare namespace TGApp.Plugins.Mys.User {
|
||||
* @description 主页用户信息返回
|
||||
* @since Alpha v0.2.1
|
||||
* @interface HomeResponse
|
||||
* @extends TGApp.BBS.Response.Base
|
||||
* @extends TGApp.BBS.Response.BaseWithData
|
||||
* @property {Home} data 用户信息
|
||||
* @return HomeResponse
|
||||
*/
|
||||
interface HomeResponse extends TGApp.BBS.Response.Base {
|
||||
retcode: 0;
|
||||
interface HomeResponse extends TGApp.BBS.Response.BaseWithData {
|
||||
data: Home;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user