Time unification

This commit is contained in:
2026-06-17 15:06:38 -04:00
parent 069a44bd54
commit 54a2460eac
67 changed files with 1442 additions and 1329 deletions
@@ -1,5 +1,5 @@
import fetch from 'node-fetch';
import { TimeManager } from '../../utils/time.utils.js';
import { TimeManager } from '../../../shared/business-time/index.js';
import { RedisService } from './redis.service.js';
export class CampaignsService {
@@ -1,5 +1,5 @@
import fetch from 'node-fetch';
import { TimeManager } from '../../utils/time.utils.js';
import { TimeManager } from '../../../shared/business-time/index.js';
import { RedisService } from './redis.service.js';
import _ from 'lodash';
@@ -14,7 +14,7 @@
// Reads short-circuit to null when the client isn't ready; writes are no-ops.
// Same "Redis hiccup → fall through to upstream" behavior as before.
import { TimeManager } from '../../utils/time.utils.js';
import { TimeManager } from '../../../shared/business-time/index.js';
export class RedisService {
constructor(redis) {
@@ -1,5 +1,5 @@
import fetch from 'node-fetch';
import { TimeManager } from '../../utils/time.utils.js';
import { TimeManager } from '../../../shared/business-time/index.js';
import { RedisService } from './redis.service.js';
const METRIC_IDS = {