@ministryofjustice/hmpps-digital-prison-reporting-frontend
Version:
The Digital Prison Reporting Frontend contains templates and code to help display data effectively in UI applications.
11 lines (10 loc) • 640 B
TypeScript
import { components } from '../../types/api';
import { ServiceFeatureConfig } from '../../types/DprConfig';
import { ProductCollectionClient } from '../../data/productCollectionClient';
export declare class ProductCollectionService {
private readonly productCollectionClient;
enabled: boolean;
constructor(productCollectionClient: ProductCollectionClient, serviceFeatureConfig: ServiceFeatureConfig);
getProductCollections(token: string): Promise<components['schemas']['ProductCollectionSummary'][]>;
getProductCollection(token: string, id: string): Promise<components['schemas']['ProductCollectionDTO'] | undefined>;
}