本页还没有译文
本页 5 段还没译成Português (BR),下面显示的是英文原文。Operation
还没翻译译自英文(tanstack.com)本页 5 段都还没译
Type Alias: Operation
type Operation =
| {
op: "replace";
path: string;
value: unknown;
}
| {
op: "add";
path: string;
value: unknown;
}
| {
op: "remove";
path: string;
};Defined in: packages/workflow-core/src/engine/state-diff.ts:10
Minimal JSON Patch (RFC 6902) helpers for workflow state observability.
Emits the three op kinds the engine needs (replace, add, remove). Clients applying these patches handle the same set. Move/copy/test are intentionally omitted — they're never produced by a forward diff and the spec allows producers to use any subset.
AI 翻译查看英文原文