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

@ -4,7 +4,7 @@
*/
import { bindThis } from '@/decorators.js';
import { InternalEventService } from '@/core/InternalEventService.js';
import { InternalEventService } from '@/global/InternalEventService.js';
import type { InternalEventTypes } from '@/core/GlobalEventService.js';
import { MemoryKVCache, type MemoryCacheServices } from '@/misc/cache.js';
import { makeKVPArray, type KVPArray } from '@/misc/kvp-array.js';

View file

@ -5,7 +5,7 @@
import * as Redis from 'ioredis';
import { bindThis } from '@/decorators.js';
import { TimeService } from '@/core/TimeService.js';
import { TimeService } from '@/global/TimeService.js';
export interface RedisCacheServices extends MemoryCacheServices {
readonly redisClient: Redis.Redis

View file

@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import type { TimeService, TimerHandle } from '@/core/TimeService.js';
import type { TimeService, TimerHandle } from '@/global/TimeService.js';
type Job<V> = {
value: V;