mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Redact tokens from logs (#6347)
This commit is contained in:
committed by
rijkvanzanten
parent
d7835e036a
commit
2868fd6bf6
10
api/src/types/shims.d.ts
vendored
10
api/src/types/shims.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
import PinoHttp from '@types/pino-http';
|
||||
|
||||
declare module 'grant' {
|
||||
const grant: any;
|
||||
export default grant;
|
||||
@@ -12,3 +14,11 @@ declare module 'exif-reader' {
|
||||
const exifReader: (buf: Buffer) => Record<string, any>;
|
||||
export default exifReader;
|
||||
}
|
||||
|
||||
declare module 'pino-http' {
|
||||
const pinoHttp: PinoHttp;
|
||||
export default pinoHttp;
|
||||
export const stdSerializers: {
|
||||
req: (req: any) => Record<string, any>;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user