2022-06-23 09:55:22 +00:00
|
|
|
export declare const StarApiDefinition: {
|
|
|
|
/**
|
2022-06-29 16:03:02 +00:00
|
|
|
* 加星或取消
|
2022-06-23 09:55:22 +00:00
|
|
|
*/
|
2022-06-29 16:03:02 +00:00
|
|
|
toggleStar: {
|
2022-06-23 09:55:22 +00:00
|
|
|
method: "post";
|
|
|
|
server: "toggle";
|
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 检测是否收藏
|
|
|
|
*/
|
2022-06-29 16:03:02 +00:00
|
|
|
isStared: {
|
2022-06-23 09:55:22 +00:00
|
|
|
method: "post";
|
2022-06-29 16:03:02 +00:00
|
|
|
server: "isStared";
|
2022-06-23 09:55:22 +00:00
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
2022-06-29 16:03:02 +00:00
|
|
|
* 获取组织内加星的知识库
|
2022-06-23 09:55:22 +00:00
|
|
|
*/
|
2022-06-29 16:03:02 +00:00
|
|
|
getStarWikisInOrganization: {
|
2022-06-23 09:55:22 +00:00
|
|
|
method: "get";
|
2022-06-29 16:03:02 +00:00
|
|
|
server: "/:organizationId/wikis";
|
|
|
|
client: (organizationId: any) => string;
|
2022-06-23 09:55:22 +00:00
|
|
|
};
|
|
|
|
/**
|
|
|
|
* 获取知识库内加星的文章
|
|
|
|
*/
|
2022-06-29 16:03:02 +00:00
|
|
|
getStarDocumentsInWiki: {
|
2022-06-23 09:55:22 +00:00
|
|
|
method: "get";
|
2022-06-29 16:03:02 +00:00
|
|
|
server: "/wiki/documents";
|
2022-06-23 09:55:22 +00:00
|
|
|
client: () => string;
|
|
|
|
};
|
|
|
|
/**
|
2022-06-29 16:03:02 +00:00
|
|
|
* 获取组织内加星的文档
|
2022-06-23 09:55:22 +00:00
|
|
|
*/
|
2022-06-29 16:03:02 +00:00
|
|
|
getStarDocumentsInOrganization: {
|
2022-06-23 09:55:22 +00:00
|
|
|
method: "get";
|
2022-06-29 16:03:02 +00:00
|
|
|
server: "/:organizationId/documents";
|
|
|
|
client: (organizationId: any) => string;
|
2022-06-23 09:55:22 +00:00
|
|
|
};
|
|
|
|
};
|