@@ -116,11 +116,11 @@ export class Apps extends InfraClient {
116116 return this . installRuntime ( descriptor , tracingConfig )
117117 }
118118
119- const metric = 'apps-install'
119+ const metric = 'apps-install'
120120 return this . http . post < AppInstallResponse > (
121121 this . routes . Apps ( ) ,
122122 { id : descriptor } ,
123- {
123+ {
124124 metric,
125125 tracing : {
126126 requestSpanNameSuffix : metric ,
@@ -131,9 +131,9 @@ export class Apps extends InfraClient {
131131 }
132132
133133 public uninstallApp = ( app : string , tracingConfig ?: RequestTracingConfig ) => {
134- const metric = 'apps-uninstall'
135- return this . http . delete ( this . routes . App ( app ) , {
136- metric,
134+ const metric = 'apps-uninstall'
135+ return this . http . delete ( this . routes . App ( app ) , {
136+ metric,
137137 tracing : {
138138 requestSpanNameSuffix : metric ,
139139 ...tracingConfig ?. tracing ,
@@ -142,9 +142,9 @@ export class Apps extends InfraClient {
142142 }
143143
144144 public acknowledgeApp = ( app : string , service : string , tracingConfig ?: RequestTracingConfig ) => {
145- const metric = 'apps-ack'
146- return this . http . put ( this . routes . Acknowledge ( app , service ) , null , {
147- metric,
145+ const metric = 'apps-ack'
146+ return this . http . put ( this . routes . Acknowledge ( app , service ) , null , {
147+ metric,
148148 tracing : {
149149 requestSpanNameSuffix : metric ,
150150 ...tracingConfig ?. tracing ,
@@ -189,7 +189,7 @@ export class Apps extends InfraClient {
189189 const [ response ] = await Promise . all ( [ request , finalize ] )
190190 response . bundleSize = zip . pointer ( )
191191 return response
192- } catch ( e ) {
192+ } catch ( e : any ) {
193193 e . bundleSize = zip . pointer ( )
194194 throw e
195195 }
@@ -212,7 +212,7 @@ export class Apps extends InfraClient {
212212 throw e
213213 } )
214214
215- const metric = 'apps-patch'
215+ const metric = 'apps-patch'
216216 const request = this . http . patch ( this . routes . Link ( app ) , zip , {
217217 headers : { 'Content-Type' : 'application/zip' } ,
218218 metric,
@@ -252,8 +252,8 @@ export class Apps extends InfraClient {
252252 const headers = { 'Content-Type' : 'application/json' }
253253 const metric = 'apps-save'
254254 return this . http . put ( this . routes . Settings ( app ) , settings , {
255- headers,
256- metric,
255+ headers,
256+ metric,
257257 tracing : {
258258 requestSpanNameSuffix : metric ,
259259 ...tracingConfig ?. tracing ,
@@ -302,7 +302,7 @@ export class Apps extends InfraClient {
302302
303303 public listLinks = ( tracingConfig ?: RequestTracingConfig ) => {
304304 const inflightKey = inflightURL
305- const metric = 'apps-list-links'
305+ const metric = 'apps-list-links'
306306 return this . http . get < string [ ] > ( this . routes . Links ( ) , {
307307 inflightKey,
308308 metric,
@@ -363,7 +363,7 @@ export class Apps extends InfraClient {
363363
364364 public getFileFromApps = < T extends object | null > ( app : string , path : string , nullIfNotFound ?: boolean , tracingConfig ?: RequestTracingConfig ) => {
365365 const inflightKey = inflightURL
366- const metric = 'get-file-from-apps'
366+ const metric = 'get-file-from-apps'
367367 return this . http . get < T > ( this . routes . FileFromApps ( app , path ) , {
368368 cacheable : CacheType . Memory ,
369369 inflightKey,
@@ -519,7 +519,7 @@ export class Apps extends InfraClient {
519519 }
520520
521521 public updateDependencies = ( tracingConfig ?: RequestTracingConfig ) => {
522- const metric = 'apps-update-deps'
522+ const metric = 'apps-update-deps'
523523 return this . http . put < Record < string , string [ ] > > ( this . routes . Dependencies ( ) , null , {
524524 metric,
525525 tracing : {
@@ -530,7 +530,7 @@ export class Apps extends InfraClient {
530530 }
531531
532532 public updateDependency = ( name : string , version : string , registry : string , tracingConfig ?: RequestTracingConfig ) => {
533- const metric = 'apps-update-dep'
533+ const metric = 'apps-update-dep'
534534 return this . http . patch ( this . routes . Apps ( ) , [ { name, version, registry} ] , {
535535 metric,
536536 tracing : {
0 commit comments