eclipse-thingweb / td-tools

Utility libraries for W3C Thing Descriptions and Thing Models
https://thingweb.io
Other
4 stars 3 forks source link

[AID] Allow giving id and idShort as parameters when converting a TD to AID #50

Closed egekorkan closed 1 month ago

egekorkan commented 1 month ago

In line https://github.com/eclipse-thingweb/td-tools/blob/main/node/aas-aid/src/asset-interfaces-description.ts#L99 and below, the idShort and id are hard coded. When the generation happens, it is annoying to edit these. It would be better to allow giving these as parameters to the function.