@@ -28,6 +28,9 @@ public class Deployment {
2828 /// The code size in bytes.
2929 public let size : Int
3030
31+ /// The build output size in bytes.
32+ public let buildSize : Int
33+
3134 /// The current build ID.
3235 public let buildId : String
3336
@@ -83,6 +86,7 @@ public class Deployment {
8386 resourceType: String ,
8487 entrypoint: String ,
8588 size: Int ,
89+ buildSize: Int ,
8690 buildId: String ,
8791 activate: Bool ,
8892 status: String ,
@@ -107,6 +111,7 @@ public class Deployment {
107111 self . resourceType = resourceType
108112 self . entrypoint = entrypoint
109113 self . size = size
114+ self . buildSize = buildSize
110115 self . buildId = buildId
111116 self . activate = activate
112117 self . status = status
@@ -134,6 +139,7 @@ public class Deployment {
134139 " resourceType " : resourceType as Any ,
135140 " entrypoint " : entrypoint as Any ,
136141 " size " : size as Any ,
142+ " buildSize " : buildSize as Any ,
137143 " buildId " : buildId as Any ,
138144 " activate " : activate as Any ,
139145 " status " : status as Any ,
@@ -162,6 +168,7 @@ public class Deployment {
162168 resourceType: map [ " resourceType " ] as! String ,
163169 entrypoint: map [ " entrypoint " ] as! String ,
164170 size: map [ " size " ] as! Int ,
171+ buildSize: map [ " buildSize " ] as! Int ,
165172 buildId: map [ " buildId " ] as! String ,
166173 activate: map [ " activate " ] as! Bool ,
167174 status: map [ " status " ] as! String ,
0 commit comments