Skip to content

Commit fba10ad

Browse files
authored
Firestore console typings (#7433)
* Update api.ts * Update settings.ts * Update settings.ts * Update api.ts * Update api.ts * Update api.ts * Update api.ts * Update api.ts * Update api.ts * Update API reports * comment commit * undo comment commit * ran docgen devsite * revert last commit * ran docgen * mark exported properties as internal * Update API reports * remove documentation * delete doc --------- Co-authored-by: qtz1 <[email protected]>
1 parent 82d7df4 commit fba10ad

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

packages/firestore/src/api.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,12 @@ export { DocumentKey as _DocumentKey } from './model/document_key';
214214
export { debugAssert as _debugAssert } from './util/assert';
215215
export { FieldPath as _FieldPath } from './model/path';
216216
export type { ResourcePath as _ResourcePath } from './model/path';
217-
export type { ByteString as _ByteString } from './util/byte_string';
217+
export { ByteString as _ByteString } from './util/byte_string';
218218
export { logWarn as _logWarn } from './util/log';
219+
export type {
220+
AuthTokenFactory,
221+
FirstPartyCredentialsSettings
222+
} from './api/credentials';
219223
export { EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider } from './api/credentials';
220224
export { EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider } from './api/credentials';
221225
export { TestingHooks as _TestingHooks } from './util/testing_hooks';

packages/firestore/src/api/credentials.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,14 @@ import { Deferred } from '../util/promise';
3737
// TODO(mikelehen): This should be split into multiple files and probably
3838
// moved to an auth/ folder to match other platforms.
3939

40+
/**
41+
* @internal
42+
*/
4043
export type AuthTokenFactory = () => string;
4144

45+
/**
46+
* @internal
47+
*/
4248
export interface FirstPartyCredentialsSettings {
4349
// These are external types. Prevent minification.
4450
['type']: 'firstParty';

0 commit comments

Comments
 (0)