Sha256: bb1c8fbc6dec51769be8c19cc3691a38ea2fe013041740cc43d75a6b88ea9df8

Contents?: true

Size: 1.59 KB

Versions: 17

Compression:

Stored size: 1.59 KB

Contents

# typed: strict
# frozen_string_literal: true

module Tapioca
  module Dsl
    module Helpers
      module ActiveRecordConstantsHelper
        extend T::Sig

        ReflectionType = T.type_alias do
          T.any(::ActiveRecord::Reflection::ThroughReflection, ::ActiveRecord::Reflection::AssociationReflection)
        end

        AttributeMethodsModuleName = T.let("GeneratedAttributeMethods", String)
        AssociationMethodsModuleName = T.let("GeneratedAssociationMethods", String)
        DelegatedTypesModuleName = T.let("GeneratedDelegatedTypeMethods", String)
        SecureTokensModuleName = T.let("GeneratedSecureTokenMethods", String)
        StoredAttributesModuleName = T.let("GeneratedStoredAttributesMethods", String)

        RelationMethodsModuleName = T.let("GeneratedRelationMethods", String)
        AssociationRelationMethodsModuleName = T.let("GeneratedAssociationRelationMethods", String)
        CommonRelationMethodsModuleName = T.let("CommonRelationMethods", String)

        RelationClassName = T.let("PrivateRelation", String)
        RelationGroupChainClassName = T.let("PrivateRelationGroupChain", String)
        RelationWhereChainClassName = T.let("PrivateRelationWhereChain", String)
        AssociationRelationClassName = T.let("PrivateAssociationRelation", String)
        AssociationRelationGroupChainClassName = T.let("PrivateAssociationRelationGroupChain", String)
        AssociationRelationWhereChainClassName = T.let("PrivateAssociationRelationWhereChain", String)
        AssociationsCollectionProxyClassName = T.let("PrivateCollectionProxy", String)
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tapioca-0.16.8 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.7 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.6 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.5 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.4 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.3 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.2 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.1 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.16.0 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.15.1 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.15.0 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.14.4 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.14.3 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.13.3 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.13.2 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.13.1 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.13.0 lib/tapioca/dsl/helpers/active_record_constants_helper.rb