File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1+ // eslint-disable @typescript-eslint/no-explicit-any
12type BaseConfigurableProp = {
23 name : string ;
34 type : string ;
@@ -23,7 +24,7 @@ export type ConfigurablePropAlert = BaseConfigurableProp & {
2324} ;
2425export type ConfigurablePropAny = BaseConfigurableProp & {
2526 type : "any" ;
26- } & Defaultable < any > ;
27+ } & Defaultable < any > ; // eslint-disable-line @typescript-eslint/no-explicit-any
2728export type ConfigurablePropApp = BaseConfigurableProp & {
2829 type : "app" ;
2930 app : string ;
@@ -67,7 +68,7 @@ export type ConfigurableProps = Readonly<ConfigurableProp[]>;
6768export type PropValue < T extends ConfigurableProp [ "type" ] > = T extends "alert"
6869 ? never
6970 : T extends "any"
70- ? any
71+ ? any // eslint-disable-line @typescript-eslint/no-explicit-any
7172 : T extends "app"
7273 ? { authProvisionId : string ; }
7374 : T extends "boolean"
@@ -87,7 +88,7 @@ export type ConfiguredProps<T extends ConfigurableProps> = {
8788} ;
8889
8990// as returned by API (configurable_props_json from `afterSave`)
90- export type V1Component < T extends ConfigurableProps = any > = {
91+ export type V1Component < T extends ConfigurableProps = any > = { // eslint-disable-line @typescript-eslint/no-explicit-any
9192 name : string ;
9293 key : string ;
9394 version : string ;
Original file line number Diff line number Diff line change @@ -181,15 +181,15 @@ export type Account = {
181181export type ComponentReloadPropsOpts = {
182182 userId : string ;
183183 componentId : string ;
184- configuredProps : any ;
184+ configuredProps : any ; // eslint-disable-line @typescript-eslint/no-explicit-any
185185 dynamicPropsId ?: string ;
186186} ;
187187
188188export type ComponentConfigureOpts = {
189189 userId : string ;
190190 componentId : string ;
191191 propName : string ;
192- configuredProps : any ;
192+ configuredProps : any ; // eslint-disable-line @typescript-eslint/no-explicit-any
193193 dynamicPropsId ?: string ;
194194 query ?: string ;
195195} ;
@@ -592,6 +592,7 @@ export abstract class BaseClient {
592592 dynamic_props_id : opts . dynamicPropsId ,
593593 environment : this . environment ,
594594 } ;
595+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
595596 return await this . makeConnectRequestAsync < Record < string , any > > ( "/components/props" , {
596597 // TODO trigger
597598 method : "POST" ,
@@ -602,7 +603,7 @@ export abstract class BaseClient {
602603 public async actionRun ( opts : {
603604 userId : string ;
604605 actionId : string ;
605- configuredProps : Record < string , any > ;
606+ configuredProps : Record < string , any > ; // eslint-disable-line @typescript-eslint/no-explicit-any
606607 dynamicPropsId ?: string ;
607608 } ) {
608609 const body = {
@@ -674,7 +675,7 @@ export abstract class BaseClient {
674675 ? sanitizedInput
675676 : `https://${ sanitizedInput } ` ;
676677 parsedUrl = new URL ( urlString ) ;
677- } catch ( error ) {
678+ } catch {
678679 throw new Error ( `
679680 The provided URL is malformed: "${ sanitizedInput } ".
680681 Please provide a valid URL.
You can’t perform that action at this time.
0 commit comments