pockybot
Version:
Spark bot that handles team recognition
14 lines (13 loc) • 744 B
TypeScript
import Config from '../config-interface';
import { CategoryResultsService } from './category-results-service';
import { Result } from '../../models/result';
export interface FormatResultsService {
returnResultsHtml(fullResults: Result[], winners: Result[]): Promise<string>;
}
export declare class DefaultFormatResultsService implements FormatResultsService {
config: Config;
categoryResultsService: CategoryResultsService;
constructor(config: Config, categoryResultsService: CategoryResultsService);
returnResultsHtml(fullResults: Result[], winners: Result[]): Promise<string>;
generateHtml(winnersTable: string, resultsTable: string, categoryResultsTable: string, penaltyTable: string, todayString: string): string;
}