Interfaces
Interface: RichTextSanitizationWarning
A rich-text value that lost markup outside the allow-list when it was (or would be) written
A rich-text value that lost markup outside the allow-list when it was (or would be) written
Properties
| Property | Type | Description |
|---|---|---|
code | "RICH_TEXT_SANITIZED" | - |
field | string | Where the value sits in the content, e.g. body or sections[2].text |
message | string | - |
removed | string | What was removed, e.g. <script>, img[onerror] |
Interface: RefTypesOption
Controls whether resolved collection-item references carry their _type discriminator (the collection-type slug). refTypes: false sends ?refTypes=false to drop it — a smaller payload for consumers that already know each reference's type from context. Omitted/true keeps the default (included) shape.
Interface: SeoMetadata
SEO metadata for pages and posts

