Sha256: c3387ac64c447e1c7bcdfd9e237186c282bc861a5cd26db8a05cc90f84121b61

Contents?: true

Size: 819 Bytes

Versions: 5

Compression:

Stored size: 819 Bytes

Contents

# frozen_string_literal: true

module Motor
  module Resources
    RESOURCE_ATTRS = %w[display_name display_column icon custom_sql visible].freeze
    COLUMN_ATTRS = %w[name display_name column_type access_type default_value reference virtual format].freeze
    ASSOCIATION_ATTRS = %w[name display_name model_name icon visible foreign_key primary_key options virtual
                           polymorphic slug].freeze
    SCOPE_ATTRS = %w[name display_name scope_type preferences visible].freeze
    ACTION_ATTRS = %w[name display_name action_type preferences visible].freeze
    TAB_ATTRS = %w[name display_name tab_type preferences visible].freeze
  end
end

require_relative './resources/fetch_configured_model'
require_relative './resources/persist_configs'
require_relative './resources/custom_sql_columns_cache'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
motor-admin-0.2.13 lib/motor/resources.rb
motor-admin-0.2.12 lib/motor/resources.rb
motor-admin-0.2.11 lib/motor/resources.rb
motor-admin-0.2.10 lib/motor/resources.rb
motor-admin-0.2.9 lib/motor/resources.rb