scripts/generateNewClientTests/getServiceImportOutput.ts (11 lines of code) (raw):
import { CLIENTS_TO_TEST } from "./config";
import { getClientNamesSortedByPackageName } from "./getClientNamesSortedByPackageName";
import { getV3ClientsNewExpressionCode } from "./getV3ClientsNewExpressionCode";
import { getV3PackageImportsCode } from "./getV3PackageImportsCode";
export const getServiceImportOutput = () => {
let content = "";
content += getV3PackageImportsCode(getClientNamesSortedByPackageName(CLIENTS_TO_TEST));
content += "\n";
content += getV3ClientsNewExpressionCode(CLIENTS_TO_TEST);
return content;
};