crud-query-parser 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +37 -11
- package/dist/adapters/typeorm/index.d.mts +104 -10
- package/dist/adapters/typeorm/index.d.ts +104 -10
- package/dist/adapters/typeorm/index.js +1 -1
- package/dist/adapters/typeorm/index.js.map +1 -1
- package/dist/adapters/typeorm/index.mjs +1 -1
- package/dist/adapters/typeorm/index.mjs.map +1 -1
- package/dist/{parsed-request-where.builder-DME55XmN.d.ts → crud-request-where.builder-B5241Aht.d.ts} +7 -7
- package/dist/{parsed-request-where.builder-DRZUAxu4.d.mts → crud-request-where.builder-BwWLx0Bh.d.mts} +7 -7
- package/dist/{crud-request-CvDKp6Iy.d.mts → crud-request-x16CuDRF.d.mts} +1 -0
- package/dist/{crud-request-CvDKp6Iy.d.ts → crud-request-x16CuDRF.d.ts} +1 -0
- package/dist/filters/index.d.mts +11 -2
- package/dist/filters/index.d.ts +11 -2
- package/dist/filters/index.js +1 -1
- package/dist/filters/index.js.map +1 -1
- package/dist/filters/index.mjs +1 -1
- package/dist/filters/index.mjs.map +1 -1
- package/dist/helpers/nestjs/index.d.mts +2 -2
- package/dist/helpers/nestjs/index.d.ts +2 -2
- package/dist/helpers/nestjs/index.js.map +1 -1
- package/dist/helpers/nestjs/index.mjs.map +1 -1
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/parsers/crud/index.d.mts +34 -9
- package/dist/parsers/crud/index.d.ts +34 -9
- package/dist/parsers/crud/index.js +1 -1
- package/dist/parsers/crud/index.js.map +1 -1
- package/dist/parsers/crud/index.mjs +1 -1
- package/dist/parsers/crud/index.mjs.map +1 -1
- package/dist/{query-adapter-Vebxws3V.d.ts → query-adapter-CEcyFcWr.d.ts} +1 -1
- package/dist/{query-adapter-BliD9hJN.d.mts → query-adapter-CeTK3yxp.d.mts} +1 -1
- package/dist/{request-parser-WaQBZsYG.d.mts → request-parser-BMkszvGr.d.mts} +1 -1
- package/dist/{request-parser-B-fK5GnP.d.ts → request-parser-BxVulcsX.d.ts} +1 -1
- package/package.json +133 -118
package/package.json
CHANGED
@@ -1,118 +1,133 @@
|
|
1
|
-
{
|
2
|
-
"name": "crud-query-parser",
|
3
|
-
"version": "0.0
|
4
|
-
"description": "Parses HTTP requests and converts them into database queries",
|
5
|
-
"
|
6
|
-
|
7
|
-
|
8
|
-
"
|
9
|
-
"
|
10
|
-
|
11
|
-
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
"
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
"
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
"
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
"
|
57
|
-
"default": "./dist/
|
58
|
-
"types": "./dist/
|
59
|
-
}
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
"
|
67
|
-
"default": "./dist/
|
68
|
-
"types": "./dist/
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
"
|
77
|
-
"default": "./dist/
|
78
|
-
"types": "./dist/
|
79
|
-
}
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
"
|
87
|
-
"default": "./dist/
|
88
|
-
"types": "./dist/
|
89
|
-
}
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
"
|
110
|
-
|
111
|
-
|
112
|
-
"
|
113
|
-
|
114
|
-
|
115
|
-
"
|
116
|
-
|
117
|
-
|
118
|
-
|
1
|
+
{
|
2
|
+
"name": "crud-query-parser",
|
3
|
+
"version": "0.1.0",
|
4
|
+
"description": "Parses HTTP requests and converts them into database queries",
|
5
|
+
"keywords": [
|
6
|
+
"crud",
|
7
|
+
"http",
|
8
|
+
"query",
|
9
|
+
"request",
|
10
|
+
"parser",
|
11
|
+
"typeorm",
|
12
|
+
"nestjs"
|
13
|
+
],
|
14
|
+
"license": "MIT",
|
15
|
+
"author": "Guilherme Chaguri",
|
16
|
+
"repository": {
|
17
|
+
"type": "git",
|
18
|
+
"url": "https://github.com/Guichaguri/crud-query-parser.git"
|
19
|
+
},
|
20
|
+
"scripts": {
|
21
|
+
"build": "tsup",
|
22
|
+
"prepublishOnly": "npm run build",
|
23
|
+
"sample:typeorm": "ts-node ./samples/typeorm/index.ts"
|
24
|
+
},
|
25
|
+
"tsup": {
|
26
|
+
"entry": [
|
27
|
+
"src/index.ts",
|
28
|
+
"src/adapters/typeorm/index.ts",
|
29
|
+
"src/parsers/crud/index.ts",
|
30
|
+
"src/helpers/nestjs/index.ts",
|
31
|
+
"src/filters/index.ts"
|
32
|
+
],
|
33
|
+
"target": "es2022",
|
34
|
+
"format": [
|
35
|
+
"esm",
|
36
|
+
"cjs"
|
37
|
+
],
|
38
|
+
"outDir": "./dist",
|
39
|
+
"dts": true,
|
40
|
+
"cjsInterop": true,
|
41
|
+
"minify": true,
|
42
|
+
"splitting": false,
|
43
|
+
"sourcemap": true,
|
44
|
+
"clean": true,
|
45
|
+
"skipNodeModulesBundle": true,
|
46
|
+
"keepNames": true,
|
47
|
+
"bundle": true
|
48
|
+
},
|
49
|
+
"files": [
|
50
|
+
"dist"
|
51
|
+
],
|
52
|
+
"main": "./dist/index.js",
|
53
|
+
"types": "./dist/index.d.ts",
|
54
|
+
"exports": {
|
55
|
+
".": {
|
56
|
+
"import": {
|
57
|
+
"default": "./dist/index.mjs",
|
58
|
+
"types": "./dist/index.d.mts"
|
59
|
+
},
|
60
|
+
"require": {
|
61
|
+
"default": "./dist/index.js",
|
62
|
+
"types": "./dist/index.d.ts"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"./adapters/typeorm": {
|
66
|
+
"import": {
|
67
|
+
"default": "./dist/adapters/typeorm/index.mjs",
|
68
|
+
"types": "./dist/adapters/typeorm/index.d.mts"
|
69
|
+
},
|
70
|
+
"require": {
|
71
|
+
"default": "./dist/adapters/typeorm/index.js",
|
72
|
+
"types": "./dist/adapters/typeorm/index.d.ts"
|
73
|
+
}
|
74
|
+
},
|
75
|
+
"./parsers/crud": {
|
76
|
+
"import": {
|
77
|
+
"default": "./dist/parsers/crud/index.mjs",
|
78
|
+
"types": "./dist/parsers/crud/index.d.mts"
|
79
|
+
},
|
80
|
+
"require": {
|
81
|
+
"default": "./dist/parsers/crud/index.js",
|
82
|
+
"types": "./dist/parsers/crud/index.d.ts"
|
83
|
+
}
|
84
|
+
},
|
85
|
+
"./helpers/nestjs": {
|
86
|
+
"import": {
|
87
|
+
"default": "./dist/helpers/nestjs/index.mjs",
|
88
|
+
"types": "./dist/helpers/nestjs/index.d.mts"
|
89
|
+
},
|
90
|
+
"require": {
|
91
|
+
"default": "./dist/helpers/nestjs/index.js",
|
92
|
+
"types": "./dist/helpers/nestjs/index.d.ts"
|
93
|
+
}
|
94
|
+
},
|
95
|
+
"./filters": {
|
96
|
+
"import": {
|
97
|
+
"default": "./dist/filters/index.mjs",
|
98
|
+
"types": "./dist/filters/index.d.mts"
|
99
|
+
},
|
100
|
+
"require": {
|
101
|
+
"default": "./dist/filters/index.js",
|
102
|
+
"types": "./dist/filters/index.d.ts"
|
103
|
+
}
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"peerDependencies": {
|
107
|
+
"@nestjs/core": ">=10.0.0",
|
108
|
+
"@nestjs/swagger": ">=7.0.0",
|
109
|
+
"typeorm": "0.2.x || 0.3.x"
|
110
|
+
},
|
111
|
+
"peerDependenciesMeta": {
|
112
|
+
"@nestjs/core": {
|
113
|
+
"optional": true
|
114
|
+
},
|
115
|
+
"@nestjs/swagger": {
|
116
|
+
"optional": true
|
117
|
+
},
|
118
|
+
"typeorm": {
|
119
|
+
"optional": true
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"devDependencies": {
|
123
|
+
"@nestjs/common": "^10.3.9",
|
124
|
+
"@nestjs/swagger": "^7.3.1",
|
125
|
+
"@types/node": "^17.0.23",
|
126
|
+
"reflect-metadata": "^0.2.2",
|
127
|
+
"sqlite3": "^5.1.7",
|
128
|
+
"ts-node": "^10.9.2",
|
129
|
+
"tsup": "^8.1.0",
|
130
|
+
"typeorm": "^0.3.20",
|
131
|
+
"typescript": "^5.5.2"
|
132
|
+
}
|
133
|
+
}
|