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: {
2022-05-23 16:20:56 +08:00
method: "get";
2022-05-23 13:05:59 +08:00
server: "/";
client: () => string;
};
/**
*
*/
register: {
2022-05-23 16:20:56 +08:00
method: "post";
2022-05-23 13:05:59 +08:00
server: "register";
client: () => string;
};
/**
*
*/
login: {
2022-05-23 16:20:56 +08:00
method: "post";
2022-05-23 13:05:59 +08:00
server: "login";
client: () => string;
};
/**
*
*/
logout: {
2022-05-23 16:20:56 +08:00
method: "post";
2022-05-23 13:05:59 +08:00
server: "logout";
client: () => string;
};
/**
*
*/
update: {
2022-05-23 16:20:56 +08:00
method: "patch";
2022-05-23 13:05:59 +08:00
server: "update";
client: () => string;
};
};