Browse Source

refactor(nocodb): sync controllers

pull/5262/head
Wing-Kam Wong 2 years ago
parent
commit
3f0dcb7fd8
  1. 4
      packages/nocodb/src/lib/controllers/sync/index.ts
  2. 3
      packages/nocodb/src/lib/meta/api/index.ts

4
packages/nocodb/src/lib/controllers/sync/index.ts

@ -0,0 +1,4 @@
import importController from './import.ctl';
import syncSourceController from './sync.ctl';
export { importController, syncSourceController };

3
packages/nocodb/src/lib/meta/api/index.ts

@ -52,8 +52,7 @@ import passport from 'passport';
import crypto from 'crypto';
import swaggerController from '../../controllers/apiDocs';
import importController from '../../controllers/sync/import.ctl';
import syncSourceController from '../../controllers/sync';
import { importController, syncSourceController } from '../../controllers/sync';
import mapViewController from '../../controllers/views/mapView.ctl';
const clients: { [id: string]: Socket } = {};

Loading…
Cancel
Save