- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
69 lines
1.9 KiB
TypeScript
69 lines
1.9 KiB
TypeScript
export interface ExportData {
|
|
check: {
|
|
id: string;
|
|
inputUrl: string;
|
|
finalUrl?: string;
|
|
method: string;
|
|
status: string;
|
|
totalTimeMs: number;
|
|
startedAt: Date;
|
|
finishedAt: Date;
|
|
redirectCount: number;
|
|
loopDetected?: boolean;
|
|
error?: string;
|
|
hops: Array<{
|
|
hopIndex: number;
|
|
url: string;
|
|
statusCode?: number;
|
|
redirectType: string;
|
|
latencyMs?: number;
|
|
contentType?: string;
|
|
reason?: string;
|
|
}>;
|
|
};
|
|
analysis?: {
|
|
ssl?: Array<{
|
|
host: string;
|
|
daysToExpiry?: number;
|
|
issuer?: string;
|
|
protocol?: string;
|
|
warningsJson: string[];
|
|
}>;
|
|
seo?: {
|
|
robotsTxtStatus: string;
|
|
hasTitle?: boolean;
|
|
hasDescription?: boolean;
|
|
noindex: boolean;
|
|
nofollow: boolean;
|
|
sitemapPresent: boolean;
|
|
};
|
|
security?: {
|
|
safeBrowsingStatus: string;
|
|
mixedContent: string;
|
|
httpsToHttp: boolean;
|
|
};
|
|
};
|
|
organization?: {
|
|
name: string;
|
|
plan: string;
|
|
};
|
|
user?: {
|
|
name: string;
|
|
email: string;
|
|
};
|
|
generatedAt: Date;
|
|
}
|
|
export declare class ExportService {
|
|
private markdownRenderer;
|
|
constructor();
|
|
private initializeHandlebarsHelpers;
|
|
private generateMermaidDiagram;
|
|
getExportData(checkId: string, userId?: string): Promise<ExportData>;
|
|
private detectLoop;
|
|
generateMarkdownReport(checkId: string, userId?: string): Promise<string>;
|
|
generatePdfReport(checkId: string, userId?: string): Promise<Buffer>;
|
|
private loadTemplate;
|
|
saveReport(content: Buffer | string, checkId: string, format: 'md' | 'pdf'): Promise<string>;
|
|
cleanupOldReports(maxAgeHours?: number): Promise<void>;
|
|
}
|
|
//# sourceMappingURL=export.service.d.ts.map
|