diff --git a/sig/schemable/attribute_schema_generator.rbs b/sig/schemable/attribute_schema_generator.rbs index 417fb6c..4a05c64 100644 --- a/sig/schemable/attribute_schema_generator.rbs +++ b/sig/schemable/attribute_schema_generator.rbs @@ -8,7 +8,6 @@ module Schemable def initialize: (Definition, Configuration) -> void def generate_attributes_schema: -> (Hash[Symbol, any] | Array[any]) - def generate_attribute_schema: (Symbol) -> Hash[Symbol, any] end end diff --git a/sig/schemable/configuration.rbs b/sig/schemable/configuration.rbs index 9e776ff..538d8cb 100644 --- a/sig/schemable/configuration.rbs +++ b/sig/schemable/configuration.rbs @@ -1,6 +1,5 @@ module Schemable class Configuration - attr_accessor orm: Symbol attr_accessor timestamps: bool attr_accessor float_as_string: bool @@ -14,9 +13,7 @@ module Schemable def initialize: -> void - - def add_custom_type_mapper: (Symbol, Hash[Symbol, any]) -> void - def type_mapper: (Symbol) -> Hash[Symbol, any] + def add_custom_type_mapper: (Symbol, Hash[Symbol, any]) -> void end end