| 506 | } |
| 507 | |
| 508 | export declare class Firestore implements IFirestore { |
| 509 | constructor(app?: FirebaseApp); |
| 510 | |
| 511 | useEmulator(host: string, port: number); |
| 512 | |
| 513 | batch(): WriteBatch; |
| 514 | |
| 515 | collection(collectionPath: string): CollectionReference; |
| 516 | |
| 517 | clearPersistence(): Promise<void>; |
| 518 | |
| 519 | collectionGroup(collectionId: string): Query; |
| 520 | |
| 521 | disableNetwork(): Promise<void>; |
| 522 | |
| 523 | doc(documentPath: string): DocumentReference; |
| 524 | |
| 525 | enableNetwork(): Promise<void>; |
| 526 | |
| 527 | runTransaction(updateFunction: (transaction: Transaction) => Promise<any>): Promise<any>; |
| 528 | |
| 529 | settings: Settings; |
| 530 | |
| 531 | terminate(): Promise<void>; |
| 532 | |
| 533 | waitForPendingWrites(): Promise<void>; |
| 534 | |
| 535 | readonly android: any; |
| 536 | readonly ios: any; |
| 537 | readonly native: any; |
| 538 | |
| 539 | readonly app: FirebaseApp; |
| 540 | } |
| 541 | |
| 542 | declare module '@nativescript/firebase-core' { |
| 543 | export interface Firebase extends FirebaseFirestore {} |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…