UNPKG

@clickup/ent-framework

Version:

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

31 lines (18 loc) 812 B
[**@clickup/ent-framework**](../README.md) *** [@clickup/ent-framework](../globals.md) / RowIsValidatorPlain # Type Alias: RowIsValidatorPlain()\<TRow\> > **RowIsValidatorPlain**\<`TRow`\>: (`row`, `vc`) => [`ValidatorPlainResult`](ValidatorPlainResult.md) \| `Promise`\<[`ValidatorPlainResult`](ValidatorPlainResult.md)\> Defined in: [src/ent/predicates/RowIs.ts:13](https://github.com/clickup/ent-framework/blob/master/src/ent/predicates/RowIs.ts#L13) A row validator function that returns a boolean. ## Type Parameters | Type Parameter | | ------ | | `TRow` | ## Parameters | Parameter | Type | | ------ | ------ | | `row` | `TRow` | | `vc` | [`VC`](../classes/VC.md) | ## Returns [`ValidatorPlainResult`](ValidatorPlainResult.md) \| `Promise`\<[`ValidatorPlainResult`](ValidatorPlainResult.md)\>