import { v4 } from 'uuid' ; import { IVerificationGeneratorDependencies } from '@btcp/bootcamp-entities' ; import { addHours } from 'date-fns' ; export class VerificationGeneratorDependencies implements IVerificationGeneratorDependencies { public createVerificationCode ( ) { return v4 ( ) ; } public getExpirationDate ( hoursToVerify ) { return addHours ( new Date ( ) , hoursToVerify ) ; } }