// AUTO-GENERATED by mizan — do not edit

import { mizanFetch } from '@mizan/base'

import type { userOrdersOutput, userProfileOutput } from '../types'

export interface UserContextData {
    user_orders: userOrdersOutput
    user_profile: userProfileOutput
}

export interface UserContextParams {
    user_id: number
}

export function fetchUserContext(params: UserContextParams): Promise<UserContextData> {
    return mizanFetch('user', params)
}
