fix(misskey-js): type fixes related to signup and signin (#14679)
This commit is contained in:
		| @@ -118,6 +118,7 @@ export class ApiServerService { | ||||
| 				'hcaptcha-response'?: string; | ||||
| 				'g-recaptcha-response'?: string; | ||||
| 				'turnstile-response'?: string; | ||||
| 				'm-captcha-response'?: string; | ||||
| 			} | ||||
| 		}>('/signup', (request, reply) => this.signupApiService.signup(request, reply)); | ||||
|  | ||||
| @@ -126,17 +127,18 @@ export class ApiServerService { | ||||
| 				username: string; | ||||
| 				password: string; | ||||
| 				token?: string; | ||||
| 				signature?: string; | ||||
| 				authenticatorData?: string; | ||||
| 				clientDataJSON?: string; | ||||
| 				credentialId?: string; | ||||
| 				challengeId?: string; | ||||
| 				credential?: AuthenticationResponseJSON; | ||||
| 				'hcaptcha-response'?: string; | ||||
| 				'g-recaptcha-response'?: string; | ||||
| 				'turnstile-response'?: string; | ||||
| 				'm-captcha-response'?: string; | ||||
| 			}; | ||||
| 		}>('/signin', (request, reply) => this.signinApiService.signin(request, reply)); | ||||
|  | ||||
| 		fastify.post<{ | ||||
| 			Body: { | ||||
| 				credential?: AuthenticationResponseJSON; | ||||
| 				context?: string; | ||||
| 			}; | ||||
| 		}>('/signin-with-passkey', (request, reply) => this.signinWithPasskeyApiService.signin(request, reply)); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 zyoshoka
					zyoshoka