DocumentTemplateComponent

The DocumentTemplateComponent type in Bunny's GraphQL API and its fields.

Name Type Description
alignment String The alignment of the component
background String The background of the component
color String The color of the component
content String The content of the component
createdAt ISO8601DateTime The created at timestamp
documentTemplateId ID The ID of the template that the component belongs to
editableInQuoteBuilder Boolean Whether the paragraph is editable in the quote builder
font String The font of the component
fontSize String The font size of the component
fontWeight String The font weight of the component
height String The height of the component
id ID  
imageScale String The image scale of the component
imageSignedId String The signed_id for an image attachment
imageUrl String The url for an image attachment
kind DocumentTemplateComponentKind The kind of the component
lineSpacing String The line spacing of the component
marginBottom Int The margin bottom of the component
marginLeft Int The margin left of the component
marginRight Int The margin right of the component
marginTop Int The margin top of the component
name String The label name of the component (e.g. used to name a paragraph)
paddingBottom Int The padding bottom of the component
paddingLeft Int The padding left of the component
paddingRight Int The padding right of the component
paddingTop Int The padding top of the component
position Int The position of the component in the template
skipPages Boolean Number of pages to skip before header is shown
twoColumns Boolean Whether to use two columns
updatedAt ISO8601DateTime The updated at timestamp
width String The width of the component