MCPcopy Index your code
hub / github.com/TrafficGuard/typedai / MongoCodeTaskRepository

Class MongoCodeTaskRepository

src/modules/mongo/MongoCodeTaskRepository.ts:5–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import type { CodeTask, CodeTaskPreset, UpdateCodeTaskData } from '#shared/codeTask/codeTask.model';
4
5export class MongoCodeTaskRepository implements CodeTaskRepository {
6 constructor(private db: Db) {}
7
8 async createCodeTask(codeTask: CodeTask): Promise<string> {
9 // TODO: Implement method
10 throw new Error('Method not implemented.');
11 }
12
13 async getCodeTask(userId: string, codeTaskId: string): Promise<CodeTask | null> {
14 // TODO: Implement method
15 throw new Error('Method not implemented.');
16 }
17
18 async listCodeTasks(userId: string): Promise<CodeTask[]> {
19 // TODO: Implement method
20 throw new Error('Method not implemented.');
21 }
22
23 async updateCodeTask(userId: string, codeTaskId: string, updates: UpdateCodeTaskData): Promise<void> {
24 // TODO: Implement method
25 throw new Error('Method not implemented.');
26 }
27
28 async deleteCodeTask(userId: string, codeTaskId: string): Promise<void> {
29 // TODO: Implement method
30 throw new Error('Method not implemented.');
31 }
32
33 async saveCodeTaskPreset(preset: CodeTaskPreset): Promise<string> {
34 // TODO: Implement method
35 throw new Error('Method not implemented.');
36 }
37
38 async listCodeTaskPresets(userId: string): Promise<CodeTaskPreset[]> {
39 // TODO: Implement method
40 throw new Error('Method not implemented.');
41 }
42
43 async deleteCodeTaskPreset(userId: string, presetId: string): Promise<void> {
44 // TODO: Implement method
45 throw new Error('Method not implemented.');
46 }
47}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected