Skip to content

Commit 13e6b2f

Browse files
committed
fix: readd types from merge conflict fixes
1 parent 14967b1 commit 13e6b2f

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

packages/functions/lib/namespaced.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ class FirebaseFunctionsModule extends FirebaseModule {
7979
_customUrlOrRegion: string;
8080
private _useFunctionsEmulatorHost: string | null;
8181
private _useFunctionsEmulatorPort: number;
82+
private _id_functions_streaming_event: number;
8283

8384
constructor(
8485
app: ReactNativeFirebase.FirebaseAppBase,

packages/functions/lib/types/functions.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,21 @@ export interface FunctionsModule extends ReactNativeFirebase.FirebaseModule {
112112
options?: HttpsCallableOptions,
113113
): HttpsCallable<RequestData, ResponseData>;
114114

115+
/**
116+
* Returns a reference to the callable HTTPS trigger with the given name.
117+
*
118+
* @param name The name of the trigger.
119+
* @param options Optional settings for the callable function.
120+
*/
121+
httpsCallableStream<RequestData = unknown, ResponseData = unknown>(name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
122+
/**
123+
* Returns a reference to the callable HTTPS trigger with the given URL.
124+
*
125+
* @param url The URL of the trigger.
126+
* @param options Optional settings for the callable function.
127+
*/
128+
httpsCallableStreamFromUrl<RequestData = unknown, ResponseData = unknown>(url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>;
129+
115130
/**
116131
* Changes this instance to point to a Cloud Functions emulator running locally.
117132
*

0 commit comments

Comments
 (0)