supertokens-node
Version:
NodeJS driver for SuperTokens core
13 lines (12 loc) • 723 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>;
}