AmadeusITGroup / otter

The Otter project is a highly modular framework whose goal is to provide a common platform to accelerate and facilitate the development of runtime customizable Angular based Web Applications
https://amadeusitgroup.github.io/otter/
BSD 3-Clause "New" or "Revised" License
46 stars 32 forks source link

[Feature]: Interface for ComponentIdentifier #1693

Open mrednic-1A opened 1 week ago

mrednic-1A commented 1 week ago

Context

There are several places in the framework wherethe type { library: string; name: string } is used explicitly.

Proposal

Create an interface for this type (Maybe ComponentIdentifier) and share it across framework. Maybe @o3r/core is a good candidate of module where to define the interface.

matthieu-crouzet commented 1 week ago

I would propose ItemIdentifier as we have a method name computeItemIdentifier and we use this identifier for component and also configuration.