mirror of
https://github.com/ditkrg/schemable.git
synced 2026-01-22 22:26:41 +00:00
Deletes Blanks
This commit is contained in:
parent
01d459bf5c
commit
8b00983c57
@ -8,7 +8,6 @@ module Schemable
|
|||||||
|
|
||||||
def initialize: (Definition, Configuration) -> void
|
def initialize: (Definition, Configuration) -> void
|
||||||
def generate_attributes_schema: -> (Hash[Symbol, any] | Array[any])
|
def generate_attributes_schema: -> (Hash[Symbol, any] | Array[any])
|
||||||
|
|
||||||
def generate_attribute_schema: (Symbol) -> Hash[Symbol, any]
|
def generate_attribute_schema: (Symbol) -> Hash[Symbol, any]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
module Schemable
|
module Schemable
|
||||||
class Configuration
|
class Configuration
|
||||||
|
|
||||||
attr_accessor orm: Symbol
|
attr_accessor orm: Symbol
|
||||||
attr_accessor timestamps: bool
|
attr_accessor timestamps: bool
|
||||||
attr_accessor float_as_string: bool
|
attr_accessor float_as_string: bool
|
||||||
@ -14,9 +13,7 @@ module Schemable
|
|||||||
|
|
||||||
|
|
||||||
def initialize: -> void
|
def initialize: -> void
|
||||||
|
|
||||||
def add_custom_type_mapper: (Symbol, Hash[Symbol, any]) -> void
|
|
||||||
|
|
||||||
def type_mapper: (Symbol) -> Hash[Symbol, any]
|
def type_mapper: (Symbol) -> Hash[Symbol, any]
|
||||||
|
def add_custom_type_mapper: (Symbol, Hash[Symbol, any]) -> void
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user