think/packages/domains/lib/api/star.d.ts

43 lines
807 B
TypeScript

export declare const StarApiDefinition: {
/**
* 收藏(或取消收藏)
*/
toggle: {
method: "post";
server: "toggle";
client: () => string;
};
/**
* 检测是否收藏
*/
check: {
method: "post";
server: "check";
client: () => string;
};
/**
* 获取收藏的知识库
*/
wikis: {
method: "get";
server: "wikis";
client: () => string;
};
/**
* 获取知识库内加星的文章
*/
wikiDocuments: {
method: "get";
server: "wiki/documents";
client: () => string;
};
/**
* 获取收藏的文档
*/
documents: {
method: "get";
server: "documents";
client: () => string;
};
};