refactor(nc-gui): move types to lib

This commit is contained in:
braks
2022-10-06 11:09:07 +02:00
committed by Raju Udava
parent f745f3cff7
commit b658df011b
3 changed files with 22 additions and 18 deletions

View File

@@ -18,6 +18,7 @@ import {
useProvideSmartsheetRowStore,
watch,
} from '#imports'
import type { SharedViewMeta } from '~/lib'
const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((sharedViewId: string) => {
const progress = ref(false)
@@ -34,7 +35,7 @@ const [useProvideSharedFormStore, useSharedFormStore] = useInjectionState((share
const sharedFormView = ref<FormType>()
const meta = ref<TableType>()
const columns = ref<(ColumnType & { required?: boolean; show?: boolean; label?: string })[]>()
const sharedViewMeta = ref<any>({})
const sharedViewMeta = ref<SharedViewMeta>({})
const formResetHook = createEventHook<void>()
const { api, isLoading } = useApi()