Commit Graph

16 Commits

Author SHA1 Message Date
Benjamin Lichtman
548450b27f
Merge pull request #23786 from percypyan/patch-1
Add ParseObject's revert() method in @types/parse
2018-03-01 14:50:02 -08:00
Saulo Tauil
58bc7a9ca4 [parse] Adding original optional field to BeforeSaveRequest and overloading response.error (#23887)
* Missing request.original for Parse.Cloud

* Adding parameter to response.error function as it support 1 or 2 parameters

* restoring original state

* fixing cloud code response.error signature. Supporting 2 arguments

* Missing `original` optional field in BeforeSaveRequest.

* Testing `request.original` and the two possible formats of response.erro
2018-02-27 10:13:09 -08:00
Perceval Archimbaud
9380218110 Update test with revert 2018-02-20 17:22:09 +01:00
Flavio Torres
8564c357bb Added Beforefind readPreference options 2018-02-15 14:18:23 -02:00
Wes Grimes
422bdce576 - added new subscribe() method to Parse.Query<T>.
- created test_query_subscribe() method to test new functionality.
2018-02-07 20:11:45 -05:00
Flavio Torres
4f78eeadb2 Parse.Relation.add and Parse.Relation.remove can accept a Array and Parse.Object set and save methods can receive a object as parameter (#22774)
* Parse.Relation.add and Parse.Relation.remove can accept a Array of Parse.Object

* Parse.Object set and save methods can receive a object as parameter

* Parse.User signup method options fix
2018-01-17 13:14:57 -08:00
Cedric Kemp
c3cf3e3123 Added tests for isNew() and toPointer() of Parse object 2017-11-04 12:22:10 -04:00
Cedric Kemp
9bebb12c46 Fixed linter issues 2017-11-04 12:19:54 -04:00
Flavio Torres
cc1d75836f Parse 2.4 2017-09-06 09:33:37 -03:00
Andy
0e4baf9bc3 parse: Fix test (#19071) 2017-08-18 06:51:44 -07:00
Ryan Twomey
cd145b1f6a
parse: Add fromJSON 2017-06-19 11:25:09 -04:00
Andy
248eba251a parse: Fix error in typescript@next (#17057) 2017-06-08 09:19:48 -07:00
David Poetzsch-Heffter
9c744806d9 reopen: parse: generic queries & relations (#16809)
* Revert "reverting some changes for now because they cause incompatibilities with existing code bases"

This reverts commit 2c28064515.

* improvements

* fixed version header to be compatible with DefinitelyTyped's release tooling

* using defaults for generics to make this backwards compatible to older typings
and more convenient to use in case no subclassing of Parse.Object is applied

* updated parse-mockdb to make it compatible with new parse typings
2017-06-05 16:46:32 -07:00
David Poetzsch-Heffter
2255a847d5 more fixes 2017-04-10 22:40:44 +02:00
David Poetzsch-Heffter
246d148897 Improvements to the parse typing & making the parse typing compatible with strict null checking 2017-04-10 22:37:29 +02:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00