UNPKG

manifest

Version:

The backend for AI code editors

9 lines (8 loc) 377 B
import { EntityManifest, PropertyManifest } from '@repo/types'; import { ValidationError } from 'class-validator'; export declare class ValidationService { validate(itemDto: any, entityManifest: EntityManifest, options?: { isUpdate?: boolean; }): ValidationError[]; validateProperty(propValue: any, propertyManifest: PropertyManifest): ValidationError[]; }