-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 so-mapping-doc-values
- Loading branch information
Showing
638 changed files
with
16,231 additions
and
15,318 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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
19 changes: 19 additions & 0 deletions
19
...ore/server/kibana-plugin-core-server.savedobjecttyperegistry.getvisibletypes.md
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,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [SavedObjectTypeRegistry](./kibana-plugin-core-server.savedobjecttyperegistry.md) > [getVisibleTypes](./kibana-plugin-core-server.savedobjecttyperegistry.getvisibletypes.md) | ||
|
||
## SavedObjectTypeRegistry.getVisibleTypes() method | ||
|
||
Returns all visible [types](./kibana-plugin-core-server.savedobjectstype.md)<!-- -->. | ||
|
||
A visible type is a type that doesn't explicitly define `hidden=true` during registration. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getVisibleTypes(): SavedObjectsType[]; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`SavedObjectsType[]` | ||
|
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
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
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,44 @@ | ||
/* | ||
* Licensed to Elasticsearch B.V. under one or more contributor | ||
* license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright | ||
* ownership. Elasticsearch B.V. licenses this file to you under | ||
* the Apache License, Version 2.0 (the "License"); you may | ||
* not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import LightTheme from '@elastic/eui/dist/eui_theme_light.json'; | ||
|
||
const globals: any = typeof window === 'undefined' ? {} : window; | ||
|
||
export type Theme = typeof LightTheme; | ||
|
||
export let euiLightVars: Theme; | ||
export let euiDarkVars: Theme; | ||
if (globals.__kbnThemeVersion__ === 'v7') { | ||
euiLightVars = require('@elastic/eui/dist/eui_theme_light.json'); | ||
euiDarkVars = require('@elastic/eui/dist/eui_theme_dark.json'); | ||
} else { | ||
euiLightVars = require('@elastic/eui/dist/eui_theme_amsterdam_light.json'); | ||
euiDarkVars = require('@elastic/eui/dist/eui_theme_amsterdam_dark.json'); | ||
} | ||
|
||
/** | ||
* EUI Theme vars that automatically adjust to light/dark theme | ||
*/ | ||
export let euiThemeVars: Theme; | ||
if (globals.__kbnDarkTheme__) { | ||
euiThemeVars = euiDarkVars; | ||
} else { | ||
euiThemeVars = euiLightVars; | ||
} |
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"include": ["index.d.ts", "./monaco"] | ||
"include": [ | ||
"index.d.ts", | ||
"theme.ts" | ||
] | ||
} |
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
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
Oops, something went wrong.