File tree Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Expand file tree Collapse file tree 5 files changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -303,3 +303,5 @@ export function onLog(
303
303
export function setLogLevel ( logLevel : LogLevelString ) : void {
304
304
setLogLevelImpl ( logLevel ) ;
305
305
}
306
+
307
+ export { FirebaseApp , FirebaseAppConfig , FirebaseOptions } ;
Original file line number Diff line number Diff line change 23
23
*/
24
24
25
25
import { registerCoreComponents } from './registerCoreComponents' ;
26
- import {
27
- FirebaseApp ,
28
- FirebaseAppConfig ,
29
- FirebaseOptions
30
- } from '@firebase/app-types-exp' ;
31
26
32
27
export * from './api' ;
33
28
export * from './internal' ;
34
- export { FirebaseApp , FirebaseAppConfig , FirebaseOptions } ;
35
29
36
30
registerCoreComponents ( ) ;
Original file line number Diff line number Diff line change @@ -126,3 +126,5 @@ export function onBackgroundMessage(
126
126
) : Unsubscribe {
127
127
return _onBackgroundMessage ( messaging as MessagingService , nextOrObserver ) ;
128
128
}
129
+
130
+ export { FirebaseMessaging , MessagePayload } ;
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- // Currently supported fcm notification display parameters. Note that
19
- // {@link https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions }
20
- // defines a full list of display notification parameters. This interface we only include what the
21
- // SEND API support for clarity.
18
+ /**
19
+ * Currently supported fcm notification display parameters. Note that
20
+ * {@link https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/notifications/NotificationOptions}
21
+ * defines a full list of display notification parameters. This interface we only include what the
22
+ * SEND API support for clarity.
23
+ */
22
24
export interface NotificationPayload {
23
25
title ?: string ;
24
26
body ?: string ;
25
27
image ?: string ;
26
28
}
27
29
30
+ /**
31
+ * @public
32
+ */
28
33
export interface FcmOptions {
29
34
link ?: string ;
30
35
analyticsLabel ?: string ;
31
36
}
32
37
38
+ /**
39
+ * @public
40
+ */
33
41
export interface MessagePayload {
34
42
notification ?: NotificationPayload ;
35
43
data ?: { [ key : string ] : string } ;
@@ -38,9 +46,15 @@ export interface MessagePayload {
38
46
collapseKey : string ;
39
47
}
40
48
49
+ /**
50
+ * @public
51
+ */
41
52
export interface FirebaseMessaging { }
42
53
43
- export type FirebaseMessagingName = 'messaging' ;
54
+ /**
55
+ * @internal
56
+ */
57
+ export type _FirebaseMessagingName = 'messaging' ;
44
58
45
59
declare module '@firebase/component' {
46
60
interface NameServiceMapping {
Original file line number Diff line number Diff line change @@ -257,3 +257,5 @@ export function setLogLevel(
257
257
function getAllKeys ( obj1 : { } = { } , obj2 : { } = { } ) : string [ ] {
258
258
return Object . keys ( { ...obj1 , ...obj2 } ) ;
259
259
}
260
+
261
+ export { RemoteConfig , ValueType , RemoteConfigLogLevel } ;
You can’t perform that action at this time.
0 commit comments