Sha256: 20f0db070941516fb007b988d9654f4276557a02b58d2ea9344bf695b5506cda

Contents?: true

Size: 1.32 KB

Versions: 11

Compression:

Stored size: 1.32 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)

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

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
tapioca-0.11.9 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.8 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.7 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.6 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.5 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.4 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.3 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.2 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/tapioca-0.11.1/lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.1 lib/tapioca/dsl/helpers/active_record_constants_helper.rb
tapioca-0.11.0 lib/tapioca/dsl/helpers/active_record_constants_helper.rb