opensearch-project / query-insights-dashboards

Apache License 2.0
1 stars 3 forks source link

[IMPROVEMENT] Refactor the interface definitions #13

Open ansjcy opened 2 months ago

ansjcy commented 2 months ago

Is your feature request related to a problem?

Currently there's no good interfaces/types definitions for query insights dashboards. We need to refactor the code to improve the maintainability.

What solution would you like?

For example, requests and responses to top n queries APIs are all defined as any. We should define concrete types for them instead.

What alternatives have you considered?

N.A.

ansjcy commented 2 months ago

Triage - We need to pick this up by 2.18.