feat: add profiles session API

This commit is contained in:
Matthieu
2025-09-17 23:11:25 +02:00
parent 83251b532c
commit df5bbeecb7
78 changed files with 3000 additions and 836 deletions

View File

@@ -17,11 +17,11 @@ export declare class PiecesController {
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;
@@ -29,12 +29,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -44,11 +52,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -56,9 +64,9 @@ export declare class PiecesController {
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;
@@ -77,11 +85,11 @@ export declare class PiecesController {
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;
@@ -89,12 +97,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -104,11 +120,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -116,9 +132,9 @@ export declare class PiecesController {
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;
@@ -137,11 +153,11 @@ export declare class PiecesController {
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;
@@ -149,12 +165,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -164,11 +188,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -176,9 +200,9 @@ export declare class PiecesController {
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;
@@ -197,11 +221,11 @@ export declare class PiecesController {
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;
@@ -209,12 +233,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -224,11 +256,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -236,9 +268,9 @@ export declare class PiecesController {
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;
@@ -257,11 +289,11 @@ export declare class PiecesController {
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;
@@ -269,12 +301,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -284,11 +324,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -296,9 +336,9 @@ export declare class PiecesController {
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 +357,11 @@ export declare class PiecesController {
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;
@@ -329,12 +369,20 @@ export declare class PiecesController {
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;
constructeur: {
name: string;
id: string;
createdAt: Date;
updatedAt: Date;
email: string | null;
phone: string | null;
} | null;
documents: {
name: string;
@@ -344,11 +392,11 @@ export declare class PiecesController {
siteId: string | null;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
filename: string;
path: string;
mimeType: string;
size: number;
pieceId: string | null;
}[];
} & {
name: string;
@@ -356,9 +404,9 @@ export declare class PiecesController {
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;
@@ -369,9 +417,9 @@ export declare class PiecesController {
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;