Adds documentations for adapters and main constructors (#4951)

* wip

* Adds documentations for adapters, and constructors

* nits

* nit
This commit is contained in:
Florent Vilmart
2018-08-10 15:51:31 -04:00
parent 0571675fcd
commit 942b9b5b1a
17 changed files with 3316 additions and 2708 deletions

View File

@@ -11,7 +11,19 @@
// Default is ParsePushAdapter, which uses GCM for
// android push and APNS for ios push.
/**
* @module Adapters
*/
/**
* @interface PushAdapter
*/
export class PushAdapter {
/**
* @param {any} body
* @param {Parse.Installation[]} installations
* @param {any} pushStatus
* @returns {Promise}
*/
send(body: any, installations: any[], pushStatus: any): ?Promise<*> {}
/**