@techmmunity/symbiosis
Version:
Symbiosis - The Ultimate OM For All Databases
20 lines (19 loc) • 903 B
TypeScript
import type { EntityManager } from "../../../entity-manager";
import type { CustomClass } from "../../../entity-manager/types/metadata-type";
import type { DatabaseEntity } from "../../../types/database-entity";
import type { FindConditions } from "../../types/find-conditions";
import type { BaseQueryOptions } from "../../types/query-options";
interface Injectables {
entityManager: EntityManager;
entity: CustomClass;
}
export interface BeforePerformativeCountInput<Entity> {
where: FindConditions<Entity>;
options?: BaseQueryOptions;
}
export interface BeforePerformativeCountOutput {
where: FindConditions<DatabaseEntity>;
options?: BaseQueryOptions;
}
export declare const beforePerformativeCount: <Entity>({ entityManager, entity }: Injectables, { where: rawWhere, options: rawOptions, }: BeforePerformativeCountInput<Entity>) => BeforePerformativeCountOutput;
export {};