{"version":3,"file":"OpenBadgesRevocationCacheRepository.mjs","names":["OpenBadgesRevocationCacheRepository","storageService: StorageService<OpenBadgesRevocationCacheRecord>"],"sources":["../../src/repository/OpenBadgesRevocationCacheRepository.ts"],"sourcesContent":["import type { StorageService } from '@credo-ts/core'\nimport { injectable, inject, InjectionSymbols, EventEmitter, Repository } from '@credo-ts/core'\nimport { OpenBadgesRevocationCacheRecord } from './OpenBadgesRevocationCacheRecord'\n\n@injectable()\nexport class OpenBadgesRevocationCacheRepository extends Repository<OpenBadgesRevocationCacheRecord> {\n  public constructor(\n    @inject(InjectionSymbols.StorageService) storageService: StorageService<OpenBadgesRevocationCacheRecord>,\n    eventEmitter: EventEmitter\n  ) {\n    super(OpenBadgesRevocationCacheRecord, storageService, eventEmitter)\n  }\n\n  public async findByStatusListUrl(agentContext: any, statusListUrl: string) {\n    return this.findSingleByQuery(agentContext, { statusListUrl })\n  }\n}\n\n\n"],"mappings":";;;;;;;;;;;AAKO,gDAAMA,8CAA4C,WAA4C;CACnG,AAAO,YACL,AAAyCC,gBACzC,cACA;AACA,QAAM,iCAAiC,gBAAgB,aAAa;;CAGtE,MAAa,oBAAoB,cAAmB,eAAuB;AACzE,SAAO,KAAK,kBAAkB,cAAc,EAAE,eAAe,CAAC;;;;CAVjE,YAAY;oBAGR,OAAO,iBAAiB,eAAe"}