File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
firebase-common/src/jsMain/kotlin/dev/gitlive/firebase
src/jsMain/kotlin/dev/gitlive/firebase/firestore Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -168,8 +168,7 @@ external object firebase {
168
168
169
169
open class Query {
170
170
fun get (options : Any? = definedExternally): Promise <QuerySnapshot >
171
- fun where (field : String , opStr : String , value : Any? ): Query
172
- fun where (path : FieldPath , opStr : String , value : Any? ): Query
171
+ fun where (field : Any , opStr : String , value : Any? ): Query
173
172
fun onSnapshot (next : (snapshot: QuerySnapshot ) -> Unit , error : (error: Error ) -> Unit ): ()-> Unit
174
173
}
175
174
Original file line number Diff line number Diff line change 1
- version = " 0.1.0 "
1
+ version = " 0.1.1 "
2
2
3
3
plugins {
4
4
id(" com.android.library" )
Original file line number Diff line number Diff line change @@ -322,9 +322,9 @@ actual class DocumentSnapshot(val js: firebase.firestore.DocumentSnapshot) {
322
322
actual val exists get() = rethrow { js.exists }
323
323
}
324
324
325
- actual typealias FieldPath = firebase.firestore. FieldPath
325
+ actual typealias FieldPath = Any
326
326
327
- actual fun FieldPath (vararg fieldNames : String ) = rethrow { FieldPath (fieldNames) }
327
+ actual fun FieldPath (vararg fieldNames : String ): FieldPath = rethrow { firebase.firestore. FieldPath (fieldNames) }
328
328
329
329
330
330
actual object FieldValue {
You can’t perform that action at this time.
0 commit comments