mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-13 15:44:56 +00:00
chore: generate
This commit is contained in:
@@ -81,12 +81,7 @@ export class ValidationFailed extends Schema.TaggedErrorClass<ValidationFailed>(
|
||||
message: Schema.String,
|
||||
}) {}
|
||||
|
||||
export type Error =
|
||||
| Auth.AuthError
|
||||
| OauthMissing
|
||||
| OauthCodeMissing
|
||||
| OauthCallbackFailed
|
||||
| ValidationFailed
|
||||
export type Error = Auth.AuthError | OauthMissing | OauthCodeMissing | OauthCallbackFailed | ValidationFailed
|
||||
|
||||
type Hook = NonNullable<Hooks["auth"]>
|
||||
|
||||
|
||||
@@ -4217,11 +4217,11 @@
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad request",
|
||||
"description": "ProviderAuthError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BadRequestError"
|
||||
"$ref": "#/components/schemas/ProviderAuthError1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4303,11 +4303,11 @@
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad request",
|
||||
"description": "ProviderAuthError",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BadRequestError"
|
||||
"$ref": "#/components/schemas/ProviderAuthError1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13785,6 +13785,41 @@
|
||||
"required": ["url", "method", "instructions"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ProviderAuthError1": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"BadRequest",
|
||||
"ProviderAuthOauthMissing",
|
||||
"ProviderAuthOauthCodeMissing",
|
||||
"ProviderAuthOauthCallbackFailed",
|
||||
"ProviderAuthValidationFailed"
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"providerID": {
|
||||
"type": "string"
|
||||
},
|
||||
"field": {
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["name", "data"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"TextPartInput": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user