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.34 lib/motor/resources.rb
motor-admin-0.4.33 lib/motor/resources.rb
motor-admin-0.4.32 lib/motor/resources.rb
motor-admin-0.4.31 lib/motor/resources.rb
motor-admin-0.4.30 lib/motor/resources.rb
motor-admin-0.4.29 lib/motor/resources.rb
motor-admin-0.4.28 lib/motor/resources.rb
motor-admin-0.4.27 lib/motor/resources.rb
motor-admin-unosquare-0.4.28 lib/motor/resources.rb
motor-admin-unosquare-0.4.27 lib/motor/resources.rb
motor-admin-pz-0.4.26 lib/motor/resources.rb
motor-admin-0.4.26 lib/motor/resources.rb
motor-admin-0.4.25 lib/motor/resources.rb
motor-admin-0.4.24 lib/motor/resources.rb
motor-admin-0.4.23 lib/motor/resources.rb
motor-admin-pz-0.4.22 lib/motor/resources.rb
motor-admin-0.4.22 lib/motor/resources.rb
motor-admin-pz-0.4.21 lib/motor/resources.rb
motor-admin-0.4.21 lib/motor/resources.rb
motor-admin-0.4.20 lib/motor/resources.rb