UNPKG

@ic-wallet-kit/hpl

Version:
17 lines (16 loc) 1.12 kB
import { HplMintCacheDataInfo } from "../../../forms/hplMintCacheDataInfo"; import { IHplMintCacheRepository } from "../../../repositories/cache/hplMintCacheRepository/hplMintCacheRepository"; import { HplMintCacheModel } from "../../../types/cache/hplMintCacheModel"; import { BaseCacheDataHandler, CacheDataError, IdentifierService, ILogger, LoadType } from "@ic-wallet-kit/common"; import "reflect-metadata"; export declare class HplMintCacheDataHandler extends BaseCacheDataHandler<HplMintCacheDataInfo, HplMintCacheModel> { private identifierService; getLoadForceType(): LoadType[]; private hplMintCacheRepository; constructor(logger: ILogger, identifierService: IdentifierService, hplMintCacheRepository: IHplMintCacheRepository); validate(info: HplMintCacheDataInfo): Promise<void>; getLocalCacheData(info: HplMintCacheDataInfo): Promise<HplMintCacheModel | undefined>; getExternalData(info: HplMintCacheDataInfo): Promise<HplMintCacheModel>; updateField(info: HplMintCacheDataInfo, data: HplMintCacheModel): void; getCacheDataError(info: HplMintCacheDataInfo): CacheDataError; }