Comparing version 59.1.0 to 59.2.0
@@ -168,13 +168,13 @@ import { CaseConvertTable, CaseType, DbScopedColsByKey, DbScopedColsByTableType, JoinTableWithCaseConvert, SplitScopedColumn, StrKey, UnwrapArrayMember } from '@waiting/shared-types'; | ||
interface OrderBy<D extends {} = {}, CaseConvert extends CaseType = CaseType, EnablePage extends PagingCategory = 0, TRecord extends {} = any, TResult = unknown[]> { | ||
(columnName: keyof TRecord | QueryBuilder, order?: 'asc' | 'desc', nulls?: 'first' | 'last'): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
(columnName: string | QueryBuilder, order?: string, nulls?: string): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
(columnName: keyof TRecord | QueryBuilder, order?: 'asc' | 'desc' | undefined, nulls?: 'first' | 'last' | undefined): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
(columnName: string | QueryBuilder, order?: string | undefined, nulls?: string | undefined): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
(columnDefs: (keyof TRecord | Readonly<{ | ||
column: keyof TRecord | QueryBuilder; | ||
order?: 'asc' | 'desc'; | ||
nulls?: 'first' | 'last'; | ||
order?: 'asc' | 'desc' | undefined; | ||
nulls?: 'first' | 'last' | undefined; | ||
}>)[]): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
(columnDefs: (string | Readonly<{ | ||
column: string | QueryBuilder; | ||
order?: string; | ||
nulls?: string; | ||
order?: string | undefined; | ||
nulls?: string | undefined; | ||
}>)[]): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult>; | ||
@@ -181,0 +181,0 @@ } |
{ | ||
"name": "kmore", | ||
"author": "waiting", | ||
"version": "59.1.0", | ||
"version": "59.2.0", | ||
"description": "A SQL query builder based on knex with powerful TypeScript type support", | ||
@@ -86,3 +86,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "34e3ac0c4139e2db320606e865bb69c08c6a31db" | ||
"gitHead": "6c36a5e59d70e53870c44a1c711ba96551720f7e" | ||
} |
@@ -413,4 +413,4 @@ /* eslint-disable max-len */ | ||
columnName: keyof TRecord | QueryBuilder, | ||
order?: 'asc' | 'desc', | ||
nulls?: 'first' | 'last' | ||
order?: 'asc' | 'desc' | undefined, | ||
nulls?: 'first' | 'last' | undefined | ||
): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult> | ||
@@ -420,4 +420,4 @@ | ||
columnName: string | QueryBuilder, | ||
order?: string, | ||
nulls?: string | ||
order?: string | undefined, | ||
nulls?: string | undefined | ||
): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult> | ||
@@ -429,4 +429,4 @@ | ||
column: keyof TRecord | QueryBuilder, | ||
order?: 'asc' | 'desc', | ||
nulls?: 'first' | 'last', | ||
order?: 'asc' | 'desc' | undefined, | ||
nulls?: 'first' | 'last' | undefined, | ||
}>)[] | ||
@@ -439,4 +439,4 @@ ): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult> | ||
column: string | QueryBuilder, | ||
order?: string, | ||
nulls?: string, | ||
order?: string | undefined, | ||
nulls?: string | undefined, | ||
}>)[] | ||
@@ -443,0 +443,0 @@ ): KmoreQueryBuilder<D, CaseConvert, EnablePage, TRecord, TResult> |
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
321529