2026-09-28 20:29:21 -07:00
|
|
|
symbol JavaScript id "target:org.quixos.execution.javascript@1";
|
2026-09-20 22:15:15 -07:00
|
|
|
external atom Node id "tree:node";
|
|
|
|
|
import interface TreeData;
|
|
|
|
|
package TreeRuntime id "tree:runtime" revision "tree:runtime@1" {
|
|
|
|
|
operation reparent id "tree:runtime:reparent" : optional<interface-ref<TreeData>> -> unit
|
2026-09-28 20:29:21 -07:00
|
|
|
mode call execution transaction targets [JavaScript, server] receiver atom Node requires {
|
2026-09-20 22:15:15 -07:00
|
|
|
edge parent id "tree:move:parent" : optional-one interface TreeData [resolve, connect, disconnect];
|
|
|
|
|
} accept using check;
|
|
|
|
|
operation check id "tree:runtime:check" : optional<interface-ref<TreeData>> -> unit
|
|
|
|
|
mode call execution snapshot targets [server] receiver atom Node requires {
|
|
|
|
|
edge current id "tree:check:current" : optional-one interface TreeData [resolve];
|
|
|
|
|
interface ancestors id "tree:check:ancestors" : TreeData using [parent.resolve] from input;
|
|
|
|
|
};
|
|
|
|
|
}
|