feat(site): add document support
This commit is contained in:
201
dist/composants/composants.controller.d.ts
vendored
201
dist/composants/composants.controller.d.ts
vendored
@@ -6,10 +6,10 @@ export declare class ComposantsController {
|
||||
create(createComposantDto: CreateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -23,6 +23,20 @@ export declare class ComposantsController {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
@@ -39,10 +53,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
@@ -70,19 +84,6 @@ export declare class ComposantsController {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
id: string;
|
||||
@@ -112,10 +113,10 @@ export declare class ComposantsController {
|
||||
findAll(): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -129,6 +130,20 @@ export declare class ComposantsController {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -150,9 +165,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -170,10 +185,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -196,9 +211,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -233,9 +248,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -250,19 +265,6 @@ export declare class ComposantsController {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -283,9 +285,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -316,10 +318,10 @@ export declare class ComposantsController {
|
||||
findHierarchy(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -342,9 +344,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -362,10 +364,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -388,9 +390,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -408,10 +410,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -434,9 +436,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -471,9 +473,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -508,9 +510,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -545,9 +547,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -565,10 +567,10 @@ export declare class ComposantsController {
|
||||
findByMachine(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -582,6 +584,20 @@ export declare class ComposantsController {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -603,9 +619,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -623,10 +639,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
@@ -654,19 +670,6 @@ export declare class ComposantsController {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -687,9 +690,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -720,10 +723,10 @@ export declare class ComposantsController {
|
||||
findOne(id: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -737,6 +740,20 @@ export declare class ComposantsController {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -758,9 +775,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -778,10 +795,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -804,9 +821,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -841,9 +858,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -858,19 +875,6 @@ export declare class ComposantsController {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -891,9 +895,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -924,10 +928,10 @@ export declare class ComposantsController {
|
||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -941,6 +945,20 @@ export declare class ComposantsController {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -962,9 +980,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -982,10 +1000,10 @@ export declare class ComposantsController {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -1008,9 +1026,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1045,9 +1063,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1062,19 +1080,6 @@ export declare class ComposantsController {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -1095,9 +1100,9 @@ export declare class ComposantsController {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
|
||||
201
dist/composants/composants.service.d.ts
vendored
201
dist/composants/composants.service.d.ts
vendored
@@ -6,10 +6,10 @@ export declare class ComposantsService {
|
||||
create(createComposantDto: CreateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -23,6 +23,20 @@ export declare class ComposantsService {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: {
|
||||
name: string;
|
||||
id: string;
|
||||
@@ -39,10 +53,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
@@ -70,19 +84,6 @@ export declare class ComposantsService {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
id: string;
|
||||
@@ -112,10 +113,10 @@ export declare class ComposantsService {
|
||||
findAll(): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -129,6 +130,20 @@ export declare class ComposantsService {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -150,9 +165,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -170,10 +185,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -196,9 +211,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -233,9 +248,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -250,19 +265,6 @@ export declare class ComposantsService {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -283,9 +285,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -316,10 +318,10 @@ export declare class ComposantsService {
|
||||
findOne(id: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -333,6 +335,20 @@ export declare class ComposantsService {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -354,9 +370,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -374,10 +390,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -400,9 +416,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -437,9 +453,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -454,19 +470,6 @@ export declare class ComposantsService {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -487,9 +490,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -520,10 +523,10 @@ export declare class ComposantsService {
|
||||
findByMachine(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -537,6 +540,20 @@ export declare class ComposantsService {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -558,9 +575,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -578,10 +595,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: {
|
||||
name: string;
|
||||
@@ -609,19 +626,6 @@ export declare class ComposantsService {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -642,9 +646,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
@@ -675,10 +679,10 @@ export declare class ComposantsService {
|
||||
findHierarchy(machineId: string): Promise<({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -701,9 +705,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -721,10 +725,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -747,9 +751,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -767,10 +771,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -793,9 +797,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -830,9 +834,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -867,9 +871,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -904,9 +908,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -924,10 +928,10 @@ export declare class ComposantsService {
|
||||
update(id: string, updateComposantDto: UpdateComposantDto): Promise<{
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
machine: {
|
||||
name: string;
|
||||
@@ -941,6 +945,20 @@ export declare class ComposantsService {
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
} | null;
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}[];
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
@@ -962,9 +980,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -982,10 +1000,10 @@ export declare class ComposantsService {
|
||||
sousComposants: ({
|
||||
typeComposant: {
|
||||
name: string;
|
||||
description: string | null;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string | null;
|
||||
} | null;
|
||||
pieces: ({
|
||||
customFieldValues: ({
|
||||
@@ -1008,9 +1026,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1045,9 +1063,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
} & {
|
||||
name: string;
|
||||
@@ -1062,19 +1080,6 @@ export declare class ComposantsService {
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
})[];
|
||||
documents: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
}[];
|
||||
customFieldValues: ({
|
||||
customField: {
|
||||
name: string;
|
||||
@@ -1095,9 +1100,9 @@ export declare class ComposantsService {
|
||||
updatedAt: Date;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
pieceId: string | null;
|
||||
})[];
|
||||
parentComposant: {
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user