fix: auth handler + circular imports — Phase 1 verification (P1-009) (#73)

Co-authored-by: Jason Woltje <jason@diversecanvas.com>
Co-committed-by: Jason Woltje <jason@diversecanvas.com>
This commit was merged in pull request #73.
This commit is contained in:
2026-03-13 03:02:02 +00:00
committed by jason.woltje
parent c54b69f7ce
commit aa9ee75a2a
11 changed files with 51 additions and 24 deletions

View File

@@ -2,9 +2,7 @@ import { Global, Module } from '@nestjs/common';
import { createAuth, type Auth } from '@mosaic/auth';
import type { Db } from '@mosaic/db';
import { DB } from '../database/database.module.js';
import { AuthController } from './auth.controller.js';
export const AUTH = 'AUTH';
import { AUTH } from './auth.tokens.js';
@Global()
@Module({
@@ -20,7 +18,6 @@ export const AUTH = 'AUTH';
inject: [DB],
},
],
controllers: [AuthController],
exports: [AUTH],
})
export class AuthModule {}