Skip to content

Commit 73d68bd

Browse files
committed
Cleanup types
Signed-off-by: worksofliam <[email protected]>
1 parent 6d6d52b commit 73d68bd

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

src/views/jobManager/editJob/formatTab.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
import { JDBCOptions } from "../../../connection/types";
2-
import { loadBase } from "../../../base";
1+
2+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
3+
import { getBase } from "../../../base";
34

45
export default function getFormatTab(options: JDBCOptions) {
5-
const base = loadBase();
6+
const base = getBase();
67
const tab = base.customUI();
78

89
tab

src/views/jobManager/editJob/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { loadBase } from "../../../base";
2-
import { JDBCOptions } from "../../../connection/types";
2+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
33
import { ComplexTab } from "@halcyontech/vscode-ibmi-types/api/CustomUI";
44

55
import getPerfTab from "./perfTab";

src/views/jobManager/editJob/otherTab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { formatDescription } from ".";
22
import { loadBase } from "../../../base";
3-
import { JDBCOptions } from "../../../connection/types";
3+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
44

55
const dataTruncationText = `
66
Specifies whether truncation of character data generates warnings and exceptions. When this property is "true", the following apply:

src/views/jobManager/editJob/perfTab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { loadBase } from "../../../base";
2-
import { JDBCOptions } from "../../../connection/types";
2+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
33

44
export default function getPerfTab(options: JDBCOptions) {
55
const base = loadBase();

src/views/jobManager/editJob/sortTab.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { loadBase } from "../../../base";
2-
import { JDBCOptions } from "../../../connection/types";
2+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
33

44
export default function getSortTab(options: JDBCOptions) {
55
const base = loadBase();

src/views/jobManager/editJob/systemTab.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { JDBCOptions } from "../../../connection/types";
2-
import { getInstance, loadBase } from "../../../base";
1+
import { JDBCOptions } from "@ibm/mapepire-js/dist/src/types";
2+
import { getBase, getInstance, loadBase } from "../../../base";
33
import { formatDescription } from ".";
44

55
const autoCommitText = `
@@ -24,7 +24,7 @@ an independent ASP or the system default database. The following criteria determ
2424
`;
2525

2626
export default function getSystemTab(options: JDBCOptions) {
27-
const base = loadBase();
27+
const base = getBase();
2828
const tab = base.customUI();
2929
const connection = getInstance().getConnection()
3030

0 commit comments

Comments
 (0)