@@ -39,8 +39,6 @@ export {
39
39
40
40
/**
41
41
* A single field element in an index configuration.
42
- *
43
- * @internal
44
42
*/
45
43
export interface IndexField {
46
44
/** The field path to index. */
@@ -65,8 +63,6 @@ export interface IndexField {
65
63
66
64
/**
67
65
* The SDK definition of a Firestore index.
68
- *
69
- * @internal
70
66
*/
71
67
export interface Index {
72
68
/** The ID of the collection to index. */
@@ -82,8 +78,6 @@ export interface Index {
82
78
*
83
79
* See {@link https://firebase.google.com/docs/reference/firestore/indexes/#json_format | JSON Format}
84
80
* for a description of the format of the index definition.
85
- *
86
- * @internal
87
81
*/
88
82
export interface IndexConfiguration {
89
83
/** A list of all Firestore indexes. */
@@ -107,7 +101,6 @@ export interface IndexConfiguration {
107
101
* before setting an index configuration. If IndexedDb is not enabled, any
108
102
* index configuration is ignored.
109
103
*
110
- * @internal
111
104
* @param firestore - The {@link Firestore} instance to configure indexes for.
112
105
* @param configuration -The index definition.
113
106
* @throws FirestoreError if the JSON format is invalid.
@@ -118,6 +111,7 @@ export function setIndexConfiguration(
118
111
firestore : Firestore ,
119
112
configuration : IndexConfiguration
120
113
) : Promise < void > ;
114
+
121
115
/**
122
116
* Configures indexing for local query execution. Any previous index
123
117
* configuration is overridden. The `Promise` resolves once the index
@@ -137,7 +131,6 @@ export function setIndexConfiguration(
137
131
* firestore:indexes`). If the JSON format is invalid, this method throws an
138
132
* error.
139
133
*
140
- * @internal
141
134
* @param firestore - The {@link Firestore} instance to configure indexes for.
142
135
* @param json -The JSON format exported by the Firebase CLI.
143
136
* @throws FirestoreError if the JSON format is invalid.
@@ -148,6 +141,7 @@ export function setIndexConfiguration(
148
141
firestore : Firestore ,
149
142
json : string
150
143
) : Promise < void > ;
144
+
151
145
export function setIndexConfiguration (
152
146
firestore : Firestore ,
153
147
jsonOrConfiguration : string | IndexConfiguration
0 commit comments