update authservice

This commit is contained in:
john 2025-05-18 21:20:32 +02:00
parent ca0a6b2950
commit 27098ec9fa
3 changed files with 108 additions and 19 deletions

View file

@ -87,8 +87,7 @@ export interface paths {
requestBody: {
content: {
'multipart/form-data': {
/** Format: binary */
file?: string
file?: components['schemas']['IFormFile']
}
}
}
@ -266,6 +265,66 @@ export interface paths {
patch?: never
trace?: never
}
'/auth/signup-codes': {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
get: {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
requestBody?: never
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown
}
content: {
'text/plain': components['schemas']['ListSignupCodesResult']
'application/json': components['schemas']['ListSignupCodesResult']
'text/json': components['schemas']['ListSignupCodesResult']
}
}
}
}
put?: never
post: {
parameters: {
query?: never
header?: never
path?: never
cookie?: never
}
requestBody: {
content: {
'application/json': components['schemas']['CreateSignupCodeRequest']
'text/json': components['schemas']['CreateSignupCodeRequest']
'application/*+json': components['schemas']['CreateSignupCodeRequest']
}
}
responses: {
/** @description OK */
200: {
headers: {
[name: string]: unknown
}
content?: never
}
}
}
delete?: never
options?: never
head?: never
patch?: never
trace?: never
}
}
export type webhooks = Record<string, never>
export interface components {
@ -292,11 +351,21 @@ export interface components {
/** Format: uuid */
postId: string
}
CreateSignupCodeRequest: {
code: string
email: string
name: string
}
GetAllPublicPostsResponse: {
posts: components['schemas']['PostDto'][]
/** Format: uuid */
next: string | null
}
/** Format: binary */
IFormFile: string
ListSignupCodesResult: {
signupCodes: components['schemas']['SignupCodeDto'][]
}
LoginRequest: {
username: string
password: string
@ -339,6 +408,16 @@ export interface components {
userId: string
username: string
}
SignupCodeDto: {
code: string
email: string
name: string
/** Format: uuid */
redeemingUserId: string | null
redeemingUsername: string | null
/** Format: date-time */
expiresOn: string | null
}
UploadMediaResponse: {
/** Format: uuid */
mediaId: string