Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@
"ncu-u": "ncu -ws --root -u"
},
"devDependencies": {
"@commitlint/cli": "20.5.3",
"@commitlint/config-conventional": "20.5.3",
"@commitlint/cli": "21.0.0",
"@commitlint/config-conventional": "21.0.0",
"chai": "6.2.2",
"cz-conventional-changelog": "3.3.0",
"husky": "9.1.7",
"lerna": "9.0.7",
"lint-staged": "16.4.0",
"mocha": "11.7.5",
"npm-run-all": "4.1.5",
"prettier": "3.6.2",
"prettier": "3.8.3",
"shx": "0.4.0",
"typescript": "5.9.3"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/dts-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"@ui5/logger": "^4.0.2",
"argparse": "^2.0.1",
"es-main": "^1.4.0",
"fs-extra": "11.3.4",
"fs-extra": "11.3.5",
"lodash": "4.18.1",
"lodash.combinations": "18.11.1",
"node-fetch": "^3.3.2",
"prettier": "3.6.2",
"prettier": "3.8.3",
"resolve": "^1.22.12",
"sanitize-html": "2.17.3",
"semver": "^7.7.4",
"semver": "^7.8.0",
"strip-json-comments": "^5.0.3",
"typescript": "^5.9.3"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/dts-generator/src/resources/typed-json-model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,15 @@ declare module "sap/ui/model/json/TypedJSONModel" {
export type AbsoluteBindingPath<Type> =
Type extends Array<unknown>
? // if Type is an array:
| `/${number}` // /0 -> first element of array
| `/${number}` // /0 -> first element of array
| `/${number}${AbsoluteBindingPath<Type[number]>}` // /0/{NestedPath}
: // if Type is not an array:
Type extends object
?
| {
[Key in keyof Type]: Type[Key] extends Array<unknown>
? // Type[Key] is an array:
| `/${string & Key}/${number}` // items/0 -> elem of array
| `/${string & Key}/${number}` // items/0 -> elem of array
// path can end there or:
| `/${string & Key}/${number}${AbsoluteBindingPath<Type[Key][number]>}` // items/0/{NestedPath}
: // Type[Key] is NOT an array:
Expand Down
10 changes: 5 additions & 5 deletions packages/ts-interface-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
"@types/hjson": "2.4.6",
"@types/jest": "30.0.0",
"@types/node": "24.7.2",
"@types/openui5": "1.127.0",
"@types/openui5": "1.146.0",
"@types/yargs": "17.0.35",
"@typescript-eslint/eslint-plugin": "8.59.1",
"@typescript-eslint/parser": "8.59.1",
"eslint": "9.37.0",
"jest": "30.3.0",
"@typescript-eslint/eslint-plugin": "8.59.2",
"@typescript-eslint/parser": "8.59.2",
"eslint": "10.3.0",
"jest": "30.4.2",
"npm-run-all": "4.1.5",
"ts-jest": "29.4.9",
"typescript": "5.9.3"
Expand Down
27 changes: 9 additions & 18 deletions test-packages/openui5-snapshot-test/output-dts/sap.f.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5361,8 +5361,7 @@ declare module "sap/f/DynamicPageAccessibleLandmarkInfo" {
/**
* Describes the settings that can be provided to the DynamicPageAccessibleLandmarkInfo constructor.
*/
export interface $DynamicPageAccessibleLandmarkInfoSettings
extends $ElementSettings {
export interface $DynamicPageAccessibleLandmarkInfoSettings extends $ElementSettings {
/**
* Landmark role of the root container of the corresponding `sap.f.DynamicPage` control.
*
Expand Down Expand Up @@ -9780,8 +9779,7 @@ declare module "sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo" {
/**
* Describes the settings that can be provided to the FlexibleColumnLayoutAccessibleLandmarkInfo constructor.
*/
export interface $FlexibleColumnLayoutAccessibleLandmarkInfoSettings
extends $ElementSettings {
export interface $FlexibleColumnLayoutAccessibleLandmarkInfoSettings extends $ElementSettings {
/**
* Text that describes the landmark of the first column of the corresponding `sap.f.FlexibleColumnLayout`
* control.
Expand Down Expand Up @@ -11545,8 +11543,7 @@ declare module "sap/f/GridContainerItemLayoutData" {
*
* @experimental As of version 1.65. This class is experimental. The API may change.
*/
export interface $GridContainerItemLayoutDataSettings
extends $LayoutDataSettings {
export interface $GridContainerItemLayoutDataSettings extends $LayoutDataSettings {
/**
* Specifies the number of columns, which the item should take
*
Expand Down Expand Up @@ -11850,8 +11847,7 @@ declare module "sap/f/GridContainerSettings" {
*
* @experimental As of version 1.65. This class is experimental. The API may change.
*/
export interface $GridContainerSettingsSettings
extends $ManagedObjectSettings {
export interface $GridContainerSettingsSettings extends $ManagedObjectSettings {
/**
* How many columns to have on a row.
*
Expand Down Expand Up @@ -12546,8 +12542,7 @@ declare module "sap/f/IllustratedMessage" {
*
* @deprecated As of version 1.98. Use the {@link sap.m.IllustratedMessage} instead.
*/
export interface $IllustratedMessageSettings
extends $IllustratedMessageSettings1 {}
export interface $IllustratedMessageSettings extends $IllustratedMessageSettings1 {}
}

declare module "sap/f/Illustration" {
Expand Down Expand Up @@ -15006,8 +15001,7 @@ declare module "sap/f/semantic/DiscussInJamAction" {
/**
* Describes the settings that can be provided to the DiscussInJamAction constructor.
*/
export interface $DiscussInJamActionSettings
extends $SemanticButtonSettings {}
export interface $DiscussInJamActionSettings extends $SemanticButtonSettings {}
}

declare module "sap/f/semantic/EditAction" {
Expand Down Expand Up @@ -15191,8 +15185,7 @@ declare module "sap/f/semantic/ExitFullScreenAction" {
/**
* Describes the settings that can be provided to the ExitFullScreenAction constructor.
*/
export interface $ExitFullScreenActionSettings
extends $SemanticButtonSettings {}
export interface $ExitFullScreenActionSettings extends $SemanticButtonSettings {}
}

declare module "sap/f/semantic/FavoriteAction" {
Expand Down Expand Up @@ -15284,8 +15277,7 @@ declare module "sap/f/semantic/FavoriteAction" {
/**
* Describes the settings that can be provided to the FavoriteAction constructor.
*/
export interface $FavoriteActionSettings
extends $SemanticToggleButtonSettings {}
export interface $FavoriteActionSettings extends $SemanticToggleButtonSettings {}
}

declare module "sap/f/semantic/FlagAction" {
Expand Down Expand Up @@ -18895,8 +18887,7 @@ declare module "sap/f/semantic/SemanticToggleButton" {
/**
* Describes the settings that can be provided to the SemanticToggleButton constructor.
*/
export interface $SemanticToggleButtonSettings
extends $SemanticToggleButtonSettings1 {}
export interface $SemanticToggleButtonSettings extends $SemanticToggleButtonSettings1 {}
}

declare module "sap/f/semantic/SendEmailAction" {
Expand Down
Loading
Loading