Files
klz-cables.com/.pnpm-store/v10/files/06/ad496f734e71581d0dc3e7adc3afea9f1e5b93a1ae0e33b7121d9aacf338063846dbeec8a25108e63502aa2c3984021111c015ba67b58ccba44878291efac2
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

34 lines
876 B
Plaintext

export type CacheConfig = {
/**
* expire time, in seconds (a positive integer)
*/
ex?: number;
/**
* expire time, in milliseconds (a positive integer).
*/
px?: number;
/**
* Unix time at which the key will expire, in seconds (a positive integer).
*/
exat?: number;
/**
* Unix time at which the key will expire, in milliseconds (a positive integer)
*/
pxat?: number;
/**
* Retain the time to live associated with the key.
*/
keepTtl?: boolean;
/**
* Set an expiration (TTL or time to live) on one or more fields of a given hash key.
* Used for HEXPIRE command
*/
hexOptions?: 'NX' | 'nx' | 'XX' | 'xx' | 'GT' | 'gt' | 'LT' | 'lt';
};
export type WithCacheConfig = {
enable: boolean;
config?: CacheConfig;
tag?: string;
autoInvalidate?: boolean;
};