Skip to content

Commit 0a0aca3

Browse files
committed
Removed unnecessary rtdb changes
1 parent 5eedc9a commit 0a0aca3

28 files changed

+1735
-27
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# AuthTokenProvider interface
13+
<b>Signature:</b>
14+
15+
```typescript
16+
export declare interface AuthTokenProvider
17+
```
18+
19+
## Methods
20+
21+
| Method | Description |
22+
| --- | --- |
23+
| [addTokenChangeListener(listener)](./data-connect.authtokenprovider.md#authtokenprovideraddtokenchangelistener) | |
24+
| [getToken(forceRefresh)](./data-connect.authtokenprovider.md#authtokenprovidergettoken) | |
25+
26+
## AuthTokenProvider.addTokenChangeListener()
27+
28+
<b>Signature:</b>
29+
30+
```typescript
31+
addTokenChangeListener(listener: AuthTokenListener): void;
32+
```
33+
34+
#### Parameters
35+
36+
| Parameter | Type | Description |
37+
| --- | --- | --- |
38+
| listener | [AuthTokenListener](./data-connect.md#authtokenlistener) | |
39+
40+
<b>Returns:</b>
41+
42+
void
43+
44+
## AuthTokenProvider.getToken()
45+
46+
<b>Signature:</b>
47+
48+
```typescript
49+
getToken(forceRefresh: boolean): Promise<FirebaseAuthTokenData | null>;
50+
```
51+
52+
#### Parameters
53+
54+
| Parameter | Type | Description |
55+
| --- | --- | --- |
56+
| forceRefresh | boolean | |
57+
58+
<b>Returns:</b>
59+
60+
Promise&lt;FirebaseAuthTokenData \| null&gt;
61+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# CancellableOperation interface
13+
<b>Signature:</b>
14+
15+
```typescript
16+
export declare interface CancellableOperation<T> extends PromiseLike<{
17+
data: T;
18+
}>
19+
```
20+
<b>Extends:</b> PromiseLike&lt;{ data: T; }&gt;
21+
22+
## Properties
23+
24+
| Property | Type | Description |
25+
| --- | --- | --- |
26+
| [cancel](./data-connect.cancellableoperation.md#cancellableoperationcancel) | () =&gt; void | |
27+
| [data](./data-connect.cancellableoperation.md#cancellableoperationdata) | T | |
28+
29+
## CancellableOperation.cancel
30+
31+
<b>Signature:</b>
32+
33+
```typescript
34+
cancel: () => void;
35+
```
36+
37+
## CancellableOperation.data
38+
39+
<b>Signature:</b>
40+
41+
```typescript
42+
data: T;
43+
```
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# ConnectorConfig interface
13+
Connector Config for calling Data Connect backend.
14+
15+
<b>Signature:</b>
16+
17+
```typescript
18+
export declare interface ConnectorConfig
19+
```
20+
21+
## Properties
22+
23+
| Property | Type | Description |
24+
| --- | --- | --- |
25+
| [connector](./data-connect.connectorconfig.md#connectorconfigconnector) | string | |
26+
| [location](./data-connect.connectorconfig.md#connectorconfiglocation) | string | |
27+
| [service](./data-connect.connectorconfig.md#connectorconfigservice) | string | |
28+
29+
## ConnectorConfig.connector
30+
31+
<b>Signature:</b>
32+
33+
```typescript
34+
connector: string;
35+
```
36+
37+
## ConnectorConfig.location
38+
39+
<b>Signature:</b>
40+
41+
```typescript
42+
location: string;
43+
```
44+
45+
## ConnectorConfig.service
46+
47+
<b>Signature:</b>
48+
49+
```typescript
50+
service: string;
51+
```
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# DataConnect class
13+
Class representing Firebase Data Connect
14+
15+
<b>Signature:</b>
16+
17+
```typescript
18+
export declare class DataConnect
19+
```
20+
21+
## Constructors
22+
23+
| Constructor | Modifiers | Description |
24+
| --- | --- | --- |
25+
| [(constructor)(app, dataConnectOptions, \_authProvider)](./data-connect.dataconnect.md#dataconnectconstructor) | | Constructs a new instance of the <code>DataConnect</code> class |
26+
27+
## Properties
28+
29+
| Property | Modifiers | Type | Description |
30+
| --- | --- | --- | --- |
31+
| [app](./data-connect.dataconnect.md#dataconnectapp) | | [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) | |
32+
| [initialized](./data-connect.dataconnect.md#dataconnectinitialized) | | boolean | |
33+
| [isEmulator](./data-connect.dataconnect.md#dataconnectisemulator) | | boolean | |
34+
35+
## Methods
36+
37+
| Method | Modifiers | Description |
38+
| --- | --- | --- |
39+
| [enableEmulator(transportOptions)](./data-connect.dataconnect.md#dataconnectenableemulator) | | |
40+
| [getSettings()](./data-connect.dataconnect.md#dataconnectgetsettings) | | |
41+
| [setInitialized()](./data-connect.dataconnect.md#dataconnectsetinitialized) | | |
42+
43+
## DataConnect.(constructor)
44+
45+
Constructs a new instance of the `DataConnect` class
46+
47+
<b>Signature:</b>
48+
49+
```typescript
50+
constructor(app: FirebaseApp, dataConnectOptions: DataConnectOptions, _authProvider: Provider<FirebaseAuthInternalName>);
51+
```
52+
53+
#### Parameters
54+
55+
| Parameter | Type | Description |
56+
| --- | --- | --- |
57+
| app | [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) | |
58+
| dataConnectOptions | [DataConnectOptions](./data-connect.dataconnectoptions.md#dataconnectoptions_interface) | |
59+
| \_authProvider | Provider&lt;FirebaseAuthInternalName&gt; | |
60+
61+
## DataConnect.app
62+
63+
<b>Signature:</b>
64+
65+
```typescript
66+
readonly app: FirebaseApp;
67+
```
68+
69+
## DataConnect.initialized
70+
71+
<b>Signature:</b>
72+
73+
```typescript
74+
initialized: boolean;
75+
```
76+
77+
## DataConnect.isEmulator
78+
79+
<b>Signature:</b>
80+
81+
```typescript
82+
isEmulator: boolean;
83+
```
84+
85+
## DataConnect.enableEmulator()
86+
87+
<b>Signature:</b>
88+
89+
```typescript
90+
enableEmulator(transportOptions: TransportOptions): void;
91+
```
92+
93+
#### Parameters
94+
95+
| Parameter | Type | Description |
96+
| --- | --- | --- |
97+
| transportOptions | [TransportOptions](./data-connect.transportoptions.md#transportoptions_interface) | |
98+
99+
<b>Returns:</b>
100+
101+
void
102+
103+
## DataConnect.getSettings()
104+
105+
<b>Signature:</b>
106+
107+
```typescript
108+
getSettings(): ConnectorConfig;
109+
```
110+
<b>Returns:</b>
111+
112+
[ConnectorConfig](./data-connect.connectorconfig.md#connectorconfig_interface)
113+
114+
## DataConnect.setInitialized()
115+
116+
<b>Signature:</b>
117+
118+
```typescript
119+
setInitialized(): void;
120+
```
121+
<b>Returns:</b>
122+
123+
void
124+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# DataConnectOptions interface
13+
DataConnectOptions including project id
14+
15+
<b>Signature:</b>
16+
17+
```typescript
18+
export declare interface DataConnectOptions extends ConnectorConfig
19+
```
20+
<b>Extends:</b> [ConnectorConfig](./data-connect.connectorconfig.md#connectorconfig_interface)
21+
22+
## Properties
23+
24+
| Property | Type | Description |
25+
| --- | --- | --- |
26+
| [projectId](./data-connect.dataconnectoptions.md#dataconnectoptionsprojectid) | string | |
27+
28+
## DataConnectOptions.projectId
29+
30+
<b>Signature:</b>
31+
32+
```typescript
33+
projectId: string;
34+
```
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Project: /docs/reference/js/_project.yaml
2+
Book: /docs/reference/_book.yaml
3+
page_type: reference
4+
5+
{% comment %}
6+
DO NOT EDIT THIS FILE!
7+
This is generated by the JS SDK team, and any local changes will be
8+
overwritten. Changes should be made in the source code at
9+
https://github.com/firebase/firebase-js-sdk
10+
{% endcomment %}
11+
12+
# DataConnectResult interface
13+
<b>Signature:</b>
14+
15+
```typescript
16+
export declare interface DataConnectResult<Data, Variables> extends OpResult<Data>
17+
```
18+
<b>Extends:</b> [OpResult](./data-connect.opresult.md#opresult_interface)<!-- -->&lt;Data&gt;
19+
20+
## Properties
21+
22+
| Property | Type | Description |
23+
| --- | --- | --- |
24+
| [ref](./data-connect.dataconnectresult.md#dataconnectresultref) | [OperationRef](./data-connect.operationref.md#operationref_interface)<!-- -->&lt;Data, Variables&gt; | |
25+
26+
## DataConnectResult.ref
27+
28+
<b>Signature:</b>
29+
30+
```typescript
31+
ref: OperationRef<Data, Variables>;
32+
```

0 commit comments

Comments
 (0)