Skip to content

Commit

Permalink
Merge 680a25f into 5eedc9a
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesht authored Jul 3, 2024
2 parents 5eedc9a + 680a25f commit 154a028
Show file tree
Hide file tree
Showing 29 changed files with 1,735 additions and 160 deletions.
133 changes: 0 additions & 133 deletions common/api-review/connect.api.md

This file was deleted.

61 changes: 61 additions & 0 deletions docs-devsite/data-connect.authtokenprovider.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference

{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}

# AuthTokenProvider interface
<b>Signature:</b>

```typescript
export declare interface AuthTokenProvider
```

## Methods

| Method | Description |
| --- | --- |
| [addTokenChangeListener(listener)](./data-connect.authtokenprovider.md#authtokenprovideraddtokenchangelistener) | |
| [getToken(forceRefresh)](./data-connect.authtokenprovider.md#authtokenprovidergettoken) | |

## AuthTokenProvider.addTokenChangeListener()

<b>Signature:</b>

```typescript
addTokenChangeListener(listener: AuthTokenListener): void;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| listener | [AuthTokenListener](./data-connect.md#authtokenlistener) | |

<b>Returns:</b>

void

## AuthTokenProvider.getToken()

<b>Signature:</b>

```typescript
getToken(forceRefresh: boolean): Promise<FirebaseAuthTokenData | null>;
```

#### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| forceRefresh | boolean | |

<b>Returns:</b>

Promise&lt;FirebaseAuthTokenData \| null&gt;

43 changes: 43 additions & 0 deletions docs-devsite/data-connect.cancellableoperation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference

{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}

# CancellableOperation interface
<b>Signature:</b>

```typescript
export declare interface CancellableOperation<T> extends PromiseLike<{
data: T;
}>
```
<b>Extends:</b> PromiseLike&lt;{ data: T; }&gt;
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [cancel](./data-connect.cancellableoperation.md#cancellableoperationcancel) | () =&gt; void | |
| [data](./data-connect.cancellableoperation.md#cancellableoperationdata) | T | |
## CancellableOperation.cancel
<b>Signature:</b>
```typescript
cancel: () => void;
```
## CancellableOperation.data
<b>Signature:</b>
```typescript
data: T;
```
51 changes: 51 additions & 0 deletions docs-devsite/data-connect.connectorconfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Project: /docs/reference/js/_project.yaml
Book: /docs/reference/_book.yaml
page_type: reference

{% comment %}
DO NOT EDIT THIS FILE!
This is generated by the JS SDK team, and any local changes will be
overwritten. Changes should be made in the source code at
https://github.com/firebase/firebase-js-sdk
{% endcomment %}

# ConnectorConfig interface
Connector Config for calling Data Connect backend.

<b>Signature:</b>

```typescript
export declare interface ConnectorConfig
```

## Properties

| Property | Type | Description |
| --- | --- | --- |
| [connector](./data-connect.connectorconfig.md#connectorconfigconnector) | string | |
| [location](./data-connect.connectorconfig.md#connectorconfiglocation) | string | |
| [service](./data-connect.connectorconfig.md#connectorconfigservice) | string | |

## ConnectorConfig.connector

<b>Signature:</b>

```typescript
connector: string;
```

## ConnectorConfig.location

<b>Signature:</b>

```typescript
location: string;
```

## ConnectorConfig.service

<b>Signature:</b>

```typescript
service: string;
```
Loading

0 comments on commit 154a028

Please sign in to comment.