Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ export const CLIENT_DEFAULTS = {
{ start: 'now/M', end: 'now', label: 'Month to date' },
{ start: 'now/y', end: 'now', label: 'Year to date' },
],
/**
* Designate how many checks a monitor summary can have
* before condensing them.
*/
CONDENSED_CHECK_LIMIT: 12,
DATE_RANGE_START: 'now-15m',
DATE_RANGE_END: 'now',
FILTERS: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@
* you may not use this file except in compliance with the Elastic License.
*/

// import { fork } from 'redux-saga/effects';

// export function* rootSaga() {
// yield fork();
// }
export * from './monitor/monitor_details';
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import * as t from 'io-ts';

// IO type for validation
export const ErrorType = t.partial({
code: t.number,
message: t.string,
type: t.string,
});

// Typescript type for type checking
export type Error = t.TypeOf<typeof ErrorType>;

export const MonitorDetailsType = t.intersection([
t.type({ monitorId: t.string }),
t.partial({ error: ErrorType }),
]);
export type MonitorDetails = t.TypeOf<typeof MonitorDetailsType>;
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import React, { useState, useEffect } from 'react';
import { i18n } from '@kbn/i18n';
import { UptimeFilterButton } from './uptime_filter_button';
import { toggleSelectedItems } from './toggle_selected_item';
import { LocationLink } from '../monitor_list/location_link';
import { LocationLink } from '../monitor_list';

export interface FilterPopoverProps {
fieldName: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export { IntegrationLink } from './integration_link';
export { KueryBar } from './kuery_bar';
export { MonitorCharts } from './monitor_charts';
export { MonitorList } from './monitor_list';
export { MonitorPageLink } from './monitor_page_link';
export { MonitorPageTitle } from './monitor_page_title';
export { MonitorStatusBar } from './monitor_status_bar';
export { OverviewPageParsingErrorCallout } from './overview_page_parsing_error_callout';
Expand Down

This file was deleted.

This file was deleted.

Loading