* Using saved objects id instead of creating one * Adding map to list of types * Fixing typing errors * Reverting id change * Reverting asset id Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
0cbf5e0f1c
commit
519e9460f9
|
@ -24,6 +24,7 @@ describe('Ingest Manager - packageToConfig', () => {
|
|||
visualization: [],
|
||||
search: [],
|
||||
'index-pattern': [],
|
||||
map: [],
|
||||
},
|
||||
},
|
||||
status: InstallationStatus.notInstalled,
|
||||
|
|
|
@ -28,6 +28,7 @@ export enum KibanaAssetType {
|
|||
visualization = 'visualization',
|
||||
search = 'search',
|
||||
indexPattern = 'index-pattern',
|
||||
map = 'map',
|
||||
}
|
||||
|
||||
export enum ElasticsearchAssetType {
|
||||
|
|
|
@ -24,6 +24,7 @@ export const AssetTitleMap: Record<AssetType, string> = {
|
|||
search: 'Saved Search',
|
||||
visualization: 'Visualization',
|
||||
input: 'Agent input',
|
||||
map: 'Map',
|
||||
};
|
||||
|
||||
export const ServiceTitleMap: Record<ServiceName, string> = {
|
||||
|
@ -36,6 +37,7 @@ export const AssetIcons: Record<KibanaAssetType, IconType> = {
|
|||
'index-pattern': 'indexPatternApp',
|
||||
search: 'searchProfilerApp',
|
||||
visualization: 'visualizeApp',
|
||||
map: 'mapApp',
|
||||
};
|
||||
|
||||
export const ServiceIcons: Record<ServiceName, IconType> = {
|
||||
|
|
Loading…
Reference in a new issue