SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

lexeme.snapshot

BETA

Short name: snapshot

Version: 1.0.0

Sandbox-only primitive that clones an existing lexeme into the current sandbox session. Used by the verb editor's Test Run panel so a preview verb can mutate a copy of real (PRD) lexeme data without touching the original. The clone is owned by the caller, stamped with the sandbox marker, and carries the source lexeme id and version for diff display.

Back to primitive library

Inputs

KeyTypeRequiredDescription
sourceLexemeIdobjectIdtrueLexeme to clone into the sandbox.

Outputs

KeyTypeRequiredDescription
lexemeobjectfalseCreated sandbox clone of the lexeme.
sourceobjectfalseReference to the cloned source: { id, version } captured at snapshot time.