This commit is contained in:
Tben 2023-08-11 17:53:20 +01:00
parent 31cd816941
commit 3af34950e3
2 changed files with 8 additions and 1 deletions

View File

@ -5,19 +5,25 @@
*/
const get = require("./utils/get");
const post = require("./utils/post");
const uploadImage = require("./utils/upload-image");
const uploadFile = require("./utils/upload-file");
const deleteFile = require("./utils/delete-file");
const createUser = require("./users/add-user");
const updateUser = require("./users/update-user");
const loginUser = require("./users/login-user");
const logoutUser = require("./users/logout-user");
const userAuth = require("./users/user-auth");
const reAuthUser = require("./users/reauth-user");
const getUser = require("./users/get-user");
const loginWithGoogle = require("./users/social/google-auth");
const loginWithGithub = require("./users/social/github-auth");
const getToken = require("./users/get-token");
const validateToken = require("./users/validate-token");
const sanitizeSql = require("./utils/functions/sanitizeSql");
////////////////////////////////////////
@ -49,6 +55,7 @@ const user = {
const media = {
uploadImage: uploadImage,
uploadFile: uploadFile,
deleteFile: deleteFile,
};
/**

View File

@ -1,6 +1,6 @@
{
"name": "datasquirel",
"version": "1.4.6",
"version": "1.4.7",
"description": "Cloud-based SQL data management tool",
"main": "index.js",
"scripts": {