mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
11 lines
293 B
TypeScript
11 lines
293 B
TypeScript
import { container } from 'tsyringe';
|
|
import { lucia } from '../infrastructure/auth/lucia';
|
|
|
|
// Symbol
|
|
export const LuciaProvider = Symbol('LUCIA_PROVIDER');
|
|
|
|
// Type
|
|
export type LuciaProvider = typeof lucia;
|
|
|
|
// Register
|
|
container.register<LuciaProvider>(LuciaProvider, { useValue: lucia });
|