UNPKG

@clickup/ent-framework

Version:

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

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