Props type for object creation with a given type. Accepts a Type.AnyObj
entity and derives the instance shape via Type.InstanceType. Relation-kind
entities are rejected at the type level — use Relation.MakeProps for those.
When the schema is the unconstrained Type.AnyObj (Obj<unknown> — e.g. a
dynamic type from schemaRegistry.register), the instance shape is not
statically known, so data props widen to Record<string, unknown> and the
caller can pass arbitrary fields without a cast.
Props type for object creation with a given type. Accepts a
Type.AnyObjentity and derives the instance shape viaType.InstanceType. Relation-kind entities are rejected at the type level — useRelation.MakePropsfor those.When the schema is the unconstrained
Type.AnyObj(Obj<unknown>— e.g. a dynamic type fromschemaRegistry.register), the instance shape is not statically known, so data props widen toRecord<string, unknown>and the caller can pass arbitrary fields without a cast.