AutoBE
    Preparing search index...

    Interface representing a single Prisma schema file within the application.

    Each file focuses on a specific business domain and contains related models. File organization follows domain-driven design principles as seen in the uploaded schemas.

    interface IFile {
        filename: string & Pattern<"^[a-zA-Z0-9._-]+\\.prisma$">;
        models: IModel[] & MinItems<1>;
        namespace: string;
    }
    Index

    Properties

    filename: string & Pattern<"^[a-zA-Z0-9._-]+\\.prisma$">

    Name of the schema file to be generated.

    Should follow the naming convention: "schema-{number}-{domain}.prisma" Examples: "schema-02-systematic.prisma", "schema-03-actors.prisma" The number indicates the dependency order for schema generation.

    models: IModel[] & MinItems<1>

    Array of Prisma models (database tables) within this domain.

    Each model represents a business entity or concept within the namespace. Models can reference each other through foreign key relationships.

    namespace: string

    Business domain namespace that groups related models.

    Used in Prisma documentation comments as "@\namespace directive". Examples from uploaded schemas: "Systematic", "Actors", "Sales", "Carts", "Orders", "Coupons", "Coins", "Inquiries", "Favorites", "Articles"