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"
|
* @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
|
* @typedef {object} DSQL_MYSQL_SHOW_INDEXES_Type
|
||||||
* @property {string} Key_name - MYSQL Index Name
|
* @property {string} Key_name - MYSQL Index Name
|
||||||
@ -44,5 +46,3 @@
|
|||||||
* @property {number} active_clone - is Database active clone => 0 or 1
|
* @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"
|
* @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} [msg] - Message
|
||||||
* @property {string} [error] - Error Message
|
* @property {string} [error] - Error Message
|
||||||
* @property {DSQL_TableSchemaType} [schema] - Error Message
|
* @property {DSQL_TableSchemaType} [schema] - Error Message
|
||||||
|
*
|
||||||
|
* @exports GetReturn
|
||||||
*/
|
*/
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
// @ts-check
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} DATASQUIREL_LoggedInUser
|
* @typedef {object} DATASQUIREL_LoggedInUser
|
||||||
* @property {number} [id]
|
* @property {number} [id]
|
||||||
@ -41,7 +43,7 @@
|
|||||||
/**
|
/**
|
||||||
* @typedef {object} AuthenticatedUser
|
* @typedef {object} AuthenticatedUser
|
||||||
* @property {boolean} success - Did the function run successfully?
|
* @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 {string} [msg] - An optional message
|
||||||
* @property {number} [userId] - An optional message
|
* @property {number} [userId] - An optional message
|
||||||
*/
|
*/
|
||||||
@ -97,14 +99,14 @@
|
|||||||
* social_id: [string],
|
* social_id: [string],
|
||||||
* image: string,
|
* image: string,
|
||||||
* image_thumbnail: string,
|
* image_thumbnail: string,
|
||||||
* verification_status: [number=0],
|
* verification_status: [number],
|
||||||
* }} payload - Payload
|
* }} payload - Payload
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {object} ReauthUserFunctionReturn
|
* @typedef {object} ReauthUserFunctionReturn
|
||||||
* @property {boolean} success - Did the function run successfully?
|
* @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 {string} [msg] - Response Message
|
||||||
* @property {number} [userId] - user ID
|
* @property {number} [userId] - user ID
|
||||||
* @property {string} [token] - new Token
|
* @property {string} [token] - new Token
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "datasquirel",
|
"name": "datasquirel",
|
||||||
"version": "2.1.4",
|
"version": "2.1.5",
|
||||||
"description": "Cloud-based SQL data management tool",
|
"description": "Cloud-based SQL data management tool",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
Reference in New Issue
Block a user