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