@sqb/connect 4.16.1 → 4.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -29
- package/types/index.d.cts +32 -0
package/package.json
CHANGED
|
@@ -1,48 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqb/connect",
|
|
3
3
|
"description": "Multi-dialect database connection framework written with TypeScript",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.17.0",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"compile": "tsc",
|
|
9
|
-
"prebuild": "npm run lint && npm run clean",
|
|
10
|
-
"build": "npm run build:cjs && npm run build:esm",
|
|
11
|
-
"build:cjs": "tsc -b tsconfig-build-cjs.json && cp ../../support/package.cjs.json ../../build/connect/cjs/package.json",
|
|
12
|
-
"build:esm": "tsc -b tsconfig-build-esm.json && cp ../../support/package.esm.json ../../build/connect/esm/package.json",
|
|
13
|
-
"postbuild": "cp README.md package.json ../../LICENSE ../../build/connect",
|
|
14
|
-
"lint": "eslint . --max-warnings=0",
|
|
15
|
-
"lint:fix": "eslint . --max-warnings=0 --fix",
|
|
16
|
-
"format": "prettier . --write --log-level=warn",
|
|
17
|
-
"test": "jest",
|
|
18
|
-
"cover": "jest --collect-coverage",
|
|
19
|
-
"clean": "npm run clean:src | npm run clean:dist | npm run clean:cover",
|
|
20
|
-
"clean:src": "ts-cleanup -s src --all",
|
|
21
|
-
"clean:dist": "rimraf ../../build/connectt",
|
|
22
|
-
"clean:cover": "rimraf ../../coverage/connect"
|
|
23
|
-
},
|
|
24
7
|
"dependencies": {
|
|
25
8
|
"debug": "^4.3.6",
|
|
26
9
|
"doublylinked": "^2.5.4",
|
|
27
|
-
"fast-tokenizer": "^1.
|
|
28
|
-
"lightning-pool": "^4.
|
|
10
|
+
"fast-tokenizer": "^1.7.0",
|
|
11
|
+
"lightning-pool": "^4.8.0",
|
|
29
12
|
"lodash": "^4.17.21",
|
|
30
|
-
"power-tasks": "^1.
|
|
13
|
+
"power-tasks": "^1.11.0",
|
|
31
14
|
"putil-isplainobject": "^1.1.5",
|
|
32
15
|
"putil-merge": "^3.13.0",
|
|
33
16
|
"putil-promisify": "^1.10.1",
|
|
34
17
|
"putil-varhelpers": "^1.6.5",
|
|
35
|
-
"strict-typed-events": "^2.
|
|
18
|
+
"strict-typed-events": "^2.8.0",
|
|
36
19
|
"ts-gems": "^3.5.0",
|
|
37
20
|
"tslib": "^2.6.3"
|
|
38
21
|
},
|
|
39
|
-
"devDependencies": {
|
|
40
|
-
"@types/debug": "^4.1.12",
|
|
41
|
-
"@types/lodash": "^4.17.7",
|
|
42
|
-
"postgrejs": "^2.18.1"
|
|
43
|
-
},
|
|
44
22
|
"peerDependencies": {
|
|
45
|
-
"@sqb/builder": "^4.
|
|
23
|
+
"@sqb/builder": "^4.17.0",
|
|
46
24
|
"reflect-metadata": "^0.2.2"
|
|
47
25
|
},
|
|
48
26
|
"type": "module",
|
|
@@ -53,7 +31,7 @@
|
|
|
53
31
|
"default": "./esm/index.js"
|
|
54
32
|
},
|
|
55
33
|
"require": {
|
|
56
|
-
"types": "./types/index.d.
|
|
34
|
+
"types": "./types/index.d.cts",
|
|
57
35
|
"default": "./cjs/index.js"
|
|
58
36
|
},
|
|
59
37
|
"default": "./esm/index.js"
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export * from './client/adapter.js';
|
|
3
|
+
export * from './client/cursor.js';
|
|
4
|
+
export * from './client/extensions.js';
|
|
5
|
+
export * from './client/sqb-client.js';
|
|
6
|
+
export * from './client/sqb-connection.js';
|
|
7
|
+
export * from './client/types.js';
|
|
8
|
+
export * from './orm/backward.js';
|
|
9
|
+
export * from './orm/base-entity.js';
|
|
10
|
+
export * from './orm/decorators/column.decorator.js';
|
|
11
|
+
export * from './orm/decorators/embedded.decorator.js';
|
|
12
|
+
export * from './orm/decorators/entity.decorator.js';
|
|
13
|
+
export * from './orm/decorators/events.decorator.js';
|
|
14
|
+
export * from './orm/decorators/foreignkey.decorator.js';
|
|
15
|
+
export * from './orm/decorators/index.decorator.js';
|
|
16
|
+
export * from './orm/decorators/link.decorator.js';
|
|
17
|
+
export * from './orm/decorators/primarykey.decorator.js';
|
|
18
|
+
export * from './orm/decorators/transform.decorator.js';
|
|
19
|
+
export * from './orm/model/association.js';
|
|
20
|
+
export * from './orm/model/association-field-metadata.js';
|
|
21
|
+
export * from './orm/model/association-node.js';
|
|
22
|
+
export * from './orm/model/column-field-metadata.js';
|
|
23
|
+
export * from './orm/model/embedded-field-metadata.js';
|
|
24
|
+
export * from './orm/model/entity-metadata.js';
|
|
25
|
+
export * from './orm/model/field-metadata.js';
|
|
26
|
+
export * from './orm/model/index-metadata.js';
|
|
27
|
+
export * from './orm/model/link-chain.js';
|
|
28
|
+
export * from './orm/orm.const.js';
|
|
29
|
+
export * from './orm/orm.type.js';
|
|
30
|
+
export * from './orm/repository.class.js';
|
|
31
|
+
export { isAssociationField, isColumnField, isEmbeddedField, isEntityClass } from './orm/util/orm.helper.js';
|
|
32
|
+
export * from './orm/util/parse-fields-projection.js';
|