Sha256: 24be92fa3d870ef3826f812b2132e8826864e81a2b86ca6ea8d9d923f09d8805

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

require 'graphql_devise/mutations/base'
require 'graphql_devise/mutations/login'
require 'graphql_devise/mutations/logout'
require 'graphql_devise/mutations/resend_confirmation'
require 'graphql_devise/mutations/send_password_reset'
require 'graphql_devise/mutations/sign_up'
require 'graphql_devise/mutations/update_password'

module GraphqlDevise
  module DefaultOperations
    MUTATIONS = {
      login:               { klass: GraphqlDevise::Mutations::Login, authenticatable: true },
      logout:              { klass: GraphqlDevise::Mutations::Logout, authenticatable: true },
      sign_up:             { klass: GraphqlDevise::Mutations::SignUp, authenticatable: true },
      update_password:     { klass: GraphqlDevise::Mutations::UpdatePassword, authenticatable: true },
      send_password_reset: { klass: GraphqlDevise::Mutations::SendPasswordReset, authenticatable: false },
      resend_confirmation: { klass: GraphqlDevise::Mutations::ResendConfirmation, authenticatable: false }
    }.freeze
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
graphql_devise-0.13.6 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.5 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.4 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.3 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.2 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.1 lib/graphql_devise/default_operations/mutations.rb
graphql_devise-0.13.0 lib/graphql_devise/default_operations/mutations.rb