@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
31 lines (18 loc) • 943 B
Markdown
[**/ent-framework**](../README.md)
***
[/ent-framework](../globals.md) / RowIsValidatorStandardSchemaV1
# Type Alias: RowIsValidatorStandardSchemaV1()\<TRow\>
> **RowIsValidatorStandardSchemaV1**\<`TRow`\>: (`row`, `vc`) => [`ValidatorStandardSchemaResult`](ValidatorStandardSchemaResult.md) \| `Promise`\<[`ValidatorStandardSchemaResult`](ValidatorStandardSchemaResult.md)\>
Defined in: [src/ent/predicates/RowIs.ts:29](https://github.com/clickup/ent-framework/blob/master/src/ent/predicates/RowIs.ts#L29)
A row validator function that returns a Standard Schema validation result.
## Type Parameters
| Type Parameter |
| ------ |
| `TRow` |
## Parameters
| Parameter | Type |
| ------ | ------ |
| `row` | `TRow` |
| `vc` | [`VC`](../classes/VC.md) |
## Returns
[`ValidatorStandardSchemaResult`](ValidatorStandardSchemaResult.md) \| `Promise`\<[`ValidatorStandardSchemaResult`](ValidatorStandardSchemaResult.md)\>