File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 22
33# Changelog
44
5+ ## [ 1.6.6] - 2025-06-05
6+
7+ ### Added
8+
9+ - Added support for ` sql ` prop type for ` connect-react ` package
10+
511## [ 1.6.5] - 2025-06-02
612
713### Changed
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/sdk" ,
33 "type" : " module" ,
4- "version" : " 1.6.5 " ,
4+ "version" : " 1.6.6 " ,
55 "description" : " Pipedream SDK" ,
66 "main" : " ./dist/server.js" ,
77 "module" : " ./dist/server.js" ,
Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ export type ConfigurablePropStringArray = BaseConfigurableProp & {
8686 type : "string[]" ;
8787 secret ?: boolean ; // TODO is this supported
8888} & Defaultable < string [ ] > ; // TODO
89+ export type ConfigurablePropSql = BaseConfigurableProp & {
90+ type : "sql" ;
91+ auth : {
92+ app : string ;
93+ } ;
94+ } & Defaultable < string > ;
8995// | { type: "$.interface.http" } // source only
9096// | { type: "$.interface.timer" } // source only
9197// | { type: "$.service.db" }
@@ -100,6 +106,7 @@ export type ConfigurableProp =
100106 | ConfigurablePropObject
101107 | ConfigurablePropString
102108 | ConfigurablePropStringArray
109+ | ConfigurablePropSql
103110 | ( BaseConfigurableProp & { type : "$.discord.channel" ; } ) ;
104111
105112export type ConfigurableProps = Readonly < ConfigurableProp [ ] > ;
@@ -120,6 +127,8 @@ export type PropValue<T extends ConfigurableProp["type"]> = T extends "alert"
120127 ? string
121128 : T extends "string[]"
122129 ? string [ ] // XXX support arrays differently?
130+ : T extends "sql"
131+ ? { app : string ; query : string ; params : unknown [ ] ; }
123132 : never ;
124133
125134export type ConfiguredProps < T extends ConfigurableProps > = {
You can’t perform that action at this time.
0 commit comments