Support for users and authentication [backend].

This commit is contained in:
Fabio Manganiello 2025-03-04 21:29:05 +01:00
parent 533ebe960f
commit c4e0c67e34
Signed by: blacklight
GPG key ID: D90FBA7F76362774
35 changed files with 1329 additions and 111 deletions

View file

@ -1,3 +1,11 @@
type Optional<T> = T | null | undefined;
import { Request, Response } from 'express';
export { Optional };
import { AuthInfo } from './auth';
type Optional<T> = T | null | undefined;
type RequestHandler = (req: Request, res: Response) => Promise<AuthInfo>;
export {
Optional,
RequestHandler,
};