kibana/typings/index.d.ts

36 lines
1.1 KiB
TypeScript
Raw Normal View History

[Uptime Monitoring] Add uptime monitoring (#27552) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * [Uptime Monitoring] Add Overview and Monitor pages (#27279) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add GQL query components. * Remove reference to dedicated histogram resolver. * Update formatting of displayed dates and columns for monitor statuses. * Add UI import for framework adapter. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add React Router and some basic breadcrumbs. * Update application flow to subscribe to use K7 if available. * Rename a type. * Update to work with K7. * Update breadcrumb module to export functions per uptime page. * Add explicit type to object. * HTML-encode a symbol. * Extract router basename to prop/constant. * Add autorefresh control and state variables. * Support passing monitor ID to route. * Mock up some charts in the Monitor page. * Add spacer. * Enlarge spacer. * Add ID to sample link. * Replace div with fragment. * Remove unused text. * Add GQL components/resolvers/queries for PingList and MonitorSelect. * Add MonitorStatusBar GQL component, update GQL schema + resolver. * Add GQL support for Monitor charts. * Add auto-polling for Monitor Page components. * Fix routing bug. * Remove outdated code. * Add beaker icon. * Add snapshot component to Overview page. * Update snapshot histogram to display monitors up/down. Update types. * Update typings for adapters/libs. * Move monitor list to Overview page. Update formatting of snapshot component. * Include link from monitor table to monitor page. * Add help link to app header. * Remove unneeded title from Overview page. * Update the data shown in checks list. * Put limit on check query size. * Remove obsolete code. * Add filtering to Overview page. * Add Monitor List component. * Add filtering capabilities to errors list. * Add pagination, sorting, and status code to errors list. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Fix broken test. * Add more tests for pings ES adapter. * Remove obsolete code. * Track autorefresh state in localStorage. * Shrink top visualizations. * Fix typings in monitor charts component. * Fix typings in monitor status bar. * Fix typings in monitor select component. * Fix typings for monitor memory adapter. * Update error list column ordering. Fix broken API test. * Clean up names. * Refactor snapshot histogram into dedicated component, make histogram data nullable. * Add API test. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add test for ES pings adapter. * Add empty prompt when no index found. * Place limits on filtering capabilities. * Update plugin order. * Add date picker. * Fix bug setting date range. Update chart color. * Downgrade apollo cache package to avoid bumping other clients. * Extract reference to chrome API from app startup to kibana adapter. * Update framework_adapter_types.ts Remove unneeded comment via GitHub web UI. * Extract data formatting function to dedicated file to improve modularity. * Add a TODO. * Add TODO for moving formatting code to server. * Switch to use auto_date_histogram agg. * Add filter schema. * Add pagination and sorting to Monitor List component. * Add latest timestamp to errors list. * Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh. * Delete console.log call from code.
2019-01-03 18:17:21 +01:00
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
[Uptime Monitoring] Add uptime monitoring (#27552) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * [Uptime Monitoring] Add Overview and Monitor pages (#27279) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add GQL query components. * Remove reference to dedicated histogram resolver. * Update formatting of displayed dates and columns for monitor statuses. * Add UI import for framework adapter. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add React Router and some basic breadcrumbs. * Update application flow to subscribe to use K7 if available. * Rename a type. * Update to work with K7. * Update breadcrumb module to export functions per uptime page. * Add explicit type to object. * HTML-encode a symbol. * Extract router basename to prop/constant. * Add autorefresh control and state variables. * Support passing monitor ID to route. * Mock up some charts in the Monitor page. * Add spacer. * Enlarge spacer. * Add ID to sample link. * Replace div with fragment. * Remove unused text. * Add GQL components/resolvers/queries for PingList and MonitorSelect. * Add MonitorStatusBar GQL component, update GQL schema + resolver. * Add GQL support for Monitor charts. * Add auto-polling for Monitor Page components. * Fix routing bug. * Remove outdated code. * Add beaker icon. * Add snapshot component to Overview page. * Update snapshot histogram to display monitors up/down. Update types. * Update typings for adapters/libs. * Move monitor list to Overview page. Update formatting of snapshot component. * Include link from monitor table to monitor page. * Add help link to app header. * Remove unneeded title from Overview page. * Update the data shown in checks list. * Put limit on check query size. * Remove obsolete code. * Add filtering to Overview page. * Add Monitor List component. * Add filtering capabilities to errors list. * Add pagination, sorting, and status code to errors list. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Fix broken test. * Add more tests for pings ES adapter. * Remove obsolete code. * Track autorefresh state in localStorage. * Shrink top visualizations. * Fix typings in monitor charts component. * Fix typings in monitor status bar. * Fix typings in monitor select component. * Fix typings for monitor memory adapter. * Update error list column ordering. Fix broken API test. * Clean up names. * Refactor snapshot histogram into dedicated component, make histogram data nullable. * Add API test. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add test for ES pings adapter. * Add empty prompt when no index found. * Place limits on filtering capabilities. * Update plugin order. * Add date picker. * Fix bug setting date range. Update chart color. * Downgrade apollo cache package to avoid bumping other clients. * Extract reference to chrome API from app startup to kibana adapter. * Update framework_adapter_types.ts Remove unneeded comment via GitHub web UI. * Extract data formatting function to dedicated file to improve modularity. * Add a TODO. * Add TODO for moving formatting code to server. * Switch to use auto_date_histogram agg. * Add filter schema. * Add pagination and sorting to Monitor List component. * Add latest timestamp to errors list. * Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh. * Delete console.log call from code.
2019-01-03 18:17:21 +01:00
*/
declare module '*.html' {
const template: string;
// eslint-disable-next-line import/no-default-export
[Uptime Monitoring] Add uptime monitoring (#27552) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * [Uptime Monitoring] Add Overview and Monitor pages (#27279) * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add GQL query components. * Remove reference to dedicated histogram resolver. * Update formatting of displayed dates and columns for monitor statuses. * Add UI import for framework adapter. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add React Router and some basic breadcrumbs. * Update application flow to subscribe to use K7 if available. * Rename a type. * Update to work with K7. * Update breadcrumb module to export functions per uptime page. * Add explicit type to object. * HTML-encode a symbol. * Extract router basename to prop/constant. * Add autorefresh control and state variables. * Support passing monitor ID to route. * Mock up some charts in the Monitor page. * Add spacer. * Enlarge spacer. * Add ID to sample link. * Replace div with fragment. * Remove unused text. * Add GQL components/resolvers/queries for PingList and MonitorSelect. * Add MonitorStatusBar GQL component, update GQL schema + resolver. * Add GQL support for Monitor charts. * Add auto-polling for Monitor Page components. * Fix routing bug. * Remove outdated code. * Add beaker icon. * Add snapshot component to Overview page. * Update snapshot histogram to display monitors up/down. Update types. * Update typings for adapters/libs. * Move monitor list to Overview page. Update formatting of snapshot component. * Include link from monitor table to monitor page. * Add help link to app header. * Remove unneeded title from Overview page. * Update the data shown in checks list. * Put limit on check query size. * Remove obsolete code. * Add filtering to Overview page. * Add Monitor List component. * Add filtering capabilities to errors list. * Add pagination, sorting, and status code to errors list. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Fix broken test. * Add more tests for pings ES adapter. * Remove obsolete code. * Track autorefresh state in localStorage. * Shrink top visualizations. * Fix typings in monitor charts component. * Fix typings in monitor status bar. * Fix typings in monitor select component. * Fix typings for monitor memory adapter. * Update error list column ordering. Fix broken API test. * Clean up names. * Refactor snapshot histogram into dedicated component, make histogram data nullable. * Add API test. * Add Uptime Monitoring (#25480) * Initial commit. * Add heartbeat app to Kibana. * Add routing architecture. * Add graphQL endpoint. * Rename app to be 'uptime monitoring' instead of 'heartbeat'. * Add server tests. * Standardize interface/class/route naming. * Clean up GraphQL type inference script. * Update gql schema. * Rename classes/interfaces. Add tests for ES ping adapter. * Rename more symbols. * Improve angular lifecycle management. * Move angular lifecycle management code to framework adapter. * [Uptime Monitoring] Add user auth checks (#26070) * Add Uptime Monitoring (#25480) * Add authentication checks and tests. WIP. * Add auth adapter types. Finish work on adapter and update tests. * Add route errors. Rename license symbols. * Add test for ES pings adapter. * Add empty prompt when no index found. * Place limits on filtering capabilities. * Update plugin order. * Add date picker. * Fix bug setting date range. Update chart color. * Downgrade apollo cache package to avoid bumping other clients. * Extract reference to chrome API from app startup to kibana adapter. * Update framework_adapter_types.ts Remove unneeded comment via GitHub web UI. * Extract data formatting function to dedicated file to improve modularity. * Add a TODO. * Add TODO for moving formatting code to server. * Switch to use auto_date_histogram agg. * Add filter schema. * Add pagination and sorting to Monitor List component. * Add latest timestamp to errors list. * Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh. * Delete console.log call from code.
2019-01-03 18:17:21 +01:00
export default template;
}
declare module '*.png' {
const content: string;
// eslint-disable-next-line import/no-default-export
export default content;
}
declare module '*.svg' {
const content: string;
// eslint-disable-next-line import/no-default-export
export default content;
}
declare module 'axios/lib/adapters/xhr';
// Storybook references this module. It's @ts-ignored in the codebase but when
// built into its dist it strips that out. Add it here to avoid a type checking
// error.
//
// See https://github.com/storybookjs/storybook/issues/11684
declare module 'react-syntax-highlighter/dist/cjs/create-element';
declare module 'react-syntax-highlighter/dist/cjs/prism-light';