@sqb/builder 4.16.0 → 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/cjs/package.json +3 -0
- package/esm/package.json +3 -0
- package/package.json +17 -29
- package/types/index.d.cts +20 -0
- package/types/query/select-query.d.ts +1 -1
package/cjs/package.json
ADDED
package/esm/package.json
ADDED
package/package.json
CHANGED
|
@@ -1,47 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sqb/builder",
|
|
3
3
|
"description": "Extensible multi-dialect SQL query builder written with TypeScript",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.17.0",
|
|
5
5
|
"author": "Panates",
|
|
6
|
-
"private": false,
|
|
7
6
|
"license": "Apache-2.0",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"compile": "tsc",
|
|
10
|
-
"prebuild": "npm run lint && npm run clean",
|
|
11
|
-
"build": "npm run build:cjs && npm run build:esm",
|
|
12
|
-
"build:cjs": "tsc -b tsconfig-build-cjs.json",
|
|
13
|
-
"build:esm": "tsc -b tsconfig-build-esm.json",
|
|
14
|
-
"postbuild": "cp README.md package.json ../../LICENSE ../../build/builder",
|
|
15
|
-
"lint": "eslint . --max-warnings=0",
|
|
16
|
-
"lint:fix": "eslint . --max-warnings=0 --fix",
|
|
17
|
-
"format": "prettier . --write --log-level=warn",
|
|
18
|
-
"test": "jest --runInBand",
|
|
19
|
-
"cover": "jest --collect-coverage",
|
|
20
|
-
"clean": "npm run clean:src | npm run clean:dist | npm run clean:cover",
|
|
21
|
-
"clean:src": "ts-cleanup -s src --all",
|
|
22
|
-
"clean:dist": "rimraf ../../build/builder",
|
|
23
|
-
"clean:cover": "rimraf ../../coverage/builder"
|
|
24
|
-
},
|
|
25
7
|
"dependencies": {
|
|
26
8
|
"debug": "^4.3.6",
|
|
27
9
|
"putil-flattentext": "^2.1.1",
|
|
28
10
|
"putil-isplainobject": "^1.1.5",
|
|
29
11
|
"putil-merge": "^3.13.0",
|
|
30
|
-
"putil-varhelpers": "^1.6.5"
|
|
12
|
+
"putil-varhelpers": "^1.6.5",
|
|
13
|
+
"tslib": "^2.6.3"
|
|
31
14
|
},
|
|
32
|
-
"
|
|
33
|
-
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": {
|
|
19
|
+
"types": "./types/index.d.ts",
|
|
20
|
+
"default": "./esm/index.js"
|
|
21
|
+
},
|
|
22
|
+
"require": {
|
|
23
|
+
"types": "./types/index.d.cts",
|
|
24
|
+
"default": "./cjs/index.js"
|
|
25
|
+
},
|
|
26
|
+
"default": "./esm/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
34
29
|
},
|
|
35
30
|
"main": "./cjs/index.js",
|
|
36
31
|
"module": "./esm/index.js",
|
|
37
32
|
"types": "./types/index.d.ts",
|
|
38
|
-
"exports": {
|
|
39
|
-
".": {
|
|
40
|
-
"require": "./cjs/index.js",
|
|
41
|
-
"import": "./esm/index.js",
|
|
42
|
-
"types": "./types/index.d.ts"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
33
|
"contributors": [
|
|
46
34
|
"Eray Hanoglu <e.hanoglu@panates.com>",
|
|
47
35
|
"Ilker Gurelli <i.gurelli@panates.com>"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * as classes from './classes.ns.js';
|
|
2
|
+
export * from './enums.js';
|
|
3
|
+
export * from './extensions.js';
|
|
4
|
+
export * from './helpers.js';
|
|
5
|
+
export * from './op.initializers.js';
|
|
6
|
+
export { op } from './op.initializers.js';
|
|
7
|
+
export * from './query/delete-query.js';
|
|
8
|
+
export * from './query/insert-query.js';
|
|
9
|
+
export * from './query/query.js';
|
|
10
|
+
export * from './query/select-query.js';
|
|
11
|
+
export * from './query/update-query.js';
|
|
12
|
+
export * from './serializable.js';
|
|
13
|
+
export * from './serialize-context.js';
|
|
14
|
+
export * from './sql-objects/join-statement.js';
|
|
15
|
+
export * from './sql-objects/operator.js';
|
|
16
|
+
export * from './sql-objects/operators/comp-operator.js';
|
|
17
|
+
export * from './sql-objects/operators/logical-operator.js';
|
|
18
|
+
export * from './sqlobject.initializers.js';
|
|
19
|
+
export * from './typeguards.js';
|
|
20
|
+
export * from './types.js';
|
|
@@ -7,7 +7,7 @@ import { LogicalOperator } from '../sql-objects/operators/logical-operator.js';
|
|
|
7
7
|
import { OrderColumn } from '../sql-objects/order-column.js';
|
|
8
8
|
import { RawStatement } from '../sql-objects/raw-statement.js';
|
|
9
9
|
import { Query } from './query.js';
|
|
10
|
-
import type { UnionQuery } from './union-query';
|
|
10
|
+
import type { UnionQuery } from './union-query.js';
|
|
11
11
|
export declare class SelectQuery extends Query {
|
|
12
12
|
_tables?: Serializable[];
|
|
13
13
|
_columns?: Serializable[];
|