jgrenat/datocms-structured-text/2.0.0

StructuredText

type alias StructuredText a =
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 =
DocumentItemId

Represents an item ID.

itemId : String -> ItemId

Create an item ID from a string