Files
tabungin/apps/api/dist/otp/otp.module.js
Dwindi Ramadhana 6a6e74562c checkpoint: goals feature, wallet balance, and goals/wallet detail UI
- Add goals feature (models, migrations, API, web pages)
- Add reserved/centralized wallet balance service
- Add wallet detail page and overview components
- Add new UI components (progress, multi-select, FAB)
- Remove stray empty -H/-d files from working tree
2026-06-17 20:40:00 +07:00

35 lines
1.7 KiB
JavaScript
Executable File

"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.OtpModule = void 0;
const common_1 = require("@nestjs/common");
const jwt_1 = require("@nestjs/jwt");
const otp_controller_1 = require("./otp.controller");
const otp_service_1 = require("./otp.service");
const otp_gate_guard_1 = require("./otp-gate.guard");
const auth_module_1 = require("../auth/auth.module");
const prisma_module_1 = require("../prisma/prisma.module");
let OtpModule = class OtpModule {
};
exports.OtpModule = OtpModule;
exports.OtpModule = OtpModule = __decorate([
(0, common_1.Module)({
imports: [
(0, common_1.forwardRef)(() => auth_module_1.AuthModule),
prisma_module_1.PrismaModule,
jwt_1.JwtModule.register({
secret: process.env.JWT_SECRET || 'your-secret-key',
signOptions: { expiresIn: '7d' },
}),
],
controllers: [otp_controller_1.OtpController],
providers: [otp_service_1.OtpService, otp_gate_guard_1.OtpGateGuard],
exports: [otp_service_1.OtpService, otp_gate_guard_1.OtpGateGuard],
})
], OtpModule);
//# sourceMappingURL=otp.module.js.map