aliases
Helpers to build artifact alias mappings.
Contents
Module Members
Module Members
buildAliases( artifacts )
Create a map of aliases for each artifact category.
Parameters
| Property | Type | Description |
|---|---|---|
| artifacts | Object |
artifacts collected by the ArtifactCollector, optionally validated by the ArtifactValidator |
Returns
| Type | Description |
|---|---|
Promise.<Object> |
the map from category names to artifact maps |
buildEntryAliases( entries )
Create a map from artifact refs to indices.
Parameters
| Property | Type | Description |
|---|---|---|
| entries | Array |
any of the artifact sub-lists returned by ArtifactCollector |
Returns
| Type | Description |
|---|---|
Promise.<Object> |
the map from artifact refs to indices |