Skip to content

Commit bde8c7e

Browse files
nx-cloud[bot]ryanbas21
authored andcommitted
chore: pr-comments [Self-Healing CI Rerun]
1 parent 802251e commit bde8c7e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

.changeset/rich-content-links.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
'@forgerock/davinci-client': minor
33
---
44

5-
**Breaking change**: `ReadOnlyCollector.output.content` now returns a plain `string` (the label text) instead of `ContentPart[]`.
6-
75
A new `ReadOnlyCollector.output.richContent` property is always present and contains the structured link data when a LABEL field includes `richContent`. Its shape is `CollectorRichContent` — a template string with `{{key}}` placeholders (`content`) and a validated `replacements` array (`ValidatedReplacement[]`). When no `richContent` is present, `replacements` is an empty array.
86

9-
**Removed type exports**: `ContentPart`, `TextContentPart`, `LinkContentPart`
10-
117
**New type exports**: `RichContentLink`, `ValidatedReplacement`, `CollectorRichContent`
12-
13-
Includes href protocol validation that rejects unsafe URI schemes (e.g. `javascript:`, `data:`).

0 commit comments

Comments
 (0)