Type Alias ICacheDataExpiration

ICacheDataExpiration: { expiration: Date | null }

Expiration information for a cache entry. Lightweight version of ICacheData containing only expiration metadata. Returned by operations that modify cache (update, remove) to indicate expiration state.

IMPORT_PATH: "@daiso-tech/core/cache/contracts"

Type declaration

  • expiration: Date | null

    When this cache entry expired or will expire. Null indicates the entry had no expiration (persisted indefinitely). Useful for understanding cache timing in update/remove operations.