"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntityDefinitionInterceptor = void 0;
const tslib_1 = require("tslib");
const context_1 = require("@loopback/context");
const core_1 = require("@loopback/core");
const application_service_1 = require("./../services/application.service");
const entity_definition_service_1 = require("./../services/entity-definition/entity-definition.service");
const abstract_entity_interceptor_1 = require("./abstract-entity.interceptor");
let EntityDefinitionInterceptor = class EntityDefinitionInterceptor extends abstract_entity_interceptor_1.AbstractEntityInterceptor {
    constructor(entityDefinitionService, ctx, applicationService) {
        super(entityDefinitionService, ctx, applicationService);
        this.entityDefinitionService = entityDefinitionService;
        this.ctx = ctx;
        this.applicationService = applicationService;
    }
};
EntityDefinitionInterceptor = tslib_1.__decorate([
    tslib_1.__param(0, core_1.service(entity_definition_service_1.EntityDefinitionService)),
    tslib_1.__param(1, context_1.inject(application_service_1.CURRENT_CONTEXT)),
    tslib_1.__param(2, core_1.service(application_service_1.ApplicationService)),
    tslib_1.__metadata("design:paramtypes", [entity_definition_service_1.EntityDefinitionService,
        application_service_1.CurrentContext,
        application_service_1.ApplicationService])
], EntityDefinitionInterceptor);
exports.EntityDefinitionInterceptor = EntityDefinitionInterceptor;
//# sourceMappingURL=entity-definition.interceptor.js.map