mirror of
https://github.com/certd/certd.git
synced 2026-07-09 14:17:37 +08:00
16 lines
308 B
TypeScript
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;
|
|
};
|