European Parliament MCP Server API - v1.0.1
    Preparing search index...

    Class RetentionPolicy

    Enforces a configurable data-retention window by filtering out expired entries.

    GDPR Article 5(1)(e) — Storage limitation principle.

    const policy = new RetentionPolicy(30 * 24 * 60 * 60 * 1000); // 30 days
    const fresh = policy.enforce(auditLogger.getLogs());

    0.9.0

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    maxAgeMs: number

    Methods