# This is an autogenerated file for dynamic methods in SpellBook::HABTM_Spells # Please rerun bundle exec rake rails_rbi:models[SpellBook::HABTM_Spells] to regenerate. # typed: strong module SpellBook::HABTM_Spells::ActiveRelation_WhereNot sig { params(opts: T.untyped, rest: T.untyped).returns(T.self_type) } def not(opts, *rest); end end module SpellBook::HABTM_Spells::GeneratedAttributeMethods sig { returns(Integer) } def spell_book_id; end sig { params(value: T.any(Numeric, ActiveSupport::Duration)).void } def spell_book_id=(value); end sig { returns(T::Boolean) } def spell_book_id?; end sig { returns(Integer) } def spell_id; end sig { params(value: T.any(Numeric, ActiveSupport::Duration)).void } def spell_id=(value); end sig { returns(T::Boolean) } def spell_id?; end end module SpellBook::HABTM_Spells::GeneratedAssociationMethods sig { returns(T.nilable(::SpellBook)) } def left_side; end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::SpellBook).void)).returns(::SpellBook) } def build_left_side(*args, &block); end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::SpellBook).void)).returns(::SpellBook) } def create_left_side(*args, &block); end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::SpellBook).void)).returns(::SpellBook) } def create_left_side!(*args, &block); end sig { params(value: T.nilable(::SpellBook)).void } def left_side=(value); end sig { returns(T.nilable(::SpellBook)) } def reload_left_side; end sig { returns(::Spell) } def spell; end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Spell).void)).returns(::Spell) } def build_spell(*args, &block); end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Spell).void)).returns(::Spell) } def create_spell(*args, &block); end sig { params(args: T.untyped, block: T.nilable(T.proc.params(object: ::Spell).void)).returns(::Spell) } def create_spell!(*args, &block); end sig { params(value: ::Spell).void } def spell=(value); end sig { returns(::Spell) } def reload_spell; end end module SpellBook::HABTM_Spells::CustomFinderMethods sig { params(limit: Integer).returns(T::Array[SpellBook::HABTM_Spells]) } def first_n(limit); end sig { params(limit: Integer).returns(T::Array[SpellBook::HABTM_Spells]) } def last_n(limit); end sig { params(args: T::Array[T.any(Integer, String)]).returns(T::Array[SpellBook::HABTM_Spells]) } def find_n(*args); end sig { params(id: T.nilable(Integer)).returns(T.nilable(SpellBook::HABTM_Spells)) } def find_by_id(id); end sig { params(id: Integer).returns(SpellBook::HABTM_Spells) } def find_by_id!(id); end end class SpellBook::HABTM_Spells < ActiveRecord::Base include SpellBook::HABTM_Spells::GeneratedAttributeMethods include SpellBook::HABTM_Spells::GeneratedAssociationMethods extend SpellBook::HABTM_Spells::CustomFinderMethods extend SpellBook::HABTM_Spells::QueryMethodsReturningRelation RelationType = T.type_alias { T.any(SpellBook::HABTM_Spells::ActiveRecord_Relation, SpellBook::HABTM_Spells::ActiveRecord_Associations_CollectionProxy, SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } end module SpellBook::HABTM_Spells::QueryMethodsReturningRelation sig { returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def all; end sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def unscoped(&block); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def order(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def reorder(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def group(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def limit(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def offset(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def left_joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def left_outer_joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def where(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def rewhere(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def preload(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def eager_load(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def includes(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def from(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def lock(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def readonly(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def or(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def having(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def create_with(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def distinct(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def references(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def none(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def unscope(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def merge(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def except(*args); end sig { params(block: T.proc.params(e: SpellBook::HABTM_Spells).returns(T::Boolean)).returns(T::Array[SpellBook::HABTM_Spells]) } def select(&block); end sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def select_columns(*args); end sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def extending(*args, &block); end sig do params( of: T.nilable(Integer), start: T.nilable(Integer), finish: T.nilable(Integer), load: T.nilable(T::Boolean), error_on_ignore: T.nilable(T::Boolean), block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_Relation).void) ).returns(ActiveRecord::Batches::BatchEnumerator) end def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end end module SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation sig { returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def all; end sig { params(block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_Relation) } def unscoped(&block); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def order(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def reorder(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def group(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def limit(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def offset(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def left_joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def left_outer_joins(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def where(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def rewhere(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def preload(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def eager_load(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def includes(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def from(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def lock(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def readonly(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def or(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def having(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def create_with(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def distinct(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def references(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def none(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def unscope(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def merge(*args); end sig { params(args: T.untyped).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def except(*args); end sig { params(block: T.proc.params(e: SpellBook::HABTM_Spells).returns(T::Boolean)).returns(T::Array[SpellBook::HABTM_Spells]) } def select(&block); end sig { params(args: T.any(String, Symbol, T::Array[T.any(String, Symbol)])).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def select_columns(*args); end sig { params(args: T.untyped, block: T.nilable(T.proc.void)).returns(SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation) } def extending(*args, &block); end sig do params( of: T.nilable(Integer), start: T.nilable(Integer), finish: T.nilable(Integer), load: T.nilable(T::Boolean), error_on_ignore: T.nilable(T::Boolean), block: T.nilable(T.proc.params(e: SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation).void) ).returns(ActiveRecord::Batches::BatchEnumerator) end def in_batches(of: 1000, start: nil, finish: nil, load: false, error_on_ignore: nil, &block); end end class SpellBook::HABTM_Spells::ActiveRecord_Relation < ActiveRecord::Relation include SpellBook::HABTM_Spells::ActiveRelation_WhereNot include SpellBook::HABTM_Spells::CustomFinderMethods include SpellBook::HABTM_Spells::QueryMethodsReturningRelation Elem = type_member {{fixed: SpellBook::HABTM_Spells}} end class SpellBook::HABTM_Spells::ActiveRecord_AssociationRelation < ActiveRecord::AssociationRelation include SpellBook::HABTM_Spells::ActiveRelation_WhereNot include SpellBook::HABTM_Spells::CustomFinderMethods include SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation Elem = type_member {{fixed: SpellBook::HABTM_Spells}} end class SpellBook::HABTM_Spells::ActiveRecord_Associations_CollectionProxy < ActiveRecord::Associations::CollectionProxy include SpellBook::HABTM_Spells::CustomFinderMethods include SpellBook::HABTM_Spells::QueryMethodsReturningAssociationRelation Elem = type_member {{fixed: SpellBook::HABTM_Spells}} sig { params(records: T.any(SpellBook::HABTM_Spells, T::Array[SpellBook::HABTM_Spells])).returns(T.self_type) } def <<(*records); end sig { params(records: T.any(SpellBook::HABTM_Spells, T::Array[SpellBook::HABTM_Spells])).returns(T.self_type) } def append(*records); end sig { params(records: T.any(SpellBook::HABTM_Spells, T::Array[SpellBook::HABTM_Spells])).returns(T.self_type) } def push(*records); end sig { params(records: T.any(SpellBook::HABTM_Spells, T::Array[SpellBook::HABTM_Spells])).returns(T.self_type) } def concat(*records); end end