@alauda-fe/common
Version:
Alauda frontend team common codes.
14 lines (13 loc) • 724 B
TypeScript
import { ProductBase, ProductKey } from '../core/public-api';
import { K8sApiService } from './k8s-api.service';
import * as i0 from "@angular/core";
export declare class ProductService {
private readonly k8sApi;
settings: Record<string, boolean>;
productBase$: import("rxjs").Observable<ProductBase>;
constructor(k8sApi: K8sApiService);
filterDeployedProduct<T>(data: T[], accessor: (arg: T) => string, filterFn: (arg: T[], fn: (a: T) => boolean) => T[]): import("rxjs").Observable<T[]>;
isProductDeployed(product: ProductKey): import("rxjs").Observable<boolean>;
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
}