kibana/x-pack/examples/third_party_maps_source_example/public
Nathan Reese ff2b79cab3
[maps] remove ISource.getIndexPatternIds and ISource.getQueryableIndexPatternIds methods (#176095)
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>
2024-02-05 07:40:51 -07:00
..
classes [maps] remove ISource.getIndexPatternIds and ISource.getQueryableIndexPatternIds methods (#176095) 2024-02-05 07:40:51 -07:00
index.scss
index.ts
plugin.ts
third_party_maps_source_example.png
types.ts