Files
certd/packages/ui/certd-server/src/plugins/plugin-template/api.ts
T
2026-05-31 01:41:33 +08:00

16 lines
308 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;
};