refactor(db): group database domain modules

This commit is contained in:
ZacharyZhang-NY committed 2026-04-22 19:24:25 -04:00
1 parent e43a89096d
commit 6da0a58769
160 files changed
+2124 -1999

No files matched your search

+2 -2
View File
@@ -168,7 +168,7 @@ export function registerSkillHandlers({
const parsed = listSkillAgentsSchema.parse(payload);
const companyError = ensureCompanyExists(parsed.companyId);
if (companyError) return companyError;
return ok(db.skills.listSkillAgentAssignments(parsed.skillId));
return ok(db.core.skills.listSkillAgentAssignments(parsed.skillId));
});
// ---- List skill IDs assigned to an agent ----
@@ -176,6 +176,6 @@ export function registerSkillHandlers({
const parsed = listAgentSkillsSchema.parse(payload);
const companyError = ensureCompanyExists(parsed.companyId);
if (companyError) return companyError;
return ok(db.skills.listAgentSkillAssignments(parsed.agentId));
return ok(db.core.skills.listAgentSkillAssignments(parsed.agentId));
});
}