More types
This commit is contained in:
parent
f1f2b90cfb
commit
812d19b9b0
|
@ -1,15 +1,16 @@
|
||||||
import { SortOrder, UIFieldSchema } from "@budibase/types"
|
import { SortOrder, UIFieldSchema, UISearchFilter } from "@budibase/types"
|
||||||
|
|
||||||
export interface UIDatasource {
|
export interface UIDatasource {
|
||||||
type: string
|
type: string
|
||||||
|
name: string
|
||||||
id: string
|
id: string
|
||||||
tableId: string
|
tableId: string
|
||||||
primaryDisplay?: string
|
primaryDisplay?: string
|
||||||
sort?: {
|
sort?: {
|
||||||
field: string
|
field: string
|
||||||
order?: SortOrder
|
order: SortOrder
|
||||||
}
|
}
|
||||||
queryUI: any // TODO
|
queryUI: UISearchFilter
|
||||||
schema: Record<string, UIFieldSchema>
|
schema: Record<string, UIFieldSchema>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue