chore: consolidate new foundation and archive v1 (#1495)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import type { Db } from '@mosaicstack/db';
|
||||
import { createAgentLogsRepo, type AgentLogsRepo } from './agent-logs.js';
|
||||
|
||||
export interface LogService {
|
||||
logs: AgentLogsRepo;
|
||||
}
|
||||
|
||||
export function createLogService(db: Db): LogService {
|
||||
return {
|
||||
logs: createAgentLogsRepo(db),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user