From f8b65c020c7d6208f18cad94b456e54042c4bf7d Mon Sep 17 00:00:00 2001 From: Pranav C Date: Sat, 4 Mar 2023 00:12:55 +0530 Subject: [PATCH] refactor: rename public folder name Signed-off-by: Pranav C --- .../{publicApis => publiController}/index.ts | 0 .../publicDataApis.ts | 0 .../publicDataExportApis.ts | 0 .../publicMetaApis.ts | 0 packages/nocodb/src/lib/meta/api/index.ts | 14 +++++++------- 5 files changed, 7 insertions(+), 7 deletions(-) rename packages/nocodb/src/lib/controllers/{publicApis => publiController}/index.ts (100%) rename packages/nocodb/src/lib/controllers/{publicApis => publiController}/publicDataApis.ts (100%) rename packages/nocodb/src/lib/controllers/{publicApis => publiController}/publicDataExportApis.ts (100%) rename packages/nocodb/src/lib/controllers/{publicApis => publiController}/publicMetaApis.ts (100%) diff --git a/packages/nocodb/src/lib/controllers/publicApis/index.ts b/packages/nocodb/src/lib/controllers/publiController/index.ts similarity index 100% rename from packages/nocodb/src/lib/controllers/publicApis/index.ts rename to packages/nocodb/src/lib/controllers/publiController/index.ts diff --git a/packages/nocodb/src/lib/controllers/publicApis/publicDataApis.ts b/packages/nocodb/src/lib/controllers/publiController/publicDataApis.ts similarity index 100% rename from packages/nocodb/src/lib/controllers/publicApis/publicDataApis.ts rename to packages/nocodb/src/lib/controllers/publiController/publicDataApis.ts diff --git a/packages/nocodb/src/lib/controllers/publicApis/publicDataExportApis.ts b/packages/nocodb/src/lib/controllers/publiController/publicDataExportApis.ts similarity index 100% rename from packages/nocodb/src/lib/controllers/publicApis/publicDataExportApis.ts rename to packages/nocodb/src/lib/controllers/publiController/publicDataExportApis.ts diff --git a/packages/nocodb/src/lib/controllers/publicApis/publicMetaApis.ts b/packages/nocodb/src/lib/controllers/publiController/publicMetaApis.ts similarity index 100% rename from packages/nocodb/src/lib/controllers/publicApis/publicMetaApis.ts rename to packages/nocodb/src/lib/controllers/publiController/publicMetaApis.ts diff --git a/packages/nocodb/src/lib/meta/api/index.ts b/packages/nocodb/src/lib/meta/api/index.ts index f1a676997a..a2ec3fecbe 100644 --- a/packages/nocodb/src/lib/meta/api/index.ts +++ b/packages/nocodb/src/lib/meta/api/index.ts @@ -43,10 +43,10 @@ import { oldDataApis, } from '../../controllers/dataApis'; import { - publicDataApis, - publicDataExportApis, - publicMetaApis, -} from '../../controllers/publicApis'; + publicDataController, + publicDataExportController, + publicMetaController, +} from '../../controllers/publiController'; import { Server, Socket } from 'socket.io'; import passport from 'passport'; @@ -81,9 +81,9 @@ export default function (router: Router, server) { router.use(viewColumnApis); router.use(gridViewApis); router.use(formViewColumnApis); - router.use(publicDataApis); - router.use(publicDataExportApis); - router.use(publicMetaApis); + router.use(publicDataController); + router.use(publicDataExportController); + router.use(publicMetaController); router.use(gridViewColumnApis); router.use(tableApis); router.use(galleryViewApis);