Browse Source

refactor(gui): group import statements

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/3953/head
Pranav C 2 years ago
parent
commit
f0dd065e79
  1. 4
      packages/nc-gui/composables/useExpandedFormStore.ts
  2. 2
      packages/nc-gui/composables/useViewData.ts

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

@ -9,19 +9,19 @@ import {
extractSdkResponseErrorMsg, extractSdkResponseErrorMsg,
getHTMLEncodedText, getHTMLEncodedText,
message, message,
populateInsertObject,
ref, ref,
useApi, useApi,
useI18n, useI18n,
useInjectionState, useInjectionState,
useKanbanViewStoreOrThrow, useKanbanViewStoreOrThrow,
useMetas,
useNuxtApp, useNuxtApp,
useProject, useProject,
useProvideSmartsheetRowStore, useProvideSmartsheetRowStore,
useSharedView, useSharedView,
} from '#imports' } from '#imports'
import { useMetas } from '~/composables/useMetas'
import type { Row } from '~/lib' import type { Row } from '~/lib'
import { populateInsertObject } from '~/utils'
const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((meta: Ref<TableType>, row: Ref<Row>) => { const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((meta: Ref<TableType>, row: Ref<Row>) => {
const { $e, $state, $api } = useNuxtApp() const { $e, $state, $api } = useNuxtApp()

2
packages/nc-gui/composables/useViewData.ts

@ -14,13 +14,13 @@ import {
useApi, useApi,
useGlobal, useGlobal,
useI18n, useI18n,
useMetas,
useNuxtApp, useNuxtApp,
useProject, useProject,
useSharedView, useSharedView,
useSmartsheetStoreOrThrow, useSmartsheetStoreOrThrow,
useUIPermission, useUIPermission,
} from '#imports' } from '#imports'
import { useMetas } from '~/composables/useMetas'
import type { Row } from '~/lib' import type { Row } from '~/lib'
const formatData = (list: Row[]) => const formatData = (list: Row[]) =>

Loading…
Cancel
Save