File tree 1 file changed +9
-0
lines changed
firebase-firestore/src/jsMain/kotlin/dev/gitlive/firebase/firestore/externals
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ external fun getDocs(query: Query): Promise<QuerySnapshot>
73
73
74
74
external fun getFirestore (app : FirebaseApp ? = definedExternally): Firestore
75
75
76
+ external fun initializeFirestore (app : FirebaseApp ? = definedExternally, settings : dynamic = definedExternally, databaseId : String? = definedExternally): Firestore
77
+
76
78
external fun increment (n : Int ): FieldValue
77
79
78
80
external fun initializeFirestore (app : FirebaseApp , settings : Any ): Firestore
@@ -287,3 +289,10 @@ external class Timestamp(seconds: Double, nanoseconds: Double) {
287
289
288
290
fun isEqual (other : Timestamp ): Boolean
289
291
}
292
+
293
+ external interface FirestoreLocalCache {
294
+ val kind: String
295
+ }
296
+
297
+ external fun memoryLocalCache (): FirestoreLocalCache
298
+ external fun persistentLocalCache (settings : dynamic = definedExternally): FirestoreLocalCache
You can’t perform that action at this time.
0 commit comments