Function to load and save integration configuration
Parameters
connection
:Connection
The Connection for which the settings page is being rendered, or that is being updated.fields
:SettingsField[]
(optional)
The fields to be updated by the user. On the first call, this parameter will beundefined
or will be an empty array.
When the user clicks "Save", this parameter will be the fields that the user is saving, with their value
properties populated with the values the user has input.
Returns
SettingsField[]
or Promise<SettingsField[]>
A list of fields to render to the user. On the first call, this is the empty form to render to the user. On subsequent calls it should show feedback to the user about whether their choices have been saved, etc.
If this connection has no configuration, return an empty array.