diff --git a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts index f404b617b..ba784f01a 100644 --- a/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts +++ b/src/@awesome-cordova-plugins/plugins/firebase-x/index.ts @@ -1018,6 +1018,7 @@ export class FirebaseX extends AwesomeCordovaNativePlugin { * Fetches all the documents in the specific collection. * * @param {string} collection - name of top-level collection to fetch. + * @param {Array} filters - filters to apply to collection. * @param {Function} success - callback function to call on successfully deleting the document. Will be passed an {object} containing all the documents in the collection, * indexed by document ID. If a Firebase collection with that name does not exist or it contains no documents, the object will be empty. * @param {Function} error - callback function which will be passed a {string} error message as an argument. @@ -1025,6 +1026,7 @@ export class FirebaseX extends AwesomeCordovaNativePlugin { @Cordova() fetchFirestoreCollection( collection: string, + filters: any[], success: (docs: any) => void, error: (err: string) => void ): Promise {