aboutsummaryrefslogtreecommitdiff
path: root/src/api/schema.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/schema.zig')
-rw-r--r--src/api/schema.zig10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/api/schema.zig b/src/api/schema.zig
index 2de80d42c..ec8efa9f6 100644
--- a/src/api/schema.zig
+++ b/src/api/schema.zig
@@ -2904,6 +2904,9 @@ pub const Api = struct {
/// frozen_lockfile
frozen_lockfile: ?bool = null,
+ /// exact
+ exact: ?bool = null,
+
pub fn decode(reader: anytype) anyerror!BunInstall {
var this = std.mem.zeroes(BunInstall);
@@ -2970,6 +2973,9 @@ pub const Api = struct {
19 => {
this.frozen_lockfile = try reader.readValue(bool);
},
+ 20 => {
+ this.exact = try reader.readValue(bool);
+ },
else => {
return error.InvalidMessage;
},
@@ -3055,6 +3061,10 @@ pub const Api = struct {
try writer.writeFieldID(19);
try writer.writeInt(@as(u8, @intFromBool(frozen_lockfile)));
}
+ if (this.exact) |exact| {
+ try writer.writeFieldID(20);
+ try writer.writeInt(@as(u8, @intFromBool(exact)));
+ }
try writer.endMessage();
}
};