Fix types
This commit is contained in:
parent
690a442e61
commit
f76ec8d2c9
|
@ -3,7 +3,10 @@ import { Datasource, Row, Query } from "@budibase/types"
|
|||
export type WorkerCallback = (error: any, response?: any) => void
|
||||
|
||||
export interface QueryEvent
|
||||
extends Omit<Query, "datasourceId" | "name" | "parameters" | "readable"> {
|
||||
extends Omit<
|
||||
Query,
|
||||
"datasourceId" | "name" | "parameters" | "readable" | "nestedSchemaFields"
|
||||
> {
|
||||
appId?: string
|
||||
datasource: Datasource
|
||||
pagination?: any
|
||||
|
|
|
@ -14,6 +14,7 @@ export interface Query extends Document {
|
|||
fields: RestQueryFields | any
|
||||
transformer: string | null
|
||||
schema: Record<string, QuerySchema | string>
|
||||
nestedSchemaFields: Record<string, Record<string, QuerySchema | string>>
|
||||
readable: boolean
|
||||
queryVerb: string
|
||||
// flag to state whether the default bindings are empty strings (old behaviour) or null
|
||||
|
|
Loading…
Reference in New Issue