Updates
This commit is contained in:
parent
051c8816e9
commit
6f6759e74e
2
index.d.ts
vendored
2
index.d.ts
vendored
@ -33,6 +33,7 @@ export namespace sql {
|
||||
}
|
||||
import serializeQuery = require("./package-shared/utils/serialize-query");
|
||||
import serializeCookies = require("./package-shared/utils/serialize-cookies");
|
||||
import EJSON = require("./package-shared/utils/ejson");
|
||||
import uploadImage = require("./utils/upload-image");
|
||||
import uploadFile = require("./utils/upload-file");
|
||||
import deleteFile = require("./utils/delete-file");
|
||||
@ -71,5 +72,6 @@ export declare namespace utils {
|
||||
}
|
||||
export { serializeQuery };
|
||||
export { serializeCookies };
|
||||
export { EJSON };
|
||||
}
|
||||
export { get, post, getSchema, datasquirelClient as client };
|
||||
|
2
index.js
2
index.js
@ -33,6 +33,7 @@ const sqlDeleteGenerator = require("./package-shared/functions/dsql/sql/sql-dele
|
||||
const trimSql = require("./package-shared/utils/trim-sql");
|
||||
const serializeQuery = require("./package-shared/utils/serialize-query");
|
||||
const serializeCookies = require("./package-shared/utils/serialize-cookies");
|
||||
const EJSON = require("./package-shared/utils/ejson");
|
||||
|
||||
////////////////////////////////////////
|
||||
////////////////////////////////////////
|
||||
@ -98,6 +99,7 @@ const datasquirel = {
|
||||
},
|
||||
serializeQuery,
|
||||
serializeCookies,
|
||||
EJSON: EJSON,
|
||||
},
|
||||
};
|
||||
|
||||
|
@ -1,18 +1,12 @@
|
||||
{
|
||||
"name": "@moduletrace/datasquirel",
|
||||
"version": "2.9.7",
|
||||
"version": "2.9.8",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"dsql-watch": "./engine/dsql.js",
|
||||
"dsql-dump": "./engine/dump.js"
|
||||
},
|
||||
"exports": {
|
||||
".": "./index.js",
|
||||
"./client": {
|
||||
"default": "./client/index.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"delete-ts": "find . -name \"*.d.ts\" -type f -not -path \"./node_modules/*\" -delete",
|
||||
"compile": "find . -name \"*.d.ts\" -type f -not -path \"./node_modules/*\" -delete && tsc --declaration --allowJs --emitDeclarationOnly --resolveJsonModule index.js",
|
||||
|
Loading…
Reference in New Issue
Block a user