// AUTO-GENERATED by mizan — do not edit

import { mizanFetch } from '@mizan/base'

import type { currentUserOutput } from '../types'

export interface GlobalContextData {
    current_user: currentUserOutput
}

export type GlobalContextParams = Record<string, never>

export function fetchGlobalContext(params: GlobalContextParams): Promise<GlobalContextData> {
    return mizanFetch('global', params)
}
