build: Fichiers de build générés - Ajout des fichiers TypeScript compilés et des déclarations de types
This commit is contained in:
136
dist/custom-fields/custom-fields.service.d.ts
vendored
Normal file
136
dist/custom-fields/custom-fields.service.d.ts
vendored
Normal file
@@ -0,0 +1,136 @@
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { CreateCustomFieldValueDto, UpdateCustomFieldValueDto } from '../shared/dto/custom-field.dto';
|
||||
export declare class CustomFieldsService {
|
||||
private prisma;
|
||||
constructor(prisma: PrismaService);
|
||||
createCustomFieldValue(createCustomFieldValueDto: CreateCustomFieldValueDto): Promise<{
|
||||
customField: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: 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;
|
||||
}>;
|
||||
findCustomFieldValuesByEntity(entityType: string, entityId: string): Promise<({
|
||||
customField: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: 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;
|
||||
})[]>;
|
||||
findOneCustomFieldValue(id: string): Promise<({
|
||||
customField: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: 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;
|
||||
}) | null>;
|
||||
updateCustomFieldValue(id: string, updateCustomFieldValueDto: UpdateCustomFieldValueDto): Promise<{
|
||||
customField: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: 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;
|
||||
}>;
|
||||
removeCustomFieldValue(id: string): Promise<{
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
value: string;
|
||||
customFieldId: string;
|
||||
machineId: string | null;
|
||||
composantId: string | null;
|
||||
pieceId: string | null;
|
||||
}>;
|
||||
upsertCustomFieldValue(customFieldId: string, entityType: string, entityId: string, value: string): Promise<{
|
||||
customField: {
|
||||
name: string;
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
typeMachineId: 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;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user