chore(src): 🔧 Update TypeScript files in src directory (19 files)

This commit is contained in:
Lilith 2026-01-26 00:31:42 -08:00
parent deede846cd
commit 1a0144f78b
19 changed files with 38 additions and 19 deletions

View file

@ -16,7 +16,8 @@ import { HealthController } from './health/health.controller';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
const projectRoot = join(__dirname, '..', '..', '..', '..', '..')
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..')
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -33,7 +33,8 @@ import type { RedisClientOptions } from 'redis';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -26,7 +26,8 @@ import { UsersEmailModule } from './users/users-email.module'
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
const projectRoot = join(__dirname, '..', '..', '..', '..', '..')
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..')
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -12,7 +12,8 @@ import { FlagsModule } from './modules/flags';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -23,7 +23,8 @@ import type { RedisClientOptions } from 'redis';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -18,7 +18,8 @@ import { StorageModule } from './storage/storage.module';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -21,7 +21,8 @@ import { VoteEconomyModule } from './vote-economy/vote-economy.module'
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
const projectRoot = join(__dirname, '..', '..', '..', '..', '..')
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..')
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -19,7 +19,8 @@ const require = createRequire(import.meta.url);
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -16,7 +16,8 @@ import { MediaService } from './media.service';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -14,7 +14,8 @@ const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)
// Build deployment registry for service configuration
const projectRoot = join(__dirname, '..', '..', '..', '..', '..')
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..')
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -21,7 +21,8 @@ import { ThreadsModule } from './threads/threads.module';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -15,7 +15,8 @@ import { HealthController } from './health/health.controller';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -21,7 +21,8 @@ import { SSOAdminModule } from './sso-admin/sso-admin.module';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -14,7 +14,8 @@ import { ProfileAnalyticsModule } from './modules/profile-analytics/profile-anal
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -16,7 +16,8 @@ import { UserTranslationsModule } from './user-translations';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -29,7 +29,8 @@ import { SeoEventsProcessor } from './processors/seo-events.processor';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -22,7 +22,8 @@ import { UIController } from "./ui/ui.controller";
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, "..", "..", "..", "..", "..");
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, "codebase/@deployments"),
sharedServicesPath: join(projectRoot, "infrastructure/shared-services"),

View file

@ -20,7 +20,8 @@ import { ServicesModule } from './services/services.module';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),

View file

@ -18,7 +18,8 @@ import { HealthModule } from './health/health.module';
// Build deployment registry for service configuration
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const projectRoot = join(__dirname, '..', '..', '..', '..', '..');
// Use env var from service-orchestrator, fallback to relative path for standalone runs
const projectRoot = process.env.LILITH_PROJECT_ROOT ?? join(__dirname, '..', '..', '..', '..', '..');
const registry = buildDeploymentRegistry({
deploymentsPath: join(projectRoot, 'codebase/@deployments'),
sharedServicesPath: join(projectRoot, 'infrastructure/shared-services'),