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

@@ -10,22 +10,22 @@ export declare class CustomFieldsController {
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;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
customField: {
@@ -34,22 +34,22 @@ export declare class CustomFieldsController {
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;
pieceId: string | null;
value: string;
customFieldId: string;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
customField: {
@@ -58,22 +58,22 @@ export declare class CustomFieldsController {
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;
pieceId: string | null;
value: string;
customFieldId: string;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
customField: {
@@ -82,32 +82,32 @@ export declare class CustomFieldsController {
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;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
createdAt: Date;
updatedAt: Date;
value: string;
customFieldId: string;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
upsertCustomFieldValue(body: {
customFieldId: string;
@@ -121,21 +121,21 @@ export declare class CustomFieldsController {
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;
pieceId: string | null;
value: string;
customFieldId: string;
}>;
}