Browse Source

chore: lint

pull/7705/head
Pranav C 9 months ago
parent
commit
06b30bf85c
  1. 3
      packages/nc-gui/components.d.ts
  2. 4
      packages/nc-gui/composables/useViewFilters.ts
  3. 2
      packages/nocodb/src/db/sortV2.ts

3
packages/nc-gui/components.d.ts vendored

@ -97,6 +97,7 @@ declare module '@vue/runtime-core' {
MaterialSymbolsLockOutline: typeof import('~icons/material-symbols/lock-outline')['default'] MaterialSymbolsLockOutline: typeof import('~icons/material-symbols/lock-outline')['default']
MaterialSymbolsPublic: typeof import('~icons/material-symbols/public')['default'] MaterialSymbolsPublic: typeof import('~icons/material-symbols/public')['default']
MaterialSymbolsRocketLaunchOutline: typeof import('~icons/material-symbols/rocket-launch-outline')['default'] MaterialSymbolsRocketLaunchOutline: typeof import('~icons/material-symbols/rocket-launch-outline')['default']
MaterialSymbolsSearch: typeof import('~icons/material-symbols/search')['default']
MaterialSymbolsSendOutline: typeof import('~icons/material-symbols/send-outline')['default'] MaterialSymbolsSendOutline: typeof import('~icons/material-symbols/send-outline')['default']
MaterialSymbolsTranslate: typeof import('~icons/material-symbols/translate')['default'] MaterialSymbolsTranslate: typeof import('~icons/material-symbols/translate')['default']
MaterialSymbolsVisibility: typeof import('~icons/material-symbols/visibility')['default'] MaterialSymbolsVisibility: typeof import('~icons/material-symbols/visibility')['default']
@ -120,6 +121,7 @@ declare module '@vue/runtime-core' {
MdiChevronRight: typeof import('~icons/mdi/chevron-right')['default'] MdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
MdiChevronUp: typeof import('~icons/mdi/chevron-up')['default'] MdiChevronUp: typeof import('~icons/mdi/chevron-up')['default']
MdiCircleMedium: typeof import('~icons/mdi/circle-medium')['default'] MdiCircleMedium: typeof import('~icons/mdi/circle-medium')['default']
MdiClockOutline: typeof import('~icons/mdi/clock-outline')['default']
MdiClose: typeof import('~icons/mdi/close')['default'] MdiClose: typeof import('~icons/mdi/close')['default']
MdiCodeTags: typeof import('~icons/mdi/code-tags')['default'] MdiCodeTags: typeof import('~icons/mdi/code-tags')['default']
MdiContentCopy: typeof import('~icons/mdi/content-copy')['default'] MdiContentCopy: typeof import('~icons/mdi/content-copy')['default']
@ -131,6 +133,7 @@ declare module '@vue/runtime-core' {
MdiEye: typeof import('~icons/mdi/eye')['default'] MdiEye: typeof import('~icons/mdi/eye')['default']
MdiFileDocumentMultipleOutline: typeof import('~icons/mdi/file-document-multiple-outline')['default'] MdiFileDocumentMultipleOutline: typeof import('~icons/mdi/file-document-multiple-outline')['default']
MdiFileDocumentOutline: typeof import('~icons/mdi/file-document-outline')['default'] MdiFileDocumentOutline: typeof import('~icons/mdi/file-document-outline')['default']
MdiFileOutline: typeof import('~icons/mdi/file-outline')['default']
MdiFlag: typeof import('~icons/mdi/flag')['default'] MdiFlag: typeof import('~icons/mdi/flag')['default']
MdiFormatBold: typeof import('~icons/mdi/format-bold')['default'] MdiFormatBold: typeof import('~icons/mdi/format-bold')['default']
MdiFormatItalic: typeof import('~icons/mdi/format-italic')['default'] MdiFormatItalic: typeof import('~icons/mdi/format-italic')['default']

4
packages/nc-gui/composables/useViewFilters.ts

@ -1,8 +1,6 @@
import { import {
type ColumnType, type ColumnType,
type FilterType, type FilterType,
FormulaDataTypes,
type FormulaType,
type LinkToAnotherRecordType, type LinkToAnotherRecordType,
type LookupType, type LookupType,
type ViewType, type ViewType,
@ -499,6 +497,6 @@ export function useViewFilters(
isComparisonSubOpAllowed, isComparisonSubOpAllowed,
loadBtLookupTypes, loadBtLookupTypes,
btLookupTypesMap, btLookupTypesMap,
types types,
} }
} }

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

@ -69,7 +69,7 @@ export default async function sortV2(
model, model,
column, column,
{}, {},
alias alias,
) )
).builder; ).builder;
qb.orderBy(builder, sort.direction || 'asc', nulls); qb.orderBy(builder, sort.direction || 'asc', nulls);

Loading…
Cancel
Save