mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
While implementing `IESSource` interface with ES|QL source, I discovered that `ISource` and `IESSource` interfaces produce a confusing combination of methods. `ISource` interface has `getIndexPatternIds` and `getQueryableIndexPatternIds` methods. The more specific `IESSource` interface has `getIndexPatternId` method. Having `getIndexPatternIds` and `getIndexPatternId` on the same class is confusing. PR removes `getIndexPatternIds` and `getQueryableIndexPatternIds` methods from `ISource` and uses type guards to call `IESSource.getIndexPatternId` where appropriate. --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
classes | ||
index.scss | ||
index.ts | ||
plugin.ts | ||
third_party_maps_source_example.png | ||
types.ts |