package com.ruoyi.generator.service.front;

import com.ruoyi.generator.domain.front.dto.PreviewFileRequest;

import java.util.List;
import java.util.Map;

public interface IFrontProjectPreviewService
{
    public List<Map<String, Object>> getStructure(Long userId, Long projectId, String templateType);

    public Map<String, String> getFileContent(Long userId, Long projectId, PreviewFileRequest request);

    public byte[] download(Long userId, Long projectId, String templateType);

    public byte[] downloadAll(Long userId, Long projectId);

    public int markPreviewReady(Long userId, Long projectId);
}
