v0.9.7
-
Add
Edit.link
andEdit.links
to create link values in the Edit api. These
are currently not optimally typed and will be improved in the future.const imageField = Field.link('Image', { fields: { alt: Field.text('Alt text') } }) const imageValue = Edit.link(imageField) .addImage(imageId, {alt: 'An image'}) .value()