mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
24 lines
694 B
TypeScript
24 lines
694 B
TypeScript
/*
|
|
* 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; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { schema } from '@kbn/config-schema';
|
|
import type { UiSettingsParams } from '@kbn/core/types';
|
|
|
|
import { SHOW_SPACE_SOLUTION_TOUR_SETTING } from '../common/constants';
|
|
|
|
/**
|
|
* uiSettings definitions for Spaces
|
|
*/
|
|
export const getUiSettings = (): Record<string, UiSettingsParams> => {
|
|
return {
|
|
[SHOW_SPACE_SOLUTION_TOUR_SETTING]: {
|
|
schema: schema.boolean(),
|
|
readonly: true,
|
|
readonlyMode: 'ui',
|
|
},
|
|
};
|
|
};
|