Make local graph execution optional across composed packages
This commit is contained in:
@@ -2,12 +2,13 @@ import assert from "node:assert/strict";
|
||||
import { compileCapabilityResourceSource, compileCapabilitySource } from "../src/capability-language/parser.js";
|
||||
const contract = `interface Limit id "limit" revision "limit@1" {
|
||||
operation change id "change" : int32 -> unit {
|
||||
call id "change:call" execution transaction targets [browser, server];
|
||||
call id "change:call" execution transaction;
|
||||
}
|
||||
}`;
|
||||
export const runtime = `external atom Item id "item";
|
||||
export const runtime = `symbol JavaScript id "target:org.quixos.execution.javascript@1";
|
||||
external atom Item id "item";
|
||||
package Runtime id "runtime" revision "runtime@1" {
|
||||
operation change id "runtime:change" : int32 -> unit mode call execution transaction targets [browser, server]
|
||||
operation change id "runtime:change" : int32 -> unit mode call execution transaction targets [JavaScript, server]
|
||||
receiver atom Item requires { state level id "write:value" : int32 [write]; } accept using check;
|
||||
operation check id "runtime:check" : int32 -> unit mode call execution snapshot targets [server]
|
||||
receiver atom Item requires {
|
||||
|
||||
Reference in New Issue
Block a user