Commit Graph

55 Commits

Author SHA1 Message Date
TANAKA Koichi
3abab28a3e sequelize: fix FindOptions (#9073)
Fix FindOptions.attributes. Now allows a object having include and/or exclude properties.
http://sequelize.readthedocs.org/en/latest/api/model/#findalloptions-promisearrayinstance
2016-04-23 23:36:34 +09:00
vvakame
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
TANAKA Koichi
b0017a10e1 sequelize: add Sequelize.models property 2016-03-12 22:50:39 +09:00
konrad-garus
b91c1b01eb Sequelize: Add missing UpsertOptions 2016-03-04 15:23:24 +01:00
Masahiro Wakame
f1e739c627 Merge pull request #8210 from EToreo/master
Added Transaction Type access
2016-02-26 20:56:37 +09:00
Horiuchi_H
ab2462147a Merge pull request #8216 from blove/master
Added dialectOptions property to the Options interface
2016-02-25 17:24:25 +09:00
Eric Thompson
6f2803aff1 Corrected type name 2016-02-23 09:36:54 -08:00
Eric Thompson
f5f328d3b2 Added tests for transaction types 2016-02-23 09:31:11 -08:00
Brian Love
7ae80ff1b1 The dialectOptions property should be of type Object as per the documentation: http://docs.sequelizejs.com/en/latest/api/sequelize/. 2016-02-22 19:58:42 -07:00
Brian Love
17b2194890 Added dialectOptions property to the Options interface. 2016-02-22 19:55:43 -07:00
vvakame
065d70e2b5 adhoc fix sequelize/sequelize-tests.ts 2016-02-23 11:04:37 +09:00
Eric Thompson
4ccb2ec156 Added Transaction Type access 2016-02-22 11:52:35 -08:00
Eric Thompson
f87806946a Added continuation-local-storage access 2016-02-16 22:52:26 -08:00
Alexander James Phillips
1b6bcc7da5 DataTypeDate accepts length parameter option 2016-02-09 23:07:27 +00:00
vvakame
9027703c0b pass npm run all in new definition-tester 2016-02-10 00:16:03 +09:00
Theo
8b566aaea0 Forgot new in creating the Virtual DataType 2016-02-04 09:40:28 +00:00
Theo
509d82f8de Add tests for VIRTUAL DataType 2016-02-04 09:38:04 +00:00
Theo
d1777f15c4 Comment for VirtualDataType 2016-02-03 11:45:16 +00:00
Theo
7109dbc7b6 Add constructor for Virtual DataType 2016-02-03 11:27:51 +00:00
Ilya Mochalov
25ef75ce61 validator: updated to v4.5.1 2016-01-25 04:20:55 +05:00
DomiR
808a31e15f (feature) Fist step to upgrade lodash to 4.0.0 2016-01-23 14:39:10 +01:00
Horiuchi_H
22726c0751 change to use this type 2016-01-19 15:57:43 +09:00
Horiuchi_H
8d948f4a02 fix code format 2016-01-19 15:52:41 +09:00
James O'Cull
41b42c1609 QueryInterface should have sequelize property 2015-12-09 17:08:36 -05:00
James O'Cull
2e5439d881 Revert "Changes to unify transaction support across various interfaces, especially association mixins"
This reverts commit 5ff03e2f41.
2015-12-03 17:29:21 -05:00
James O'Cull
5ff03e2f41 Changes to unify transaction support across various interfaces, especially association mixins 2015-12-03 14:30:10 -05:00
James O'Cull
3ec3169f64 Commit / Rollback on Transaction interface should return promise 2015-12-03 09:55:13 -05:00
James O'Cull
d1daffcdc1 Minor style alignment 2015-11-30 14:31:21 -05:00
James O'Cull
92ca0f084e Changes to Sequelize validation promise returns that provide the appropriate property definitions for validation errors 2015-11-30 14:23:24 -05:00
James O'Cull
037b4c0597 Fixing incorrect function declaration syntax 2015-11-05 10:18:02 -05:00
James O'Cull
0d3e55398e Added optional type information for the Sequelize's import define function 2015-11-03 15:46:39 -05:00
Ali Taheri
ab6a8f4a29 Added belongsToMany associations and tests 2015-10-10 16:42:08 +03:30
Ali Taheri
2a504785a7 Minor improvements to how mixed types are handled 2015-10-10 15:41:00 +03:30
Ali Taheri
7fa421d03f Added hasMany associations tests + tiny fix 2015-10-10 14:53:41 +03:30
Ali Taheri
06f98244b4 Added hasMany associations 2015-10-10 13:55:51 +03:30
Ali Taheri
4f278188db Added has-one + tests and improved naming and code format [Few Breaking Changes] 2015-10-06 11:58:13 +03:30
Ali Taheri
7abab20604 Fixed a typo in create mixin's docs 2015-09-29 13:42:02 +03:30
Ali Taheri
c8223d68d2 [Sequelize] Added BelongsTo association mixin helper types. 2015-09-29 13:20:24 +03:30
vvakame
fbbf9cdc0a adhoc fix sequelize/sequelize-tests.ts 2015-09-03 22:16:43 +09:00
vvakame
29bb04657e partially fixed sequelize/sequelize.d.ts 2015-09-03 20:30:51 +09:00
Horiuchi_H
080810fc04 modify return type of Instance methods 2015-08-26 14:44:58 +09:00
Horiuchi_H
745b182be1 modify type of refarences model 2015-08-26 14:44:58 +09:00
Horiuchi_H
534746f219 fix indent level 2015-08-26 14:44:58 +09:00
Ivan Drinchev
3f1dd36318 Merge remote-tracking branch 'upstream/master'
Conflicts:
	sequelize/sequelize.d.ts
2015-08-08 11:27:46 +02:00
Ivan Drinchev
e33745b6ad Fixed tests for sequelize 2015-08-06 20:28:53 +02:00
Ivan Drinchev
da093877f4 Added definitions for Sequelize 3.4.1 2015-08-06 20:06:25 +02:00
Daisuke Aoki
f02d001d3d Enable data types to specify options
* Add call signatures to definition of Sequelize data types
 * ex. `INTEGER(20)`, `ARRAY(Sequelize.INTEGER)`
2015-07-21 18:46:00 +09:00
Daniel Beckwith
9436ac816b Remove includes from sequelize definition, since it's in lodash's now. 2015-07-07 18:07:52 -04:00