Comparing version 0.13.1 to 0.14.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.14.0](https://github.com/waitingsong/kmore/compare/v0.13.1...v0.14.0) (2020-01-16) | ||
### Features | ||
* **kmore:** TbQueryBuilder accept 2nd generics parameter ([88672fb](https://github.com/waitingsong/kmore/commit/88672fb94d59ec2e47a444e4ca9b15a6884e0434)) | ||
## [0.13.1](https://github.com/waitingsong/kmore/compare/v0.13.0...v0.13.1) (2019-11-17) | ||
@@ -8,0 +19,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
* | ||
* @version 0.13.0 | ||
* @version 0.13.1 | ||
* @author waiting | ||
@@ -8,0 +8,0 @@ * @license MIT |
@@ -27,4 +27,4 @@ import * as Knex from 'knex'; | ||
export declare type DbRefBuilder<T> = { | ||
[key in keyof T]: TbQueryBuilder<T[key]>; | ||
[key in keyof T]: TbQueryBuilder<T[key], T[key][]>; | ||
}; | ||
export declare type TbQueryBuilder<TName> = () => Knex.QueryBuilder<TName>; | ||
export declare type TbQueryBuilder<TRecord, TResult = TRecord[]> = () => Knex.QueryBuilder<TRecord, TResult>; |
{ | ||
"name": "kmore", | ||
"author": "waiting", | ||
"version": "0.13.1", | ||
"version": "0.14.0", | ||
"description": "A Knex little more factory of SQL query builder, with auto-generated type-safe tables accessor for Node.js", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"@waiting/shared-types": "3", | ||
"kmore-types": "^0.13.1" | ||
"kmore-types": "^0.14.0" | ||
}, | ||
@@ -57,3 +57,2 @@ "devDependencies": { | ||
"build": "npm run tsc && npm run rp", | ||
"devbuild": "npm run tsc && npm run rp", | ||
"clean": "rm -rf dist/* .vscode/.tsbuildinfo .vscode/.tsbuildinfo.* ", | ||
@@ -96,3 +95,3 @@ "cov": "cross-env TS_NODE_PROJECT=test/tsconfig.json nyc mocha", | ||
}, | ||
"gitHead": "587cab4dc8cc36937a7c338c4e0d6530faf83ca5" | ||
"gitHead": "3a48cf8a1438b9c06135e16540c42af50dbd1912" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56280
+ Addedkmore-types@0.14.0(transitive)
- Removedkmore-types@0.13.1(transitive)
Updatedkmore-types@^0.14.0