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

52 lines
1006 B
TypeScript
Raw Normal View History

2022-05-23 05:05:59 +00:00
import { ITemplate } from '../models';
export declare const TemplateApiDefinition: {
/**
*
*/
public: {
method: "Get";
server: "public";
client: () => string;
};
/**
*
*/
own: {
method: "Get";
server: "own";
client: () => string;
};
/**
*
*/
add: {
method: "Post";
server: "add";
client: () => string;
};
/**
*
*/
updateById: {
method: "Patch";
server: "update/:id";
client: (id: ITemplate['id']) => string;
};
/**
*
*/
getDetailById: {
method: "Get";
server: "detail/:id";
client: (id: ITemplate['id']) => string;
};
/**
*
*/
deleteById: {
method: "Delete";
server: "delete/:id";
client: (id: ITemplate['id']) => string;
};
};