DirectusCacheOptions
@tsed/directus-sdk
Usage
typescript
import { DirectusCacheOptions } from "@tsed/third-parties/directus-sdk/src/cache/DirectusCacheInterceptor";See /packages/third-parties/directus-sdk/src/cache/DirectusCacheInterceptor.ts.
Overview
ts
type DirectusCacheOptions = {
ttl?: number;
keyGenerator?: (...args: unknown[]) => string;
namespace?: string;
useSystemCache?: boolean;
};Description
Configuration options for the DirectusCacheInterceptor.
ttl
ts
ttl?: number;keyGenerator:
ts
keyGenerator?: (...args: unknown[]) => string;namespace
ts
namespace?: string;useSystemCache
ts
useSystemCache?: boolean;