[videodb] use type_view for views