Skip to content

Commit 7367334

Browse files
committed
fix: export new interfaces and regenerate apidocs
1 parent 7df3588 commit 7367334

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

etc/firebase-admin.data-connect.api.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,22 @@ export function getDataConnect(connectorConfig: ConnectorConfig, app?: App): Dat
3636

3737
// @public
3838
export interface GraphqlOptions<Variables> {
39+
impersonate?: ImpersonateAuthenticated | ImpersonateUnauthenticated;
3940
operationName?: string;
4041
variables?: Variables;
4142
}
4243

44+
// @public
45+
export interface ImpersonateAuthenticated {
46+
// Warning: (ae-forgotten-export) The symbol "DecodedIdToken" needs to be exported by the entry point index.d.ts
47+
authClaims: Partial<DecodedIdToken>;
48+
unauthenticated?: never;
49+
}
50+
51+
// @public
52+
export interface ImpersonateUnauthenticated {
53+
authClaims?: never;
54+
unauthenticated: true;
55+
}
56+
4357
```

src/data-connect/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export {
3030
GraphqlOptions,
3131
ExecuteGraphqlResponse,
3232
ConnectorConfig,
33+
ImpersonateAuthenticated,
34+
ImpersonateUnauthenticated
3335
} from './data-connect-api'
3436
export {
3537
DataConnect,

0 commit comments

Comments
 (0)