You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: widget_interface.rb
    path of file: ./repos/gitlabhq/app/graphql/types/work_items
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Types
  module WorkItems
    module WidgetInterface
      include Types::B
    
      def self.resolve_type(object, context)
        case object
        when ::WorkItems::Widgets::Description
          ::Types::WorkItems::Widgets::DescriptionType
        when ::WorkItems::Widgets::Hierarchy
          ::Types::WorkItems::Widgets::HierarchyType
        when ::WorkItems::Widgets::Assignees
          ::Types::WorkItems::Widgets::AssigneesType
        when ::WorkItems::Widgets::Labels
          ::Types::WorkItems::Widgets::LabelsType
        when ::WorkItems::Widgets::StartAndDueDate
          ::Types::WorkItems::Widgets::StartAndDueDateType
        when ::WorkItems::Widgets::Milestone
          ::Types::WorkItems::Widgets::MilestoneType
        when ::WorkItems::Widgets::Notes
          ::Types::WorkItems::Widgets::NotesType
        when ::WorkItems::Widgets::Notifications
          ::Types::WorkItems::Widgets::NotificationsType
        when ::WorkItems::Widgets::CurrentUserTodos
          ::Types::WorkItems::Widgets::CurrentUserTodosType
        when ::WorkItems::Widgets::AwardEmoji
          ::Types::WorkItems::Widgets::AwardEmojiType
        when ::WorkItems::Widgets::LinkedItems
          ::Types::WorkItems::Widgets::LinkedItemsType
        when ::WorkItems::Widgets::Participants
          ::Types::WorkItems::Widgets::ParticipantsType
        when ::WorkItems::Widgets::TimeTracking
          ::Types::WorkItems::Widgets::TimeTracking::TimeTrackingType
        when ::WorkItems::Widgets::Designs
          ::Types::WorkItems::Widgets::DesignsType
        else
          raise "Unknown GraphQL type for widget #{object}"
        end