From 00cbee50dea372189d2ccc11c50766a0db5d5c3f Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 16:08:21 +0000 Subject: [PATCH] Update template endpoints --- packages/frontend-core/src/api/templates.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend-core/src/api/templates.ts b/packages/frontend-core/src/api/templates.ts index dfdc8d26ec..6c742840c1 100644 --- a/packages/frontend-core/src/api/templates.ts +++ b/packages/frontend-core/src/api/templates.ts @@ -1,13 +1,13 @@ -import { Template } from "@budibase/types" +import { FetchTemplateResponse, Template } from "@budibase/types" import { BaseAPIClient } from "./types" export interface TemplateEndpoints { getEmailTemplates: () => Promise + getAppTemplates: () => Promise // Missing request or response types getEmailTemplateDefinitions: () => Promise saveEmailTemplate: (templaet: any) => Promise - getAppTemplates: () => Promise } export const buildTemplateEndpoints = (