wip
This commit is contained in:
parent
59795b7543
commit
32935ef3cf
8 changed files with 190 additions and 43 deletions
|
|
@ -407,6 +407,7 @@ export class App extends HeyApiClient {
|
|||
parameters?: {
|
||||
directory?: string
|
||||
workspace?: string
|
||||
include?: "invalid"
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
) {
|
||||
|
|
@ -417,6 +418,7 @@ export class App extends HeyApiClient {
|
|||
args: [
|
||||
{ in: "query", key: "directory" },
|
||||
{ in: "query", key: "workspace" },
|
||||
{ in: "query", key: "include" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -4233,6 +4233,7 @@ export type AppSkillsData = {
|
|||
query?: {
|
||||
directory?: string
|
||||
workspace?: string
|
||||
include?: "invalid"
|
||||
}
|
||||
url: "/skill"
|
||||
}
|
||||
|
|
@ -4241,12 +4242,26 @@ export type AppSkillsResponses = {
|
|||
/**
|
||||
* List of skills
|
||||
*/
|
||||
200: Array<{
|
||||
name: string
|
||||
description?: string
|
||||
location: string
|
||||
content: string
|
||||
}>
|
||||
200:
|
||||
| Array<{
|
||||
name: string
|
||||
description?: string
|
||||
location: string
|
||||
content: string
|
||||
}>
|
||||
| {
|
||||
skills: Array<{
|
||||
name: string
|
||||
description?: string
|
||||
location: string
|
||||
content: string
|
||||
}>
|
||||
invalid: Array<{
|
||||
path: string
|
||||
reason: "parse" | "frontmatter" | "schema" | "duplicate"
|
||||
message: string
|
||||
}>
|
||||
}
|
||||
}
|
||||
|
||||
export type AppSkillsResponse = AppSkillsResponses[keyof AppSkillsResponses]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue