Nathan Shively-Sanders
cbea696607
Merge pull request #19432 from stackbuilders/add_subquery
...
Include subQuery for sequelize version 3 as well
2017-09-05 16:07:21 -07:00
Konrad Koch
a42b6e7553
camelizeIf and underscoredIf wrong in SequelizeLoDash
...
The type definition defines that `underscoredIf` and `camelizeIf` is accessable via `Utils._.underscoredIf`
The correct path would be `Utils.underscoredIf` for a sequelize version '>=3.0.0'
2017-09-03 16:16:16 +02:00
Juan Carlos Paucar
f43d588a4a
Include subQuery for sequelize version 3 as well
2017-08-29 13:19:31 -05:00
kukoo1
bf2e0faa52
add missing constructor options (database, username, password, retry, typeValidation [only v4]), add RetryOptions interface for reuse and DRY purpose ( #18896 )
2017-08-14 11:22:49 -07:00
Izik Lisbon
f668da13f4
Sequelize is using Validator to validate that a string is a UUID. Validator supports 4 versions of UUID:
...
b59133b172/lib/isUUID.js (L14-L19)
Update Sequelize's typescript to include `all` and change `number` type to a more specific type (3|4|5).
Update Validator's typescript to be more specific. instead of `string | number` set the enum values (3|4|5|all)
2017-08-09 00:01:33 -07:00
Jan Klimke
0961f7aec7
removed merge markers
2017-07-14 18:29:25 +02:00
Jan Klimke
35ed47ed7c
added literal as allowed type for attributes
2017-07-14 15:13:25 +02:00
Jan Klimke
0d31771b6c
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped
2017-07-10 14:37:38 +02:00
Jan Klimke
e431ed9c19
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped
...
# Conflicts:
# types/sequelize/v3/index.d.ts
2017-07-06 16:55:12 +02:00
James D. Callahan III
71e7fffe99
Add missing boolean to union type.
2017-06-23 09:07:54 -05:00
James D. Callahan III
74a003f706
Add missing null to the type union for WhereOptions index signature, and change Object to object.
2017-06-23 08:39:54 -05:00
James D. Callahan III
b7959ad3c2
Split credits out to one name per line for easier readability.
2017-06-23 08:36:16 -05:00
James D. Callahan III
f931bd815c
Update version declaration.
2017-06-23 08:35:26 -05:00
James D. Callahan III
9de97afa10
Change required TypeScript version to 2.3 due to bluebird.
2017-06-21 11:29:22 -05:00
James D. Callahan III
b3da69a4a0
Remove redundant lodash references.
2017-06-21 11:04:00 -05:00
James D. Callahan III
ad5714f75b
Import bluebird as Promise to fix breakage - bluebird.spread and other methods were unrecognized.
2017-06-21 10:45:21 -05:00
Nathan Shively-Sanders
31739ef0c6
Merge pull request #17303 from DefinitelyTyped/weak-types-round-3
...
More fixes for 2.4. Not all for weak types.
2017-06-20 09:20:23 -07:00
Nathan Shively-Sanders
1119ad2d81
More fixes for 2.4. Not all for weak types:
...
2.4 also has been inference for generics, which finds more errors as
well.
2017-06-19 13:00:47 -07:00
Andy Hanson
c15e214e5a
bluebird: Make Thenable an alias to the builtin PromiseLike.
2017-06-16 09:02:18 -07:00
Nick Müller
55b533a6c4
[sequelize] Added missing type to sequelize.DefineIndexesOptions.fields ( #16908 )
...
* Added missing type to sequelize.DefineIndexesOptions.fields
* Added test for added sequelize.DefineIndexesOptions type
2017-06-04 14:14:18 -07:00
Jan Klimke
5017343068
Merge branch 'master' of github.com:DefinitelyTyped/DefinitelyTyped
...
# Conflicts:
# types/i18next/i18next-tests.ts
# types/sequelize/v3/index.d.ts
# types/sequelize/v3/sequelize-tests.ts
2017-05-16 17:21:55 +02:00
Jan Klimke
53357af3b0
Add options to unmanaged transaction call for sequelize
2017-05-15 18:54:11 +02:00
Jan Klimke
a23357923b
Added missing definition for sequelize unmanaged transaction with options
2017-05-15 18:32:01 +02:00
TANAKA Koichi
a609728f56
sequelize: fix inheritance of UniqueConstraintError class.
...
UniqueConstraintError class is subclass of ValidationError in both of
v3 and v4(current).
authorities:
for v4
http://docs.sequelizejs.com/class/lib/errors/index.js~UniqueConstraintError.html
for v3 (official doc is wrong.)
https://github.com/sequelize/sequelize/blob/v3/lib/errors.js#L153
2017-05-15 14:23:18 +09:00
Evgeny
c49e2aa150
[sequelize] add where option to DefineIndexesOptions ( #16357 )
2017-05-05 16:22:36 -07:00
Evgeny
942dcf66e2
[sequelize] add force option for TruncateOptions ( #16353 )
2017-05-05 09:55:15 -07:00
Pavel Puchkov
d1a979d719
Change transaction() autoCallback param type from Blueburd to PromiseLike ( #16253 )
...
* Change transaction() autoCallback param type from Blueburd to PromiseLike
* Add promise tests.
2017-05-03 12:07:38 -07:00
Yousef
0a29ae08a9
fix null in sequelize find ( #16219 )
2017-05-01 12:29:24 -07:00
John Pinkster
5f8eb094db
FIX/Distinct in FindOptions
...
The `FIndOptions` is applied for the `findAndCount` and `findAndCountAll`. For the count to be accurate with relationships, you need to be able to apply the `disinct` flag. This update will allow us to utilize the interface in those situations.
2017-04-11 10:08:43 -04:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00