From 48f72dad86223bcfd19b6a192e81e0e317161f0a Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 4 Dec 2024 18:36:06 +0000 Subject: [PATCH] Renaming and fixing lint. --- packages/server/src/api/controllers/view/viewsV2.ts | 1 - packages/types/src/api/web/template.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) 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