Implement main-thread Camino sessions and synchronous CRDT editing
This commit is contained in:
@@ -11,6 +11,8 @@ export const generateClientContracts = (
|
||||
throw new Error("Host contracts require closed interface applications, not generic definitions");
|
||||
const type = (value: ValueType): string => {
|
||||
switch (value.kind) {
|
||||
case "variant":
|
||||
throw new Error("Variants require the Camino portable value runtime; legacy RPC bindings are unsupported");
|
||||
case "builtin":
|
||||
return value.name === "unit" ? "undefined" : "string";
|
||||
case "scalar":
|
||||
|
||||
Reference in New Issue
Block a user