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 = (