From 5d4a3ab271618e36a28cd7807e8c017e24e70623 Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 1 Oct 2022 10:31:39 +0300 Subject: [PATCH] feat: edit base Signed-off-by: mertmit --- .../dashboard/settings/DataSources.vue | 6 +- .../components/dashboard/settings/Erd.vue | 6 +- .../dashboard/settings/Metadata.vue | 6 +- .../components/dashboard/settings/Modal.vue | 7 + .../components/dashboard/settings/UIAcl.vue | 6 +- .../settings/data-sources/CreateBase.vue | 11 +- .../settings/data-sources/EditBase.vue | 609 ++++++++++++++++++ packages/nocodb/src/lib/meta/api/baseApis.ts | 28 +- packages/nocodb/src/lib/models/Base.ts | 62 ++ 9 files changed, 720 insertions(+), 21 deletions(-) create mode 100644 packages/nc-gui/components/dashboard/settings/data-sources/EditBase.vue diff --git a/packages/nc-gui/components/dashboard/settings/DataSources.vue b/packages/nc-gui/components/dashboard/settings/DataSources.vue index af8395cb3b..36ac7185dd 100644 --- a/packages/nc-gui/components/dashboard/settings/DataSources.vue +++ b/packages/nc-gui/components/dashboard/settings/DataSources.vue @@ -2,6 +2,7 @@ import { Empty } from 'ant-design-vue' import type { BaseType } from 'nocodb-sdk' import CreateBase from './data-sources/CreateBase.vue' +import EditBase from './data-sources/EditBase.vue' import Metadata from './Metadata.vue' import UIAcl from './UIAcl.vue' import Erd from './Erd.vue' @@ -147,7 +148,7 @@ watch(
- +
@@ -158,6 +159,9 @@ watch(
+
+ +
diff --git a/packages/nc-gui/components/dashboard/settings/Erd.vue b/packages/nc-gui/components/dashboard/settings/Erd.vue index d89b7e8d1e..73025e8eef 100644 --- a/packages/nc-gui/components/dashboard/settings/Erd.vue +++ b/packages/nc-gui/components/dashboard/settings/Erd.vue @@ -1,9 +1,7 @@