mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[firestore][types] 'array-contains' support
This commit is contained in:
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
@@ -2670,7 +2670,7 @@ declare module 'react-native-firebase' {
|
||||
}
|
||||
|
||||
type QueryDirection = 'asc' | 'ASC' | 'desc' | 'DESC';
|
||||
type QueryOperator = '=' | '==' | '>' | '>=' | '<' | '<=';
|
||||
type QueryOperator = '=' | '==' | '>' | '>=' | '<' | '<=' | 'array-contains';
|
||||
|
||||
interface TypeMap {
|
||||
type:
|
||||
|
||||
@@ -8,7 +8,14 @@ export type MetadataChanges = {|
|
||||
|
||||
export type QueryDirection = 'DESC' | 'desc' | 'ASC' | 'asc';
|
||||
|
||||
export type QueryOperator = '<' | '<=' | '=' | '==' | '>' | '>=';
|
||||
export type QueryOperator =
|
||||
| '<'
|
||||
| '<='
|
||||
| '='
|
||||
| '=='
|
||||
| '>'
|
||||
| '>='
|
||||
| 'array-contains';
|
||||
|
||||
export type GetOptions = {
|
||||
source: 'default' | 'server' | 'cache',
|
||||
|
||||
Reference in New Issue
Block a user