By magnetic I mean the encoder has no rotating part, it just senses the rotation of a magnet.

This one: https://www.rls.si/en/rmc22-commutat...mental-encoder