Files
TREK/server/src/nest/auth-core/ephemeral-token.module.ts
T
Maurice 2c3fb15263 style(server): format the files the health lanes added or moved
Prettier on every new or moved file that was not formatted, so lint:format
holds them; the files taken off the format baseline are the ones that moved
or were formatted on the way.
2026-10-10 20:16:04 +02:00

20 lines
747 B
TypeScript

import { EphemeralTokenService } from './ephemeral-token.service';
import { Module } from '@nestjs/common';
/**
* A leaf module whose only job is to hand EphemeralTokenService out.
*
* It cannot live in AuthModule: TokensModule mints download and ws tokens too,
* and AuthModule already imports TokensModule, so importing it back would close
* a cycle. TokensModule is also documented as a deliberate leaf that three
* graphs reach for, so a dependency added there lands in all of them.
*
* Same shape and same reason as MailerModule, which broke
* AuthModule <-> NotificationsModule, and PluginGuardsModule.
*/
@Module({
providers: [EphemeralTokenService],
exports: [EphemeralTokenService],
})
export class EphemeralTokenModule {}