19 lines
625 B
TypeScript
Raw Normal View History

import { Module } from "@nestjs/common";
import { OtpService } from "../infra/otp/otp.service.js";
import { OtpEmailService } from "../infra/otp/otp-email.service.js";
import { GetStartedSessionService } from "../infra/otp/get-started-session.service.js";
/**
* OTP Module
*
* Owns OTP generation/verification, OTP email sending,
* and get-started session management.
* Services are exported for use by LoginModule and GetStartedModule.
*/
@Module({
providers: [OtpService, OtpEmailService, GetStartedSessionService],
exports: [OtpService, OtpEmailService, GetStartedSessionService],
})
export class OtpModule {}