"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentGenericTemplateProvider = void 0;
const extension_provider_1 = require("../../integration/extension.provider");
const content_generic_template_const_1 = require("./content-generic-template.const");
const content_generic_template_definition_1 = require("./content-generic-template.definition");
const transient_content_generic_service_1 = require("./transient-content-generic.service");
class ContentGenericTemplateProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(content_generic_template_const_1.CONTENT_GENERIC_PROVIDER, app);
        this.app = app;
        this.models.push(content_generic_template_definition_1.GenericTemplate);
        this.models.push(content_generic_template_definition_1.ContentGenericTemplate);
        this.repositories.push({ repoClass: content_generic_template_definition_1.ContentGenericTemplateRepository });
        this.services.push({ cls: content_generic_template_definition_1.ContentGenericTemplateService }, { cls: transient_content_generic_service_1.TransientContentGenericService });
        this.objectTypes.push(content_generic_template_const_1.TEMPLATE_VIEW_TYPE, content_generic_template_const_1.TEMPLATE_REFERER_WITH_CONFIGURATION_TYPE);
    }
}
exports.ContentGenericTemplateProvider = ContentGenericTemplateProvider;
//# sourceMappingURL=content-generic-template.provider.js.map