File tree 2 files changed +28
-1
lines changed
packages-exp/functions-exp/src
2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
import { FirebaseApp } from ' @firebase/app-types-exp' ;
8
8
import { Functions } from ' @firebase/functions-types-exp' ;
9
+ import { FunctionsError } from ' @firebase/functions-types-exp' ;
10
+ import { FunctionsErrorCode } from ' @firebase/functions-types-exp' ;
9
11
import { HttpsCallable } from ' @firebase/functions-types-exp' ;
10
12
import { HttpsCallableOptions } from ' @firebase/functions-types-exp' ;
13
+ import { HttpsCallableResult } from ' @firebase/functions-types-exp' ;
14
+
15
+ export { Functions }
16
+
17
+ export { FunctionsError }
18
+
19
+ export { FunctionsErrorCode }
11
20
12
21
// @public
13
22
export function getFunctions(app : FirebaseApp , regionOrCustomDomain ? : string ): Functions ;
14
23
24
+ export { HttpsCallable }
25
+
15
26
// @public
16
27
export function httpsCallable(functionsInstance : Functions , name : string , options ? : HttpsCallableOptions ): HttpsCallable ;
17
28
29
+ export { HttpsCallableOptions }
30
+
31
+ export { HttpsCallableResult }
32
+
18
33
// @public
19
34
export function useFunctionsEmulator(functionsInstance : Functions , host : string , port : number ): void ;
20
35
Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ import { Provider } from '@firebase/component';
23
23
import {
24
24
Functions ,
25
25
HttpsCallableOptions ,
26
- HttpsCallable
26
+ HttpsCallable ,
27
+ HttpsCallableResult ,
28
+ FunctionsError ,
29
+ FunctionsErrorCode
27
30
} from '@firebase/functions-types-exp' ;
28
31
import {
29
32
FunctionsService ,
@@ -32,6 +35,15 @@ import {
32
35
httpsCallable as _httpsCallable
33
36
} from './service' ;
34
37
38
+ export {
39
+ Functions ,
40
+ HttpsCallableOptions ,
41
+ HttpsCallable ,
42
+ HttpsCallableResult ,
43
+ FunctionsError ,
44
+ FunctionsErrorCode
45
+ } ;
46
+
35
47
/**
36
48
* Returns a Functions instance for the given app.
37
49
* @param app - The FirebaseApp to use.
You can’t perform that action at this time.
0 commit comments