Sha256: 36b993921e465bd74ceda5c6446845ab8eb0d54b9fd6267982dbf46576ecdf87

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

module Schemable
  class RelationshipSchemaGenerator
    attr_reader model_definition: Definition
    attr_reader schema_modifier: SchemaModifier
    attr_reader relationships: Hash[Symbol, any]

    def initialize: (Definition) -> void
    def generate_schema: (String, ?collection: bool) -> Hash[Symbol, any]
    def generate: (?relationships_to_exclude_from_expansion: Array[String], ?expand: bool) -> (Hash[Symbol, any])
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
schemable-1.0.3 sig/schemable/relationship_schema_generator.rbs
schemable-1.0.2 sig/schemable/relationship_schema_generator.rbs
schemable-1.0.1 sig/schemable/relationship_schema_generator.rbs
schemable-1.0.0 sig/schemable/relationship_schema_generator.rbs