mirror of
https://github.com/certd/certd.git
synced 2026-04-16 23:00:55 +08:00
19 lines
315 B
TypeScript
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
|
|
};
|