Files
certd/packages/ui/certd-server/src/plugins/plugin-template/api.ts
2025-12-14 01:36:20 +08:00

19 lines
315 B
TypeScript

export type BuildContentReq = {
data: any;
}
export interface ITemplateProvider<T=any> {
buildContent: (params: BuildContentReq) => Promise<T>;
buildDefaultContent:(params: BuildContentReq) => Promise<T>;
}
export type EmailContent = {
subject:string,
content?:string,
html?:string
};