mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
chore: regen sdk
This commit is contained in:
parent
8bff3cdae8
commit
553d9013eb
4 changed files with 2622 additions and 677 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -244,8 +244,10 @@ export class Project extends HeyApiClient {
|
|||
projectID: string
|
||||
directory?: string
|
||||
name?: string
|
||||
icon?: string
|
||||
color?: string
|
||||
icon?: {
|
||||
url: string
|
||||
color: string
|
||||
}
|
||||
},
|
||||
options?: Options<never, ThrowOnError>,
|
||||
) {
|
||||
|
|
@ -258,7 +260,6 @@ export class Project extends HeyApiClient {
|
|||
{ in: "query", key: "directory" },
|
||||
{ in: "body", key: "name" },
|
||||
{ in: "body", key: "icon" },
|
||||
{ in: "body", key: "color" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
|
|||
|
|
@ -4,13 +4,6 @@ export type ClientOptions = {
|
|||
baseUrl: `${string}://${string}` | (string & {})
|
||||
}
|
||||
|
||||
export type EventServerInstanceDisposed = {
|
||||
type: "server.instance.disposed"
|
||||
properties: {
|
||||
directory: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventInstallationUpdated = {
|
||||
type: "installation.updated"
|
||||
properties: {
|
||||
|
|
@ -25,6 +18,34 @@ export type EventInstallationUpdateAvailable = {
|
|||
}
|
||||
}
|
||||
|
||||
export type Project = {
|
||||
id: string
|
||||
worktree: string
|
||||
vcs?: "git"
|
||||
name?: string
|
||||
icon?: {
|
||||
url: string
|
||||
color: string
|
||||
}
|
||||
time: {
|
||||
created: number
|
||||
updated?: number
|
||||
initialized?: number
|
||||
}
|
||||
}
|
||||
|
||||
export type EventProjectUpdated = {
|
||||
type: "project.updated"
|
||||
properties: Project
|
||||
}
|
||||
|
||||
export type EventServerInstanceDisposed = {
|
||||
type: "server.instance.disposed"
|
||||
properties: {
|
||||
directory: string
|
||||
}
|
||||
}
|
||||
|
||||
export type EventLspClientDiagnostics = {
|
||||
type: "lsp.client.diagnostics"
|
||||
properties: {
|
||||
|
|
@ -704,9 +725,10 @@ export type EventServerConnected = {
|
|||
}
|
||||
|
||||
export type Event =
|
||||
| EventServerInstanceDisposed
|
||||
| EventInstallationUpdated
|
||||
| EventInstallationUpdateAvailable
|
||||
| EventProjectUpdated
|
||||
| EventServerInstanceDisposed
|
||||
| EventLspClientDiagnostics
|
||||
| EventLspUpdated
|
||||
| EventMessageUpdated
|
||||
|
|
@ -742,20 +764,6 @@ export type GlobalEvent = {
|
|||
payload: Event
|
||||
}
|
||||
|
||||
export type Project = {
|
||||
id: string
|
||||
worktree: string
|
||||
vcs?: "git"
|
||||
name?: string
|
||||
icon?: string
|
||||
color?: string
|
||||
time: {
|
||||
created: number
|
||||
updated?: number
|
||||
initialized?: number
|
||||
}
|
||||
}
|
||||
|
||||
export type BadRequestError = {
|
||||
data: unknown
|
||||
errors: Array<{
|
||||
|
|
@ -1721,8 +1729,10 @@ export type ProjectCurrentResponse = ProjectCurrentResponses[keyof ProjectCurren
|
|||
export type ProjectUpdateData = {
|
||||
body?: {
|
||||
name?: string
|
||||
icon?: string
|
||||
color?: string
|
||||
icon?: {
|
||||
url: string
|
||||
color: string
|
||||
}
|
||||
}
|
||||
path: {
|
||||
projectID: string
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue