"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransientEntityInterceptor = 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 transient_entity_service_1 = require("../services/transient-entity/transient-entity.service");
const application_service_2 = require("./../services/application.service");
const abstract_entity_interceptor_1 = require("./abstract-entity.interceptor");
let TransientEntityInterceptor = class TransientEntityInterceptor extends abstract_entity_interceptor_1.AbstractEntityInterceptor {
    constructor(transientEntityService, ctx, applicationService) {
        super(transientEntityService, ctx, applicationService);
        this.transientEntityService = transientEntityService;
        this.ctx = ctx;
        this.applicationService = applicationService;
    }
};
TransientEntityInterceptor = tslib_1.__decorate([
    tslib_1.__param(0, core_1.service(transient_entity_service_1.TransientEntityService)),
    tslib_1.__param(1, context_1.inject(application_service_1.CURRENT_CONTEXT)),
    tslib_1.__param(2, core_1.service(application_service_2.ApplicationService)),
    tslib_1.__metadata("design:paramtypes", [transient_entity_service_1.TransientEntityService,
        application_service_1.CurrentContext,
        application_service_2.ApplicationService])
], TransientEntityInterceptor);
exports.TransientEntityInterceptor = TransientEntityInterceptor;
//# sourceMappingURL=transient-entity.interceptor.js.map