@@ -234,72 +234,72 @@ export class LimitsPresenter extends BasePresenter {
234234 schedules :
235235 schedulesLimit !== null
236236 ? {
237- name : "Schedules" ,
238- description : "Maximum number of schedules per project" ,
239- limit : schedulesLimit ,
240- currentUsage : scheduleCount ,
241- source : "plan" ,
242- canExceed : limits ?. schedules ?. canExceed ,
243- isUpgradable : true ,
244- }
237+ name : "Schedules" ,
238+ description : "Maximum number of schedules per project" ,
239+ limit : schedulesLimit ,
240+ currentUsage : scheduleCount ,
241+ source : "plan" ,
242+ canExceed : limits ?. schedules ?. canExceed ,
243+ isUpgradable : true ,
244+ }
245245 : null ,
246246 teamMembers :
247247 teamMembersLimit !== null
248248 ? {
249- name : "Team members" ,
250- description : "Maximum number of team members in this organization" ,
251- limit : teamMembersLimit ,
252- currentUsage : organization . _count . members ,
253- source : "plan" ,
254- canExceed : limits ?. teamMembers ?. canExceed ,
255- isUpgradable : true ,
256- }
249+ name : "Team members" ,
250+ description : "Maximum number of team members in this organization" ,
251+ limit : teamMembersLimit ,
252+ currentUsage : organization . _count . members ,
253+ source : "plan" ,
254+ canExceed : limits ?. teamMembers ?. canExceed ,
255+ isUpgradable : true ,
256+ }
257257 : null ,
258258 alerts :
259259 alertsLimit !== null
260260 ? {
261- name : "Alert channels" ,
262- description : "Maximum number of alert channels per project" ,
263- limit : alertsLimit ,
264- currentUsage : alertChannelCount ,
265- source : "plan" ,
266- canExceed : limits ?. alerts ?. canExceed ,
267- isUpgradable : true ,
268- }
261+ name : "Alert channels" ,
262+ description : "Maximum number of alert channels per project" ,
263+ limit : alertsLimit ,
264+ currentUsage : alertChannelCount ,
265+ source : "plan" ,
266+ canExceed : limits ?. alerts ?. canExceed ,
267+ isUpgradable : true ,
268+ }
269269 : null ,
270270 branches :
271271 branchesLimit !== null
272272 ? {
273- name : "Preview branches" ,
274- description : "Maximum number of active preview branches per project" ,
275- limit : branchesLimit ,
276- currentUsage : activeBranchCount ,
277- source : "plan" ,
278- canExceed : limits ?. branches ?. canExceed ,
279- isUpgradable : true ,
280- }
273+ name : "Preview branches" ,
274+ description : "Maximum number of active preview branches per project" ,
275+ limit : branchesLimit ,
276+ currentUsage : activeBranchCount ,
277+ source : "plan" ,
278+ canExceed : limits ?. branches ?. canExceed ,
279+ isUpgradable : true ,
280+ }
281281 : null ,
282282 logRetentionDays :
283283 logRetentionDaysLimit !== null
284284 ? {
285- name : "Log retention" ,
286- description : "Number of days logs are retained" ,
287- limit : logRetentionDaysLimit ,
288- currentUsage : 0 , // Not applicable - this is a duration, not a count
289- source : "plan" ,
290- }
285+ name : "Log retention" ,
286+ description : "Number of days logs are retained" ,
287+ limit : logRetentionDaysLimit ,
288+ currentUsage : 0 , // Not applicable - this is a duration, not a count
289+ source : "plan" ,
290+ }
291291 : null ,
292292 realtimeConnections :
293293 realtimeConnectionsLimit !== null
294294 ? {
295- name : "Realtime connections" ,
296- description : "Maximum concurrent Realtime connections" ,
297- limit : realtimeConnectionsLimit ,
298- currentUsage : 0 , // Would need to query realtime service for this
299- source : "plan" ,
300- canExceed : limits ?. realtimeConcurrentConnections ?. canExceed ,
301- isUpgradable : true ,
302- }
295+ name : "Realtime connections" ,
296+ description : "Maximum concurrent Realtime connections" ,
297+ limit : realtimeConnectionsLimit ,
298+ currentUsage : 0 , // Would need to query realtime service for this
299+ source : "plan" ,
300+ canExceed : limits ?. realtimeConcurrentConnections ?. canExceed ,
301+ isUpgradable : true ,
302+ }
303303 : null ,
304304 batchProcessingConcurrency : {
305305 name : "Batch processing concurrency" ,
@@ -316,6 +316,7 @@ export class LimitsPresenter extends BasePresenter {
316316 limit : getQueueSizeLimit ( environmentType , organization ) ,
317317 currentUsage : currentQueueSize ,
318318 source : getQueueSizeLimitSource ( environmentType , organization ) ,
319+ isUpgradable : true ,
319320 } ,
320321 } ,
321322 features : {
0 commit comments