Updates
This commit is contained in:
-2
@@ -8,7 +8,6 @@ import googleAuth from "../../actions/users/social/google-auth";
|
||||
import updateUser from "../../actions/users/update-user";
|
||||
import userAuth from "../../actions/users/user-auth";
|
||||
import validateTempEmailCode from "../../actions/users/validate-temp-email-code";
|
||||
import githubLogin from "../../functions/api/social-login/githubLogin";
|
||||
declare const user: {
|
||||
auth: {
|
||||
login: typeof loginUser;
|
||||
@@ -18,7 +17,6 @@ declare const user: {
|
||||
update: typeof updateUser;
|
||||
resetPassword: typeof resetPassword;
|
||||
googleLogin: typeof googleAuth;
|
||||
githubLoginFn: typeof githubLogin;
|
||||
logout: typeof logoutUser;
|
||||
auth: typeof userAuth;
|
||||
validateTempEmailCode: typeof validateTempEmailCode;
|
||||
|
||||
-2
@@ -13,7 +13,6 @@ const google_auth_1 = __importDefault(require("../../actions/users/social/google
|
||||
const update_user_1 = __importDefault(require("../../actions/users/update-user"));
|
||||
const user_auth_1 = __importDefault(require("../../actions/users/user-auth"));
|
||||
const validate_temp_email_code_1 = __importDefault(require("../../actions/users/validate-temp-email-code"));
|
||||
const githubLogin_1 = __importDefault(require("../../functions/api/social-login/githubLogin"));
|
||||
const user = {
|
||||
auth: {
|
||||
login: login_user_1.default,
|
||||
@@ -23,7 +22,6 @@ const user = {
|
||||
update: update_user_1.default,
|
||||
resetPassword: reset_password_1.default,
|
||||
googleLogin: google_auth_1.default,
|
||||
githubLoginFn: githubLogin_1.default,
|
||||
logout: logout_user_1.default,
|
||||
auth: user_auth_1.default,
|
||||
validateTempEmailCode: validate_temp_email_code_1.default,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import logoutUser from "../../actions/users/logout-user";
|
||||
import userAuth from "../../actions/users/user-auth";
|
||||
import validateTempEmailCode from "../../actions/users/validate-temp-email-code";
|
||||
import githubLogin from "../../functions/api/social-login/githubLogin";
|
||||
import { AddUserParams, GetUserParams, GoogleAuthParams, LoginUserParam, ResetPasswordParams, SendEmailCodeParams, UpdateUserParams } from "../../types";
|
||||
declare const localUser: {
|
||||
auth: {
|
||||
@@ -14,6 +15,7 @@ declare const localUser: {
|
||||
logout: typeof logoutUser;
|
||||
auth: typeof userAuth;
|
||||
validateTempEmailCode: typeof validateTempEmailCode;
|
||||
githubLoginFn: typeof githubLogin;
|
||||
};
|
||||
};
|
||||
export default localUser;
|
||||
|
||||
+2
@@ -22,6 +22,7 @@ const google_auth_1 = __importDefault(require("../../actions/users/social/google
|
||||
const update_user_1 = __importDefault(require("../../actions/users/update-user"));
|
||||
const user_auth_1 = __importDefault(require("../../actions/users/user-auth"));
|
||||
const validate_temp_email_code_1 = __importDefault(require("../../actions/users/validate-temp-email-code"));
|
||||
const githubLogin_1 = __importDefault(require("../../functions/api/social-login/githubLogin"));
|
||||
const localUser = {
|
||||
auth: {
|
||||
login: (_) => __awaiter(void 0, void 0, void 0, function* () {
|
||||
@@ -48,6 +49,7 @@ const localUser = {
|
||||
logout: logout_user_1.default,
|
||||
auth: user_auth_1.default,
|
||||
validateTempEmailCode: validate_temp_email_code_1.default,
|
||||
githubLoginFn: githubLogin_1.default,
|
||||
},
|
||||
};
|
||||
exports.default = localUser;
|
||||
|
||||
Reference in New Issue
Block a user