Commit Graph

47 Commits

Author SHA1 Message Date
Git Automerge
6f6324a0ab added Parse.Promise catch function 2018-03-23 14:59:24 -05:00
Git Automerge
7fa71c0fb6 added new definitions contributor 2018-03-23 10:39:09 -05:00
Git Automerge
ae78157df7 added right api version number and changed project link 2018-03-23 10:29:32 -05:00
Git Automerge
c474a09bc9 back to normal 2018-03-23 10:21:38 -05:00
Git Automerge
bdc72814b1 space 2018-03-23 10:21:07 -05:00
Git Automerge
5125615320 added aggregate and distinct to Parse 2018-03-23 10:18:46 -05:00
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
Perceval Archimbaud
7bfb5873fc
Update ParseObject interface by adding revert() method 2018-02-20 16:41:56 +01:00
Flavio Torres
a4bfeb358d Merge remote-tracking branch 'DefinitelyTyped/master' 2018-02-15 16:04:32 -02:00
Flavio Torres
8564c357bb Added Beforefind readPreference options 2018-02-15 14:18:23 -02:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08: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
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Andy
37685e11dd Add tslint disables for no-const-enum (#23134) 2018-01-23 18:19:36 +00: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
Tim Shnaider
ab9c33b354 Add 'liveQueryServerURL' option 2017-12-04 17:32:04 +13: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
Cedric Kemp
79d8c8e6fc Created interface Pointer for toPointer() method of ParseObject 2017-11-04 12:16:54 -04:00
Cedric Kemp
d1eb2edcbd Added missing methods to Parse.Object 2017-11-03 14:08:14 -04:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Flavio Torres
cc1d75836f Parse 2.4 2017-09-06 09:33:37 -03:00
Daniel Rosenwasser
6071b539b5 Merge pull request #19049 from jaeggerr/parse
[parse] Added beforeFind trigger to Parse Cloud
2017-08-19 09:25:24 -07:00
Cedric Kemp
feb778de22 Removed patch version and useless comma in contributors list 2017-08-19 12:01:42 -04:00
Andy
0e4baf9bc3 parse: Fix test (#19071) 2017-08-18 06:51:44 -07:00
Cedric Kemp
7549045d35 Added semicolon to follow file style 2017-08-16 23:37:02 -04:00
Cedric Kemp
7176ce0d58 Updated contributors list 2017-08-16 23:30:50 -04:00
Cedric Kemp
a68eeb568f Added beforeFind trigger to Parse Cloud 2017-08-16 23:26:26 -04:00
Nam Vu
f8e1650033 Add static createWithoutData for Parse.Object 2017-07-07 10:57:57 +07:00
Ryan Twomey
cd145b1f6a
parse: Add fromJSON 2017-06-19 11:25:09 -04:00
Mine Starks
4ef0b8ebc4 Merge pull request #17212 from twail-net/fix-dirty
Fixed signature of Parse.Object#dirty
2017-06-15 18:11:17 -07:00
David Poetzsch-Heffter
1f020882a2 using string literal type 2017-06-15 12:59:19 +02:00
David Poetzsch-Heffter
0c4ddcc66b fixed signature of dirty 2017-06-15 12:54:26 +02:00
Petroianu Daniel
b47e45daab All Parse.Cloud save/delete hooks have the object property
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/17195
2017-06-15 09:41:29 +03: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
3535b5430c improved user sub classing 2017-04-11 14:33:46 +02:00
David Poetzsch-Heffter
df62032b2f updated version number 2017-04-11 13:25:00 +02:00
David Poetzsch-Heffter
2c28064515 reverting some changes for now because they cause incompatibilities with existing code bases
These changes should be discussed in a separate PR and might need to wait for default
generic type arguments (typescript 2.3)
2017-04-11 13:17:01 +02:00
David Poetzsch-Heffter
900f3f43b1 improved sub classing of parse objects 2017-04-11 12:57:45 +02:00
David Poetzsch-Heffter
e3e90790cf fixes 2017-04-11 01:13:35 +02: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