Skip to content

Commit e92c4e0

Browse files
committed
fix: Ran api documentor and fix some export errors
1 parent afcb54c commit e92c4e0

22 files changed

Lines changed: 276 additions & 281 deletions

etc/firebase-admin.api.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,18 @@ export namespace database {
220220
const ServerValue: rtdb.ServerValue;
221221
}
222222

223+
// @public
224+
export interface ErrorInfo {
225+
// (undocumented)
226+
cause?: Error;
227+
// (undocumented)
228+
code: string;
229+
// (undocumented)
230+
httpResponse?: HttpResponse;
231+
// (undocumented)
232+
message: string;
233+
}
234+
223235
// @public
224236
export interface FirebaseArrayIndexError {
225237
error: FirebaseError;
@@ -231,8 +243,6 @@ export interface FirebaseError {
231243
// (undocumented)
232244
cause?: Error;
233245
code: string;
234-
// Warning: (ae-forgotten-export) The symbol "HttpResponse" needs to be exported by the entry point default-namespace.d.ts
235-
//
236246
// (undocumented)
237247
httpResponse?: HttpResponse;
238248
message: string;
@@ -242,7 +252,6 @@ export interface FirebaseError {
242252

243253
// @public
244254
export class FirebaseError extends Error implements FirebaseError {
245-
// Warning: (ae-forgotten-export) The symbol "ErrorInfo" needs to be exported by the entry point default-namespace.d.ts
246255
constructor(errorInfo: ErrorInfo);
247256
}
248257

@@ -311,6 +320,18 @@ export interface GoogleOAuthAccessToken {
311320
expires_in: number;
312321
}
313322

323+
// @public (undocumented)
324+
export interface HttpResponse {
325+
// (undocumented)
326+
data?: any;
327+
// (undocumented)
328+
headers: {
329+
[key: string]: any;
330+
};
331+
// (undocumented)
332+
status: number;
333+
}
334+
314335
// @public (undocumented)
315336
export function initializeApp(options?: AppOptions, name?: string): app.App;
316337

etc/firebase-admin.app-check.api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ export interface DecodedAppCheckToken {
4646
//
4747
// @public
4848
export class FirebaseAppCheckError extends PrefixedFirebaseError {
49-
constructor(code: AppCheckErrorCode, message: string);
49+
// Warning: (ae-forgotten-export) The symbol "ErrorInfo" needs to be exported by the entry point index.d.ts
50+
constructor(info: ErrorInfo, message?: string);
5051
}
5152

5253
// @public

etc/firebase-admin.app.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export interface GoogleOAuthAccessToken {
121121
// @public (undocumented)
122122
export interface HttpResponse {
123123
// (undocumented)
124-
data?: string;
124+
data?: any;
125125
// (undocumented)
126126
headers: {
127127
[key: string]: any;

0 commit comments

Comments
 (0)