import * as apid from '../../../api' ; import DropLogFile from '../../db/entities/DropLogFile' ; export interface UpdateCntOption { id : apid . DropLogFileId ; errorCnt : number ; dropCnt : number ; scramblingCnt : number ; } export default interface IDropLogFileDB { restore ( items ) : Promise < void > ; insertOnce ( dropLogFile ) : Promise < apid . DropLogFileId > ; updateCnt ( updateOption ) : Promise < void > ; deleteOnce ( dropLogFileId ) : Promise < void > ; findId ( dropLogFileId ) : Promise < DropLogFile | null > ; findAll ( ) : Promise < DropLogFile [ ] > ; }