mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 04:26:46 +00:00
refactor(nc-gui): move types to lib
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user