UNPKG

@kenniy/godeye-data-contracts

Version:

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

24 lines (23 loc) 901 B
export * from "./response.types"; export * from "./repository.types"; export * from "./auth.types"; export * from "./validation.types"; export { ORMType, SortDirection, SearchStrategy, QueryOperation, RepositoryErrorType, EntityStatus, VerificationStatus, PAGINATION_CONSTANTS, PERFORMANCE_THRESHOLDS, DEFAULT_REPOSITORY_CONFIG, ENTITY_FIELDS } from './repository.types'; export type { IWhereConfig } from './repository.types'; export type { IPaginatedResult as IPaginationResult } from './response.types'; export type { ICriteria as IQueryOptions } from './repository.types'; export interface IPaginationOptions { page?: number; limit?: number; } export interface IQueryMetrics { operation: string; entity: string; duration: number; criteria: string; metadata?: any; timestamp: string; } export interface ISortOptions { [field: string]: 'ASC' | 'DESC' | 1 | -1; }