* feat: add DocRef * feat: Add comprehensive test cases for DocRef functionality * chore(db): add field type hints * fix: ensure document stringer fulfills the DocRef contract