Add local-first execution contracts to the capability language

This commit is contained in:
Timothy J. Aveni
2026-09-19 21:52:37 -07:00
parent 757531bb63
commit 03ac7f8557
24 changed files with 3872 additions and 2760 deletions
+2 -1
View File
@@ -35,6 +35,7 @@ export type QueryRoot<Interface = InterfaceRevisionId> =
| { kind: "object"; interface: Interface }
| { kind: "workspace-interface"; interface: Interface };
export interface QueryDeclaration {
placement?: { kind: "replica" } | { kind: "local"; sourceQueryId: string };
id: string;
displayName: string;
root: QueryRoot;
@@ -64,7 +65,7 @@ export interface QueryFieldEffect {
interfaceRevisionId: InterfaceRevisionId;
memberId: MemberId;
uses: QueryUse[];
execution: "native" | "rpc-permitted";
execution: "native" | "rpc-permitted" | "portable";
}
export interface QuerySourceLocation {
file: string;