Skip to Content

createApiListSchema()

function createApiListSchema<TItem>(item): ZodObject<{ data: ZodArray<TItem>; hasMore: ZodBoolean; object: ZodLiteral<"list">; }>;

Type Parameters

TItem

TItem extends ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

Parameters

item

TItem

Last updated on