UNPKG

bajo

Version:

A framework to build a giant monstrous app rapidly

20 lines (14 loc) 786 B
--- title: async function buildCollections() --- A function helper to collect and format data from a plugin's config entries. ###### Parameters: | Name | Type | Default Value | Description | | ---- | ---- | ------------- | ----------- | | ```options``` | object | ```{}``` || |     ```plugin``` | string | _Autodetect_ | Plugin name from which collections are gathered | |     ```handler``` | function || Extraction function handler. _Required_ | |     ```dupChecks``` | array | ```[]``` | Array of keys to check for duplications. If none is provided, ignore duplication checks | |     ```container``` | string | ```connections``` | Plugin's config key used as container | ###### Returns: ```array```