Skip to content

Commit 6d40539

Browse files
Revert SDK changes to isolate connect-react changes
Remove SQL prop type definitions from SDK to separate into standalone PR, keeping only connect-react component changes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e59110d commit 6d40539

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

packages/sdk/src/shared/component.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ 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>;
9589
// | { type: "$.interface.http" } // source only
9690
// | { type: "$.interface.timer" } // source only
9791
// | { type: "$.service.db" }
@@ -106,7 +100,6 @@ export type ConfigurableProp =
106100
| ConfigurablePropObject
107101
| ConfigurablePropString
108102
| ConfigurablePropStringArray
109-
| ConfigurablePropSql
110103
| (BaseConfigurableProp & { type: "$.discord.channel"; });
111104

112105
export type ConfigurableProps = Readonly<ConfigurableProp[]>;
@@ -127,8 +120,6 @@ export type PropValue<T extends ConfigurableProp["type"]> = T extends "alert"
127120
? string
128121
: T extends "string[]"
129122
? string[] // XXX support arrays differently?
130-
: T extends "sql"
131-
? { app: string; query: string; params: unknown[]; }
132123
: never;
133124

134125
export type ConfiguredProps<T extends ConfigurableProps> = {

0 commit comments

Comments
 (0)