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
7575
7676external fun increment (n : Int ): FieldValue
7777
78- external fun initializeFirestore (app : FirebaseApp , settings : Any ): Firestore
78+ external fun initializeFirestore (app : FirebaseApp , settings : dynamic = definedExternally, databaseId : String? = definedExternally ): Firestore
7979
8080external fun limit (limit : Number ): QueryConstraint
8181
@@ -287,3 +287,10 @@ external class Timestamp(seconds: Double, nanoseconds: Double) {
287287
288288 fun isEqual (other : Timestamp ): Boolean
289289}
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