TenantAtlas/apps/platform/.pnpm-store/v10/files/06/ad496f734e71581d0dc3e7adc3afea9f1e5b93a1ae0e33b7121d9aacf338063846dbeec8a25108e63502aa2c3984021111c015ba67b58ccba44878291efac2
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02: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;
};