e6cf4b36d3
* Ensure we use existing Elasticsearch config * Use separate type for this to ensure custom properties work * PR suggestions * PR feedback * PR feedback * Fix type issues * PR feedback
18 lines
649 B
TypeScript
18 lines
649 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
import { Observable } from 'rxjs';
|
|
import { LicenseFeature, ILicense } from '../../licensing/server';
|
|
|
|
export interface MonitoringLicenseService {
|
|
refresh: () => Promise<any>;
|
|
license$: Observable<ILicense>;
|
|
getMessage: () => string | undefined;
|
|
getWatcherFeature: () => LicenseFeature;
|
|
getMonitoringFeature: () => LicenseFeature;
|
|
getSecurityFeature: () => LicenseFeature;
|
|
stop: () => void;
|
|
}
|