UNPKG

@techmmunity/symbiosis

Version:

Symbiosis - The Ultimate OM For All Databases

13 lines (12 loc) 461 B
import type { EntityManager } from "../.."; import type { Order } from "../../../types/order"; import type { CustomClass } from "../../types/metadata-type"; interface Injectables { entityManager: EntityManager; } export interface FormatOrderParams { entity: CustomClass; orderBy: Record<string, Order>; } export declare const formatOrder: ({ entityManager }: Injectables, { entity, orderBy }: FormatOrderParams) => Record<string, Order>; export {};