@sourceloop/cache / Exports
@sourceloop/cache¶
Table of contents¶
Namespaces¶
Enumerations¶
Classes¶
Interfaces¶
Type Aliases¶
- AbstractConstructor
- CacheMixinBase
- MixinBaseClass
- OptionsWithForceUpdate
- RedisConnectorExecuteReturnType
- SaveInCacheValue
- SearchInCacheResponse
Variables¶
Type Aliases¶
AbstractConstructor¶
Ƭ AbstractConstructor<T
>: (...args
: any
[]) => T
Type parameters¶
Name |
---|
T |
Type declaration¶
• (...args
)
Parameters¶
Name | Type |
---|---|
...args |
any [] |
Defined in¶
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¶
MixinBaseClass¶
Ƭ MixinBaseClass<T
>: AbstractConstructor
<T
>
Type parameters¶
Name |
---|
T |
Defined in¶
OptionsWithForceUpdate¶
Ƭ OptionsWithForceUpdate: Options
& { forceUpdate?
: boolean
}
Defined in¶
RedisConnectorExecuteReturnType¶
Ƭ RedisConnectorExecuteReturnType: ArrayBuffer
| Buffer
| number
Defined in¶
SaveInCacheValue¶
Ƭ SaveInCacheValue<M
>: M
| M
[] | null
Type parameters¶
Name |
---|
M |
Defined in¶
SearchInCacheResponse¶
Ƭ SearchInCacheResponse<M
>: M
| M
[] | undefined
| null
Type parameters¶
Name |
---|
M |
Defined in¶
Variables¶
DEFAULT_CACHE_PLUGIN_OPTIONS¶
• Const
DEFAULT_CACHE_PLUGIN_OPTIONS: CachePluginComponentOptions
Default options for the component