Sha256: 3bb69e77e95d35af341b5c7e7b08ee0d489e2f4fabb28c7734dbe0ee45f4d59e

Contents?: true

Size: 583 Bytes

Versions: 40

Compression:

Stored size: 583 Bytes

Contents

module Eco::API::UseCases::GraphQL::Samples::Location::Service
  module TreeToList
    module Converter
      module NodeAttrMaps
        # Basic mappints to create NodeDiff
        NODE_ATTR_MAPS = {
          'id'             => 'nodeId',
          'parent_id'      => 'parentId',
          'parent_name'    => 'parentName',
          'archived_token' => 'archivedToken',
          'level'          => 'level_reference'
        }.freeze

        private

        def node_attr_maps
          self.class::NODE_ATTR_MAPS
        end
      end
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
eco-helpers-3.0.21 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.20 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.19 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.18 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.17 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.16 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.15 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.14 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.13 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.12 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.11 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.10 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.9 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.8 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.7 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.6 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.5 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.4 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.3 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb
eco-helpers-3.0.2 lib/eco/api/usecases/graphql/samples/location/service/tree_to_list/converter/node_attr_maps.rb