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: event.rb
    path of file: ./repos/gitlabhq/app/models/packages
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Packages
  class Event
    UNIQUE_EVENTS_ALLOWED = %i[push_package delete_package
    
    def self.counters_for(event_scope, event_type, originator_type)
      return [] unless event_allowed?(event_type)

      [
        "#{EVENT_PREFIX}_#{event_type}",
        "#{EVENT_PREFIX}_#{event_type}_by_#{originator_type}",
        "#{EVENT_PREFIX}_#{event_scope}_#{event_type}"
      ]
    end