UNPKG

@ic-wallet-kit/hpl

Version:
19 lines (18 loc) 1.32 kB
import { HplCacheDataInfo } from "../../../forms/hplCacheDataInfo"; import { IHplDictionaryCacheRepository } from "../../../repositories/cache/hplDictionaryCacheRepository/hplDictionaryCacheRepository"; import { CanisterService } from "../../../service/canisterService"; import { HplDictionaryDataCacheModel } from "../../../types/cache/hplDictionaryDataCacheModel"; import { BaseCacheDataHandler, CacheDataError, IdentifierService, ILogger, LoadType } from "@ic-wallet-kit/common"; import "reflect-metadata"; export declare class HplDictionaryCacheDataHandler extends BaseCacheDataHandler<HplCacheDataInfo, HplDictionaryDataCacheModel> { private identifierService; private canisterService; getLoadForceType(): LoadType[]; private hplDictionaryCacheRepository; constructor(logger: ILogger, identifierService: IdentifierService, hplDictionaryCacheRepository: IHplDictionaryCacheRepository, canisterService: CanisterService); validate(info: HplCacheDataInfo): Promise<void>; getLocalCacheData(info: HplCacheDataInfo): Promise<HplDictionaryDataCacheModel | undefined>; getExternalData(info: HplCacheDataInfo): Promise<HplDictionaryDataCacheModel>; updateField(info: HplCacheDataInfo, data: HplDictionaryDataCacheModel): void; getCacheDataError(info: HplCacheDataInfo): CacheDataError; }