File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,12 +81,7 @@ export class ValidationFailed extends Schema.TaggedErrorClass<ValidationFailed>(
8181 message : Schema . String ,
8282} ) { }
8383
84- export type Error =
85- | Auth . AuthError
86- | OauthMissing
87- | OauthCodeMissing
88- | OauthCallbackFailed
89- | ValidationFailed
84+ export type Error = Auth . AuthError | OauthMissing | OauthCodeMissing | OauthCallbackFailed | ValidationFailed
9085
9186type Hook = NonNullable < Hooks [ "auth" ] >
9287
Original file line number Diff line number Diff line change 42174217 }
42184218 },
42194219 "400": {
4220- "description": "Bad request ",
4220+ "description": "ProviderAuthError ",
42214221 "content": {
42224222 "application/json": {
42234223 "schema": {
4224- "$ref": "#/components/schemas/BadRequestError "
4224+ "$ref": "#/components/schemas/ProviderAuthError1 "
42254225 }
42264226 }
42274227 }
43034303 }
43044304 },
43054305 "400": {
4306- "description": "Bad request ",
4306+ "description": "ProviderAuthError ",
43074307 "content": {
43084308 "application/json": {
43094309 "schema": {
4310- "$ref": "#/components/schemas/BadRequestError "
4310+ "$ref": "#/components/schemas/ProviderAuthError1 "
43114311 }
43124312 }
43134313 }
1378513785 "required": ["url", "method", "instructions"],
1378613786 "additionalProperties": false
1378713787 },
13788+ "ProviderAuthError1": {
13789+ "type": "object",
13790+ "properties": {
13791+ "name": {
13792+ "type": "string",
13793+ "enum": [
13794+ "BadRequest",
13795+ "ProviderAuthOauthMissing",
13796+ "ProviderAuthOauthCodeMissing",
13797+ "ProviderAuthOauthCallbackFailed",
13798+ "ProviderAuthValidationFailed"
13799+ ]
13800+ },
13801+ "data": {
13802+ "type": "object",
13803+ "properties": {
13804+ "providerID": {
13805+ "type": "string"
13806+ },
13807+ "field": {
13808+ "type": "string"
13809+ },
13810+ "message": {
13811+ "type": "string"
13812+ },
13813+ "kind": {
13814+ "type": "string"
13815+ }
13816+ },
13817+ "additionalProperties": false
13818+ }
13819+ },
13820+ "required": ["name", "data"],
13821+ "additionalProperties": false
13822+ },
1378813823 "TextPartInput": {
1378913824 "type": "object",
1379013825 "properties": {
You can’t perform that action at this time.
0 commit comments