"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ValidatorServiceLocator = void 0;
/**
 * Service locator for validators that can't use dependency injection
 * This is set up during application bootstrap
 */
class ValidatorServiceLocator {
    static setSettingService(service) {
        this.settingService = service;
    }
    static getSettingService() {
        if (!this.settingService) {
            throw new Error('SettingService not initialized in ValidatorServiceLocator');
        }
        return this.settingService;
    }
}
exports.ValidatorServiceLocator = ValidatorServiceLocator;
//# sourceMappingURL=service-locator.js.map