Keats
114f930fbd
Update Restangular definition
...
Add enhanced promises
Add new methods up to current 1.4
Rewrite tests to make them more realistic
2014-04-27 10:19:26 +01:00
Santi Albo
e3c20e7aca
(restangular) Fix argument order in custom methods
...
The arguments were in the wrong order for custom methods
2014-04-24 11:35:12 +01:00
Gabriele Genta
99468aa382
Made every type declaration explicit to prevent compilation errors when using the --noImplicitAny switch.
2014-02-24 16:24:46 +01:00
Santi Albo
43004ba4ef
Define own all-optional IRequestConfig
2014-01-28 17:17:01 +00:00
Santi Albo
aa19aca412
(restangular) Add some missing methods
...
Adds
- `oneUrl`
- `allUrl`
- `withHttpConfig`
2014-01-28 17:05:09 +00:00
mick delaney
eaf4ce0ed4
Restangular: Adding In Some Restangular Api Methods
2014-01-10 12:47:05 +00:00
Santi Albo
f9ff1d914a
Fix Response type
2013-09-03 17:05:42 +01:00
Santi Albo
835f1c84d8
Add typing for response objects
2013-09-03 10:22:16 +01:00
Santi Albo
6cdeeeb2b2
Better type signatures for RestangularProvider methods
2013-09-03 09:41:21 +01:00
Santi Albo
c4ce9e9723
Remove unnecessary definitions and other small fixes
...
- Use optional parameters to delete unnecessary definitions.
- `queryParams` type is `any`, not `string`.
- Delete `getList` type definition without any arguments for `RestangularElement` since the documentation says that `subElement` is mandatory (https://github.com/mgonto/restangular#element-methods )
2013-08-18 21:05:49 +01:00
Santi Albo
fbfbc7ca5e
Fix type signatures for methods that return an IPromise
2013-08-13 22:23:59 +01:00
Boris Yankov
dd35f69637
Big replacement: bool with boolean
2013-08-07 16:59:39 +03:00
Diullei Gomes
17df2c7aaa
Merge pull request #815 from santialbo/patch-3
...
Restangular also accepts strings as id for the method "one"
2013-08-03 09:06:42 -07:00
Santi Albo
3056c411a7
Restangular also accepts strings as id for the method "one"
2013-08-01 15:16:05 +01:00
Santi Albo
709fe49bf3
Add missing getRestangularUrl method
...
Both `RestangularElement` and `RestangularCollection` were missing the `getRestangularUrl`.
https://github.com/mgonto/restangular#element-methods
2013-08-01 12:19:52 +01:00
Santi Albo
607c86a814
Fix withConfig return type in restangular
...
`withConfig` method returns a new Restangular service, not a RestangularElement.
https://github.com/mgonto/restangular#properties
2013-07-29 11:01:00 +01:00
mickdelaney
23f7b0853a
Restangular 0.8.0
2013-06-14 15:42:36 +01:00
Boris Yankov
32d658d5f7
Add Restangular definitions
2013-05-25 16:13:42 +03:00