Bugfix
This commit is contained in:
parent
586e3cfa85
commit
c366e295ae
@ -1,15 +1,4 @@
|
|||||||
/** ****************************************************************************** */
|
declare function _exports({ userId }: {
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/**
|
|
||||||
* ==============================================================================
|
|
||||||
* @param {Object} params
|
|
||||||
* @param {string | number} params.userId
|
|
||||||
* @returns {import("../../types").DSQL_DatabaseSchemaType[] | null}
|
|
||||||
*/
|
|
||||||
export default function grabUserSchemaData({ userId }: {
|
|
||||||
userId: string | number;
|
userId: string | number;
|
||||||
}): import("../../types").DSQL_DatabaseSchemaType[] | null;
|
}): import("../../types").DSQL_DatabaseSchemaType[] | null;
|
||||||
|
export = _exports;
|
||||||
|
@ -17,7 +17,7 @@ const path = require("path");
|
|||||||
* @param {string | number} params.userId
|
* @param {string | number} params.userId
|
||||||
* @returns {import("../../types").DSQL_DatabaseSchemaType[] | null}
|
* @returns {import("../../types").DSQL_DatabaseSchemaType[] | null}
|
||||||
*/
|
*/
|
||||||
export default function grabUserSchemaData({ userId }) {
|
module.exports = function grabUserSchemaData({ userId }) {
|
||||||
try {
|
try {
|
||||||
const userSchemaFilePath = path.resolve(
|
const userSchemaFilePath = path.resolve(
|
||||||
process.cwd(),
|
process.cwd(),
|
||||||
@ -36,7 +36,7 @@ export default function grabUserSchemaData({ userId }) {
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
/** ****************************************************************************** */
|
/** ****************************************************************************** */
|
||||||
/** ****************************************************************************** */
|
/** ****************************************************************************** */
|
||||||
|
@ -1,17 +1,5 @@
|
|||||||
/** ****************************************************************************** */
|
declare function _exports({ userId, schemaData }: {
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/** ****************************************************************************** */
|
|
||||||
/**
|
|
||||||
* ==============================================================================
|
|
||||||
* @param {Object} params
|
|
||||||
* @param {string | number} params.userId
|
|
||||||
* @param {import("../../types").DSQL_DatabaseSchemaType[]} params.schemaData
|
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
|
||||||
export default function setUserSchemaData({ userId, schemaData }: {
|
|
||||||
userId: string | number;
|
userId: string | number;
|
||||||
schemaData: import("../../types").DSQL_DatabaseSchemaType[];
|
schemaData: import("../../types").DSQL_DatabaseSchemaType[];
|
||||||
}): boolean;
|
}): boolean;
|
||||||
|
export = _exports;
|
||||||
|
@ -18,7 +18,7 @@ const path = require("path");
|
|||||||
* @param {import("../../types").DSQL_DatabaseSchemaType[]} params.schemaData
|
* @param {import("../../types").DSQL_DatabaseSchemaType[]} params.schemaData
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
export default function setUserSchemaData({ userId, schemaData }) {
|
module.exports = function setUserSchemaData({ userId, schemaData }) {
|
||||||
try {
|
try {
|
||||||
const userSchemaFilePath = path.resolve(
|
const userSchemaFilePath = path.resolve(
|
||||||
process.cwd(),
|
process.cwd(),
|
||||||
@ -39,7 +39,7 @@ export default function setUserSchemaData({ userId, schemaData }) {
|
|||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
/** ****************************************************************************** */
|
/** ****************************************************************************** */
|
||||||
/** ****************************************************************************** */
|
/** ****************************************************************************** */
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@moduletrace/datasquirel",
|
"name": "@moduletrace/datasquirel",
|
||||||
"version": "2.7.9",
|
"version": "2.8.0",
|
||||||
"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