package cn.stylefeng.team.generator.api;

import cn.hutool.core.lang.Dict;
import cn.stylefeng.team.generator.api.pojo.generator.result.CommonGenerateResult;
import cn.stylefeng.team.generator.api.pojo.template.GeneratorTemplate;

import java.util.Map;

public interface CodeGeneratorApi {

    String codeGenerate(String templateContent, Map<String, Object> metadata);

    CommonGenerateResult generateCodeGetResult(GeneratorTemplate generatorTemplate, String filePrefix, Dict metadata);

}
