UNPKG

logstack-zee

Version:

Complete Node.js logging solution with 6 integration methods, S3 bidirectional operations, advanced analytics, and multi-cloud storage support for enterprise-scale applications.

24 lines (23 loc) 750 B
import mongoose, { Document } from 'mongoose'; export interface HourJob { hour_range: string; file_name: string; file_path: string; status: 'pending' | 'success' | 'failed'; retries: number; logs: Array<{ timestamp: Date; error: string; }>; } export interface Job extends Document { date: string; status: 'pending' | 'success' | 'failed'; hours: HourJob[]; } export declare function getJobModel(collectionName?: string): mongoose.Model<Job, {}, {}, {}, mongoose.Document<unknown, {}, Job> & Job & { _id: mongoose.Types.ObjectId; }, any>; export declare const JobModel: mongoose.Model<Job, {}, {}, {}, mongoose.Document<unknown, {}, Job> & Job & { _id: mongoose.Types.ObjectId; }, any>;