2022-05-23 05:05:59 +00:00
|
|
|
|
export declare const CollectorApiDefinition: {
|
|
|
|
|
/**
|
|
|
|
|
* 收藏(或取消收藏)
|
|
|
|
|
*/
|
|
|
|
|
toggle: {
|
2022-05-23 08:20:56 +00:00
|
|
|
|
method: "post";
|
2022-05-23 05:05:59 +00:00
|
|
|
|
server: "toggle";
|
|
|
|
|
client: () => string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 检测是否收藏
|
|
|
|
|
*/
|
|
|
|
|
check: {
|
2022-05-23 08:20:56 +00:00
|
|
|
|
method: "post";
|
2022-05-23 05:05:59 +00:00
|
|
|
|
server: "check";
|
|
|
|
|
client: () => string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 获取收藏的知识库
|
|
|
|
|
*/
|
|
|
|
|
wikis: {
|
2022-05-23 08:20:56 +00:00
|
|
|
|
method: "get";
|
2022-05-23 05:05:59 +00:00
|
|
|
|
server: "wikis";
|
|
|
|
|
client: () => string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* 获取收藏的文档
|
|
|
|
|
*/
|
|
|
|
|
documents: {
|
2022-05-23 08:20:56 +00:00
|
|
|
|
method: "get";
|
2022-05-23 05:05:59 +00:00
|
|
|
|
server: "documents";
|
|
|
|
|
client: () => string;
|
|
|
|
|
};
|
|
|
|
|
};
|