fix code quality & key `Resolution` for api deps