updates
This commit is contained in:
parent
31cd816941
commit
3af34950e3
7
index.js
7
index.js
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user