Update Types
This commit is contained in:
parent
33283e7d0f
commit
2f93b6a311
@ -1,3 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* @typedef {string} DSQL_DatabaseFullName - Database full name(slug) including datasquirel data => "datasquirel_user_7_new_database"
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* @typedef {object} DSQL_MYSQL_SHOW_INDEXES_Type
|
||||
* @property {string} Key_name - MYSQL Index Name
|
||||
@ -44,5 +46,3 @@
|
||||
* @property {number} active_clone - is Database active clone => 0 or 1
|
||||
* @property {string} active_clone_parent_db - Database parent db full name => eg. "datasquirel_user_7_wexculture"
|
||||
*/
|
||||
|
||||
////////////////////////////////////////
|
||||
|
@ -33,4 +33,6 @@
|
||||
* @property {string} [msg] - Message
|
||||
* @property {string} [error] - Error Message
|
||||
* @property {DSQL_TableSchemaType} [schema] - Error Message
|
||||
*
|
||||
* @exports GetReturn
|
||||
*/
|
||||
|
@ -1,3 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
/**
|
||||
* @typedef {object} DATASQUIREL_LoggedInUser
|
||||
* @property {number} [id]
|
||||
@ -41,7 +43,7 @@
|
||||
/**
|
||||
* @typedef {object} AuthenticatedUser
|
||||
* @property {boolean} success - Did the function run successfully?
|
||||
* @property {import("../types/user.td").DATASQUIREL_LoggedInUser | null} payload - Payload of the response
|
||||
* @property {DATASQUIREL_LoggedInUser | null} payload - Payload of the response
|
||||
* @property {string} [msg] - An optional message
|
||||
* @property {number} [userId] - An optional message
|
||||
*/
|
||||
@ -97,14 +99,14 @@
|
||||
* social_id: [string],
|
||||
* image: string,
|
||||
* image_thumbnail: string,
|
||||
* verification_status: [number=0],
|
||||
* verification_status: [number],
|
||||
* }} payload - Payload
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {object} ReauthUserFunctionReturn
|
||||
* @property {boolean} success - Did the function run successfully?
|
||||
* @property {import("../types/user.td").DATASQUIREL_LoggedInUser | null} payload - Payload
|
||||
* @property {DATASQUIREL_LoggedInUser | null} payload - Payload
|
||||
* @property {string} [msg] - Response Message
|
||||
* @property {number} [userId] - user ID
|
||||
* @property {string} [token] - new Token
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "datasquirel",
|
||||
"version": "2.1.4",
|
||||
"version": "2.1.5",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user