fix: enable trust proxy with express adapter

This commit is contained in:
Matthieu
2025-09-18 08:26:26 +02:00
parent 11695cec7c
commit 9ce37ff148
18 changed files with 573 additions and 571 deletions

View File

@@ -33,8 +33,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -52,11 +52,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -101,8 +101,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -120,11 +120,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -169,8 +169,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -188,11 +188,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -237,8 +237,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -256,11 +256,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -305,8 +305,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -324,11 +324,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -373,8 +373,8 @@ export declare class PiecesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -392,11 +392,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;

View File

@@ -33,8 +33,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -52,11 +52,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -101,8 +101,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -120,11 +120,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -169,8 +169,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -188,11 +188,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -237,8 +237,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -256,11 +256,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -305,8 +305,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -324,11 +324,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -373,8 +373,8 @@ export declare class PiecesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
constructeur: {
name: string;
@@ -392,11 +392,11 @@ export declare class PiecesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;