"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostTypeProvider = void 0;
const extension_provider_1 = require("../../integration/extension.provider");
const content_image_provider_1 = require("../content-image/content-image.provider");
const post_const_1 = require("./post.const");
const post_service_1 = require("./post.service");
class PostTypeProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(post_const_1.POST_PROVIDER, app);
        this.app = app;
        this.requiredProviders.push(content_image_provider_1.ContentImageProvider);
        this.services.push({ cls: post_service_1.PostService });
        this.objectTypes.push(post_const_1.POST_TYPE, post_const_1.POST_WITH_GALLERY_TYPE, post_const_1.POST_WITH_SUB_POST_TYPE);
        //   this.objectSubTypes.push(POST_WITH_GALLERY_SUBTYPE);
    }
}
exports.PostTypeProvider = PostTypeProvider;
//# sourceMappingURL=post.provider.js.map