Mayson Monorepo Documentation
    Preparing search index...

    Configuration for creating an API client instance

    interface ApiClientConfig {
        baseUrl: string;
        getToken: () => string | Promise<string>;
    }
    Index

    Properties

    Properties

    baseUrl: string

    Base URL for the API (e.g., "http://localhost:3001")

    getToken: () => string | Promise<string>

    Function to get the current auth token (can be sync or async)