-
-
Notifications
You must be signed in to change notification settings - Fork 424
Expand file tree
/
Copy pathskills.ts
More file actions
39 lines (34 loc) · 757 Bytes
/
skills.ts
File metadata and controls
39 lines (34 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import type { WarningMessage } from '#shared/types/warning'
export interface SkillFrontmatter {
name: string
description: string
license?: string
compatibility?: string
metadata?: Record<string, string>
}
export interface SkillFileCounts {
scripts?: number
references?: number
assets?: number
}
export interface SkillListItem {
name: string
description: string
dirName: string
license?: string
compatibility?: string
warnings?: WarningMessage[]
fileCounts?: SkillFileCounts
}
export interface SkillsListResponse {
package: string
version: string
skills: SkillListItem[]
}
export interface SkillContentResponse {
package: string
version: string
skill: string
frontmatter: SkillFrontmatter
content: string
}