"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ContentImageProvider = void 0;
const extension_provider_1 = require("../../integration/extension.provider");
const action_image_service_1 = require("./action-image.service");
const content_image_const_1 = require("./content-image.const");
const content_image_definition_1 = require("./content-image.definition");
const transient_image_service_1 = require("./transient-image.service");
class ContentImageProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(content_image_const_1.CONTENT_IMAGE_PROVIDER, app);
        this.app = app;
        this.models.push(content_image_definition_1.Image, content_image_definition_1.ContentImage);
        this.repositories.push({ repoClass: content_image_definition_1.ContentImageRepository });
        this.services.push({ cls: content_image_definition_1.ContentImageService }, { cls: transient_image_service_1.TransientImageService }, { cls: action_image_service_1.ActionImageService });
        this.objectTypes.push(content_image_const_1.IMAGE_GALLERY_TYPE, content_image_const_1.IMAGE_GALLERIES_TYPE, content_image_const_1.IMAGE_GALLERY_REFERRER_TYPE, content_image_const_1.IMAGE_TYPE, content_image_const_1.IMAGE_GALLERY_SELECTOR_TYPE, content_image_const_1.DISPLAYED_IMAGE_GALLERY_TYPE, content_image_const_1.IMAGE_GALLERY_CONCATENATION_TYPE);
        this.objectSubTypes.push(content_image_const_1.IMAGE_GALLERIES_IMAGE_GALLERY_SUBTYPE, content_image_const_1.IMAGE_GALLERY_IMAGE_SUBTYPE, content_image_const_1.IMAGE_GALLERY_CONCATENATION_IMAGE_SUBTYPE, content_image_const_1.IMAGE_GALLERIES_IMAGE_GALLERY_CONCATENATION_SUBTYPE);
    }
}
exports.ContentImageProvider = ContentImageProvider;
//# sourceMappingURL=content-image.provider.js.map