"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EntityInterceptInterceptor = void 0;
const tslib_1 = require("tslib");
const context_1 = require("@loopback/context");
const core_1 = require("@loopback/core");
const abstract_entity_interceptor_1 = require("../../interceptors/abstract-entity.interceptor");
const application_service_1 = require("./../application.service");
const entity_intercept_service_1 = require("./entity-intercept.service");
let EntityInterceptInterceptor = class EntityInterceptInterceptor extends abstract_entity_interceptor_1.AbstractEntityInterceptor {
    constructor(entityInterceptService, ctx, applicationService) {
        super(entityInterceptService, ctx, applicationService);
        this.entityInterceptService = entityInterceptService;
        this.ctx = ctx;
        this.applicationService = applicationService;
    }
};
EntityInterceptInterceptor = tslib_1.__decorate([
    tslib_1.__param(0, core_1.service(entity_intercept_service_1.EntityInterceptService)),
    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_intercept_service_1.EntityInterceptService,
        application_service_1.CurrentContext,
        application_service_1.ApplicationService])
], EntityInterceptInterceptor);
exports.EntityInterceptInterceptor = EntityInterceptInterceptor;
//# sourceMappingURL=entity-intercept.interceptor.js.map