"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UriCompleteProvider = void 0;
const extension_provider_1 = require("../../integration/extension.provider");
const extension_description_1 = require("./../../integration/extension-description");
const uri_complete_interceptor_1 = require("./../../interceptors/uri-complete.interceptor");
const uri_complete_const_1 = require("./uri-complete.const");
const uri_complete_service_1 = require("./uri-complete.service");
class UriCompleteProvider extends extension_provider_1.ExtensionProvider {
    constructor(app) {
        super(uri_complete_const_1.URI_COMPLETE_PROVIDER, app);
        this.app = app;
        this.services.push({ cls: uri_complete_service_1.UriCompleteService });
        this.interceptorsAppend.push({
            id: 'UriCompleteInterceptor',
            interceptor: uri_complete_interceptor_1.UriCompleteInterceptor,
            description: {
                postTreatment: new extension_description_1.RunnerTreatmentDescription('Add Uri references to Entities base on the id and the type of Entity', ['UriCompleteService']),
            },
        });
    }
}
exports.UriCompleteProvider = UriCompleteProvider;
//# sourceMappingURL=uri-complete.provider.js.map