lore-hook-collections

Creates a Collection for each model in the application

Dependencies

This hook depends on:

  • lore-hook-connections
  • lore-hook-models

The connections dependency comes from the fact that this hook uses the connections configuration to generate the properties for the collections, so that different collections can be configured for different API endpoints.

The models dependency comes from the fact that collections require a model in order to parse a server response correctly.