From 5c08b6d962ef004e1bc284c58076cc485d071fbe Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 16:25:48 +0000 Subject: [PATCH] Update view endpoints --- packages/frontend-core/src/api/viewsV2.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/frontend-core/src/api/viewsV2.ts b/packages/frontend-core/src/api/viewsV2.ts index 11b3358f4c..5018448e8c 100644 --- a/packages/frontend-core/src/api/viewsV2.ts +++ b/packages/frontend-core/src/api/viewsV2.ts @@ -1,17 +1,18 @@ import { CreateViewRequest, + CreateViewResponse, SearchRowResponse, SearchViewRowRequest, UpdateViewRequest, - ViewResponse, + UpdateViewResponse, ViewResponseEnriched, } from "@budibase/types" import { BaseAPIClient } from "./types" export interface ViewV2Endpoints { fetchDefinition: (viewId: string) => Promise - create: (view: CreateViewRequest) => Promise - update: (view: UpdateViewRequest) => Promise + create: (view: CreateViewRequest) => Promise + update: (view: UpdateViewRequest) => Promise fetch: ( viewId: string, opts: SearchViewRowRequest