Files
url_tracker_tool/apps/api/dist/services/export.service.d.ts
Andrei 58f8093689 Rebrand from 'Redirect Intelligence v2' to 'URL Tracker Tool V2' throughout UI
- 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
2025-08-19 19:12:23 +00:00

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