Spaces:
Runtime error
Runtime error
File size: 508 Bytes
077865a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | import { getDb } from '../db/index.js';
type RetentionDb = ReturnType<typeof getDb>;
export interface RequestAnalyticsRetentionConfig {
retentionDays: number;
maxRows: number;
}
export declare function getRequestAnalyticsRetentionConfig(): RequestAnalyticsRetentionConfig;
export declare function pruneRequestAnalytics(options?: {
db?: RetentionDb;
force?: boolean;
now?: Date;
}): {
deleted: number;
skipped: boolean;
};
export {};
//# sourceMappingURL=request-retention.d.ts.map |