Resourceful.Type.Builders (Resourceful v0.1.6)

View Source

Functions for import in Resourceful.Registry for building types programmatically.

Summary

Functions

attribute(type, attr_name, attr_type, opts \\ [])

has_many(type, rel_name, opts \\ [])

has_one(type, rel_name, opts \\ [])

relationship(type, rel_type, rel_name, opts \\ [])