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;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -29,7 +29,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -50,7 +50,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -63,12 +63,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -89,12 +89,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -102,12 +102,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}>;
|
||||
findAll(): Promise<({
|
||||
typeComposant: {
|
||||
@@ -123,7 +123,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -137,21 +137,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -160,7 +160,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -183,21 +183,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -206,7 +206,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -220,21 +220,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -243,12 +243,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -270,21 +270,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -293,12 +293,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -306,12 +306,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
findHierarchy(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -329,21 +329,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -352,7 +352,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -375,21 +375,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -398,7 +398,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -421,21 +421,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -444,7 +444,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -458,21 +458,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -481,12 +481,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -495,21 +495,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -518,12 +518,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -532,21 +532,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -555,12 +555,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
findByMachine(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -576,7 +576,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -590,21 +590,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -613,7 +613,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -634,7 +634,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -647,12 +647,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -674,21 +674,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -697,12 +697,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -710,12 +710,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
findOne(id: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -731,7 +731,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -745,21 +745,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -768,7 +768,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -791,21 +791,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -814,7 +814,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -828,21 +828,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -851,12 +851,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -878,21 +878,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -901,12 +901,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -914,12 +914,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}) | null>;
|
||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
@@ -935,7 +935,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -949,21 +949,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -972,7 +972,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -995,21 +995,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -1018,7 +1018,7 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -1032,21 +1032,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -1055,12 +1055,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -1082,21 +1082,21 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -1105,12 +1105,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1118,12 +1118,12 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}>;
|
||||
remove(id: string): Promise<{
|
||||
name: string;
|
||||
@@ -1131,11 +1131,11 @@ export declare class ComposantsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: 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;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -29,7 +29,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -50,7 +50,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -63,12 +63,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -89,12 +89,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -102,12 +102,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}>;
|
||||
findAll(): Promise<({
|
||||
typeComposant: {
|
||||
@@ -123,7 +123,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -137,21 +137,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -160,7 +160,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -183,21 +183,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -206,7 +206,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -220,21 +220,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -243,12 +243,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -270,21 +270,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -293,12 +293,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -306,12 +306,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
findOne(id: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -327,7 +327,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -341,21 +341,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -364,7 +364,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -387,21 +387,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -410,7 +410,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -424,21 +424,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -447,12 +447,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -474,21 +474,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -497,12 +497,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -510,12 +510,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}) | null>;
|
||||
findByMachine(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -531,7 +531,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -545,21 +545,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -568,7 +568,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -589,7 +589,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -602,12 +602,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -629,21 +629,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -652,12 +652,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -665,12 +665,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
findHierarchy(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
@@ -688,21 +688,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -711,7 +711,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -734,21 +734,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -757,7 +757,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -780,21 +780,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -803,7 +803,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -817,21 +817,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -840,12 +840,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -854,21 +854,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -877,12 +877,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -891,21 +891,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -914,12 +914,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[]>;
|
||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
@@ -935,7 +935,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
@@ -949,21 +949,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -972,7 +972,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -995,21 +995,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -1018,7 +1018,7 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
@@ -1032,21 +1032,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
@@ -1055,12 +1055,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
@@ -1082,21 +1082,21 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: string | null;
|
||||
typePieceId: string | null;
|
||||
typeComposantId: string | null;
|
||||
type: string;
|
||||
required: boolean;
|
||||
defaultValue: string | null;
|
||||
options: string[];
|
||||
typeComposantId: string | null;
|
||||
typePieceId: string | null;
|
||||
};
|
||||
} & {
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
@@ -1105,12 +1105,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
} | null;
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1118,12 +1118,12 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}>;
|
||||
remove(id: string): Promise<{
|
||||
name: string;
|
||||
@@ -1131,11 +1131,11 @@ export declare class ComposantsService {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
prestataire: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
machineId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
}>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user