diff --git a/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts b/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts index bd0aa25190..143c6ea875 100644 --- a/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts +++ b/packages/nocodb-nest/src/modules/jobs/export-import/duplicate.processor.ts @@ -1,12 +1,12 @@ import { Readable } from 'stream'; import { Process, Processor } from '@nestjs/bull'; -import { Base, Column, Model, Project } from '../../../models'; import { Job } from 'bull'; -import { ProjectsService } from '../../../services/projects.service'; import papaparse from 'papaparse'; +import { UITypes } from 'nocodb-sdk'; +import { Base, Column, Model, Project } from '../../../models'; +import { ProjectsService } from '../../../services/projects.service'; import { findWithIdentifier } from '../../../helpers/exportImportHelpers'; import { BulkDataAliasService } from '../../../services/bulk-data-alias.service'; -import { UITypes } from 'nocodb-sdk'; import { ExportService } from './export.service'; import { ImportService } from './import.service'; import type { LinkToAnotherRecordColumn } from '../../../models'; diff --git a/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts b/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts index 6d93aa71f9..c74ccb3e04 100644 --- a/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts +++ b/packages/nocodb-nest/src/modules/jobs/export-import/export.service.ts @@ -1,7 +1,8 @@ import { Readable } from 'stream'; import { UITypes, ViewTypes } from 'nocodb-sdk'; -import { getViewAndModelByAliasOrId } from '../../../modules/datas/helpers'; import { unparse } from 'papaparse'; +import { Injectable } from '@nestjs/common'; +import { getViewAndModelByAliasOrId } from '../../../modules/datas/helpers'; import { clearPrefix, generateBaseIdMap, @@ -10,7 +11,6 @@ import NcPluginMgrv2 from '../../../helpers/NcPluginMgrv2'; import { NcError } from '../../../helpers/catchError'; import { Base, Model, Project } from '../../../models'; import { DatasService } from '../../../services/datas.service'; -import { Injectable } from '@nestjs/common'; import type { LinkToAnotherRecordColumn, View } from '../../../models'; @Injectable() @@ -324,7 +324,6 @@ export class ExportService { case UITypes.Formula: case UITypes.Lookup: case UITypes.Rollup: - case UITypes.Rating: case UITypes.Barcode: // skip these types break; diff --git a/packages/nocodb-nest/src/modules/jobs/export-import/import.service.ts b/packages/nocodb-nest/src/modules/jobs/export-import/import.service.ts index 2e06b5fafe..7f1320c5bc 100644 --- a/packages/nocodb-nest/src/modules/jobs/export-import/import.service.ts +++ b/packages/nocodb-nest/src/modules/jobs/export-import/import.service.ts @@ -1,4 +1,6 @@ import { UITypes, ViewTypes } from 'nocodb-sdk'; +import { Injectable } from '@nestjs/common'; +import papaparse from 'papaparse'; import { findWithIdentifier, getParentIdentifier, @@ -19,9 +21,7 @@ import { GridsService } from '../../../services/grids.service'; import { FormsService } from '../../../services/forms.service'; import { GalleriesService } from '../../../services/galleries.service'; import { KanbansService } from '../../../services/kanbans.service'; -import { Injectable } from '@nestjs/common'; import NcPluginMgrv2 from '../../../helpers/NcPluginMgrv2'; -import papaparse from 'papaparse'; import { BulkDataAliasService } from '../../../services/bulk-data-alias.service'; import type { ViewCreateReqType } from 'nocodb-sdk'; import type { LinkToAnotherRecordColumn, User, View } from '../../../models';