fix: add companyId filter to metadata update + export CompanySkillUpdateAuth type

- Scope metadata update WHERE clause to companyId for defence-in-depth
- Add CompanySkillUpdateAuth inferred type export to match other schemas

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-09 16:03:33 -04:00
parent e3c172a06f
commit 1956ccd7b5
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -56,6 +56,7 @@ export {
type CompanySkillProjectScan,
type CompanySkillCreate,
type CompanySkillFileUpdate,
type CompanySkillUpdateAuth,
} from "./company-skill.js";
export {
agentSkillStateSchema,