added

Added reference docs to all `advice` objects

All Taffrail Advice has supporting references and sources. Previously, all sources were attached as referenceDocuments on the API's adviceset property. Without changing the adviceset response, it is now possible for references to be added to individual advice objects as referenceDocuments.

To list all references and sources for any complete advice, it is prudent to combine adviceset.referenceDocuments[] with all the advice[].referenceDocuments[] items.

To support this feature, there are a few new explicit referenceDocument types:

  • actionButton
  • adviceSource
  • referenceDoc

See the API reference for more details.