Skip to content

Commit e037eee

Browse files
authored
Export internal interface PrivateSettings for console (#7492)
Expose PrivateSettings interface as an internal type for the Firestore console. It was exported in the previous version of the non-modular firestore SDK we used in console.
1 parent 80a7f7c commit e037eee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/firestore/src/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export {
8282
} from './api/bundle';
8383

8484
export { FirestoreSettings, PersistenceSettings } from './api/settings';
85+
export type { PrivateSettings } from './lite-api/settings';
8586
export { ExperimentalLongPollingOptions } from './api/long_polling_options';
8687

8788
export {

packages/firestore/src/lite-api/settings.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,10 @@ export interface FirestoreSettings {
6868
ignoreUndefinedProperties?: boolean;
6969
}
7070

71-
/** Undocumented, private additional settings not exposed in our public API. */
71+
/**
72+
* @internal
73+
* Undocumented, private additional settings not exposed in our public API.
74+
*/
7275
export interface PrivateSettings extends FirestoreSettings {
7376
// Can be a google-auth-library or gapi client.
7477
credentials?: CredentialsSettings;

0 commit comments

Comments
 (0)