-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into flaky/search-sessions-2
- Loading branch information
Showing
998 changed files
with
20,283 additions
and
5,922 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* 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. | ||
*/ | ||
|
||
const config = require('@kbn/storybook').defaultConfig; | ||
const aliases = require('../../src/dev/storybook/aliases.ts').storybookAliases; | ||
|
||
config.refs = {}; | ||
|
||
for (const alias of Object.keys(aliases).filter((a) => a !== 'ci_composite')) { | ||
// snake_case -> Title Case | ||
const title = alias | ||
.replace(/_/g, ' ') | ||
.split(' ') | ||
.map((n) => n[0].toUpperCase() + n.slice(1)) | ||
.join(' '); | ||
|
||
config.refs[alias] = { | ||
title: title, | ||
url: `${process.env.STORYBOOK_BASE_URL}/${alias}`, | ||
}; | ||
} | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ node_modules | |
target | ||
snapshots.js | ||
|
||
!/.ci | ||
!/.eslintrc.js | ||
!.storybook | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[[alerts-api]] | ||
== Alerts APIs | ||
|
||
The following APIs are available for managing {kib} alerts. | ||
|
||
* <<alerts-api-create, Create alert API>> to create an alert | ||
|
||
* <<alerts-api-update, Update alert API>> to update the attributes for existing alerts | ||
|
||
* <<alerts-api-get, Get object API>> to retrieve a single alert by ID | ||
|
||
* <<alerts-api-delete, Delete alert API>> to permanently remove an alert | ||
|
||
* <<alerts-api-find, Find alerts API>> to retrieve a paginated set of alerts by condition | ||
|
||
* <<alerts-api-list, List all alert types API>> to retrieve a list of all alert types | ||
|
||
* <<alerts-api-enable, Enable alert API>> to enable a single alert by ID | ||
|
||
* <<alerts-api-disable, Disable alert API>> to disable a single alert by ID | ||
|
||
* <<alerts-api-mute, Mute alert instance API>> to mute alert instances for a single alert by ID | ||
|
||
* <<alerts-api-unmute, Unmute alert instance API>> to unmute alert instances for a single alert by ID | ||
|
||
* <<alerts-api-unmute-all, Unmute all alert instances API>> to unmute all alert instances for a single alert by ID | ||
|
||
* <<alerts-api-health, Get framework health API>> to retrieve the health of the alerts framework | ||
|
||
include::alerts/create.asciidoc[] | ||
include::alerts/update.asciidoc[] | ||
include::alerts/get.asciidoc[] | ||
include::alerts/delete.asciidoc[] | ||
include::alerts/find.asciidoc[] | ||
include::alerts/list.asciidoc[] | ||
include::alerts/enable.asciidoc[] | ||
include::alerts/disable.asciidoc[] | ||
include::alerts/mute_all.asciidoc[] | ||
include::alerts/mute.asciidoc[] | ||
include::alerts/unmute_all.asciidoc[] | ||
include::alerts/unmute.asciidoc[] | ||
include::alerts/health.asciidoc[] |
Oops, something went wrong.