import { render } from "mustache" ; import { Message } from "../_" ; /**
 * Registration verification message data
 */ export interface RegisterMessageData { name : string ; domain : string ; code : string ; } /**
 * Registration verification message
 */ export class RegisterMessage extends Message < RegisterMessageData > { param data public constructor ( protected data ) { super ( "register" , data ) ; } return public get subject ( ) : string { return render ( "Activate your {{name}} account" , this . data ) ; } }