UNPKG

@melchyore/adonis-cache

Version:
11 lines (10 loc) 535 B
import type { CacheStoreContract, TaggedCacheContract, CacheStoresList } from '@ioc:Adonis/Addons/Cache'; import TagSet from './TagSet'; import Repository from './Repository'; export default class TaggedCache extends Repository<keyof CacheStoresList> implements TaggedCacheContract { protected _tags: TagSet; protected _prefix: string; constructor(_store: CacheStoreContract, _tags: TagSet, _prefix: string); taggedItemKey(key: string): Promise<string>; protected itemKey(key: string): Promise<string>; }