Skip to content

Commit c9d2149

Browse files
authored
Merge pull request #8 from halcyon-tech/feature/ts_cleanup
Convert Db2 for i to TS
2 parents 322bc04 + 54b5907 commit c9d2149

35 files changed

+6909
-1452
lines changed

global.d.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,21 @@ interface SQLParm {
2626
LONG_COMMENT?: string
2727
}
2828

29+
type StatementType = "statement"|"json"|"csv"|"cl"|"sql";
30+
2931
interface StatementInfo {
3032
content: string,
31-
type: "statement"|"json"|"csv"|"cl"|"sql",
33+
type: StatementType,
3234
open?: boolean
35+
}
36+
37+
interface BasicSQLObject {
38+
type: string;
39+
schema: string;
40+
name: string;
41+
text: string;
42+
basedOn: {
43+
schema: string;
44+
name: string;
45+
}
3346
}

0 commit comments

Comments
 (0)