diff --git a/packages/server/src/api/controllers/view/viewsV2.ts b/packages/server/src/api/controllers/view/viewsV2.ts index c99b79d8fa..b1433985c1 100644 --- a/packages/server/src/api/controllers/view/viewsV2.ts +++ b/packages/server/src/api/controllers/view/viewsV2.ts @@ -16,7 +16,6 @@ import { CountCalculationFieldMetadata, CreateViewResponse, UpdateViewResponse, - DeleteViewResponse, } from "@budibase/types" import { builderSocket, gridSocket } from "../../../websockets" import { helpers } from "@budibase/shared-core" diff --git a/packages/types/src/api/web/template.ts b/packages/types/src/api/web/template.ts index 34b846b7ef..c21fcc18ca 100644 --- a/packages/types/src/api/web/template.ts +++ b/packages/types/src/api/web/template.ts @@ -2,7 +2,7 @@ export enum TemplateType { APP = "app", } -export interface Template { +export interface TemplateMetadata { background: string icon: string category: string @@ -14,7 +14,7 @@ export interface Template { image: string } -export type FetchTemplateResponse = Template[] +export type FetchTemplateResponse = TemplateMetadata[] export interface DownloadTemplateResponse { message: string