langaro-api 1.2.0 → 1.2.2
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/lib/generators/crud.js +2 -2
- package/package.json +2 -2
package/lib/generators/crud.js
CHANGED
|
@@ -173,8 +173,8 @@ module.exports = function generateCrudDts(projectRoot, outputDir) {
|
|
|
173
173
|
' where?: (query: any) => any;',
|
|
174
174
|
' /** Attempt to read from Redis cache (default: false) */',
|
|
175
175
|
' cache?: boolean;',
|
|
176
|
-
' /** Write result to Redis cache with this TTL in
|
|
177
|
-
'
|
|
176
|
+
' /** Write result to Redis cache with this TTL in hours */',
|
|
177
|
+
' cacheHours?: number;',
|
|
178
178
|
' [key: string]: any;',
|
|
179
179
|
'}',
|
|
180
180
|
'',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langaro-api",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Auto-generate TypeScript types, JSDoc annotations, and boilerplate loaders for knex-extended-crud projects",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"cron": ">=3.0.0",
|
|
25
|
-
"knex-extended-crud": ">=2.1.
|
|
25
|
+
"knex-extended-crud": ">=2.1.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"cron": {
|