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

124 lines
2.6 KiB
TypeScript
Raw Normal View History

2022-05-23 05:05:59 +00:00
import { IDocument } from '../models';
export declare const DocumentApiDefinition: {
/**
*
*/
search: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-06-29 16:03:02 +00:00
server: "/:organizationId/search";
client: (organizationId: any) => string;
2022-05-23 05:05:59 +00:00
};
/**
* 访
*/
recent: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-06-29 16:03:02 +00:00
server: "/:organizationId/recent";
client: (organizationId: any) => string;
2022-05-23 05:05:59 +00:00
};
/**
*
*/
create: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "create";
client: () => 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: IDocument['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: IDocument['id']) => string;
};
/**
*
*/
getVersionById: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "version/:id";
client: (id: IDocument['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: IDocument['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: IDocument['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: IDocument['id']) => string;
};
/**
*
*/
deleteMemberById: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "member/:id/delete";
client: (id: IDocument['id']) => string;
};
/**
*
*/
getChildren: {
2022-05-24 09:33:30 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "children";
client: () => string;
};
/**
*
*/
deleteById: {
2022-05-23 08:20:56 +00:00
method: "delete";
2022-05-23 05:05:59 +00:00
server: "delete/:id";
client: (id: IDocument['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: IDocument['id']) => string;
};
/**
*
*/
getPublicDetailById: {
2022-05-24 09:33:30 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "public/detail/:id";
client: (id: IDocument['id']) => string;
};
/**
*
*/
getPublicChildren: {
2022-05-24 09:33:30 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "public/children";
client: () => string;
};
};