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

91 lines
1.6 KiB
TypeScript
Raw Normal View History

2022-05-23 05:05:59 +00:00
export declare const UserApiDefinition: {
/**
*
*/
getAllUsers: {
2022-05-23 08:20:56 +00:00
method: "get";
2022-05-23 05:05:59 +00:00
server: "/";
client: () => string;
};
2022-06-28 09:11:26 +00:00
/**
*
*/
sendVerifyCode: {
method: "get";
server: "sendVerifyCode";
client: () => string;
};
2022-05-23 05:05:59 +00:00
/**
*
*/
register: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "register";
client: () => string;
};
2022-06-28 09:11:26 +00:00
/**
*
*/
resetPassword: {
method: "post";
server: "resetPassword";
client: () => string;
};
2022-05-23 05:05:59 +00:00
/**
*
*/
login: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "login";
client: () => string;
};
/**
*
*/
logout: {
2022-05-23 08:20:56 +00:00
method: "post";
2022-05-23 05:05:59 +00:00
server: "logout";
client: () => string;
};
/**
*
*/
update: {
2022-05-23 08:20:56 +00:00
method: "patch";
2022-05-23 05:05:59 +00:00
server: "update";
client: () => string;
};
2022-06-28 09:11:26 +00:00
/**
*
*/
toggleLockUser: {
method: "post";
server: "lock/user";
client: () => string;
};
/**
*
*/
getSystemConfig: {
method: "get";
server: "config/system";
client: () => string;
};
/**
*
*/
sendTestEmail: {
method: "get";
server: "config/system/sendTestEmail";
client: () => string;
};
/**
*
*/
updateSystemConfig: {
method: "post";
server: "config/system/updateSystemConfig";
client: () => string;
};
2022-05-23 05:05:59 +00:00
};