UNPKG

@directus/api

Version:

Directus is a real-time API and App dashboard for managing SQL database content

15 lines (14 loc) 451 B
import type { Knex } from 'knex'; export interface RetentionTask { collection: string; where?: readonly [string, string, Knex.Value | null]; join?: readonly [string, string, string]; timeframe: number | undefined; } export declare function handleRetentionJob(): Promise<void>; /** * Schedule the retention tracking * * @returns Whether or not retention has been initialized */ export default function schedule(): Promise<boolean>;