supertokens-node
Version:
NodeJS driver for SuperTokens core
15 lines (14 loc) • 745 B
TypeScript
// @ts-nocheck
import { EmailDeliveryInterface } from "../../../../../ingredients/emaildelivery/types";
import { ServiceInterface, TypeInput } from "../../../../../ingredients/emaildelivery/services/smtp";
import { TypeEmailVerificationEmailDeliveryInput } from "../../../types";
import { UserContext } from "../../../../../types";
export default class SMTPService implements EmailDeliveryInterface<TypeEmailVerificationEmailDeliveryInput> {
serviceImpl: ServiceInterface<TypeEmailVerificationEmailDeliveryInput>;
constructor(config: TypeInput<TypeEmailVerificationEmailDeliveryInput>);
sendEmail: (
input: TypeEmailVerificationEmailDeliveryInput & {
userContext: UserContext;
}
) => Promise<void>;
}