subway v0.1.0 Subway.Event

Macros for using inside an event, it monstly stores configurations in the module so that the EventBuilder can use it for building fields, validations and so forth.

Link to this section Summary

Functions

Imports this module and register configuration attributes

Stores the field informations to later be used from EventBuilder

Evaluates the block given from the event definition.

Link to this section Functions

Link to this macro

__using__(_)

(macro)

Imports this module and register configuration attributes

Link to this macro

field(name, type \\ :string, opts \\ [])

(macro)

Stores the field informations to later be used from EventBuilder

Link to this macro

setupevent(block)

(macro)

Evaluates the block given from the event definition.