@sfpmld-gettix/common
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -1,13 +0,13 @@ | ||
import { NextFunction, Request, Response } from "express"; | ||
import { NextFunction, Request, Response } from 'express'; | ||
declare global { | ||
namespace Express { | ||
interface Request { | ||
currentUser?: UserAttrs; | ||
currentUser?: UserPayloadAttrs; | ||
} | ||
} | ||
} | ||
export interface UserAttrs { | ||
export interface UserPayloadAttrs { | ||
id: string; | ||
email: string; | ||
password: string; | ||
} | ||
export declare const currentUser: (req: Request, _res: Response, next: NextFunction) => void; |
{ | ||
"name": "@sfpmld-gettix/common", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "XavierA", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29193