SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

atom.updateDataField

BETA

Short name: updateDataField

Version: 1.0.0

System primitive that overwrites an existing FieldEntry on an atom data map.

Back to primitive library

Inputs

KeyTypeRequiredDescription
atomIdobjectIdtrueAtom whose existing data field should be updated.
expectedVersionintegerfalseOptional optimistic concurrency guard. When provided, the atom version must match before writing.
fieldNamestringtrueExisting data key to overwrite.
isPublicbooleanfalseOptional field-level visibility override.
lexemeAliasesobjectfalseOptional lexemeId → label mapping to store on the field.
valueanytrueNew value for the existing FieldEntry.
valueTypestringfalseOptional AtomFieldInputType metadata. One of: string, number, integer, boolean, date, instant, linkedAtom, linkedAtomArray, array, object, markdown, url.

Outputs

KeyTypeRequiredDescription
atomobjectfalseUpdated atom summary: { id, version, lexemeIds, data, isPublic }.
fieldNamestringfalseThe field key that was updated.
previousValueanyfalseThe field value before this update was applied.