Igor Savin
9101f8ed45
Run CI on Node 22 and remove dtslint ( #6165 )
2025-01-05 19:04:07 +02:00
Igor Savin
e1898bfded
Fix linting
2023-12-02 16:52:57 +02:00
Peter Cartwright
a464c6aaea
Add type definitions for orHavingNull and orHavingNotNull ( #5669 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2023-11-28 17:17:27 +02:00
Ricardo Costa
a37f4f1fb8
Improve linting ( #5460 )
...
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2023-07-12 22:42:57 +02:00
Pierre Ducher
7dd56826b9
[TypeScript ]Add missing types for havingNull and havingNotNull ( #5529 )
2023-03-29 12:50:32 +02:00
Sam Adams
d39051f4a5
fix: add missing type for 'expirationChecker' on PgConnectionConfig ( #5334 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2022-09-28 00:25:12 +03:00
Dominic Vonk
f80ec1cfc5
Added promisable and better types ( #5222 )
2022-06-14 13:10:01 +02:00
Richard
0e81a65f4d
Allow null
as a valid value for .enu
/.enum
( #5116 )
...
When using the `useNative` and `existingType` options, the value isn't utilized.
The documentation uses `null` as an example, this commit allows said example
to pass in typescript
close #5114
2022-04-19 11:06:01 +02:00
James Ide
35e1963f65
[types] Make Knex's default generic parameter types be assignable to knex's ( #5021 )
2022-03-19 13:38:56 +02:00
Santi Albo
52b35de1b9
Fix types for "returning" methods ( #5031 )
2022-02-21 17:23:00 +02:00
Jonas Kugelmann
786c95f374
Fix #4228 Improved columnInfo type ( #4868 )
2021-12-09 16:24:00 +02:00
Olivier Cavadenti
e4f4446bb8
Returning method types ( #4881 )
2021-12-07 22:52:55 +01:00
Ryan Williams
3e53c031c0
Update JoinRaw
bindings type to accept arrays ( #4752 )
2021-10-20 23:28:37 +03:00
maximelkin
d9d6ac81a7
fix onDelete/onUpdate for ColumnBuilder ( #4656 )
...
Co-authored-by: maximelkin <maxeljkin@gmail.com>
2021-10-10 16:47:37 +03:00
Jeremy W. Sherman
a9338208f1
fix(oracledb): withRecursive: omit invalid RECURSIVE keyword, include column list [ #4514 ] ( #4652 )
2021-09-03 22:27:32 +03:00
zeotuan
4ff3a929f3
fix typing deferrable and withkeyName should not be in ColumnBuilder ( #4600 )
2021-08-07 11:07:29 +03:00
Minh Son Nguyen
c9a5548865
Improve analytic types ( #4576 )
2021-07-21 01:24:33 +03:00
Ben
402453ba1a
let types export Knex.TransactionConfig ( #4498 )
2021-07-10 15:36:13 +03:00
Igor Savin
dfbc76b915
Export TransactionProvider type ( #4489 )
2021-05-17 19:42:28 +03:00
Santi Albo
548471de0a
fix TypeScript migration stub after 0.95.0 changes ( #4366 )
...
* fix TypeScript migration stub after 0.95.0 changes
Release 0.95.0 changed how types have to be imported when using TypeScript. This PR fixes the migration stub so new migrations are created correctly.
* Add test for Knex.AlterTableBuilder
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-03-11 19:58:00 +02:00
Igor Savin
4ff3868140
Move QueryBuilder and KnexTimeoutError into knex namespace so that they are accessible at a runtime ( #4358 )
2021-03-08 23:18:49 +02:00
Igor Savin
887a4f606a
Improve join and conflict types v2 ( #4318 )
...
Co-authored-by: Jeroen Hermans <jeroen@datacamp.com>
2021-03-02 19:34:04 +02:00
Matt
a4b6db85a9
Added merge strategy to allow selecting columns to upsert. ( #4252 )
...
Co-authored-by: Matt Goodson <matt.goodson.business@gmail.com>
2021-02-09 10:04:43 +02:00
Tyler Watson
b530eacd61
mssql: add all mssql options to Knex.ConnectionConfig ( #4281 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-02-08 16:57:27 +02:00
Igor Savin
000fde3f78
Move transaction type tests to TSD ( #4208 )
2021-01-06 02:31:49 +02:00
Jingsi Zhu
72193891a5
Fix type definition of Transaction ( #4172 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-01-05 21:38:58 +02:00
Igor Savin
177938afeb
Introduce the "infamous triplet" export ( #4181 )
2020-12-30 22:26:08 +02:00
Igor Savin
b5fbce655e
Add missing onConflict overrides ( #4182 )
2020-12-28 14:26:58 +02:00
maximelkin
619f2865af
fix/4068 batchInsert correct definitions ( #4131 )
2020-11-27 15:01:36 +02:00
Igor Savin
293163b480
Move TS tests to tsd, part 2 ( #4110 )
2020-11-20 12:46:08 +02:00
Igor Savin
4a5172bd72
Move TS tests to tsd, part 1 ( #4109 )
2020-11-16 23:55:58 +02:00
Igor Savin
d1f39e9818
Fix broken TS types ( #4098 )
2020-11-01 03:12:42 +02:00