Module: Eco::API::UseCases::GraphQL::Samples::Location::Service::TreeDiff::Convertible::Heading

Included in:
Eco::API::UseCases::GraphQL::Samples::Location::Service::TreeDiff::Convertible
Defined in:
lib/eco/api/usecases/graphql/samples/location/service/tree_diff/convertible/heading.rb

Overview

Converting headers

Constant Summary collapse

HEADER_MAPS =

Define the maps src -> dst heading name

Examples:

{'parent_id' => 'parentId' }

{
  'Node Name'          => 'name',
  'Node ID'            => 'id',
  'Parent ID'          => 'parent_id',
  'Classification IDs' => 'classifications',
  'classification_ids' => 'classifications'
}.freeze