aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.js')
-rw-r--r--src/api/schema.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.js b/src/api/schema.js
index 0986f0d0b..acd53ac51 100644
--- a/src/api/schema.js
+++ b/src/api/schema.js
@@ -227,6 +227,10 @@ function decodeTransformOptions(bb) {
result["platform"] = Platform[bb.readByte()];
break;
+ case 18:
+ result["watch"] = !!bb.readByte();
+ break;
+
default:
throw new Error("Attempted to parse invalid message");
}
@@ -382,6 +386,12 @@ bb.writeByte(encoded);
if (encoded === void 0) throw new Error("Invalid value " + JSON.stringify(value) + " for enum \"Platform\"");
bb.writeByte(encoded);
}
+
+ var value = message["watch"];
+ if (value != null) {
+ bb.writeByte(18);
+ bb.writeByte(value);
+ }
bb.writeByte(0);
}