Skip to content

Commit

Permalink
Merge branch 'main' into 135874-change-infrastructure-pages-titles-to…
Browse files Browse the repository at this point in the history
…-use-breadcrumbs
  • Loading branch information
jennypavlova authored Sep 27, 2022
2 parents 2245f97 + 4695634 commit 5c9b6d5
Show file tree
Hide file tree
Showing 92 changed files with 1,044 additions and 563 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ x-pack/examples/files_example @elastic/kibana-app-services
/x-pack/test/fleet_api_integration @elastic/fleet
/x-pack/test/fleet_cypress @elastic/fleet
/x-pack/test/fleet_functional @elastic/fleet
/src/dev/build/tasks/bundle_fleet_packages.ts

# APM
/x-pack/plugins/apm/ @elastic/apm-ui
Expand Down Expand Up @@ -352,6 +353,7 @@ x-pack/examples/files_example @elastic/kibana-app-services
# Enterprise Search
/x-pack/plugins/enterprise_search @elastic/enterprise-search-frontend
/x-pack/test/functional_enterprise_search/ @elastic/enterprise-search-frontend
/x-pack/plugins/enterprise_search/public/applications/shared/doc_links @elastic/ent-search-docs-team

# Management Experience - Deployment Management
/src/plugins/dev_tools/ @elastic/platform-deployment-management
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export * from './src/default_per_page';
export * from './src/default_risk_score_mapping_array';
export * from './src/default_severity_mapping_array';
export * from './src/default_threat_array';
export * from './src/default_throttle_null';
export * from './src/default_to_string';
export * from './src/default_uuid';
export * from './src/from';
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
* Side Public License, v 1.
*/

import { TimeDuration } from '@kbn/securitysolution-io-ts-types';
import * as t from 'io-ts';

export const throttle = t.string;
export const throttle = t.union([
t.literal('no_actions'),
t.literal('rule'),
TimeDuration({ allowedUnits: ['h', 'd'] }),
]);
export type Throttle = t.TypeOf<typeof throttle>;

export const throttleOrNull = t.union([throttle, t.null]);
export type ThrottleOrNull = t.TypeOf<typeof throttleOrNull>;

export const throttleOrNullOrUndefined = t.union([throttle, t.null, t.undefined]);
export type ThrottleOrUndefinedOrNull = t.TypeOf<typeof throttleOrNullOrUndefined>;
Loading

0 comments on commit 5c9b6d5

Please sign in to comment.