Fix types
This commit is contained in:
parent
cf74f19381
commit
069b0d6161
|
@ -11,6 +11,7 @@ import { MIGRATIONS } from "../"
|
|||
import * as helpers from "./helpers"
|
||||
|
||||
import tk from "timekeeper"
|
||||
import { View } from "@budibase/types"
|
||||
const timestamp = new Date().toISOString()
|
||||
tk.freeze(timestamp)
|
||||
|
||||
|
@ -52,7 +53,9 @@ describe("migrations", () => {
|
|||
await config.createTable()
|
||||
await config.createLegacyView()
|
||||
await config.createTable()
|
||||
await config.createLegacyView(structures.view(config.table!._id!))
|
||||
await config.createLegacyView(
|
||||
structures.view(config.table!._id!) as View
|
||||
)
|
||||
await config.createScreen()
|
||||
await config.createScreen()
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ export interface ExportRowsParams {
|
|||
format: Format
|
||||
rowIds?: string[]
|
||||
columns?: string[]
|
||||
query: SearchFilters
|
||||
query?: SearchFilters
|
||||
}
|
||||
|
||||
export interface ExportRowsResult {
|
||||
|
|
Loading…
Reference in New Issue