Anchorage API reference
    Preparing search index...

    Interface ApprovalRetentionPurgeOptions

    Options for the cron-owned approval-retention purge.

    interface ApprovalRetentionPurgeOptions {
        cron: string;
        retentionDays: string | undefined;
        store: SystemApprovalStore;
    }
    Index

    Properties

    cron: string

    The firing cron expression — carried into the maintenance-error log line for correlation.

    retentionDays: string | undefined

    Raw APPROVAL_RETENTION_DAYS env value; parsed via numberVar(…, 30, 'APPROVAL_RETENTION_DAYS', { allowZero: true }) and converted to ms — 0 purges decided approvals immediately, the same convention RUN_RETENTION_DAYS uses.

    factory.system() — the cron-only cross-tenant view.