Complete all Name query classes and subclasses Add NameByUser
user
```ruby
class Query::NameByUser < Query::Name
  def parameter_declarations
    super.merge(
      user: User
    )
  end

  def initialize_flavor
    user = find_cached_parameter_instance(User, :user)
    title_args[:user] = user.legal_name
    table = model_class.table_name
    self.where << "names.user_id = '#{user.id}'"
    super
  end

  def default_order
    "name"
  end
end
```
assistant