File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
packages-exp/functions-exp/src Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 66
77import { FirebaseApp } from ' @firebase/app-types-exp' ;
88import { Functions } from ' @firebase/functions-types-exp' ;
9+ import { FunctionsError } from ' @firebase/functions-types-exp' ;
10+ import { FunctionsErrorCode } from ' @firebase/functions-types-exp' ;
911import { HttpsCallable } from ' @firebase/functions-types-exp' ;
1012import { 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 }
1120
1221// @public
1322export function getFunctions(app : FirebaseApp , regionOrCustomDomain ? : string ): Functions ;
1423
24+ export { HttpsCallable }
25+
1526// @public
1627export function httpsCallable(functionsInstance : Functions , name : string , options ? : HttpsCallableOptions ): HttpsCallable ;
1728
29+ export { HttpsCallableOptions }
30+
31+ export { HttpsCallableResult }
32+
1833// @public
1934export function useFunctionsEmulator(functionsInstance : Functions , host : string , port : number ): void ;
2035
Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ import { Provider } from '@firebase/component';
2323import {
2424 Functions ,
2525 HttpsCallableOptions ,
26- HttpsCallable
26+ HttpsCallable ,
27+ HttpsCallableResult ,
28+ FunctionsError ,
29+ FunctionsErrorCode
2730} from '@firebase/functions-types-exp' ;
2831import {
2932 FunctionsService ,
@@ -32,6 +35,15 @@ import {
3235 httpsCallable as _httpsCallable
3336} from './service' ;
3437
38+ export {
39+ Functions ,
40+ HttpsCallableOptions ,
41+ HttpsCallable ,
42+ HttpsCallableResult ,
43+ FunctionsError ,
44+ FunctionsErrorCode
45+ } ;
46+
3547/**
3648 * Returns a Functions instance for the given app.
3749 * @param app - The FirebaseApp to use.
You can’t perform that action at this time.
0 commit comments