Skip to content

Commit

Permalink
add service to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shivindera committed Mar 17, 2022
1 parent e16a9c4 commit 20004f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/plugins/data_views/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ and field lists across the various Kibana apps. Its typically used in conjunctio

*Note: Kibana index patterns are currently being renamed to data views. There will be some naming inconsistencies until the transition is complete.*

### Services

**hasData:** A standardized way to check the empty state for indices and data views.
- `hasESData: () => Promise<boolean>; // Check to see if ES data exists`
- `hasDataView: () => Promise<boolean>; // Check to see if any data view exists (primitive or user created)`
- `hasUserDataView: () => Promise; // Check to see if user created data views exists`

0 comments on commit 20004f2

Please sign in to comment.