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