Skip to content

Commit

Permalink
Make index beta
Browse files Browse the repository at this point in the history
  • Loading branch information
wu-hui committed Aug 5, 2022
1 parent a80e29c commit 49a1d12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/firestore/src/api/index_configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export {
EmulatorMockTokenOptions
} from '../lite-api/database';

// TODO(indexing): Remove "@internal" from the API.

/**
* A single field element in an index configuration.
*/
Expand Down Expand Up @@ -64,6 +62,7 @@ export interface IndexField {
/**
* The SDK definition of a Firestore index.
*/
/** @beta */
export interface Index {
/** The ID of the collection to index. */
readonly collectionGroup: string;
Expand All @@ -79,6 +78,7 @@ export interface Index {
* See {@link https://firebase.google.com/docs/reference/firestore/indexes/#json_format | JSON Format}
* for a description of the format of the index definition.
*/
/** @beta */
export interface IndexConfiguration {
/** A list of all Firestore indexes. */
readonly indexes?: Index[];
Expand Down Expand Up @@ -107,6 +107,7 @@ export interface IndexConfiguration {
* @returns A `Promise` that resolves once all indices are successfully
* configured.
*/
/** @beta */
export function setIndexConfiguration(
firestore: Firestore,
configuration: IndexConfiguration
Expand Down Expand Up @@ -137,6 +138,7 @@ export function setIndexConfiguration(
* @returns A `Promise` that resolves once all indices are successfully
* configured.
*/
/** @beta */
export function setIndexConfiguration(
firestore: Firestore,
json: string
Expand Down

0 comments on commit 49a1d12

Please sign in to comment.