refactor: rename prestataire to constructeur
This commit is contained in:
272
dist/composants/composants.controller.d.ts
vendored
272
dist/composants/composants.controller.d.ts
vendored
@@ -17,7 +17,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -29,7 +29,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -50,7 +50,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -63,12 +63,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -89,12 +89,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -102,12 +102,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
findAll(): Promise<({
|
findAll(): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -123,7 +123,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -137,21 +137,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -160,7 +160,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -183,21 +183,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -206,7 +206,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -220,21 +220,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -243,12 +243,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -270,21 +270,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -293,12 +293,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -306,12 +306,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findHierarchy(machineId: string): Promise<({
|
findHierarchy(machineId: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -329,21 +329,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -352,7 +352,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -375,21 +375,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -398,7 +398,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -421,21 +421,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -444,7 +444,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -458,21 +458,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -481,12 +481,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -495,21 +495,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -518,12 +518,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -532,21 +532,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -555,12 +555,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findByMachine(machineId: string): Promise<({
|
findByMachine(machineId: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -576,7 +576,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -590,21 +590,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -613,7 +613,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -634,7 +634,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -647,12 +647,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -674,21 +674,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -697,12 +697,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -710,12 +710,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findOne(id: string): Promise<({
|
findOne(id: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -731,7 +731,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -745,21 +745,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -768,7 +768,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -791,21 +791,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -814,7 +814,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -828,21 +828,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -851,12 +851,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -878,21 +878,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -901,12 +901,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -914,12 +914,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}) | null>;
|
}) | null>;
|
||||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -935,7 +935,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -949,21 +949,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -972,7 +972,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -995,21 +995,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1018,7 +1018,7 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -1032,21 +1032,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1055,12 +1055,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1082,21 +1082,21 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -1105,12 +1105,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1118,12 +1118,12 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
remove(id: string): Promise<{
|
remove(id: string): Promise<{
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1131,11 +1131,11 @@ export declare class ComposantsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|||||||
272
dist/composants/composants.service.d.ts
vendored
272
dist/composants/composants.service.d.ts
vendored
@@ -17,7 +17,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -29,7 +29,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -50,7 +50,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -63,12 +63,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -89,12 +89,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -102,12 +102,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
findAll(): Promise<({
|
findAll(): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -123,7 +123,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -137,21 +137,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -160,7 +160,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -183,21 +183,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -206,7 +206,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -220,21 +220,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -243,12 +243,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -270,21 +270,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -293,12 +293,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -306,12 +306,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findOne(id: string): Promise<({
|
findOne(id: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -327,7 +327,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -341,21 +341,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -364,7 +364,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -387,21 +387,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -410,7 +410,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -424,21 +424,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -447,12 +447,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -474,21 +474,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -497,12 +497,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -510,12 +510,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}) | null>;
|
}) | null>;
|
||||||
findByMachine(machineId: string): Promise<({
|
findByMachine(machineId: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -531,7 +531,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -545,21 +545,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -568,7 +568,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -589,7 +589,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -602,12 +602,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -629,21 +629,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -652,12 +652,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -665,12 +665,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findHierarchy(machineId: string): Promise<({
|
findHierarchy(machineId: string): Promise<({
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -688,21 +688,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -711,7 +711,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -734,21 +734,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -757,7 +757,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -780,21 +780,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -803,7 +803,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -817,21 +817,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -840,12 +840,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -854,21 +854,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -877,12 +877,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -891,21 +891,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -914,12 +914,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||||
typeComposant: {
|
typeComposant: {
|
||||||
@@ -935,7 +935,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -949,21 +949,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -972,7 +972,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -995,21 +995,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1018,7 +1018,7 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -1032,21 +1032,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1055,12 +1055,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1082,21 +1082,21 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
parentComposant: {
|
parentComposant: {
|
||||||
@@ -1105,12 +1105,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1118,12 +1118,12 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
remove(id: string): Promise<{
|
remove(id: string): Promise<{
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1131,11 +1131,11 @@ export declare class ComposantsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|||||||
44
dist/custom-fields/custom-fields.controller.d.ts
vendored
44
dist/custom-fields/custom-fields.controller.d.ts
vendored
@@ -10,21 +10,21 @@ export declare class CustomFieldsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
|
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
|
||||||
@@ -34,21 +34,21 @@ export declare class CustomFieldsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findOneCustomFieldValue(id: string): Promise<({
|
findOneCustomFieldValue(id: string): Promise<({
|
||||||
@@ -58,21 +58,21 @@ export declare class CustomFieldsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}) | null>;
|
}) | null>;
|
||||||
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
|
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
|
||||||
@@ -82,31 +82,31 @@ export declare class CustomFieldsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
removeCustomFieldValue(id: string): Promise<{
|
removeCustomFieldValue(id: string): Promise<{
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
upsertCustomFieldValue(body: {
|
upsertCustomFieldValue(body: {
|
||||||
@@ -121,21 +121,21 @@ export declare class CustomFieldsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|||||||
44
dist/custom-fields/custom-fields.service.d.ts
vendored
44
dist/custom-fields/custom-fields.service.d.ts
vendored
@@ -10,21 +10,21 @@ export declare class CustomFieldsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
|
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
|
||||||
@@ -34,21 +34,21 @@ export declare class CustomFieldsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[]>;
|
})[]>;
|
||||||
findOneCustomFieldValue(id: string): Promise<({
|
findOneCustomFieldValue(id: string): Promise<({
|
||||||
@@ -58,21 +58,21 @@ export declare class CustomFieldsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}) | null>;
|
}) | null>;
|
||||||
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
|
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
|
||||||
@@ -82,31 +82,31 @@ export declare class CustomFieldsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
removeCustomFieldValue(id: string): Promise<{
|
removeCustomFieldValue(id: string): Promise<{
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{
|
upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{
|
||||||
@@ -116,21 +116,21 @@ export declare class CustomFieldsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|||||||
56
dist/documents/documents.controller.d.ts
vendored
56
dist/documents/documents.controller.d.ts
vendored
@@ -10,7 +10,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -22,12 +22,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -35,7 +35,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -62,7 +62,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -74,12 +74,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -87,7 +87,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -114,7 +114,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -126,12 +126,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -139,7 +139,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -166,7 +166,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -178,12 +178,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -191,7 +191,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -218,7 +218,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -230,12 +230,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -243,7 +243,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -270,7 +270,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -282,12 +282,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -295,7 +295,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -322,7 +322,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -334,12 +334,12 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -347,7 +347,7 @@ export declare class DocumentsController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
|
|||||||
56
dist/documents/documents.service.d.ts
vendored
56
dist/documents/documents.service.d.ts
vendored
@@ -10,7 +10,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -22,12 +22,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -35,7 +35,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -62,7 +62,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -74,12 +74,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -87,7 +87,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -114,7 +114,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -126,12 +126,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -139,7 +139,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -166,7 +166,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -178,12 +178,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -191,7 +191,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -218,7 +218,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -230,12 +230,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -243,7 +243,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -270,7 +270,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -282,12 +282,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -295,7 +295,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -322,7 +322,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -334,12 +334,12 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
piece: {
|
piece: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -347,7 +347,7 @@ export declare class DocumentsService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
|
|||||||
220
dist/machines/machines.controller.d.ts
vendored
220
dist/machines/machines.controller.d.ts
vendored
@@ -18,12 +18,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -46,21 +46,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -69,7 +69,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -92,21 +92,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -115,7 +115,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -128,12 +128,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -141,12 +141,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -168,21 +168,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -191,7 +191,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -212,12 +212,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -240,21 +240,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -263,7 +263,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -286,21 +286,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -309,7 +309,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -322,12 +322,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -336,21 +336,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -359,12 +359,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -386,21 +386,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -409,7 +409,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -430,12 +430,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -458,21 +458,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -481,7 +481,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -504,21 +504,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -527,7 +527,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -540,12 +540,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -554,21 +554,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -577,12 +577,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -604,21 +604,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -627,7 +627,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -648,12 +648,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -674,7 +674,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -695,7 +695,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -708,12 +708,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -721,12 +721,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -748,21 +748,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -771,7 +771,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -783,7 +783,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -804,12 +804,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -832,21 +832,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -855,7 +855,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -878,21 +878,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -901,7 +901,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -914,12 +914,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -928,21 +928,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -951,12 +951,12 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -978,21 +978,21 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1001,7 +1001,7 @@ export declare class MachinesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
|
|||||||
220
dist/machines/machines.service.d.ts
vendored
220
dist/machines/machines.service.d.ts
vendored
@@ -18,12 +18,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -46,21 +46,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -69,7 +69,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -92,21 +92,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -115,7 +115,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -128,12 +128,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -141,12 +141,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -168,21 +168,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -191,7 +191,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -215,12 +215,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -243,21 +243,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -266,7 +266,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -289,21 +289,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -312,7 +312,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -325,12 +325,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -339,21 +339,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -362,12 +362,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -389,21 +389,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -412,7 +412,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -433,12 +433,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -461,21 +461,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -484,7 +484,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -507,21 +507,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -530,7 +530,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -543,12 +543,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -557,21 +557,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -580,12 +580,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -607,21 +607,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -630,7 +630,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -651,12 +651,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -677,7 +677,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -698,7 +698,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -711,12 +711,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -724,12 +724,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -751,21 +751,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -774,7 +774,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -786,7 +786,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -807,12 +807,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -835,21 +835,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -858,7 +858,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -881,21 +881,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -904,7 +904,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -917,12 +917,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFieldValues: ({
|
customFieldValues: ({
|
||||||
customField: {
|
customField: {
|
||||||
@@ -931,21 +931,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -954,12 +954,12 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -981,21 +981,21 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
};
|
};
|
||||||
} & {
|
} & {
|
||||||
id: string;
|
id: string;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
value: string;
|
|
||||||
customFieldId: string;
|
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
composantId: string | null;
|
composantId: string | null;
|
||||||
|
value: string;
|
||||||
|
customFieldId: string;
|
||||||
pieceId: string | null;
|
pieceId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
@@ -1004,7 +1004,7 @@ export declare class MachinesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
|
|||||||
4
dist/machines/machines.service.js
vendored
4
dist/machines/machines.service.js
vendored
@@ -123,7 +123,7 @@ let MachinesService = class MachinesService {
|
|||||||
data: {
|
data: {
|
||||||
name: component.name,
|
name: component.name,
|
||||||
reference: component.reference || '',
|
reference: component.reference || '',
|
||||||
prestataire: component.prestataire || '',
|
constructeur: component.constructeur || '',
|
||||||
emplacement: component.emplacement || '',
|
emplacement: component.emplacement || '',
|
||||||
prix: component.prix || null,
|
prix: component.prix || null,
|
||||||
machineId,
|
machineId,
|
||||||
@@ -180,7 +180,7 @@ let MachinesService = class MachinesService {
|
|||||||
data: {
|
data: {
|
||||||
name: piece.name,
|
name: piece.name,
|
||||||
reference: piece.reference || '',
|
reference: piece.reference || '',
|
||||||
prestataire: piece.prestataire || '',
|
constructeur: piece.constructeur || '',
|
||||||
emplacement: piece.emplacement || '',
|
emplacement: piece.emplacement || '',
|
||||||
prix: piece.prix || null,
|
prix: piece.prix || null,
|
||||||
composantId: createdComposant.id,
|
composantId: createdComposant.id,
|
||||||
|
|||||||
2
dist/machines/machines.service.js.map
vendored
2
dist/machines/machines.service.js.map
vendored
File diff suppressed because one or more lines are too long
14
dist/main.js
vendored
14
dist/main.js
vendored
@@ -5,8 +5,18 @@ const common_1 = require("@nestjs/common");
|
|||||||
const app_module_1 = require("./app.module");
|
const app_module_1 = require("./app.module");
|
||||||
async function bootstrap() {
|
async function bootstrap() {
|
||||||
const app = await core_1.NestFactory.create(app_module_1.AppModule);
|
const app = await core_1.NestFactory.create(app_module_1.AppModule);
|
||||||
|
const allowedOrigins = process.env.CORS_ORIGIN
|
||||||
|
? process.env.CORS_ORIGIN.split(',').map(origin => origin.trim())
|
||||||
|
: ['http://localhost:3001'];
|
||||||
app.enableCors({
|
app.enableCors({
|
||||||
origin: process.env.CORS_ORIGIN || 'http://localhost:3001',
|
origin: (origin, callback) => {
|
||||||
|
if (!origin || allowedOrigins.includes(origin)) {
|
||||||
|
callback(null, true);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
callback(new Error(`Origin ${origin} not allowed by CORS`));
|
||||||
|
}
|
||||||
|
},
|
||||||
credentials: true,
|
credentials: true,
|
||||||
});
|
});
|
||||||
app.useGlobalPipes(new common_1.ValidationPipe({
|
app.useGlobalPipes(new common_1.ValidationPipe({
|
||||||
@@ -16,7 +26,7 @@ async function bootstrap() {
|
|||||||
}));
|
}));
|
||||||
const apiPrefix = process.env.API_PREFIX || 'api';
|
const apiPrefix = process.env.API_PREFIX || 'api';
|
||||||
app.setGlobalPrefix(apiPrefix);
|
app.setGlobalPrefix(apiPrefix);
|
||||||
const port = process.env.PORT || 3000;
|
const port = Number(process.env.PORT) || 3000;
|
||||||
await app.listen(port);
|
await app.listen(port);
|
||||||
console.log(`Application is running on: http://localhost:${port}`);
|
console.log(`Application is running on: http://localhost:${port}`);
|
||||||
console.log(`Environment: ${process.env.NODE_ENV || 'development'}`);
|
console.log(`Environment: ${process.env.NODE_ENV || 'development'}`);
|
||||||
|
|||||||
2
dist/main.js.map
vendored
2
dist/main.js.map
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,2CAAgD;AAChD,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAC,sBAAS,CAAC,CAAC;IAGhD,GAAG,CAAC,UAAU,CAAC;QACb,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,WAAW,IAAI,uBAAuB;QAC1D,WAAW,EAAE,IAAI;KAClB,CAAC,CAAC;IAGH,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;IAGJ,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,KAAK,CAAC;IAClD,GAAG,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAE/B,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,IAAI,CAAC;IACtC,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;AACD,SAAS,EAAE,CAAC"}
|
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":";;AAAA,uCAA2C;AAC3C,2CAAgD;AAChD,6CAAyC;AAEzC,KAAK,UAAU,SAAS;IACtB,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAC,sBAAS,CAAC,CAAC;IAGhD,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"}
|
||||||
50
dist/pieces/pieces.controller.d.ts
vendored
50
dist/pieces/pieces.controller.d.ts
vendored
@@ -17,7 +17,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -29,12 +29,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -55,7 +55,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -76,7 +76,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -88,12 +88,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -114,7 +114,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -135,7 +135,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -147,12 +147,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -173,7 +173,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -194,7 +194,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -206,12 +206,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -232,7 +232,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -253,7 +253,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -265,12 +265,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -291,7 +291,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -312,7 +312,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -324,12 +324,12 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -350,7 +350,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -363,7 +363,7 @@ export declare class PiecesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
|
|||||||
50
dist/pieces/pieces.service.d.ts
vendored
50
dist/pieces/pieces.service.d.ts
vendored
@@ -17,7 +17,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -29,12 +29,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -55,7 +55,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -76,7 +76,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -88,12 +88,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -114,7 +114,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -135,7 +135,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -147,12 +147,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -173,7 +173,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -194,7 +194,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -206,12 +206,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -232,7 +232,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -253,7 +253,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -265,12 +265,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -291,7 +291,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -312,7 +312,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -324,12 +324,12 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
documents: {
|
documents: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -350,7 +350,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -363,7 +363,7 @@ export declare class PiecesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
|
|||||||
4
dist/shared/dto/composant.dto.d.ts
vendored
4
dist/shared/dto/composant.dto.d.ts
vendored
@@ -3,7 +3,7 @@ export declare class CreateComposantDto {
|
|||||||
machineId?: string;
|
machineId?: string;
|
||||||
parentComposantId?: string;
|
parentComposantId?: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: number | null;
|
prix?: number | null;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typeComposantId?: string;
|
typeComposantId?: string;
|
||||||
@@ -11,7 +11,7 @@ export declare class CreateComposantDto {
|
|||||||
export declare class UpdateComposantDto {
|
export declare class UpdateComposantDto {
|
||||||
name?: string;
|
name?: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: number | null;
|
prix?: number | null;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typeComposantId?: string;
|
typeComposantId?: string;
|
||||||
|
|||||||
8
dist/shared/dto/composant.dto.js
vendored
8
dist/shared/dto/composant.dto.js
vendored
@@ -17,7 +17,7 @@ class CreateComposantDto {
|
|||||||
machineId;
|
machineId;
|
||||||
parentComposantId;
|
parentComposantId;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typeComposantId;
|
typeComposantId;
|
||||||
@@ -46,7 +46,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], CreateComposantDto.prototype, "prestataire", void 0);
|
], CreateComposantDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||||
@@ -66,7 +66,7 @@ __decorate([
|
|||||||
class UpdateComposantDto {
|
class UpdateComposantDto {
|
||||||
name;
|
name;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typeComposantId;
|
typeComposantId;
|
||||||
@@ -86,7 +86,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], UpdateComposantDto.prototype, "prestataire", void 0);
|
], UpdateComposantDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||||
|
|||||||
2
dist/shared/dto/composant.dto.js.map
vendored
2
dist/shared/dto/composant.dto.js.map
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"composant.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/composant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,kBAAkB;IAE7B,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,iBAAiB,CAAU;IAI3B,SAAS,CAAU;IAInB,WAAW,CAAU;IAKrB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,eAAe,CAAU;CAC1B;AAhCD,gDAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;gDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACgB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc;AAG3B,MAAa,kBAAkB;IAG7B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,WAAW,CAAU;IAKrB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,eAAe,CAAU;CAC1B;AAzBD,gDAyBC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc"}
|
{"version":3,"file":"composant.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/composant.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,kBAAkB;IAE7B,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,iBAAiB,CAAU;IAI3B,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,eAAe,CAAU;CAC1B;AAhCD,gDAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;gDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACgB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc;AAG3B,MAAa,kBAAkB;IAG7B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,eAAe,CAAU;CAC1B;AAzBD,gDAyBC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;gDACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACc"}
|
||||||
4
dist/shared/dto/machine.dto.d.ts
vendored
4
dist/shared/dto/machine.dto.d.ts
vendored
@@ -2,7 +2,7 @@ export declare class CreateMachineDto {
|
|||||||
name: string;
|
name: string;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: string;
|
prix?: string;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typeMachineId?: string;
|
typeMachineId?: string;
|
||||||
@@ -10,7 +10,7 @@ export declare class CreateMachineDto {
|
|||||||
export declare class UpdateMachineDto {
|
export declare class UpdateMachineDto {
|
||||||
name?: string;
|
name?: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: string;
|
prix?: string;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typeMachineId?: string;
|
typeMachineId?: string;
|
||||||
|
|||||||
8
dist/shared/dto/machine.dto.js
vendored
8
dist/shared/dto/machine.dto.js
vendored
@@ -15,7 +15,7 @@ class CreateMachineDto {
|
|||||||
name;
|
name;
|
||||||
siteId;
|
siteId;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typeMachineId;
|
typeMachineId;
|
||||||
@@ -38,7 +38,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], CreateMachineDto.prototype, "prestataire", void 0);
|
], CreateMachineDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsDecimal)(),
|
(0, class_validator_1.IsDecimal)(),
|
||||||
@@ -57,7 +57,7 @@ __decorate([
|
|||||||
class UpdateMachineDto {
|
class UpdateMachineDto {
|
||||||
name;
|
name;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typeMachineId;
|
typeMachineId;
|
||||||
@@ -77,7 +77,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], UpdateMachineDto.prototype, "prestataire", void 0);
|
], UpdateMachineDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsDecimal)(),
|
(0, class_validator_1.IsDecimal)(),
|
||||||
|
|||||||
2
dist/shared/dto/machine.dto.js.map
vendored
2
dist/shared/dto/machine.dto.js.map
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"machine.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAE5E,MAAa,gBAAgB;IAE3B,IAAI,CAAS;IAGb,MAAM,CAAS;IAIf,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AA1BD,4CA0BC;AAxBC;IADC,IAAA,0BAAQ,GAAE;;8CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY;AAGzB,MAAa,gBAAgB;IAG3B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AAxBD,4CAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY"}
|
{"version":3,"file":"machine.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAE5E,MAAa,gBAAgB;IAE3B,IAAI,CAAS;IAGb,MAAM,CAAS;IAIf,SAAS,CAAU;IAInB,YAAY,CAAU;IAItB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AA1BD,4CA0BC;AAxBC;IADC,IAAA,0BAAQ,GAAE;;8CACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;gDACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY;AAGzB,MAAa,gBAAgB;IAG3B,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,YAAY,CAAU;IAItB,IAAI,CAAU;IAId,WAAW,CAAU;IAIrB,aAAa,CAAU;CACxB;AAxBD,4CAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACW;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;8CACE;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACY"}
|
||||||
4
dist/shared/dto/piece.dto.d.ts
vendored
4
dist/shared/dto/piece.dto.d.ts
vendored
@@ -3,7 +3,7 @@ export declare class CreatePieceDto {
|
|||||||
machineId?: string;
|
machineId?: string;
|
||||||
composantId?: string;
|
composantId?: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: number | null;
|
prix?: number | null;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typePieceId?: string;
|
typePieceId?: string;
|
||||||
@@ -11,7 +11,7 @@ export declare class CreatePieceDto {
|
|||||||
export declare class UpdatePieceDto {
|
export declare class UpdatePieceDto {
|
||||||
name?: string;
|
name?: string;
|
||||||
reference?: string;
|
reference?: string;
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
prix?: number | null;
|
prix?: number | null;
|
||||||
emplacement?: string;
|
emplacement?: string;
|
||||||
typePieceId?: string;
|
typePieceId?: string;
|
||||||
|
|||||||
8
dist/shared/dto/piece.dto.js
vendored
8
dist/shared/dto/piece.dto.js
vendored
@@ -17,7 +17,7 @@ class CreatePieceDto {
|
|||||||
machineId;
|
machineId;
|
||||||
composantId;
|
composantId;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typePieceId;
|
typePieceId;
|
||||||
@@ -46,7 +46,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], CreatePieceDto.prototype, "prestataire", void 0);
|
], CreatePieceDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||||
@@ -66,7 +66,7 @@ __decorate([
|
|||||||
class UpdatePieceDto {
|
class UpdatePieceDto {
|
||||||
name;
|
name;
|
||||||
reference;
|
reference;
|
||||||
prestataire;
|
constructeur;
|
||||||
prix;
|
prix;
|
||||||
emplacement;
|
emplacement;
|
||||||
typePieceId;
|
typePieceId;
|
||||||
@@ -86,7 +86,7 @@ __decorate([
|
|||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_validator_1.IsString)(),
|
(0, class_validator_1.IsString)(),
|
||||||
__metadata("design:type", String)
|
__metadata("design:type", String)
|
||||||
], UpdatePieceDto.prototype, "prestataire", void 0);
|
], UpdatePieceDto.prototype, "constructeur", void 0);
|
||||||
__decorate([
|
__decorate([
|
||||||
(0, class_validator_1.IsOptional)(),
|
(0, class_validator_1.IsOptional)(),
|
||||||
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
(0, class_transformer_1.Transform)(({ value }) => value === '' ? null : value),
|
||||||
|
|||||||
2
dist/shared/dto/piece.dto.js.map
vendored
2
dist/shared/dto/piece.dto.js.map
vendored
@@ -1 +1 @@
|
|||||||
{"version":3,"file":"piece.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/piece.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,cAAc;IAEzB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,SAAS,CAAU;IAInB,WAAW,CAAU;IAKrB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAhCD,wCAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAGvB,MAAa,cAAc;IAGzB,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,WAAW,CAAU;IAKrB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAzBD,wCAyBC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU"}
|
{"version":3,"file":"piece.dto.js","sourceRoot":"","sources":["../../../src/shared/dto/piece.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,yDAA8C;AAE9C,MAAa,cAAc;IAEzB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,WAAW,CAAU;IAIrB,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAhCD,wCAgCC;AA9BC;IADC,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAGvB,MAAa,cAAc;IAGzB,IAAI,CAAU;IAId,SAAS,CAAU;IAInB,YAAY,CAAU;IAKtB,IAAI,CAAiB;IAIrB,WAAW,CAAU;IAIrB,WAAW,CAAU;CACtB;AAzBD,wCAyBC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACQ;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACW;AAKtB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC;IACrD,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,OAAO,EAAE,6BAA6B,EAAE,CAAC;;4CACpC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACU"}
|
||||||
28
dist/sites/sites.controller.d.ts
vendored
28
dist/sites/sites.controller.d.ts
vendored
@@ -31,7 +31,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -52,7 +52,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -65,12 +65,12 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -78,12 +78,12 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -91,7 +91,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -125,7 +125,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -146,7 +146,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -159,12 +159,12 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -172,12 +172,12 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -185,7 +185,7 @@ export declare class SitesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
|
|||||||
28
dist/sites/sites.service.d.ts
vendored
28
dist/sites/sites.service.d.ts
vendored
@@ -31,7 +31,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -52,7 +52,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -65,12 +65,12 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -78,12 +78,12 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -91,7 +91,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -125,7 +125,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -146,7 +146,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -159,12 +159,12 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -172,12 +172,12 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
})[];
|
})[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -185,7 +185,7 @@ export declare class SitesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
|
|||||||
2
dist/tsconfig.build.tsbuildinfo
vendored
2
dist/tsconfig.build.tsbuildinfo
vendored
File diff suppressed because one or more lines are too long
64
dist/types/types.controller.d.ts
vendored
64
dist/types/types.controller.d.ts
vendored
@@ -10,12 +10,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -37,7 +37,7 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -49,12 +49,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -76,7 +76,7 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -88,12 +88,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -115,12 +115,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -155,12 +155,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -176,12 +176,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFields: {
|
customFields: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -189,12 +189,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -210,12 +210,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFields: {
|
customFields: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -223,12 +223,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -244,12 +244,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -272,12 +272,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -293,7 +293,7 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -306,12 +306,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -327,7 +327,7 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -340,12 +340,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -361,12 +361,12 @@ export declare class TypesController {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
64
dist/types/types.service.d.ts
vendored
64
dist/types/types.service.d.ts
vendored
@@ -10,12 +10,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -37,7 +37,7 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -49,12 +49,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -76,7 +76,7 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
siteId: string;
|
siteId: string;
|
||||||
@@ -88,12 +88,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -115,12 +115,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -155,12 +155,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -176,12 +176,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFields: {
|
customFields: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -189,12 +189,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -210,12 +210,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
typeComposantId: string | null;
|
|
||||||
parentComposantId: string | null;
|
parentComposantId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
}[];
|
}[];
|
||||||
customFields: {
|
customFields: {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -223,12 +223,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -244,12 +244,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -272,12 +272,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -293,7 +293,7 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -306,12 +306,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -327,7 +327,7 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
reference: string | null;
|
reference: string | null;
|
||||||
prestataire: string | null;
|
constructeur: string | null;
|
||||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||||
emplacement: string | null;
|
emplacement: string | null;
|
||||||
machineId: string | null;
|
machineId: string | null;
|
||||||
@@ -340,12 +340,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -361,12 +361,12 @@ export declare class TypesService {
|
|||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
typeMachineId: string | null;
|
typeMachineId: string | null;
|
||||||
|
typePieceId: string | null;
|
||||||
|
typeComposantId: string | null;
|
||||||
type: string;
|
type: string;
|
||||||
required: boolean;
|
required: boolean;
|
||||||
defaultValue: string | null;
|
defaultValue: string | null;
|
||||||
options: string[];
|
options: string[];
|
||||||
typeComposantId: string | null;
|
|
||||||
typePieceId: string | null;
|
|
||||||
}[];
|
}[];
|
||||||
} & {
|
} & {
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE "machines" RENAME COLUMN "prestataire" TO "constructeur";
|
||||||
|
ALTER TABLE "composants" RENAME COLUMN "prestataire" TO "constructeur";
|
||||||
|
ALTER TABLE "pieces" RENAME COLUMN "prestataire" TO "constructeur";
|
||||||
@@ -76,7 +76,7 @@ model Machine {
|
|||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String
|
name String
|
||||||
reference String?
|
reference String?
|
||||||
prestataire String?
|
constructeur String?
|
||||||
prix Decimal? @db.Decimal(10, 2)
|
prix Decimal? @db.Decimal(10, 2)
|
||||||
emplacement String?
|
emplacement String?
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
@@ -101,7 +101,7 @@ model Composant {
|
|||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String
|
name String
|
||||||
reference String?
|
reference String?
|
||||||
prestataire String?
|
constructeur String?
|
||||||
prix Decimal? @db.Decimal(10, 2)
|
prix Decimal? @db.Decimal(10, 2)
|
||||||
emplacement String?
|
emplacement String?
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
@@ -129,7 +129,7 @@ model Piece {
|
|||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
name String
|
name String
|
||||||
reference String?
|
reference String?
|
||||||
prestataire String?
|
constructeur String?
|
||||||
prix Decimal? @db.Decimal(10, 2)
|
prix Decimal? @db.Decimal(10, 2)
|
||||||
emplacement String?
|
emplacement String?
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ export class MachinesService {
|
|||||||
data: {
|
data: {
|
||||||
name: component.name,
|
name: component.name,
|
||||||
reference: component.reference || '',
|
reference: component.reference || '',
|
||||||
prestataire: component.prestataire || '',
|
constructeur: component.constructeur || '',
|
||||||
emplacement: component.emplacement || '',
|
emplacement: component.emplacement || '',
|
||||||
prix: component.prix || null,
|
prix: component.prix || null,
|
||||||
machineId,
|
machineId,
|
||||||
@@ -202,7 +202,7 @@ export class MachinesService {
|
|||||||
data: {
|
data: {
|
||||||
name: piece.name,
|
name: piece.name,
|
||||||
reference: piece.reference || '',
|
reference: piece.reference || '',
|
||||||
prestataire: piece.prestataire || '',
|
constructeur: piece.constructeur || '',
|
||||||
emplacement: piece.emplacement || '',
|
emplacement: piece.emplacement || '',
|
||||||
prix: piece.prix || null,
|
prix: piece.prix || null,
|
||||||
composantId: createdComposant.id,
|
composantId: createdComposant.id,
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export class CreateComposantDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@Transform(({ value }) => value === '' ? null : value)
|
@Transform(({ value }) => value === '' ? null : value)
|
||||||
@@ -46,7 +46,7 @@ export class UpdateComposantDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@Transform(({ value }) => value === '' ? null : value)
|
@Transform(({ value }) => value === '' ? null : value)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export class CreateMachineDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsDecimal()
|
@IsDecimal()
|
||||||
@@ -39,7 +39,7 @@ export class UpdateMachineDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsDecimal()
|
@IsDecimal()
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ export class CreatePieceDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@Transform(({ value }) => value === '' ? null : value)
|
@Transform(({ value }) => value === '' ? null : value)
|
||||||
@@ -46,7 +46,7 @@ export class UpdatePieceDto {
|
|||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@IsString()
|
@IsString()
|
||||||
prestataire?: string;
|
constructeur?: string;
|
||||||
|
|
||||||
@IsOptional()
|
@IsOptional()
|
||||||
@Transform(({ value }) => value === '' ? null : value)
|
@Transform(({ value }) => value === '' ? null : value)
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ if [ -n "$SITE_ID" ]; then
|
|||||||
\"name\": \"Presse HP-2000\",
|
\"name\": \"Presse HP-2000\",
|
||||||
\"siteId\": \"$SITE_ID\",
|
\"siteId\": \"$SITE_ID\",
|
||||||
\"reference\": \"HP-2000-001\",
|
\"reference\": \"HP-2000-001\",
|
||||||
\"prestataire\": \"IndustriePress\",
|
\"constructeur\": \"IndustriePress\",
|
||||||
\"prix\": \"150000.00\",
|
\"prix\": \"150000.00\",
|
||||||
\"emplacement\": \"Zone A - Secteur 3\"
|
\"emplacement\": \"Zone A - Secteur 3\"
|
||||||
}")
|
}")
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ MACHINE_RESPONSE=$(curl -s -X POST $BASE_URL/machines \
|
|||||||
\"name\": \"Convoyeur CB-500\",
|
\"name\": \"Convoyeur CB-500\",
|
||||||
\"siteId\": \"$SITE_ID\",
|
\"siteId\": \"$SITE_ID\",
|
||||||
\"reference\": \"CB-500-001\",
|
\"reference\": \"CB-500-001\",
|
||||||
\"prestataire\": \"TransportTech\",
|
\"constructeur\": \"TransportTech\",
|
||||||
\"prix\": \"75000.00\",
|
\"prix\": \"75000.00\",
|
||||||
\"emplacement\": \"Zone B - Secteur 1\",
|
\"emplacement\": \"Zone B - Secteur 1\",
|
||||||
\"typeMachineId\": \"$TYPE_MACHINE_ID\"
|
\"typeMachineId\": \"$TYPE_MACHINE_ID\"
|
||||||
@@ -133,7 +133,7 @@ COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/composants \
|
|||||||
\"name\": \"Moteur Principal\",
|
\"name\": \"Moteur Principal\",
|
||||||
\"machineId\": \"$MACHINE_ID\",
|
\"machineId\": \"$MACHINE_ID\",
|
||||||
\"reference\": \"MP-001\",
|
\"reference\": \"MP-001\",
|
||||||
\"prestataire\": \"MotorTech\",
|
\"constructeur\": \"MotorTech\",
|
||||||
\"prix\": \"15000.00\",
|
\"prix\": \"15000.00\",
|
||||||
\"emplacement\": \"Zone moteur\",
|
\"emplacement\": \"Zone moteur\",
|
||||||
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
|
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
|
||||||
@@ -155,7 +155,7 @@ SOUS_COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/composants \
|
|||||||
\"machineId\": \"$MACHINE_ID\",
|
\"machineId\": \"$MACHINE_ID\",
|
||||||
\"parentComposantId\": \"$COMPOSANT_ID\",
|
\"parentComposantId\": \"$COMPOSANT_ID\",
|
||||||
\"reference\": \"RV-001\",
|
\"reference\": \"RV-001\",
|
||||||
\"prestataire\": \"GearTech\",
|
\"constructeur\": \"GearTech\",
|
||||||
\"prix\": \"8000.00\",
|
\"prix\": \"8000.00\",
|
||||||
\"emplacement\": \"Zone réducteur\",
|
\"emplacement\": \"Zone réducteur\",
|
||||||
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
|
\"typeComposantId\": \"$TYPE_COMPOSANT_ID\"
|
||||||
@@ -187,7 +187,7 @@ PIECE_MACHINE_RESPONSE=$(curl -s -X POST $BASE_URL/pieces \
|
|||||||
\"name\": \"Bande Transporteuse\",
|
\"name\": \"Bande Transporteuse\",
|
||||||
\"machineId\": \"$MACHINE_ID\",
|
\"machineId\": \"$MACHINE_ID\",
|
||||||
\"reference\": \"BT-001\",
|
\"reference\": \"BT-001\",
|
||||||
\"prestataire\": \"BeltTech\",
|
\"constructeur\": \"BeltTech\",
|
||||||
\"prix\": \"5000.00\",
|
\"prix\": \"5000.00\",
|
||||||
\"emplacement\": \"Zone bande\",
|
\"emplacement\": \"Zone bande\",
|
||||||
\"typePieceId\": \"$TYPE_PIECE_ID\"
|
\"typePieceId\": \"$TYPE_PIECE_ID\"
|
||||||
@@ -208,7 +208,7 @@ PIECE_COMPOSANT_RESPONSE=$(curl -s -X POST $BASE_URL/pieces \
|
|||||||
\"name\": \"Roulement Moteur\",
|
\"name\": \"Roulement Moteur\",
|
||||||
\"composantId\": \"$COMPOSANT_ID\",
|
\"composantId\": \"$COMPOSANT_ID\",
|
||||||
\"reference\": \"RM-001\",
|
\"reference\": \"RM-001\",
|
||||||
\"prestataire\": \"BearingTech\",
|
\"constructeur\": \"BearingTech\",
|
||||||
\"prix\": \"500.00\",
|
\"prix\": \"500.00\",
|
||||||
\"emplacement\": \"Zone roulement\",
|
\"emplacement\": \"Zone roulement\",
|
||||||
\"typePieceId\": \"$TYPE_PIECE_ID\"
|
\"typePieceId\": \"$TYPE_PIECE_ID\"
|
||||||
|
|||||||
Reference in New Issue
Block a user