forked from EddyVerbruggen/nativescript-plugin-firebase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase-common.d.ts
48 lines (43 loc) · 880 Bytes
/
firebase-common.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
declare module "nativescript-plugin-firebase" {
/**
* The allowed values for LoginOptions.type.
*/
enum LoginType {
/**
* No further data is required.
*/
ANONYMOUS,
/**
* This requires you to pass in email and password properties as well.
*/
PASSWORD
}
/**
* The allowed values for QueryOptions.orderBy.type.
*/
enum QueryOrderByType {
KEY,
VALUE,
CHILD,
PRIORITY
}
/**
* The allowed values for QueryOptions.range.type.
*/
enum QueryRangeType {
START_AT,
END_AT,
EQUAL_TO
}
/**
* The allowed values for QueryOptions.limit.type.
*/
enum QueryLimitType {
FIRST,
LAST
}
/**
* Logout of the Firebase instance you previously logged in to.
*/
function logout(): void;
}