ping-identity
    Preparing search index...

    Type Alias PushNotificationCleanupConfig

    Cleanup strategy for stored push notifications.

    • 'NONE' — no automatic cleanup; notifications accumulate indefinitely.
    • 'COUNT_BASED' — remove oldest notifications when count exceeds maxStoredNotifications.
    • 'AGE_BASED' — remove notifications older than maxNotificationAgeDays days.
    • 'HYBRID' — apply both count-based and age-based cleanup.

    Widened with | (string & {}) for semver safety.

    type PushNotificationCleanupConfig = {
        cleanupMode:
            | "NONE"
            | "COUNT_BASED"
            | "AGE_BASED"
            | "HYBRID"
            | string & {};
        maxNotificationAgeDays?: number;
        maxStoredNotifications?: number;
    }
    Index

    Properties

    cleanupMode: "NONE" | "COUNT_BASED" | "AGE_BASED" | "HYBRID" | string & {}

    Cleanup mode controlling when stored notifications are purged.

    Widened with | (string & {}) for semver safety.

    maxNotificationAgeDays?: number

    Maximum age in days for retained notifications when using 'AGE_BASED' or 'HYBRID' mode.

    30
    
    maxStoredNotifications?: number

    Maximum number of notifications to retain when using 'COUNT_BASED' or 'HYBRID' mode.

    100