feat: add skill pack management features including creation, editing, and syncing
This commit is contained in:
committed by
Abhimanyu Saharan
parent
88565f4d69
commit
a7e1e5cbf4
@@ -177,6 +177,9 @@ export * from "./organizationUserRead";
|
||||
export * from "./readyzReadyzGet200";
|
||||
export * from "./searchApiV1SoulsDirectorySearchGetParams";
|
||||
export * from "./sendGatewaySessionMessageApiV1GatewaysSessionsSessionIdMessagePostParams";
|
||||
export * from "./skillPackCreate";
|
||||
export * from "./skillPackRead";
|
||||
export * from "./skillPackSyncResponse";
|
||||
export * from "./soulsDirectoryMarkdownResponse";
|
||||
export * from "./soulsDirectorySearchResponse";
|
||||
export * from "./soulsDirectorySoulRef";
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* Marketplace card payload with gateway-specific install state.
|
||||
*/
|
||||
export interface MarketplaceSkillCardRead {
|
||||
category?: string | null;
|
||||
created_at: string;
|
||||
description?: string | null;
|
||||
id: string;
|
||||
@@ -16,6 +17,8 @@ export interface MarketplaceSkillCardRead {
|
||||
installed_at?: string | null;
|
||||
name: string;
|
||||
organization_id: string;
|
||||
risk?: string | null;
|
||||
source?: string | null;
|
||||
source_url: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
@@ -9,11 +9,14 @@
|
||||
* Serialized marketplace skill catalog record.
|
||||
*/
|
||||
export interface MarketplaceSkillRead {
|
||||
category?: string | null;
|
||||
created_at: string;
|
||||
description?: string | null;
|
||||
id: string;
|
||||
name: string;
|
||||
organization_id: string;
|
||||
risk?: string | null;
|
||||
source?: string | null;
|
||||
source_url: string;
|
||||
updated_at: string;
|
||||
}
|
||||
|
||||
16
frontend/src/api/generated/model/skillPackCreate.ts
Normal file
16
frontend/src/api/generated/model/skillPackCreate.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Payload used to register a pack URL in the organization.
|
||||
*/
|
||||
export interface SkillPackCreate {
|
||||
description?: string | null;
|
||||
name?: string | null;
|
||||
/** @minLength 1 */
|
||||
source_url: string;
|
||||
}
|
||||
20
frontend/src/api/generated/model/skillPackRead.ts
Normal file
20
frontend/src/api/generated/model/skillPackRead.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Serialized skill pack record.
|
||||
*/
|
||||
export interface SkillPackRead {
|
||||
created_at: string;
|
||||
description?: string | null;
|
||||
id: string;
|
||||
name: string;
|
||||
organization_id: string;
|
||||
skill_count?: number;
|
||||
source_url: string;
|
||||
updated_at: string;
|
||||
}
|
||||
17
frontend/src/api/generated/model/skillPackSyncResponse.ts
Normal file
17
frontend/src/api/generated/model/skillPackSyncResponse.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by orval v8.3.0 🍺
|
||||
* Do not edit manually.
|
||||
* Mission Control API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Pack sync summary payload.
|
||||
*/
|
||||
export interface SkillPackSyncResponse {
|
||||
created: number;
|
||||
ok?: boolean;
|
||||
pack_id: string;
|
||||
synced: number;
|
||||
updated: number;
|
||||
}
|
||||
1810
frontend/src/api/generated/skills/skills.ts
Normal file
1810
frontend/src/api/generated/skills/skills.ts
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user