PSHTML icon indicating copy to clipboard operation
PSHTML copied to clipboard

Extend configuration object to support include and asset location

Open Stephanevg opened this issue 2 years ago • 0 comments

Extend the configuration object to be able to clearly distinguish project and module includes & assets

This is how the configuration object currently looks like image

Two ways of doing this:

1

We extend the include and asset classes to contain a new propety of location that could have a value of Module or project.

And add a new methods on the configuration class: getAssetByLocation([LocationType]$Type)

this would go in the direction of #252 as well

2

we seperate assets and includes based on the location type and put them in an collection attached to the configuration object.

3

Do a combination of both sections.

Stephanevg avatar Mar 05 '23 20:03 Stephanevg