File size: 316 Bytes
68d7816
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
export interface CronTask {
  readonly id: string;
  readonly cron: string;
  readonly prompt: string;
  readonly createdAt: number;
  readonly recurring?: boolean;
  readonly lastFiredAt?: number;
  readonly tags?: Readonly<Record<string, string>>;
}

export type CronTaskInit = Omit<CronTask, 'id' | 'createdAt'>;