Skip to content

Commit 16938c0

Browse files
authored
Add docs for exp packages (#2964)
1 parent a98a766 commit 16938c0

30 files changed

+623
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseApp](./app-types.firebaseapp.md) &gt; [automaticDataCollectionEnabled](./app-types.firebaseapp.automaticdatacollectionenabled.md)
4+
5+
## FirebaseApp.automaticDataCollectionEnabled property
6+
7+
The settable config flag for GDPR opt-in/opt-out
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
automaticDataCollectionEnabled: boolean;
13+
```

docs-exp/app-types.firebaseapp.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseApp](./app-types.firebaseapp.md)
4+
5+
## FirebaseApp interface
6+
7+
A FirebaseApp holds the initialization information for a collection of services.
8+
9+
Do not call this constructor directly. Instead, use [initializeApp()](./app.initializeapp.md) to create an app.
10+
11+
<b>Signature:</b>
12+
13+
```typescript
14+
export interface FirebaseApp
15+
```
16+
17+
## Properties
18+
19+
| Property | Type | Description |
20+
| --- | --- | --- |
21+
| [automaticDataCollectionEnabled](./app-types.firebaseapp.automaticdatacollectionenabled.md) | <code>boolean</code> | The settable config flag for GDPR opt-in/opt-out |
22+
| [name](./app-types.firebaseapp.name.md) | <code>string</code> | The (read-only) name for this app.<!-- -->The default app's name is <code>&quot;[DEFAULT]&quot;</code>. |
23+
| [options](./app-types.firebaseapp.options.md) | <code>FirebaseOptions</code> | The (read-only) configuration options for this app. These are the original parameters given in [initializeApp()](./app.initializeapp.md)<!-- -->. |
24+
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseApp](./app-types.firebaseapp.md) &gt; [name](./app-types.firebaseapp.name.md)
4+
5+
## FirebaseApp.name property
6+
7+
The (read-only) name for this app.
8+
9+
The default app's name is `"[DEFAULT]"`<!-- -->.
10+
11+
<b>Signature:</b>
12+
13+
```typescript
14+
readonly name: string;
15+
```
16+
17+
## Example 1
18+
19+
20+
```javascript
21+
// The default app's name is "[DEFAULT]"
22+
const app = initializeApp(defaultAppConfig);
23+
console.log(app.name); // "[DEFAULT]"
24+
25+
```
26+
27+
## Example 2
28+
29+
30+
```javascript
31+
// A named app's name is what you provide to initializeApp()
32+
const otherApp = initializeApp(otherAppConfig, "other");
33+
console.log(otherApp.name); // "other"
34+
35+
```
36+
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseApp](./app-types.firebaseapp.md) &gt; [options](./app-types.firebaseapp.options.md)
4+
5+
## FirebaseApp.options property
6+
7+
The (read-only) configuration options for this app. These are the original parameters given in [initializeApp()](./app.initializeapp.md)<!-- -->.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
readonly options: FirebaseOptions;
13+
```
14+
15+
## Example
16+
17+
18+
```javascript
19+
const app = initializeApp(config);
20+
console.log(app.options.databaseURL === config.databaseURL); // true
21+
22+
```
23+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseAppConfig](./app-types.firebaseappconfig.md) &gt; [automaticDataCollectionEnabled](./app-types.firebaseappconfig.automaticdatacollectionenabled.md)
4+
5+
## FirebaseAppConfig.automaticDataCollectionEnabled property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
automaticDataCollectionEnabled?: boolean;
11+
```
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseAppConfig](./app-types.firebaseappconfig.md)
4+
5+
## FirebaseAppConfig interface
6+
7+
8+
<b>Signature:</b>
9+
10+
```typescript
11+
export interface FirebaseAppConfig
12+
```
13+
14+
## Properties
15+
16+
| Property | Type | Description |
17+
| --- | --- | --- |
18+
| [automaticDataCollectionEnabled](./app-types.firebaseappconfig.automaticdatacollectionenabled.md) | <code>boolean</code> | |
19+
| [name](./app-types.firebaseappconfig.name.md) | <code>string</code> | |
20+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseAppConfig](./app-types.firebaseappconfig.md) &gt; [name](./app-types.firebaseappconfig.name.md)
4+
5+
## FirebaseAppConfig.name property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
name?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [apiKey](./app-types.firebaseoptions.apikey.md)
4+
5+
## FirebaseOptions.apiKey property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
apiKey?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [appId](./app-types.firebaseoptions.appid.md)
4+
5+
## FirebaseOptions.appId property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
appId?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [authDomain](./app-types.firebaseoptions.authdomain.md)
4+
5+
## FirebaseOptions.authDomain property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
authDomain?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [databaseURL](./app-types.firebaseoptions.databaseurl.md)
4+
5+
## FirebaseOptions.databaseURL property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
databaseURL?: string;
11+
```

