|
|
|
@ -3,15 +3,15 @@ import { Router } from 'express';
|
|
|
|
|
import inflection from 'inflection'; |
|
|
|
|
import ModelXcMetaFactory from '../../db/sql-mgr/code/models/xc/ModelXcMetaFactory'; |
|
|
|
|
import NcConnectionMgr from '../../utils/common/NcConnectionMgr'; |
|
|
|
|
import { DbConfig, NcConfig } from '../../interface/config'; |
|
|
|
|
import ncModelsOrderUpgrader from './jobs/ncModelsOrderUpgrader'; |
|
|
|
|
import ncParentModelTitleUpgrader from './jobs/ncParentModelTitleUpgrader'; |
|
|
|
|
import ncRemoveDuplicatedRelationRows from './jobs/ncRemoveDuplicatedRelationRows'; |
|
|
|
|
import type { DbConfig, NcConfig } from '../../interface/config'; |
|
|
|
|
import NcProjectBuilder from './NcProjectBuilder'; |
|
|
|
|
import type { XKnex } from '../../db/CustomKnex'; |
|
|
|
|
import type { BaseModelSql } from '../../db/BaseModelSql'; |
|
|
|
|
import type { MetaService } from '../../meta/meta.service'; |
|
|
|
|
import type Noco from '../../Noco'; |
|
|
|
|
import type NcProjectBuilder from './NcProjectBuilder'; |
|
|
|
|
import type { MysqlClient, PgClient, SqlClient } from 'nc-help'; |
|
|
|
|
|
|
|
|
|
const log = debug('nc:api:base'); |
|
|
|
|