"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ProjectInfoItem_1 = require("./ProjectInfoItem");
const IProjectItemData_1 = require("../app/IProjectItemData");
const IInfoItemData_1 = require("./IInfoItemData");
class UnknownFileGenerator {
    constructor() {
        this.id = "UNKJSON";
        this.title = "Unknown JSON";
    }
    getTopicData(topicId) {
        return {
            title: topicId.toString(),
        };
    }
    summarize(info, infoSet) { }
    async generate(projectItem, contentIndex) {
        const items = [];
        if (projectItem.itemType === IProjectItemData_1.ProjectItemType.json) {
            items.push(new ProjectInfoItem_1.default(IInfoItemData_1.InfoItemType.testCompleteFail, this.id, 0, "Unknown JSON file found", projectItem));
        }
        return items;
    }
}
exports.default = UnknownFileGenerator;

//# sourceMappingURL=../maps/info/UnknownItemGenerator.js.map
