- Extract auth DTOs, cookie/JWT helpers and the generic duration parser. - Configure the session cookie and map domain auth failures to HTTP responses. - Add typed Swagger responses and focused regression coverage.
5 lines
158 B
TypeScript
5 lines
158 B
TypeScript
import { SetMetadata } from "@nestjs/common";
|
|
|
|
export const IS_PUBLIC_KEY = Symbol("isPublic");
|
|
export const Public = () => SetMetadata(IS_PUBLIC_KEY, true);
|