docs-exp/app-types.firebaseoptions.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md)
4+
5+
## FirebaseOptions interface
6+
7+
8+
<b>Signature:</b>
9+
10+
```typescript
11+
export interface FirebaseOptions
12+
```
13+
14+
## Properties
15+
16+
| Property | Type | Description |
17+
| --- | --- | --- |
18+
| [apiKey](./app-types.firebaseoptions.apikey.md) | <code>string</code> | |
19+
| [appId](./app-types.firebaseoptions.appid.md) | <code>string</code> | |
20+
| [authDomain](./app-types.firebaseoptions.authdomain.md) | <code>string</code> | |
21+
| [databaseURL](./app-types.firebaseoptions.databaseurl.md) | <code>string</code> | |
22+
| [measurementId](./app-types.firebaseoptions.measurementid.md) | <code>string</code> | |
23+
| [messagingSenderId](./app-types.firebaseoptions.messagingsenderid.md) | <code>string</code> | |
24+
| [projectId](./app-types.firebaseoptions.projectid.md) | <code>string</code> | |
25+
| [storageBucket](./app-types.firebaseoptions.storagebucket.md) | <code>string</code> | |
26+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [measurementId](./app-types.firebaseoptions.measurementid.md)
4+
5+
## FirebaseOptions.measurementId property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
measurementId?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [messagingSenderId](./app-types.firebaseoptions.messagingsenderid.md)
4+
5+
## FirebaseOptions.messagingSenderId property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
messagingSenderId?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [projectId](./app-types.firebaseoptions.projectid.md)
4+
5+
## FirebaseOptions.projectId property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
projectId?: string;
11+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [FirebaseOptions](./app-types.firebaseoptions.md) &gt; [storageBucket](./app-types.firebaseoptions.storagebucket.md)
4+
5+
## FirebaseOptions.storageBucket property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
storageBucket?: string;
11+
```

docs-exp/app-types.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md)
4+
5+
## app-types package
6+
7+
## Interfaces
8+
9+
| Interface | Description |
10+
| --- | --- |
11+
| [FirebaseApp](./app-types.firebaseapp.md) | A FirebaseApp holds the initialization information for a collection of services.<!-- -->Do not call this constructor directly. Instead, use [initializeApp()](./app.initializeapp.md) to create an app. |
12+
| [FirebaseAppConfig](./app-types.firebaseappconfig.md) | |
13+
| [FirebaseOptions](./app-types.firebaseoptions.md) | |
14+
| [PlatformLoggerService](./app-types.platformloggerservice.md) | |
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [PlatformLoggerService](./app-types.platformloggerservice.md) &gt; [getPlatformInfoString](./app-types.platformloggerservice.getplatforminfostring.md)
4+
5+
## PlatformLoggerService.getPlatformInfoString() method
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
getPlatformInfoString(): string;
11+
```
12+
<b>Returns:</b>
13+
14+
`string`
15+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app-types](./app-types.md) &gt; [PlatformLoggerService](./app-types.platformloggerservice.md)
4+
5+
## PlatformLoggerService interface
6+
7+
8+
<b>Signature:</b>
9+
10+
```typescript
11+
export interface PlatformLoggerService
12+
```
13+
14+
## Methods
15+
16+
| Method | Description |
17+
| --- | --- |
18+
| [getPlatformInfoString()](./app-types.platformloggerservice.getplatforminfostring.md) | |
19+

docs-exp/app.deleteapp.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [@firebase/app](./app.md) &gt; [deleteApp](./app.deleteapp.md)
4+
5+
## deleteApp() function
6+
7+
Renders this app unusable and frees the resources of all associated services.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
export declare function deleteApp(app: FirebaseApp): Promise<void>;
13+
```
14+
15+
## Parameters
16+
17+
| Parameter | Type | Description |
18+
| --- | --- | --- |
19+
| app | <code>FirebaseApp</code> | |
20+
21+
<b>Returns:</b>
22+
23+
`Promise<void>`
24+
25+
## Example
26+
27+
28+
```javascript
29+
deleteApp(app)
30+
.then(function() {
31+
console.log("App deleted successfully");
32+
})
33+
.catch(function(error) {
34+
console.log("Error deleting app:", error);
35+
});
36+
37+
```
38+

0 commit comments

Comments
 (0)