My plugin does not need to set/update global settings, just to query them, very likely the value of the "sync.target" setting.
My ReplaceResources plugin needs to know whether "synchronisation" is enabled/configured in order to decide how to proceed.
That is, if sync is configured, await the joplin.workspace.onSyncComplete event before the next stage of processing.
Else, if sync is NOT configured, go straight to the next stage of processing.
I'm looking for suggestions on how to solve for this as per JoplinSettings.ts "Currently this API does not provide access to Joplin's built-in settings. This is by design as plugins that modify user settings could give unexpected results."