Allow uiSchema to be set as part of the settings for HomePage

Signed-off-by: ivgo <ivgo@spreadgroup.com>
This commit is contained in:
ivgo
2023-07-05 10:47:31 +02:00
parent 8b6067f885
commit 0b89ca8ce2
7 changed files with 24 additions and 3 deletions
+2
View File
@@ -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)
+2 -1
View File
@@ -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;
};
/**