Anchorage API reference
    Preparing search index...

    Interface ApprovalRetentionPurgeOptions

    Options for the maintenance-owned approval-retention purge.

    interface ApprovalRetentionPurgeOptions {
        retentionDays: string | undefined;
        store: ApprovalStore;
        trigger: string;
    }
    Index

    Properties

    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.

    The deployment approval store.

    trigger: string

    The maintenance duty name, used only for log correlation.