Skip to main content

Function: listResultSchema()

listResultSchema<T>(item): ZodObject<{ rows: ZodArray<T>; rowCount: ZodInt; }, $strict>

Type Parameters​

T​

T extends ZodTypeAny<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

Parameters​

item​

T

Returns​

ZodObject<{ rows: ZodArray<T>; rowCount: ZodInt; }, $strict>