jgrenat / datocms-structured-text / StructuredText


type alias StructuredText a =
Internal.Types.Document a

Represents a DatoCMS DAST document used in Structured Text fields. The a parameter represents the type of the custom blocks used inside the document.


type alias ItemId =
Internal.Types.DocumentItemId

Represents an item ID.

itemId : String -> ItemId

Create an item ID from a string