Add local-first execution contracts to the capability language
This commit is contained in:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user