17 lines
504 B
TypeScript
Raw Normal View History

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