* Allow buffers to be passed in fs for node v6.x
* Fix wrongly typed index in fs.realpath
Fixes the following errors:
- node.d.ts(1426,62): error TS1023: An index signature parameter type must be 'string' or 'number'.
- node.d.ts(1427,68): error TS1023: An index signature parameter type must be 'string' or 'number'.
* Makes xhr return a promise instead of void
Xhr takes an argument which determines it's return type--either
Promise (the default) or Deferred. Currently in the type definitions,
it returns void.
I've also commented out the "helper" methods (get, post, etc.), to
match the source code--they're commented out there as well.
* Comments out entire interface body
Removes the entire interface with helper methods.
* Adds back "helper" methods to xhr
This methods are included via the `util.addCommonMethods` call, and
so should be in the type definitions.
* Fixing favIconUrl property name typo for TabChangeInfo class
* Empty commit to trigger Travis CI
* Made direction parameter more specific by using string literal typing
* Add stripe subscription methods
Add root subscription methods, in addition to subscription methods that
are defined on customer objects.
https://stripe.com/docs/api/node#subscriptions
* Bump version to stripe-node 4.6.0
* Update customers.retrieve signature
* Fix wrong signature for stripe.customers.update
The return type was Promise<IList<customers.ICustomer>> when in fact it
should be Promise<customers.ICustomer> (it is a resource object, not a
list)
* Add created attribute to ISubscription interface
* Switch to ES6 imports
* Add attributes and length
* Various improvements + add more tests
- Fix destroy()
- Fix detach()
- Fix map()
- Add NotFoundError, NoRowsUpdatedError and NoRowsDeletedError on Model
* serialize() and toJSON() should return Object/Object[] instead of any
* Fix map()
* More tests taken from Bookshelf website + various fixes
- Fix Bookshelf.transaction return type
- Add id attribute on ModelBase
- Improve ModelBase.parse()
- Fix Model.query()
- Add a constructor to CollectionBase
- Fix CollectionBase.map()
- Fix Collection.attach()
- Fix Collection.query()
- Add Collection.EmptyError
- Fix LoadOptions and FetchOptions withRelated
* No need to specify Knex.QueryBuilder
* toJSON(): Object/Object[] is too restrictive, revert back to any/any[]
* Model.through() returns R, Collection.through() returns Collection<R>