feat(site): add document support

This commit is contained in:
Matthieu
2025-09-17 11:40:34 +02:00
parent 7671d4729d
commit 339f46ec24
30 changed files with 1044 additions and 508 deletions

View File

@@ -23,9 +23,9 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
customField: {
@@ -47,9 +47,9 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
customField: {
@@ -71,9 +71,9 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
customField: {
@@ -95,9 +95,9 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
@@ -105,9 +105,9 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
upsertCustomFieldValue(body: {
customFieldId: string;
@@ -134,8 +134,8 @@ export declare class CustomFieldsController {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
}

View File

@@ -23,9 +23,9 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
customField: {
@@ -47,9 +47,9 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
})[]>;
findOneCustomFieldValue(id: string): Promise<({
customField: {
@@ -71,9 +71,9 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}) | null>;
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
customField: {
@@ -95,9 +95,9 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
removeCustomFieldValue(id: string): Promise<{
id: string;
@@ -105,9 +105,9 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{
customField: {
@@ -129,8 +129,8 @@ export declare class CustomFieldsService {
updatedAt: Date;
machineId: string | null;
composantId: string | null;
pieceId: string | null;
value: string;
customFieldId: string;
pieceId: string | null;
}>;
}