refresh user

This commit is contained in:
john 2025-05-19 09:23:15 +02:00
parent 57e56dc33d
commit 17c9885ccc
6 changed files with 127 additions and 20 deletions

View file

@ -87,8 +87,7 @@ export interface paths {
requestBody: {
content: {
'multipart/form-data': {
/** Format: binary */
file?: string
file?: components['schemas']['IFormFile']
}
}
}
@ -112,7 +111,7 @@ export interface paths {
patch?: never
trace?: never
}
[path: `/media/${string}`]: {
'/media/{id}': {
parameters: {
query?: never
header?: never
@ -266,6 +265,45 @@ export interface paths {
patch?: never
trace?: never
}
'/auth/user/{userId}': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get: {
parameters: {
query?: never
header?: never
path: {
userId: string
}
cookie?: never
}
requestBody?: never
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown
}
content: {
'text/plain': components['schemas']['RefreshUserResult']
'application/json': components['schemas']['RefreshUserResult']
'text/json': components['schemas']['RefreshUserResult']
}
}
}
}
put?: never
post?: never
delete?: never
options?: never
head?: never
patch?: never
trace?: never
}
'/auth/signup-codes': {
parameters: {
query?: never
@ -362,6 +400,8 @@ export interface components {
/** Format: uuid */
next: string | null
}
/** Format: binary */
IFormFile: string
ListSignupCodesResult: {
signupCodes: components['schemas']['SignupCodeDto'][]
}
@ -397,6 +437,12 @@ export interface components {
/** Format: int32 */
height: number | null
}
RefreshUserResult: {
/** Format: uuid */
userId: string
username: string
isSuperUser: boolean
}
RegisterRequest: {
username: string
password: string