diff --git a/package.json b/package.json index 6e693362..f0c49f6d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@sap/cds": ">=7" }, "devDependencies": { - "@sap/cds": "^7.4.0", + "@sap/cds": "^7.5.0", "@stylistic/eslint-plugin": "^1.5.3", "@types/jest": "^29.5.11", "@types/node": "^20", diff --git a/test/typescript/apis/project/legacy.ts b/test/typescript/apis/project/legacy.ts index e4f8d790..f66a0689 100644 --- a/test/typescript/apis/project/legacy.ts +++ b/test/typescript/apis/project/legacy.ts @@ -29,17 +29,16 @@ import { Service, } from "@sap/cds/apis/services"; -// --- works again with sap/cds >= 7.5 -// import { -// Definition as DefinitionRefl, -// entity as entityRefl, -// LinkedModel, -// LinkedDefinition as LinkedDefinitionRefl, -// ParsedModel, -// ReflectedModel, -// ReflectedDefinitions, -// } from "@sap/cds/apis/reflect"; +import { + Definition as DefinitionRefl, + entity as entityRefl, + LinkedModel, + LinkedDefinition as LinkedDefinitionRefl, + ParsedModel, + ReflectedModel, + ReflectedDefinitions, +} from "@sap/cds/apis/reflect"; -// import { Definitions } from '@sap/cds/apis/csn' -// import { User as CoreUser } from '@sap/cds/apis/core' -// import { Logger } from '@sap/cds/apis/log' +import { Definitions } from '@sap/cds/apis/csn' +import { User as CoreUser } from '@sap/cds/apis/core' +import { Logger } from '@sap/cds/apis/log'