-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy pathsystems.ts
More file actions
19 lines (18 loc) · 630 Bytes
/
systems.ts
File metadata and controls
19 lines (18 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { Tracer } from "@internal/tracing";
import { Logger } from "@trigger.dev/core/logger";
import { PrismaClient } from "@trigger.dev/database";
import { RunQueue } from "../../run-queue/index.js";
import { EventBus } from "../eventBus.js";
import { RunLocker } from "../locking.js";
import { EngineWorker } from "../types.js";
import { RaceSimulationSystem } from "./raceSimulationSystem.js";
export type SystemResources = {
prisma: PrismaClient;
worker: EngineWorker;
eventBus: EventBus;
logger: Logger;
tracer: Tracer;
runLock: RunLocker;
runQueue: RunQueue;
raceSimulationSystem: RaceSimulationSystem;
};