@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
15 lines • 631 B
TypeScript
import type { EntClass } from "../types";
import type { VC } from "../VC";
import type { Predicate } from "./Predicate";
/**
* Checks that an Ent available via a field is updatable. See
* CanReadOutgoingEdge comments for more details.
*/
export declare class CanUpdateOutgoingEdge<TField extends string> implements Predicate<Record<TField, string | null>> {
readonly field: TField;
readonly toEntClass: EntClass;
readonly name: string;
constructor(field: TField, toEntClass: EntClass);
check(vc: VC, row: Record<TField, string | null>): Promise<boolean>;
}
//# sourceMappingURL=CanUpdateOutgoingEdge.d.ts.map