refactor(db): group database domain modules
This commit is contained in:
1 parent
e43a89096d
commit
6da0a58769
160 files changed
+2124
-1999
No files matched your search
@@ -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));
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user