@@ -232,14 +232,16 @@ type JSContext struct {
232
232
CodeIntelAutoIndexingAllowGlobalPolicies bool `json:"codeIntelAutoIndexingAllowGlobalPolicies"`
233
233
CodeIntelRankingDocumentReferenceCountsEnabled bool `json:"codeIntelRankingDocumentReferenceCountsEnabled"`
234
234
235
- CodeInsightsEnabled bool `json:"codeInsightsEnabled"`
236
- ApplianceManaged bool `json:"applianceManaged"`
237
- CodeIntelligenceEnabled bool `json:"codeIntelligenceEnabled"`
238
- SearchContextsEnabled bool `json:"searchContextsEnabled"`
239
- NotebooksEnabled bool `json:"notebooksEnabled"`
240
- CodeMonitoringEnabled bool `json:"codeMonitoringEnabled"`
241
- SearchAggregationEnabled bool `json:"searchAggregationEnabled"`
242
- OwnEnabled bool `json:"ownEnabled"`
235
+ CodeInsightsEnabled bool `json:"codeInsightsEnabled"`
236
+ ApplianceUpdateTarget string `json:"applianceUpdateTarget"`
237
+ ApplianceMenuTarget string `json:"applianceMenuTarget"`
238
+ CodeIntelligenceEnabled bool `json:"codeIntelligenceEnabled"`
239
+ SearchContextsEnabled bool `json:"searchContextsEnabled"`
240
+ NotebooksEnabled bool `json:"notebooksEnabled"`
241
+ CodeMonitoringEnabled bool `json:"codeMonitoringEnabled"`
242
+ SearchAggregationEnabled bool `json:"searchAggregationEnabled"`
243
+ OwnEnabled bool `json:"ownEnabled"`
244
+ SearchJobsEnabled bool `json:"searchJobsEnabled"`
243
245
244
246
RedirectUnsupportedBrowser bool `json:"RedirectUnsupportedBrowser"`
245
247
@@ -437,7 +439,8 @@ func NewJSContextFromRequest(req *http.Request, db database.DB) JSContext {
437
439
CodyRequiresVerifiedEmail : siteResolver .RequiresVerifiedEmailForCody (ctx ),
438
440
439
441
CodeSearchEnabledOnInstance : codeSearchLicensed ,
440
- ApplianceManaged : conf .IsApplianceManaged (),
442
+ ApplianceUpdateTarget : conf .ApplianceUpdateTarget (),
443
+ ApplianceMenuTarget : conf .ApplianceMenuTarget (),
441
444
442
445
ExecutorsEnabled : conf .ExecutorsEnabled (),
443
446
CodeIntelAutoIndexingEnabled : conf .CodeIntelAutoIndexingEnabled (),
0 commit comments