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,
|
message: Schema.String,
|
||||||
}) {}
|
}) {}
|
||||||
|
|
||||||
export type Error =
|
export type Error = Auth.AuthError | OauthMissing | OauthCodeMissing | OauthCallbackFailed | ValidationFailed
|
||||||
| Auth.AuthError
|
|
||||||
| OauthMissing
|
|
||||||
| OauthCodeMissing
|
|
||||||
| OauthCallbackFailed
|
|
||||||
| ValidationFailed
|
|
||||||
|
|
||||||
type Hook = NonNullable<Hooks["auth"]>
|
type Hook = NonNullable<Hooks["auth"]>
|
||||||
|
|
||||||
|
|||||||
@@ -4217,11 +4217,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"400": {
|
"400": {
|
||||||
"description": "Bad request",
|
"description": "ProviderAuthError",
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/BadRequestError"
|
"$ref": "#/components/schemas/ProviderAuthError1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4303,11 +4303,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"400": {
|
"400": {
|
||||||
"description": "Bad request",
|
"description": "ProviderAuthError",
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/BadRequestError"
|
"$ref": "#/components/schemas/ProviderAuthError1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13785,6 +13785,41 @@
|
|||||||
"required": ["url", "method", "instructions"],
|
"required": ["url", "method", "instructions"],
|
||||||
"additionalProperties": false
|
"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": {
|
"TextPartInput": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|||||||
Reference in New Issue
Block a user