Skip to content

Commit 70d830b

Browse files
authored
chore: Added package docs for module entry points (#1275)
1 parent 6cf83f8 commit 70d830b

24 files changed

+73
-25
lines changed

etc/firebase-admin.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,4 @@ export namespace storage {
457457
}
458458

459459

460-
// (No @packageDocumentation comment for this package)
461-
462460
```

etc/firebase-admin.app.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,4 @@ export interface ServiceAccount {
8585
}
8686

8787

88-
// (No @packageDocumentation comment for this package)
89-
9088
```

etc/firebase-admin.auth.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,4 @@ export class UserRecord {
454454
}
455455

456456

457-
// (No @packageDocumentation comment for this package)
458-
459457
```

etc/firebase-admin.database.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,4 @@ export const ServerValue: rtdb.ServerValue;
4848
export { ThenableReference }
4949

5050

51-
// (No @packageDocumentation comment for this package)
52-
5351
```

etc/firebase-admin.firestore.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,4 @@ export { WriteBatch }
9696
export { WriteResult }
9797

9898

99-
// (No @packageDocumentation comment for this package)
100-
10199
```

etc/firebase-admin.instance-id.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,4 @@ export class InstanceId {
1818
}
1919

2020

21-
// (No @packageDocumentation comment for this package)
22-
2321
```

etc/firebase-admin.machine-learning.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,4 @@ export interface TFLiteModel {
9090
}
9191

9292

93-
// (No @packageDocumentation comment for this package)
94-
9593
```

etc/firebase-admin.messaging.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,4 @@ export interface WebpushNotification {
351351
}
352352

353353

354-
// (No @packageDocumentation comment for this package)
355-
356354
```

etc/firebase-admin.project-management.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,4 @@ export class ShaCertificate {
8787
}
8888

8989

90-
// (No @packageDocumentation comment for this package)
91-
9290
```

etc/firebase-admin.remote-config.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,4 @@ export interface Version {
114114
}
115115

116116

117-
// (No @packageDocumentation comment for this package)
118-
119117
```

etc/firebase-admin.security-rules.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,4 @@ export class SecurityRules {
5757
}
5858

5959

60-
// (No @packageDocumentation comment for this package)
61-
6260
```

etc/firebase-admin.storage.api.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ export class Storage {
1919
}
2020

2121

22-
// (No @packageDocumentation comment for this package)
23-
2422
```

src/app/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717

1818
import { getSdkVersion } from '../utils';
1919

20+
/**
21+
* Firebase App and SDK initialization.
22+
*
23+
* @packageDocumentation
24+
*/
25+
2026
export { App, AppOptions, FirebaseArrayIndexError, FirebaseError } from './core'
2127
export { initializeApp, getApp, getApps, deleteApp } from './lifecycle';
2228

src/auth/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase Authentication.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app/index';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { Auth } from './auth';

src/database/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase Realtime Database.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import * as rtdb from '@firebase/database-types';
1824
import {
1925
enableLogging as enableLoggingFunc,

src/default-namespace.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase namespaced API (legacy).
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
export * from './firebase-namespace-api';

src/firestore/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Cloud Firestore.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { Firestore } from '@google-cloud/firestore';
1824
import { App, getApp } from '../app';
1925
import { FirebaseApp } from '../app/firebase-app';

src/instance-id/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { FirebaseApp } from '../app/firebase-app';
17+
/**
18+
* Firebase Instance ID service.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1823
import { App, getApp } from '../app/index';
1924
import { InstanceId } from './instance-id';
25+
import { FirebaseApp } from '../app/firebase-app';
2026

2127
export { InstanceId };
2228

src/machine-learning/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase Machine Learning.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { MachineLearning } from './machine-learning';

src/messaging/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase Cloud Messaging (FCM).
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { Messaging } from './messaging';

src/project-management/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase project management.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { ProjectManagement } from './project-management';

src/remote-config/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Firebase Remote Config.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { RemoteConfig } from './remote-config';

src/security-rules/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Security Rules for Cloud Firestore and Cloud Storage.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { SecurityRules } from './security-rules';

src/storage/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17+
/**
18+
* Cloud Storage for Firebase.
19+
*
20+
* @packageDocumentation
21+
*/
22+
1723
import { App, getApp } from '../app';
1824
import { FirebaseApp } from '../app/firebase-app';
1925
import { Storage } from './storage';

0 commit comments

Comments
 (0)