Can someone help me understand the
Can someone help me understand the importance of the record validator? The benefit over the object validator is that it adds the ability to specify the types of keys, is that about right?
Record<Id<"player">, { name: string, cards: Doc<"card"> }>>v.any()v.record ownerTable: v.union(v.literal('users'), v.literal('members')),
ownerId: v.union(v.id('users'), v.id('members')),
owner: v.record(vOwnerTable, vOwnerId),Argument of type 'VUnion<EntityEnum, any, "required", any>' is not assignable to parameter of type 'Validator<string, "required", any>'.
Type 'VUnion<EntityEnum, any, "required", any>' is not assignable to type 'VUnion<string, Validator<any, "required", any>[], "required", any>'.