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 get = require("./utils/get");
|
||||||
const post = require("./utils/post");
|
const post = require("./utils/post");
|
||||||
|
|
||||||
const uploadImage = require("./utils/upload-image");
|
const uploadImage = require("./utils/upload-image");
|
||||||
const uploadFile = require("./utils/upload-file");
|
const uploadFile = require("./utils/upload-file");
|
||||||
|
const deleteFile = require("./utils/delete-file");
|
||||||
|
|
||||||
const createUser = require("./users/add-user");
|
const createUser = require("./users/add-user");
|
||||||
const updateUser = require("./users/update-user");
|
const updateUser = require("./users/update-user");
|
||||||
const loginUser = require("./users/login-user");
|
const loginUser = require("./users/login-user");
|
||||||
const logoutUser = require("./users/logout-user");
|
const logoutUser = require("./users/logout-user");
|
||||||
|
|
||||||
const userAuth = require("./users/user-auth");
|
const userAuth = require("./users/user-auth");
|
||||||
const reAuthUser = require("./users/reauth-user");
|
const reAuthUser = require("./users/reauth-user");
|
||||||
const getUser = require("./users/get-user");
|
const getUser = require("./users/get-user");
|
||||||
|
|
||||||
const loginWithGoogle = require("./users/social/google-auth");
|
const loginWithGoogle = require("./users/social/google-auth");
|
||||||
const loginWithGithub = require("./users/social/github-auth");
|
const loginWithGithub = require("./users/social/github-auth");
|
||||||
const getToken = require("./users/get-token");
|
const getToken = require("./users/get-token");
|
||||||
const validateToken = require("./users/validate-token");
|
const validateToken = require("./users/validate-token");
|
||||||
|
|
||||||
const sanitizeSql = require("./utils/functions/sanitizeSql");
|
const sanitizeSql = require("./utils/functions/sanitizeSql");
|
||||||
|
|
||||||
////////////////////////////////////////
|
////////////////////////////////////////
|
||||||
@ -49,6 +55,7 @@ const user = {
|
|||||||
const media = {
|
const media = {
|
||||||
uploadImage: uploadImage,
|
uploadImage: uploadImage,
|
||||||
uploadFile: uploadFile,
|
uploadFile: uploadFile,
|
||||||
|
deleteFile: deleteFile,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "datasquirel",
|
"name": "datasquirel",
|
||||||
"version": "1.4.6",
|
"version": "1.4.7",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user