Skip to content

@sourceloop/cache / Exports

@sourceloop/cache

Table of contents

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

Variables

Type Aliases

AbstractConstructor

Ƭ AbstractConstructor<T>: (...args: any[]) => T

Type parameters

Name
T

Type declaration

• (...args)

Parameters
Name Type
...args any[]

Defined in

types.ts:51


CacheMixinBase

Ƭ CacheMixinBase<T, ID, Relations>: MixinBaseClass<{ entityClass: typeof Entity & { prototype: T } ; find: (filter?: Filter<T>, options?: AnyObject) => Promise<T & Relations[]> ; findById: (id: ID, filter?: FilterExcludingWhere<T>, options?: AnyObject) => Promise<T & Relations> ; findOne: (filter?: Filter<T>, options?: AnyObject) => Promise<null | T & Relations> }>

Type parameters

Name Type
T extends Entity
ID ID
Relations Relations

Defined in

types.ts:58


MixinBaseClass

Ƭ MixinBaseClass<T>: AbstractConstructor<T>

Type parameters

Name
T

Defined in

types.ts:56


OptionsWithForceUpdate

Ƭ OptionsWithForceUpdate: Options & { forceUpdate?: boolean }

Defined in

types.ts:49


RedisConnectorExecuteReturnType

Ƭ RedisConnectorExecuteReturnType: ArrayBuffer | Buffer | number

Defined in

types.ts:46


SaveInCacheValue

Ƭ SaveInCacheValue<M>: M | M[] | null

Type parameters

Name
M

Defined in

types.ts:48


SearchInCacheResponse

Ƭ SearchInCacheResponse<M>: M | M[] | undefined | null

Type parameters

Name
M

Defined in

types.ts:47

Variables

DEFAULT_CACHE_PLUGIN_OPTIONS

Const DEFAULT_CACHE_PLUGIN_OPTIONS: CachePluginComponentOptions

Default options for the component

Defined in

types.ts:29