UNPKG

@kenniy/godeye-data-contracts

Version:

Enterprise-grade base repository architecture for GOD-EYE microservices with zero overhead and maximum code reuse

18 lines (17 loc) 500 B
/** * User-specific Query DTO * Extends base with User entity fields and relations */ import { BaseQueryDto } from './base-query.dto'; export declare class UserQueryDto extends BaseQueryDto { userType?: 'business' | 'individual'; email?: string; verified?: boolean; createdAfter?: string; createdBefore?: string; /** * Define User entity relations for smart include parsing */ protected getKnownRelations(): string[]; protected buildWhereClause(): any; }