Type UIDatasource
This commit is contained in:
parent
79039a1c30
commit
bd1a04ff1b
|
@ -1,6 +1,6 @@
|
|||
import { UITable, UIView } from "@budibase/types"
|
||||
|
||||
export type UIDatasource = UITable | UIView
|
||||
export type UIDatasource = UITable | (Omit<UIView, "type"> & { type: "viewV2" })
|
||||
|
||||
export interface UIFieldMutation {
|
||||
visible?: boolean
|
||||
|
|
|
@ -8,10 +8,9 @@ import {
|
|||
UISearchFilter,
|
||||
} from "@budibase/types"
|
||||
|
||||
export interface UITable extends Omit<Table, "type"> {
|
||||
export interface UITable extends Table {
|
||||
name: string
|
||||
id: string
|
||||
type: string
|
||||
tableId: string
|
||||
primaryDisplay?: string
|
||||
sort?: {
|
||||
|
|
Loading…
Reference in New Issue