diff --git a/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue b/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue
index cc73237423..e48e4aa054 100644
--- a/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue
+++ b/packages/nc-gui/components/smartsheet/toolbar/FilterInput.vue
@@ -11,7 +11,6 @@ import {
isCurrency,
isDate,
isDateTime,
- isReadonlyDateTime,
isDecimal,
isDuration,
isFloat,
@@ -19,6 +18,7 @@ import {
isMultiSelect,
isPercent,
isRating,
+ isReadonlyDateTime,
isSingleSelect,
isTextArea,
isTime,
diff --git a/packages/nocodb-sdk/src/lib/CustomAPI.ts b/packages/nocodb-sdk/src/lib/CustomAPI.ts
index 814587f78b..99ac1a8525 100644
--- a/packages/nocodb-sdk/src/lib/CustomAPI.ts
+++ b/packages/nocodb-sdk/src/lib/CustomAPI.ts
@@ -1,9 +1,9 @@
import {
Api,
+ BaseType,
ColumnType,
FilterType,
HookType,
- BaseType,
SortType,
} from './Api';
diff --git a/packages/nocodb-sdk/src/lib/UITypes.ts b/packages/nocodb-sdk/src/lib/UITypes.ts
index fd5e432377..dc0abc623e 100644
--- a/packages/nocodb-sdk/src/lib/UITypes.ts
+++ b/packages/nocodb-sdk/src/lib/UITypes.ts
@@ -95,10 +95,9 @@ export function isCreatedTimeOrUpdatedTimeCol(
| ColumnReqType
| ColumnType
) {
- return [
- UITypes.CreatedTime,
- UITypes.LastModifiedTime,
- ].includes((typeof col === 'object' ? col?.uidt : col));
+ return [UITypes.CreatedTime, UITypes.LastModifiedTime].includes(
+ (typeof col === 'object' ? col?.uidt : col)
+ );
}
export function isLinksOrLTAR(
diff --git a/packages/nocodb-sdk/src/lib/columnRules/QrAndBarcodeRules.ts b/packages/nocodb-sdk/src/lib/columnRules/QrAndBarcodeRules.ts
index 59a067fe3c..84fe91162e 100644
--- a/packages/nocodb-sdk/src/lib/columnRules/QrAndBarcodeRules.ts
+++ b/packages/nocodb-sdk/src/lib/columnRules/QrAndBarcodeRules.ts
@@ -9,6 +9,6 @@ export const AllowedColumnTypesForQrAndBarcodes = [
UITypes.Email,
UITypes.Decimal,
UITypes.Number,
- UITypes.AutoNumber,
- UITypes.ID
+ UITypes.AutoNumber,
+ UITypes.ID,
];
diff --git a/packages/nocodb-sdk/src/lib/enums.ts b/packages/nocodb-sdk/src/lib/enums.ts
index d8d7f5c7bf..4136a17d82 100644
--- a/packages/nocodb-sdk/src/lib/enums.ts
+++ b/packages/nocodb-sdk/src/lib/enums.ts
@@ -197,18 +197,22 @@ export const RoleColors = {
export const RoleDescriptions = {
[WorkspaceUserRoles.OWNER]: 'Full access to workspace',
- [WorkspaceUserRoles.CREATOR]: 'Can create bases, sync tables, views, setup web-hooks and more',
+ [WorkspaceUserRoles.CREATOR]:
+ 'Can create bases, sync tables, views, setup web-hooks and more',
[WorkspaceUserRoles.EDITOR]: 'Can edit data in workspace bases',
- [WorkspaceUserRoles.COMMENTER]: 'Can view and comment data in workspace bases',
+ [WorkspaceUserRoles.COMMENTER]:
+ 'Can view and comment data in workspace bases',
[WorkspaceUserRoles.VIEWER]: 'Can view data in workspace bases',
[ProjectRoles.OWNER]: 'Full access to base',
- [ProjectRoles.CREATOR]: 'Can create tables, views, setup webhook, invite collaborators and more',
+ [ProjectRoles.CREATOR]:
+ 'Can create tables, views, setup webhook, invite collaborators and more',
[ProjectRoles.EDITOR]: 'Can view, add & modify records, add comments on them',
[ProjectRoles.COMMENTER]: 'Can view records and add comment on them',
[ProjectRoles.VIEWER]: 'Can only view records',
[ProjectRoles.NO_ACCESS]: 'Cannot access this base',
[OrgUserRoles.SUPER_ADMIN]: 'Full access to all',
- [OrgUserRoles.CREATOR]: 'Can create bases, sync tables, views, setup web-hooks and more',
+ [OrgUserRoles.CREATOR]:
+ 'Can create bases, sync tables, views, setup web-hooks and more',
[OrgUserRoles.VIEWER]: 'Can only view bases',
};
diff --git a/packages/nocodb-sdk/src/lib/globals.ts b/packages/nocodb-sdk/src/lib/globals.ts
index bf9066a528..b01e8aef82 100644
--- a/packages/nocodb-sdk/src/lib/globals.ts
+++ b/packages/nocodb-sdk/src/lib/globals.ts
@@ -1,4 +1,4 @@
-import { OrgUserRoles, ProjectRoles, WorkspaceUserRoles } from "./enums";
+import { OrgUserRoles, ProjectRoles, WorkspaceUserRoles } from './enums';
export enum ViewTypes {
FORM = 1,
diff --git a/packages/nocodb-sdk/src/lib/mergeSwaggerSchema.ts b/packages/nocodb-sdk/src/lib/mergeSwaggerSchema.ts
index efc7b1cbca..676d822b63 100644
--- a/packages/nocodb-sdk/src/lib/mergeSwaggerSchema.ts
+++ b/packages/nocodb-sdk/src/lib/mergeSwaggerSchema.ts
@@ -1,4 +1,3 @@
-
export function mergeSwaggerSchema(swaggerCE, swaggerEE) {
return {
...swaggerCE,
diff --git a/packages/nocodb-sdk/src/lib/sqlUi/SqlUiFactory.ts b/packages/nocodb-sdk/src/lib/sqlUi/SqlUiFactory.ts
index 3eef12622a..f12fd83ac4 100644
--- a/packages/nocodb-sdk/src/lib/sqlUi/SqlUiFactory.ts
+++ b/packages/nocodb-sdk/src/lib/sqlUi/SqlUiFactory.ts
@@ -1,4 +1,4 @@
-import { BoolType } from '../Api'
+import { BoolType } from '../Api';
import UITypes from '../UITypes';
import { MssqlUi } from './MssqlUi';
diff --git a/packages/nocodb/src/helpers/getColumnPropsFromUIDT.ts b/packages/nocodb/src/helpers/getColumnPropsFromUIDT.ts
index 677904d1b1..26c4fac99b 100644
--- a/packages/nocodb/src/helpers/getColumnPropsFromUIDT.ts
+++ b/packages/nocodb/src/helpers/getColumnPropsFromUIDT.ts
@@ -39,9 +39,15 @@ export default async function getColumnPropsFromUIDT(
const finalColumnMeta = { ...newColumn, ...column };
- if (finalColumnMeta.uidt === UITypes.CreatedTime && !('column_name' in finalColumnMeta)) {
+ if (
+ finalColumnMeta.uidt === UITypes.CreatedTime &&
+ !('column_name' in finalColumnMeta)
+ ) {
finalColumnMeta.column_name = 'created_at';
- } else if (finalColumnMeta.uidt === UITypes.LastModifiedTime && !('column_name' in finalColumnMeta)) {
+ } else if (
+ finalColumnMeta.uidt === UITypes.LastModifiedTime &&
+ !('column_name' in finalColumnMeta)
+ ) {
finalColumnMeta.column_name = 'updated_at';
}
diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts
index 1ca44696a8..9a238f0e32 100644
--- a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts
+++ b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts
@@ -899,7 +899,7 @@ export class ImportService {
col.uidt === UITypes.CreatedTime ||
col.uidt === UITypes.LastModifiedTime
) {
- if(col.system) continue;
+ if (col.system) continue;
const freshModelData = await this.columnsService.columnAdd({
tableId: getIdOrExternalId(getParentIdentifier(col.id)),
column: withoutId({