Reduce company skill list payloads

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Dotta
2026-03-16 17:45:28 -05:00
parent cca086b863
commit 8460fee380
4 changed files with 58 additions and 13 deletions

View File

@@ -29,7 +29,20 @@ export interface CompanySkill {
updatedAt: Date;
}
export interface CompanySkillListItem extends CompanySkill {
export interface CompanySkillListItem {
id: string;
companyId: string;
slug: string;
name: string;
description: string | null;
sourceType: CompanySkillSourceType;
sourceLocator: string | null;
sourceRef: string | null;
trustLevel: CompanySkillTrustLevel;
compatibility: CompanySkillCompatibility;
fileInventory: CompanySkillFileInventoryEntry[];
createdAt: Date;
updatedAt: Date;
attachedAgentCount: number;
editable: boolean;
editableReason: string | null;