Skip to content

Commit 860b4f1

Browse files
authored
Import *ImportDeep from *ImportDeepStar (#429)
1 parent 73ac0d5 commit 860b4f1

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed
Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
import { CLIENTS_TO_TEST } from "./config";
2-
import { getClientNameWithLocalSuffix } from "./getClientNameWithLocalSuffix";
3-
import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
4-
import { getV3PackageImportsCode } from "./getV3PackageImportsCode";
1+
import { getServiceImportDeepWithNameOutput } from "./getServiceImportDeepWithNameOutput";
52

6-
export const getServiceImportDeepStarWithNameOutput = (codegenComment: string) => {
7-
let content = `${codegenComment}\n`;
8-
9-
content += getV3PackageImportsCode(CLIENTS_TO_TEST, { useLocalSuffix: true });
10-
content += `\n`;
11-
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST.map(getClientNameWithLocalSuffix));
12-
13-
return content;
14-
};
3+
export const getServiceImportDeepStarWithNameOutput = getServiceImportDeepWithNameOutput;
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1-
import { getServiceImportDeepStarWithNameOutput } from "./getServiceImportDeepStarWithNameOutput";
1+
import { CLIENTS_TO_TEST } from "./config";
2+
import { getClientNameWithLocalSuffix } from "./getClientNameWithLocalSuffix";
3+
import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
4+
import { getV3PackageImportsCode } from "./getV3PackageImportsCode";
25

3-
export const getServiceImportDeepWithNameOutput = getServiceImportDeepStarWithNameOutput;
6+
export const getServiceImportDeepWithNameOutput = (codegenComment: string) => {
7+
let content = `${codegenComment}\n`;
8+
9+
content += getV3PackageImportsCode(CLIENTS_TO_TEST, { useLocalSuffix: true });
10+
content += `\n`;
11+
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST.map(getClientNameWithLocalSuffix));
12+
13+
return content;
14+
};

0 commit comments

Comments
 (0)