Update template endpoints
This commit is contained in:
parent
100efef538
commit
00cbee50de
|
@ -1,13 +1,13 @@
|
||||||
import { Template } from "@budibase/types"
|
import { FetchTemplateResponse, Template } from "@budibase/types"
|
||||||
import { BaseAPIClient } from "./types"
|
import { BaseAPIClient } from "./types"
|
||||||
|
|
||||||
export interface TemplateEndpoints {
|
export interface TemplateEndpoints {
|
||||||
getEmailTemplates: () => Promise<Template[]>
|
getEmailTemplates: () => Promise<Template[]>
|
||||||
|
getAppTemplates: () => Promise<FetchTemplateResponse>
|
||||||
|
|
||||||
// Missing request or response types
|
// Missing request or response types
|
||||||
getEmailTemplateDefinitions: () => Promise<any>
|
getEmailTemplateDefinitions: () => Promise<any>
|
||||||
saveEmailTemplate: (templaet: any) => Promise<any>
|
saveEmailTemplate: (templaet: any) => Promise<any>
|
||||||
getAppTemplates: () => Promise<any>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const buildTemplateEndpoints = (
|
export const buildTemplateEndpoints = (
|
||||||
|
|
Loading…
Reference in New Issue