File tree 4 files changed +18
-7
lines changed
4 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 14
14
" firebase-firestore-integration-test" ,
15
15
" firebase-messaging-integration-test" ,
16
16
" @firebase/app-exp" ,
17
- " @firebase/app-types-exp" ,
18
17
" @firebase/analytics-exp" ,
19
18
" @firebase/analytics-types-exp" ,
20
19
" @firebase/auth-exp" ,
Original file line number Diff line number Diff line change @@ -40,15 +40,13 @@ export interface FirebaseApp {
40
40
readonly options: FirebaseOptions ;
41
41
}
42
42
43
- // @public (undocumented)
43
+ // @public
44
44
export interface FirebaseAppConfig {
45
- // (undocumented)
46
45
automaticDataCollectionEnabled? : boolean ;
47
- // (undocumented)
48
46
name? : string ;
49
47
}
50
48
51
- // @public (undocumented)
49
+ // @internal (undocumented)
52
50
export interface _FirebaseAppInternal extends FirebaseApp {
53
51
// (undocumented)
54
52
checkDestroyed(): void ;
@@ -58,7 +56,7 @@ export interface _FirebaseAppInternal extends FirebaseApp {
58
56
isDeleted: boolean ;
59
57
}
60
58
61
- // @public (undocumented)
59
+ // @public
62
60
export interface FirebaseOptions {
63
61
// (undocumented)
64
62
apiKey? : string ;
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
- * Copyright 2017 Google LLC
3
+ * Copyright 2021 Google LLC
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change @@ -69,6 +69,8 @@ export interface FirebaseApp {
69
69
70
70
/**
71
71
* @public
72
+ *
73
+ * Firebase configuration object
72
74
*/
73
75
export interface FirebaseOptions {
74
76
apiKey ?: string ;
@@ -83,9 +85,18 @@ export interface FirebaseOptions {
83
85
84
86
/**
85
87
* @public
88
+ *
89
+ * Configuration options given to {@link (initializeApp:1) | initializeApp()}
86
90
*/
87
91
export interface FirebaseAppConfig {
92
+ /**
93
+ * custom name for the Firebase App.
94
+ * The default value is `"[DEFAULT]"`.
95
+ */
88
96
name ?: string ;
97
+ /**
98
+ * The settable config flag for GDPR opt-in/opt-out
99
+ */
89
100
automaticDataCollectionEnabled ?: boolean ;
90
101
}
91
102
@@ -102,6 +113,9 @@ export interface _FirebaseService {
102
113
_delete ( ) : Promise < void > ;
103
114
}
104
115
116
+ /**
117
+ * @internal
118
+ */
105
119
export interface _FirebaseAppInternal extends FirebaseApp {
106
120
container : ComponentContainer ;
107
121
isDeleted : boolean ;
You can’t perform that action at this time.
0 commit comments