I am writing a Plugin that stores metadata on ComponentNodes as pluginData on the node. I have here an internal ID that matches the node to our internal Admin app database.
My goal is to write a Widget that would be able to read this pluginData. I know the process of reading it torugh plugin api, but the pluginData is segmented per pluginId.
In local dev I was thinking to use the same ID for the plugin and the widget. But would I be allowed to publish a plugin and a widget with the same ID?
Is there another pattern to share plugin data between them? (besides sharedPluginData)
Thanks,
Sorin