feat(skills): add metadata and branch fields to skill packs and marketplace skills
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
* Payload used to register a pack URL in the organization.
|
||||
*/
|
||||
export interface SkillPackCreate {
|
||||
branch?: string;
|
||||
description?: string | null;
|
||||
name?: string | null;
|
||||
metadata?: Record<string, object>;
|
||||
/** @minLength 1 */
|
||||
source_url: string;
|
||||
}
|
||||
|
||||
@@ -12,8 +12,10 @@ export interface SkillPackRead {
|
||||
created_at: string;
|
||||
description?: string | null;
|
||||
id: string;
|
||||
branch: string;
|
||||
name: string;
|
||||
organization_id: string;
|
||||
metadata: Record<string, object>;
|
||||
skill_count?: number;
|
||||
source_url: string;
|
||||
updated_at: string;
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
export interface SkillPackSyncResponse {
|
||||
created: number;
|
||||
ok?: boolean;
|
||||
warnings: string[];
|
||||
pack_id: string;
|
||||
synced: number;
|
||||
updated: number;
|
||||
|
||||
Reference in New Issue
Block a user