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

164 lines
3.6 KiB
TypeScript
Raw Permalink Normal View History

2022-05-23 05:05:59 +00:00
import { IWiki } from '../models';
export declare const WikiApiDefinition: {
/**
*
*/
getAllWikis: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-06-29 16:03:02 +00:00
server: "list/all/:organizationId";
client: (organizationId: any) => string;
2022-05-23 05:05:59 +00:00
};
/**
*
*/
getOwnWikis: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-06-29 16:03:02 +00:00
server: "list/own/:organizationId";
client: (organizationId: any) => string;
2022-05-23 05:05:59 +00:00
};
/**
*
*/
getJoinWikis: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-06-29 16:03:02 +00:00
server: "list/join/:organizationId";
client: (organizationId: any) => string;
2022-05-23 05:05:59 +00:00
};
/**
*
*/
add: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "add";
client: () => string;
};
/**
*
*/
getHomeDocumentById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "homedoc/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getTocsById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "tocs/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
updateTocsById: {
2022-05-23 08:20:56 +00:00
method: "patch";
2022-05-23 05:05:59 +00:00
server: "tocs/:id/update";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getDocumentsById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "documents/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getDetailById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "detail/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
updateById: {
2022-05-23 08:20:56 +00:00
method: "patch";
2022-05-23 05:05:59 +00:00
server: "update/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
deleteById: {
2022-05-23 08:20:56 +00:00
method: "delete";
2022-05-23 05:05:59 +00:00
server: "delet/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getMemberById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "member/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
addMemberById: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "member/:id/add";
client: (id: IWiki['id']) => string;
};
/**
*
*/
updateMemberById: {
2022-05-23 08:20:56 +00:00
method: "patch";
2022-05-23 05:05:59 +00:00
server: "member/:id/update";
client: (id: IWiki['id']) => string;
};
/**
*
*/
deleteMemberById: {
2022-05-23 08:20:56 +00:00
method: "delete";
2022-05-23 05:05:59 +00:00
server: "member/:id/delete";
client: (id: IWiki['id']) => string;
};
/**
*
*/
shareById: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "share/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getPublicHomeDocumentById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "/public/homedoc/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getPublicTocsById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "/public/tocs/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getPublicDetailById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "/public/detail/:id";
client: (id: IWiki['id']) => string;
};
/**
*
*/
getPublicWikis: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "/public/wikis";
2022-05-23 08:20:56 +00:00
client: () => string;
2022-05-23 05:05:59 +00:00
};
};