AutoBE
    Preparing search index...

    Interface AutoBeInterfaceSchemaRefactor

    Represents a DTO type name refactoring operation.

    This interface defines a single rename operation to fix DTO type names that violate the critical naming convention: ALL words from the Prisma table name MUST be preserved in the DTO type name.

    Common violations detected:

    • Service prefix omission: shopping_salesISale (should be IShoppingSale)
    • Intermediate word omission: bbs_article_commentsIBbsComment (should be IBbsArticleComment)
    • Multiple words omitted: shopping_order_good_refundsIShoppingRefund (should be IShoppingOrderGoodRefund)

    The orchestrator automatically handles renaming all related variants:

    • Base type: ISaleIShoppingSale
    • Create variant: ISale.ICreateIShoppingSale.ICreate
    • Update variant: ISale.IUpdateIShoppingSale.IUpdate
    • Summary variant: ISale.ISummaryIShoppingSale.ISummary
    • Page type: IPageISaleIPageIShoppingSale
    // Fix service prefix omission
    { from: "ISale", to: "IShoppingSale" }

    // Fix intermediate word omission
    { from: "IBbsComment", to: "IBbsArticleComment" }

    // Fix multiple omissions
    { from: "IShoppingRefund", to: "IShoppingOrderGoodRefund" }
    interface AutoBeInterfaceSchemaRefactor {
        from: string;
        to: string;
    }
    Index

    Properties

    Properties

    from: string

    Current INCORRECT type name that violates naming rules.

    This is the base type name (without variant suffixes or IPage prefix) that omits service prefixes or intermediate components from the Prisma table name.

    "ISale" (when table is "shopping_sales")
    
    "IBbsComment" (when table is "bbs_article_comments")
    
    to: string

    CORRECT type name with all components preserved.

    This is the proper base type name that preserves ALL words from the Prisma table name, converted from snake_case to PascalCase with "I" prefix.

    "IShoppingSale" (from table "shopping_sales")
    
    "IBbsArticleComment" (from table "bbs_article_comments")