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

43 lines
708 B
TypeScript
Raw Normal View History

2022-05-23 13:05:59 +08:00
export declare const UserApiDefinition: {
/**
*
*/
getAllUsers: {
method: "Get";
server: "/";
client: () => string;
};
/**
*
*/
register: {
method: "Post";
server: "register";
client: () => string;
};
/**
*
*/
login: {
method: "Post";
server: "login";
client: () => string;
};
/**
*
*/
logout: {
method: "Post";
server: "logout";
client: () => string;
};
/**
*
*/
update: {
method: "Patch";
server: "update";
client: () => string;
};
};