move global services to "global" directory

This commit is contained in:
Hazelnoot 2025-10-07 23:22:15 -04:00
parent 00b216c83c
commit a55649e89a
192 changed files with 223 additions and 223 deletions

View file

@ -8,7 +8,7 @@ import { bindThis } from '@/decorators.js';
import { LoggerService } from '@/core/LoggerService.js';
import Logger from '@/logger.js';
import { ApLogService } from '@/core/ApLogService.js';
import { TimeService, type TimerHandle } from '@/core/TimeService.js';
import { TimeService, type TimerHandle } from '@/global/TimeService.js';
// 10 minutes
export const scanInterval = 1000 * 60 * 10;

View file

@ -7,7 +7,7 @@ import { Inject, Injectable } from '@nestjs/common';
import Xev from 'xev';
import * as Bull from 'bullmq';
import { QueueService } from '@/core/QueueService.js';
import { TimeService, type TimerHandle } from '@/core/TimeService.js';
import { TimeService, type TimerHandle } from '@/global/TimeService.js';
import { bindThis } from '@/decorators.js';
import { DI } from '@/di-symbols.js';
import type { Config } from '@/config.js';

View file

@ -11,7 +11,7 @@ import { bindThis } from '@/decorators.js';
import type { OnApplicationShutdown } from '@nestjs/common';
import { MiMeta } from '@/models/_.js';
import { DI } from '@/di-symbols.js';
import { TimeService, type TimerHandle } from '@/core/TimeService.js';
import { TimeService, type TimerHandle } from '@/global/TimeService.js';
export interface Stats {
cpu: number,