aboutsummaryrefslogtreecommitdiff
path: root/src/api/demo/schema.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/demo/schema.zig')
-rw-r--r--src/api/demo/schema.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/demo/schema.zig b/src/api/demo/schema.zig
index d57a5c725..a6de100de 100644
--- a/src/api/demo/schema.zig
+++ b/src/api/demo/schema.zig
@@ -2728,6 +2728,9 @@ pub const Api = struct {
/// global_bin_dir
global_bin_dir: ?[]const u8 = null,
+ /// frozen_lockfile
+ frozen_lockfile: ?bool = null,
+
pub fn decode(reader: anytype) anyerror!BunInstall {
var this = std.mem.zeroes(BunInstall);
@@ -2791,6 +2794,9 @@ pub const Api = struct {
18 => {
this.global_bin_dir = try reader.readValue([]const u8);
},
+ 19 => {
+ this.frozen_lockfile = try reader.readValue(bool);
+ },
else => {
return error.InvalidMessage;
},
@@ -2872,6 +2878,10 @@ pub const Api = struct {
try writer.writeFieldID(18);
try writer.writeValue(@TypeOf(global_bin_dir), global_bin_dir);
}
+ if (this.frozen_lockfile) |frozen_lockfile| {
+ try writer.writeFieldID(19);
+ try writer.writeInt(@as(u8, @boolToInt(frozen_lockfile)));
+ }
try writer.endMessage();
}
};