Allow uiSchema to be set as part of the settings for HomePage
Signed-off-by: ivgo <ivgo@spreadgroup.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
import { Extension } from '@backstage/core-plugin-api';
|
||||
import { RJSFSchema } from '@rjsf/utils';
|
||||
import { UiSchema } from '@rjsf/utils';
|
||||
|
||||
// @public (undocumented)
|
||||
export type CardConfig = {
|
||||
@@ -36,6 +37,7 @@ export type CardLayout = {
|
||||
// @public (undocumented)
|
||||
export type CardSettings = {
|
||||
schema?: RJSFSchema;
|
||||
uiSchema?: UiSchema;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -20,7 +20,7 @@ import SettingsIcon from '@material-ui/icons/Settings';
|
||||
import { InfoCard } from '@backstage/core-components';
|
||||
import { SettingsModal } from './components';
|
||||
import { createReactExtension, useApp } from '@backstage/core-plugin-api';
|
||||
import { RJSFSchema } from '@rjsf/utils';
|
||||
import { RJSFSchema, UiSchema } from '@rjsf/utils';
|
||||
|
||||
/**
|
||||
* @public
|
||||
@@ -62,6 +62,7 @@ export type CardLayout = {
|
||||
*/
|
||||
export type CardSettings = {
|
||||
schema?: RJSFSchema;
|
||||
uiSchema?: UiSchema;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user