This commit is contained in:
Tben 2023-05-18 12:08:14 +01:00
parent e0fdfa9817
commit 1ae2449467
2 changed files with 26 additions and 12 deletions

View File

@ -23,12 +23,13 @@ const userAuth = require("./users/user-auth");
* ============================================================================== * ==============================================================================
* User Functions Object * User Functions Object
* ============================================================================== * ==============================================================================
* @type {Object} * @type {{
* @property {Function} createUser - Create User Function * createUser: Function
* @property {Function} loginUser - Login User Function * loginUser: Function
* @property {Function} logoutUser - Logout User Function * logoutUser: Function
* @property {Function} userAuth - User Auth Function * userAuth: Function
* @property {Function} updateUser - Update User Function * updateUser: Function
* }}
*/ */
const user = { const user = {
createUser: createUser, createUser: createUser,
@ -42,8 +43,9 @@ const user = {
* ============================================================================== * ==============================================================================
* Media Functions Object * Media Functions Object
* ============================================================================== * ==============================================================================
* @type {Object} * @type {{
* @property {Function} uploadImage - Upload Image async Function * uploadImage: Function
* }}
*/ */
const media = { const media = {
uploadImage: uploadImage, uploadImage: uploadImage,
@ -53,9 +55,21 @@ const media = {
* ============================================================================== * ==============================================================================
* Main Export * Main Export
* ============================================================================== * ==============================================================================
* @type {Object} * @type {{
* @property {Function} get - get Function * get: Function,
* @property {Function} post - post Function * post: Function,
* media: {
* uploadImage: Function
* },
* user: {
* createUser: Function
* loginUser: Function
* logoutUser: Function
* userAuth: Function
* updateUser: Function
* },
* }}
* ==============================================================================
*/ */
const datasquirel = { const datasquirel = {
get: get, get: get,

View File

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