Skip to content

Commit 76e0afd

Browse files
authored
Update v2 rtdb to expose RawRTDBEvent and RawRTDBCloudEventData (#1137)
* Update v2 rtdb to expose RawRTDBEvent and RawRTDBCloudEventData This commit updates the v2 database provider to also expose the RawRTDB Events. This will be used in test-sdk when mocking returned DatabaseEvents. * Adding @hidden instead of @internal
1 parent a2b9e73 commit 76e0afd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/providers/database.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ export const updatedEventType = 'google.firebase.database.ref.v1.updated';
4444
/** @internal */
4545
export const deletedEventType = 'google.firebase.database.ref.v1.deleted';
4646

47-
/** @internal */
47+
/** @hidden */
4848
export interface RawRTDBCloudEventData {
4949
['@type']: 'type.googleapis.com/google.events.firebase.database.v1.ReferenceEventData';
5050
data: any;
5151
delta: any;
5252
}
5353

54-
/** @internal */
54+
/** @hidden */
5555
export interface RawRTDBCloudEvent extends CloudEvent<RawRTDBCloudEventData> {
5656
firebasedatabasehost: string;
5757
instance: string;

0 commit comments

Comments
 (0)