Map an arch-validator config object to layer configs.
name
paths
[key + '/**']
alias
pathAlias
canImportFrom
allowedImports
level
Error when the object has no layers record
layers
Map an arch-validator config object to layer configs.
name= layer key (project-relative directory)paths=[key + '/**']alias=pathAlias(empty string when absent)canImportFrom=allowedImports, each mapped to the referenced layer's alias when it has one, otherwise kept as the layer keylevel=levelwhen it is a number (left out otherwise)