chore: eslint fixes for @typescript-eslint/no-explicit-any (#11672)

This commit is contained in:
Denys Vuika
2026-02-23 13:11:44 +00:00
committed by GitHub
parent 9be5eae00c
commit 303a9efb3e
40 changed files with 269 additions and 178 deletions
@@ -17,6 +17,17 @@
import { BaseApi } from './base.api';
/**
* Product version model for Process Services.
*/
export interface BpmProductVersionModel {
edition: string;
majorVersion: string;
revisionVersion: string;
minorVersion: string;
type: string;
}
/**
* About service.
*/
@@ -26,7 +37,7 @@ export class AboutApi extends BaseApi {
* Provides information about the running Alfresco Process Services Suite. The response payload object has the properties type, majorVersion, minorVersion, revisionVersion and edition.
* @return Promise<{ [key: string]: string; }>
*/
getAppVersion(): Promise<{ [key: string]: string }> {
getAppVersion(): Promise<BpmProductVersionModel> {
return this.get({
path: '/api/enterprise/app-version'
});