mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
chore: eslint fixes for @typescript-eslint/no-explicit-any (#11672)
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user