refactor: refactor dataSource manager

This commit is contained in:
katherinehhh 2024-01-25 22:25:38 +08:00
parent 6c98ac2c98
commit 97f692e3c1

View File

@ -7,7 +7,7 @@ const collection = {
fields: [
{
type: 'string',
name: 'name',
name: 'key',
interface: 'input',
uiSchema: {
title: `{{t("Data source name",{ ns: "${NAMESPACE}" })}}`,
@ -18,7 +18,7 @@ const collection = {
},
{
type: 'string',
name: 'description',
name: 'displayName',
interface: 'input',
uiSchema: {
title: `{{t("Description",{ ns: "${NAMESPACE}" })}}`,
@ -29,7 +29,7 @@ const collection = {
},
{
type: 'string',
name: 'dialect',
name: 'type',
interface: 'select',
uiSchema: {
title: `{{t("type", { ns: "${NAMESPACE}" })}}`,