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