We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843b6b4 commit 1946c12Copy full SHA for 1946c12
src/firestore/api.ts
@@ -183,20 +183,7 @@ export class FirestoreApi {
183
return [];
184
}
185
186
- return indexes.map((index: any): types.Index => {
187
- // Ignore any fields that point at the document ID, as those are implied
188
- // in all indexes.
189
- const fields = index.fields.filter((field: types.IndexField) => {
190
- return field.fieldPath !== "__name__";
191
- });
192
-
193
- return {
194
- name: index.name,
195
- state: index.state,
196
- queryScope: index.queryScope,
197
- fields,
198
- };
199
+ return indexes;
200
201
202
/**
0 commit comments