/* eslint-disable prettier/prettier */
///
import type { ExtractBody, ExtractErrorResponse, ExtractQuery, ExtractQueryForGet, ExtractResponse } from '@tuyau/core/types'
import type { InferInput, SimpleError } from '@vinejs/vine/types'
export type ParamValue = string | number | bigint | boolean
export interface Registry {
'auth.new_account.store': {
methods: ["POST"]
pattern: '/api/v1/auth/signup'
types: {
body: ExtractBody>
paramsTuple: []
params: {}
query: ExtractQuery>
response: ExtractResponse>>
errorResponse: ExtractErrorResponse>> | { status: 422; response: { errors: SimpleError[] } }
}
}
'auth.access_tokens.store': {
methods: ["POST"]
pattern: '/api/v1/auth/login'
types: {
body: ExtractBody>
paramsTuple: []
params: {}
query: ExtractQuery>
response: ExtractResponse>>
errorResponse: ExtractErrorResponse>> | { status: 422; response: { errors: SimpleError[] } }
}
}
'profile.profile.show': {
methods: ["GET","HEAD"]
pattern: '/api/v1/account/profile'
types: {
body: {}
paramsTuple: []
params: {}
query: {}
response: ExtractResponse>>
errorResponse: ExtractErrorResponse>>
}
}
'profile.access_tokens.destroy': {
methods: ["POST"]
pattern: '/api/v1/account/logout'
types: {
body: {}
paramsTuple: []
params: {}
query: {}
response: ExtractResponse>>
errorResponse: ExtractErrorResponse>>
}
}
}