idb-ts
    Preparing search index...

    Interface RetentionPolicyMetadataInternal

    Resolved and normalised form of RetentionPolicyOptions stored in entity metadata after decoration.

    interface RetentionPolicyMetadata {
        enabled: boolean;
        field: string;
        seconds: number;
    }
    Index

    Properties

    Properties

    enabled: boolean

    Whether the cleanup job is active.

    field: string

    The timestamp field used for age calculation.

    seconds: number

    Retention duration in seconds.