Sha256: a3678e00b516936771637a836e1ce68a2fa152cefc872e272f9cc521cc71ceb6

Contents?: true

Size: 948 Bytes

Versions: 45

Compression:

Stored size: 948 Bytes

Contents

# frozen_string_literal: true

module Motor
  module Resources
    RESOURCE_ATTRS = %w[display_name display_column icon custom_sql visible display_primary_key
                        searchable_columns preferences].freeze
    COLUMN_ATTRS = %w[name display_name column_type access_type default_value reference virtual format
                      validators description].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 apply_on 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

45 entries across 45 versions & 5 rubygems

Version Path
motor-admin-0.4.5 lib/motor/resources.rb
motor-admin-0.4.4 lib/motor/resources.rb
motor-admin-0.4.3 lib/motor/resources.rb
motor-admin-0.4.2 lib/motor/resources.rb
motor-admin-0.4.0 lib/motor/resources.rb