Update Types
This commit is contained in:
parent
09ce9c7917
commit
e0890a8f0e
@ -18,10 +18,20 @@ const localAddUser = require("../engine/user/add-user");
|
||||
/** ****************************************************************************** */
|
||||
/** ****************************************************************************** */
|
||||
|
||||
/**
|
||||
* @typedef {object} SuccessUserObject
|
||||
* @property {number} id
|
||||
* @property {string} first_name
|
||||
* @property {string} last_name
|
||||
* @property {string} email
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {object} FunctionReturn
|
||||
* @property {boolean} success - Did the function run successfully?
|
||||
* @property {(Object[]|string)} [payload=[]] - Payload
|
||||
* @property {SuccessUserObject | null} [payload] - Payload
|
||||
* @property {string} [msg]
|
||||
* @property {any} [sqlResult]
|
||||
*/
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user