UNPKG

@clickup/ent-framework

Version:

A PostgreSQL graph-database-alike library with microsharding and row-level security

14 lines (11 loc) 303 B
import type { VC } from "../VC"; import type { Predicate } from "./Predicate"; /** * Always passes; used for e.g. globally accessed objects. */ export class True implements Predicate<never> { readonly name = this.constructor.name; async check(_vc: VC): Promise<boolean> { return true; } }