package usecase

import (
	"haixun-backend/internal/model/job/domain/entity"
	"haixun-backend/internal/model/job/resume"
)

func prepareStepsForRetry(steps []entity.StepProgress) []entity.StepProgress {
	return resume.PrepareStepsForRetry(steps)
}

func firstResumablePhase(steps []entity.StepProgress) string {
	return resume.FirstResumablePhase(steps)
}

func calcProgressPercentage(steps []entity.StepProgress) int {
	return resume.CalcProgressPercentage(steps)
}
