@shadmanZero/tenantos-api
    Preparing search index...

    Interface ApiResponse<T>

    Standard API response wrapper

    All TenantOS API responses follow this structure, providing consistent error handling and result extraction across all endpoints.

    interface ApiResponse<T = unknown> {
        message?: string;
        result?: T;
    }

    Type Parameters

    • T = unknown

      The type of the result data

    Index

    Properties

    Properties

    message?: string

    Optional message from the server

    result?: T

    The actual response data (if successful)