@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
14 lines • 526 B
TypeScript
import type { VC } from "../VC";
import type { Predicate } from "./Predicate";
/**
* Checks that the field's value is the same as VC's principal:
*
* EntOur[user_id] ---> vc.principal
*/
export declare class OutgoingEdgePointsToVC<TField extends string> implements Predicate<Record<TField, string | null>> {
readonly field: TField;
readonly name: string;
constructor(field: TField);
check(vc: VC, row: Record<TField, string | null>): Promise<boolean>;
}
//# sourceMappingURL=OutgoingEdgePointsToVC.d.ts.map