AutoBE
    Preparing search index...

    Interface representing a successful validation result.

    This interface is returned when the AutoBePrisma.IApplication structure passes all validation rules including:

    • No duplicate model names across all files
    • No duplicate field names within any model
    • No duplicate relation names within any model
    • All foreign key references point to existing models
    • All field types are valid and properly configured
    • All indexes follow the established rules (no single foreign key indexes)
    • All naming conventions are properly applied (plural models, snake_case fields)
    • All business constraints are satisfied
    interface ISuccess {
        data: IApplication;
        success: true;
    }
    Index

    Properties

    Properties

    The validated and approved AutoBePrisma application structure.

    This contains the complete, validation-passed schema definition that can be safely passed to the code generator for Prisma schema file creation. All models, fields, relationships, and indexes in this structure have been verified for correctness and compliance with schema rules.

    Important: This may not be identical to the original input application. The validation process can apply automatic corrections to resolve validation issues such as removing duplicates or fixing structural problems. These corrections preserve the original business intent while ensuring schema consistency and data integrity.

    success: true

    Validation success indicator.

    Always true for successful validation results. This discriminator property allows TypeScript to properly narrow the union type and provides runtime type checking for validation result processing.