feat: add profiles session API
This commit is contained in:
82
dist/documents/documents.controller.d.ts
vendored
82
dist/documents/documents.controller.d.ts
vendored
@@ -21,11 +21,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -33,12 +33,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -46,9 +46,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -61,11 +61,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}>;
|
||||
findAll(): Promise<({
|
||||
site: {
|
||||
@@ -85,11 +85,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -97,12 +97,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -110,9 +110,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -125,11 +125,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
})[]>;
|
||||
findByMachine(machineId: string): Promise<({
|
||||
site: {
|
||||
@@ -149,11 +149,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -161,12 +161,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -174,9 +174,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -189,11 +189,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
})[]>;
|
||||
findByComposant(composantId: string): Promise<({
|
||||
site: {
|
||||
@@ -213,11 +213,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -225,12 +225,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -238,9 +238,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -253,11 +253,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
})[]>;
|
||||
findByPiece(pieceId: string): Promise<({
|
||||
site: {
|
||||
@@ -277,11 +277,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -289,12 +289,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -302,9 +302,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -317,11 +317,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
})[]>;
|
||||
findBySite(siteId: string): Promise<({
|
||||
site: {
|
||||
@@ -341,11 +341,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -353,12 +353,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -366,9 +366,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -381,11 +381,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
})[]>;
|
||||
findOne(id: string): Promise<({
|
||||
site: {
|
||||
@@ -405,11 +405,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -417,12 +417,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -430,9 +430,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -445,11 +445,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}) | null>;
|
||||
update(id: string, updateDocumentDto: UpdateDocumentDto): Promise<{
|
||||
site: {
|
||||
@@ -469,11 +469,11 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
siteId: string;
|
||||
typeMachineId: string | null;
|
||||
constructeurId: string | null;
|
||||
} | null;
|
||||
composant: {
|
||||
name: string;
|
||||
@@ -481,12 +481,12 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
parentComposantId: string | null;
|
||||
typeComposantId: string | null;
|
||||
parentComposantId: string | null;
|
||||
} | null;
|
||||
piece: {
|
||||
name: string;
|
||||
@@ -494,9 +494,9 @@ export declare class DocumentsController {
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
reference: string | null;
|
||||
constructeur: string | null;
|
||||
prix: import("@prisma/client/runtime/library").Decimal | null;
|
||||
emplacement: string | null;
|
||||
constructeurId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
typePieceId: string | null;
|
||||
@@ -509,11 +509,11 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}>;
|
||||
remove(id: string): Promise<{
|
||||
name: string;
|
||||
@@ -523,10 +523,10 @@ export declare class DocumentsController {
|
||||
siteId: string | null;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
filename: string;
|
||||
path: string;
|
||||
mimeType: string;
|
||||
size: number;
|
||||
pieceId: string | null;
|
||||
}>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user