mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
♻️ 帖子文本解析部分重构
This commit is contained in:
8
src/plugins/Mys/types/SctPost.d.ts
vendored
8
src/plugins/Mys/types/SctPost.d.ts
vendored
@@ -1,27 +1,29 @@
|
||||
/**
|
||||
* @file plugins/Mys/types/SctPost.d.ts
|
||||
* @description Mys 插件 结构化帖子类型声明文件
|
||||
* @since Beta v0.3.7
|
||||
* @since Beta v0.4.5
|
||||
*/
|
||||
|
||||
/**
|
||||
* @description 结构化帖子类型命名空间
|
||||
* @since Beta v0.3.7
|
||||
* @since Beta v0.4.5
|
||||
* @namespace TGApp.Plugins.Mys.SctPost
|
||||
* @memberof TGApp.Plugins.Mys
|
||||
*/
|
||||
declare namespace TGApp.Plugins.Mys.SctPost {
|
||||
/**
|
||||
* @description 帖子结构化数据-基础类型
|
||||
* @since Beta v0.3.4
|
||||
* @since Beta v0.4.5
|
||||
* @interface Base
|
||||
* @property {unknown} insert - 帖子内容
|
||||
* @property {unknown} attributes - 帖子属性
|
||||
* @property {Base[]} children - 子帖子
|
||||
* @return Base
|
||||
*/
|
||||
interface Base {
|
||||
insert: any;
|
||||
attributes?: any;
|
||||
children?: Base[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user