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

@@ -39,11 +39,11 @@ export declare class ComposantsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: {
name: string;
@@ -89,8 +89,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
parentComposant: {
name: string;
@@ -102,8 +102,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -115,8 +115,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
findAll(): Promise<({
typeComposant: {
@@ -154,11 +154,11 @@ export declare class ComposantsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -176,22 +176,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -238,22 +238,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -275,22 +275,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -302,8 +302,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -312,22 +312,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -339,8 +339,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -352,8 +352,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
findHierarchy(machineId: string): Promise<({
typeComposant: {
@@ -387,22 +387,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -449,22 +449,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -511,22 +511,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -548,22 +548,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -575,8 +575,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -585,22 +585,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -612,8 +612,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -622,22 +622,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -649,8 +649,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
findByMachine(machineId: string): Promise<({
typeComposant: {
@@ -688,11 +688,11 @@ export declare class ComposantsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -710,22 +710,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -779,8 +779,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -789,22 +789,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -816,8 +816,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -829,8 +829,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
findOne(id: string): Promise<({
typeComposant: {
@@ -868,11 +868,11 @@ export declare class ComposantsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -890,22 +890,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -952,22 +952,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -989,22 +989,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1016,8 +1016,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1026,22 +1026,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -1053,8 +1053,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -1066,8 +1066,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}) | null>;
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
typeComposant: {
@@ -1105,11 +1105,11 @@ export declare class ComposantsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -1127,22 +1127,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1189,22 +1189,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1226,22 +1226,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1253,8 +1253,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1263,22 +1263,22 @@ export declare class ComposantsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -1290,8 +1290,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -1303,8 +1303,8 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
remove(id: string): Promise<{
name: string;
@@ -1316,7 +1316,7 @@ export declare class ComposantsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
}

View File

@@ -39,11 +39,11 @@ export declare class ComposantsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: {
name: string;
@@ -89,8 +89,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
parentComposant: {
name: string;
@@ -102,8 +102,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -115,8 +115,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
findAll(): Promise<({
typeComposant: {
@@ -154,11 +154,11 @@ export declare class ComposantsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -176,22 +176,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -238,22 +238,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -275,22 +275,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -302,8 +302,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -312,22 +312,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -339,8 +339,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -352,8 +352,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
findOne(id: string): Promise<({
typeComposant: {
@@ -391,11 +391,11 @@ export declare class ComposantsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -413,22 +413,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -475,22 +475,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -512,22 +512,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -539,8 +539,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -549,22 +549,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -576,8 +576,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -589,8 +589,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}) | null>;
findByMachine(machineId: string): Promise<({
typeComposant: {
@@ -628,11 +628,11 @@ export declare class ComposantsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -650,22 +650,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -719,8 +719,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -729,22 +729,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -756,8 +756,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -769,8 +769,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
findHierarchy(machineId: string): Promise<({
typeComposant: {
@@ -804,22 +804,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -866,22 +866,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -928,22 +928,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -965,22 +965,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -992,8 +992,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1002,22 +1002,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1029,8 +1029,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1039,22 +1039,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1066,8 +1066,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[]>;
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
typeComposant: {
@@ -1105,11 +1105,11 @@ export declare class ComposantsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -1127,22 +1127,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1189,22 +1189,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1226,22 +1226,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1253,8 +1253,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1263,22 +1263,22 @@ export declare class ComposantsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
parentComposant: {
name: string;
@@ -1290,8 +1290,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
} & {
name: string;
@@ -1303,8 +1303,8 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
remove(id: string): Promise<{
name: string;
@@ -1316,7 +1316,7 @@ export declare class ComposantsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}>;
}

View File

@@ -10,22 +10,22 @@ export declare class CustomFieldsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
customField: {
@@ -34,22 +34,22 @@ export declare class CustomFieldsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
customField: {
@@ -58,22 +58,22 @@ export declare class CustomFieldsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
customField: {
@@ -82,32 +82,32 @@ export declare class CustomFieldsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
upsertCustomFieldValue(body: {
customFieldId: string;
@@ -121,21 +121,21 @@ export declare class CustomFieldsController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
}

View File

@@ -10,22 +10,22 @@ export declare class CustomFieldsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
customField: {
@@ -34,22 +34,22 @@ export declare class CustomFieldsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
customField: {
@@ -58,22 +58,22 @@ export declare class CustomFieldsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
customField: {
@@ -82,32 +82,32 @@ export declare class CustomFieldsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{
customField: {
@@ -116,21 +116,21 @@ export declare class CustomFieldsService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
}

View File

@@ -37,8 +37,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -61,11 +61,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
findAll(): Promise<({
site: {
@@ -101,8 +101,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -125,11 +125,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findByMachine(machineId: string): Promise<({
site: {
@@ -165,8 +165,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -189,11 +189,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findByComposant(composantId: string): Promise<({
site: {
@@ -229,8 +229,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -253,11 +253,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findByPiece(pieceId: string): Promise<({
site: {
@@ -293,8 +293,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -317,11 +317,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findBySite(siteId: string): Promise<({
site: {
@@ -357,8 +357,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -381,11 +381,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findOne(id: string): Promise<({
site: {
@@ -421,8 +421,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -445,11 +445,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}) | null>;
update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{
site: {
@@ -485,8 +485,8 @@ export declare class DocumentsController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -509,11 +509,11 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
remove(id: string): Promise<{
name: string;
@@ -523,10 +523,10 @@ export declare class DocumentsController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
}

View File

@@ -37,8 +37,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -61,11 +61,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
findAll(): Promise<({
site: {
@@ -101,8 +101,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -125,11 +125,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findOne(id: string): Promise<({
site: {
@@ -165,8 +165,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -189,11 +189,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}) | null>;
findByMachine(machineId: string): Promise<({
site: {
@@ -229,8 +229,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -253,11 +253,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findByComposant(composantId: string): Promise<({
site: {
@@ -293,8 +293,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -317,11 +317,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findByPiece(pieceId: string): Promise<({
site: {
@@ -357,8 +357,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -381,11 +381,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
findBySite(siteId: string): Promise<({
site: {
@@ -421,8 +421,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -445,11 +445,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
})[]>;
update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{
site: {
@@ -485,8 +485,8 @@ export declare class DocumentsService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
} | null;
piece: {
name: string;
@@ -509,11 +509,11 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
remove(id: string): Promise<{
name: string;
@@ -523,10 +523,10 @@ export declare class DocumentsService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}>;
}

View File

@@ -22,12 +22,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -58,11 +58,11 @@ export declare class MachinesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -80,22 +80,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -142,22 +142,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -182,8 +182,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -195,8 +195,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -205,22 +205,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -253,12 +253,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -289,11 +289,11 @@ export declare class MachinesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -311,22 +311,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -373,22 +373,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -413,8 +413,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -423,22 +423,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -450,8 +450,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -460,22 +460,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -508,12 +508,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -544,11 +544,11 @@ export declare class MachinesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -566,22 +566,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -628,22 +628,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -668,8 +668,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -678,22 +678,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -705,8 +705,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -715,22 +715,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -763,12 +763,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -799,11 +799,11 @@ export declare class MachinesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -821,22 +821,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -883,22 +883,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -923,8 +923,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -936,8 +936,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -946,22 +946,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1006,12 +1006,12 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -1042,11 +1042,11 @@ export declare class MachinesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -1064,22 +1064,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1126,22 +1126,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1166,8 +1166,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -1176,22 +1176,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1203,8 +1203,8 @@ export declare class MachinesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1213,22 +1213,22 @@ export declare class MachinesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;

View File

@@ -22,12 +22,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -58,11 +58,11 @@ export declare class MachinesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -80,22 +80,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -142,22 +142,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -182,8 +182,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -195,8 +195,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -205,22 +205,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -256,12 +256,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -292,11 +292,11 @@ export declare class MachinesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -314,22 +314,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -376,22 +376,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -416,8 +416,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -426,22 +426,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -453,8 +453,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -463,22 +463,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -511,12 +511,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -547,11 +547,11 @@ export declare class MachinesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -569,22 +569,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -631,22 +631,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -671,8 +671,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -681,22 +681,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -708,8 +708,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -718,22 +718,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -766,12 +766,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -802,11 +802,11 @@ export declare class MachinesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -824,22 +824,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -886,22 +886,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -926,8 +926,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -939,8 +939,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -949,22 +949,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1010,12 +1010,12 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -1046,11 +1046,11 @@ export declare class MachinesService {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
pieces: ({
constructeur: {
@@ -1068,22 +1068,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1130,22 +1130,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1170,8 +1170,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFieldValues: ({
customField: {
@@ -1180,22 +1180,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;
@@ -1207,8 +1207,8 @@ export declare class MachinesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
customFieldValues: ({
customField: {
@@ -1217,22 +1217,22 @@ export declare class MachinesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
};
} & {
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
})[];
} & {
name: string;

1
dist/main.js vendored
View File

@@ -6,6 +6,7 @@ const session = require("express-session");
const app_module_1 = require("./app.module");
async function bootstrap() {
const app = await core_1.NestFactory.create(app_module_1.AppModule);
app.set('trust proxy', 1);
app.use(session({
secret: process.env.SESSION_SECRET || 'change-me',
resave: false,

2
dist/main.js.map vendored
View File

@@ -1 +1 @@
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,2CAAgD;AAChD,2CAA2C;AAC3C,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAC,sBAAS,CAAC,CAAC;IAEhD,GAAG,CAAC,GAAG,CACL,OAAO,CAAC;QACN,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,WAAW;QACjD,MAAM,EAAE,KAAK;QACb,iBAAiB,EAAE,KAAK;QACxB,MAAM,EAAE;YACN,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAG,OAAO,CAAC,GAAG,CAAC,iBAA+C,IAAI,KAAK;YAC/E,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY;YAC7C,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;SACvE;KACF,CAAC,CACH,CAAC;IAGF,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW;QAC5C,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACjE,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC;IAE9B,GAAG,CAAC,UAAU,CAAC;QACb,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;YAE3B,IAAI,CAAC,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC/C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,MAAM,sBAAsB,CAAC,CAAC,CAAC;YAC9D,CAAC;QACH,CAAC;QACD,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAEH,GAAG,CAAC,cAAc,CAAC,IAAI,uBAAc,CAAC;QACpC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;QACtD,oBAAoB,EAAE,OAAO,CAAC,GAAG,CAAC,iCAAiC,KAAK,MAAM;QAC9E,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;KACvD,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC;IAClD,GAAG,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;IAC9C,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACvB,OAAO,CAAC,GAAG,CAAC,+CAA+C,IAAI,EAAE,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,gBAAgB,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,SAAS,EAAE,CAAC"}
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,2CAAgD;AAEhD,2CAA2C;AAC3C,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAyB,sBAAS,CAAC,CAAC;IAExE,GAAG,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IAE1B,GAAG,CAAC,GAAG,CACL,OAAO,CAAC;QACN,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,WAAW;QACjD,MAAM,EAAE,KAAK;QACb,iBAAiB,EAAE,KAAK;QACxB,MAAM,EAAE;YACN,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAG,OAAO,CAAC,GAAG,CAAC,iBAA+C,IAAI,KAAK;YAC/E,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY;YAC7C,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,eAAe,IAAI,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;SACvE;KACF,CAAC,CACH,CAAC;IAGF,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW;QAC5C,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACjE,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC;IAE9B,GAAG,CAAC,UAAU,CAAC;QACb,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE;YAE3B,IAAI,CAAC,MAAM,IAAI,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;gBAC/C,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;YACvB,CAAC;iBAAM,CAAC;gBACN,QAAQ,CAAC,IAAI,KAAK,CAAC,UAAU,MAAM,sBAAsB,CAAC,CAAC,CAAC;YAC9D,CAAC;QACH,CAAC;QACD,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAEH,GAAG,CAAC,cAAc,CAAC,IAAI,uBAAc,CAAC;QACpC,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;QACtD,oBAAoB,EAAE,OAAO,CAAC,GAAG,CAAC,iCAAiC,KAAK,MAAM;QAC9E,SAAS,EAAE,OAAO,CAAC,GAAG,CAAC,oBAAoB,KAAK,MAAM;KACvD,CAAC,CAAC,CAAC;IAEJ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC;IAClD,GAAG,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC;IAC9C,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACvB,OAAO,CAAC,GAAG,CAAC,+CAA+C,IAAI,EAAE,CAAC,CAAC;IACnE,OAAO,CAAC,GAAG,CAAC,gBAAgB,OAAO,CAAC,GAAG,CAAC,QAAQ,IAAI,aAAa,EAAE,CAAC,CAAC;AACvE,CAAC;AAED,SAAS,EAAE,CAAC"}

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;

View File

@@ -73,8 +73,8 @@ export declare class SitesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -86,8 +86,8 @@ export declare class SitesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
} & {
name: string;
@@ -109,11 +109,11 @@ export declare class SitesController {
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;
@@ -185,8 +185,8 @@ export declare class SitesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -198,8 +198,8 @@ export declare class SitesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
} & {
name: string;
@@ -221,11 +221,11 @@ export declare class SitesController {
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

@@ -73,8 +73,8 @@ export declare class SitesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -86,8 +86,8 @@ export declare class SitesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
} & {
name: string;
@@ -109,11 +109,11 @@ export declare class SitesService {
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;
@@ -185,8 +185,8 @@ export declare class SitesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
} & {
name: string;
@@ -198,8 +198,8 @@ export declare class SitesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
})[];
} & {
name: string;
@@ -221,11 +221,11 @@ export declare class SitesService {
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;

File diff suppressed because one or more lines are too long

View File

@@ -10,12 +10,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -49,12 +49,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -88,12 +88,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -115,12 +115,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -155,12 +155,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -180,8 +180,8 @@ export declare class TypesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFields: {
name: string;
@@ -189,12 +189,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -214,8 +214,8 @@ export declare class TypesController {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFields: {
name: string;
@@ -223,12 +223,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -244,12 +244,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -272,12 +272,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -306,12 +306,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -340,12 +340,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -361,12 +361,12 @@ export declare class TypesController {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;

View File

@@ -10,12 +10,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -49,12 +49,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -88,12 +88,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -115,12 +115,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -155,12 +155,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -180,8 +180,8 @@ export declare class TypesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFields: {
name: string;
@@ -189,12 +189,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -214,8 +214,8 @@ export declare class TypesService {
emplacement: string | null;
constructeurId: string | null;
machineId: string | null;
typeComposantId: string | null;
parentComposantId: string | null;
typeComposantId: string | null;
}[];
customFields: {
name: string;
@@ -223,12 +223,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -244,12 +244,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -272,12 +272,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -306,12 +306,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -340,12 +340,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;
@@ -361,12 +361,12 @@ export declare class TypesService {
createdAt: Date;
updatedAt: Date;
typeMachineId: string | null;
typePieceId: string | null;
typeComposantId: string | null;
type: string;
required: boolean;
defaultValue: string | null;
options: string[];
typeComposantId: string | null;
typePieceId: string | null;
}[];
} & {
name: string;

View File

@@ -1,10 +1,11 @@
import { NestFactory } from '@nestjs/core';
import { ValidationPipe } from '@nestjs/common';
import { NestExpressApplication } from '@nestjs/platform-express';
import * as session from 'express-session';
import { AppModule } from './app.module';
async function bootstrap() {
const app = await NestFactory.create(AppModule);
const app = await NestFactory.create<NestExpressApplication>(AppModule);
app.set('trust proxy', 1);