diff --git a/packages/nocodb-nest/src/modules/datas/helpers.ts b/packages/nocodb-nest/src/modules/datas/helpers.ts index e06e7615a1..7834e08fb7 100644 --- a/packages/nocodb-nest/src/modules/datas/helpers.ts +++ b/packages/nocodb-nest/src/modules/datas/helpers.ts @@ -2,9 +2,9 @@ import { nocoExecute } from 'nc-help'; import { isSystemColumn, UITypes } from 'nocodb-sdk'; import * as XLSX from 'xlsx'; import papaparse from 'papaparse'; -import { BaseModelSqlv2 } from '../../db/BaseModelSqlv2' -import { NcError } from '../../helpers/catchError' -import getAst from '../../helpers/getAst' +import { BaseModelSqlv2 } from '../../db/BaseModelSqlv2'; +import { NcError } from '../../helpers/catchError'; +import getAst from '../../helpers/getAst'; import { Model, View } from '../../models'; import Base from '../../models/Base'; import Column from '../../models/Column'; @@ -20,6 +20,12 @@ export interface PathParams { viewName?: string; } +export interface OldPathParams { + projectId: string; + tableName: string; + viewName?: string; +} + export async function getViewAndModelByAliasOrId(param: { projectName: string; tableName: string;