(index: CollectionIndexMetadata)
| 176 | } |
| 177 | |
| 178 | emitIndexAdded(index: CollectionIndexMetadata) { |
| 179 | this.emit(`index:added`, { |
| 180 | type: `index:added`, |
| 181 | collection: this.collection, |
| 182 | index, |
| 183 | }) |
| 184 | } |
| 185 | |
| 186 | emitIndexRemoved(index: CollectionIndexMetadata) { |
| 187 | this.emit(`index:removed`, { |