Browse Source

chore(nocodb): lint

pull/7124/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
369d022224
  1. 9
      packages/nocodb/src/db/sortV2.ts
  2. 2
      packages/nocodb/src/models/Store.ts

9
packages/nocodb/src/db/sortV2.ts

@ -1,12 +1,7 @@
import { RelationTypes, UITypes } from 'nocodb-sdk'; import { UITypes } from 'nocodb-sdk';
import type { BaseModelSqlv2 } from '~/db/BaseModelSqlv2'; import type { BaseModelSqlv2 } from '~/db/BaseModelSqlv2';
import type { Knex } from 'knex'; import type { Knex } from 'knex';
import type { import type { FormulaColumn, RollupColumn } from '~/models';
FormulaColumn,
LinkToAnotherRecordColumn,
LookupColumn,
RollupColumn,
} from '~/models';
import { NcError } from '~/helpers/catchError'; import { NcError } from '~/helpers/catchError';
import formulaQueryBuilderv2 from '~/db/formulav2/formulaQueryBuilderv2'; import formulaQueryBuilderv2 from '~/db/formulav2/formulaQueryBuilderv2';
import genRollupSelectv2 from '~/db/genRollupSelectv2'; import genRollupSelectv2 from '~/db/genRollupSelectv2';

2
packages/nocodb/src/models/Store.ts

@ -58,7 +58,7 @@ export default class Store {
'tag', 'tag',
]); ]);
const existing = await Store.get(store.key,false, ncMeta); const existing = await Store.get(store.key, false, ncMeta);
if (existing) { if (existing) {
await ncMeta.metaUpdate(null, null, MetaTable.STORE, insertObj, { await ncMeta.metaUpdate(null, null, MetaTable.STORE, insertObj, {
key: store.key, key: store.key,

Loading…
Cancel
Save