This commit is contained in:
Adria Navarro 2025-01-10 12:50:08 +01:00
parent 616e89716c
commit b54eb876d8
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { Table } from "@budibase/types" import { Table } from "@budibase/types"
import DataFetch from "./DataFetch" import DataFetch from "./DataFetch"
type ViewV1 = { type ViewV1Datasource = {
type: "view" type: "view"
name: string name: string
tableId: string tableId: string
@ -10,7 +10,7 @@ type ViewV1 = {
groupBy: string groupBy: string
} }
export default class ViewFetch extends DataFetch<ViewV1, Table> { export default class ViewFetch extends DataFetch<ViewV1Datasource, Table> {
async getDefinition() { async getDefinition() {
const { datasource } = this.options const { datasource } = this.options