Libraries
    Preparing search index...

    Interface EndpointMeta

    Endpoint metadata carried through PER_CALL_OPTIONS on every request.

    Computed by the Proxy-based client at call time, this gives middleware access to the endpoint's structural info plus the actual call arguments without any URL parsing or regex.

    Used by throttlingCache for cache-invalidation callbacks.

    interface EndpointMeta {
        basePath: string;
        baseUrl: string;
        body: unknown;
        cacheTags: readonly {
            name: string;
            properties: Readonly<
                Record<
                    string,
                    {
                        getValue(
                            root: {
                                body: unknown;
                                headers: Record<string, string>;
                                params: Record<string, unknown>;
                                query: Record<string, unknown>;
                            },
                        ): { success: boolean; value?: unknown };
                    },
                >,
            >;
        }[];
        collectionPath: string;
        endpoint: string;
        fullCollectionUrl: string;
        group: string;
        headers: Readonly<Record<string, string>>;
        method: string;
        operationId: string | null;
        params: Readonly<Record<string, unknown>>;
        path: string;
        pathParamNames: string[];
        query: Readonly<Record<string, unknown>>;
        tags: readonly string[];
    }
    Index

    Properties

    basePath: string

    Resource base path, e.g. /api/todos.

    baseUrl: string

    Client base URL (e.g. "http://localhost:3000" or "").

    body: unknown

    Request body.

    cacheTags: readonly {
        name: string;
        properties: Readonly<
            Record<
                string,
                {
                    getValue(
                        root: {
                            body: unknown;
                            headers: Record<string, string>;
                            params: Record<string, unknown>;
                            query: Record<string, unknown>;
                        },
                    ): { success: boolean; value?: unknown };
                },
            >,
        >;
    }[]

    Cache tag definitions from the endpoint's .cacheTag() calls. Each tag has a name and a map of properties (key → accessor). Used by the cacheTags middleware.

    collectionPath: string

    Resource collection path (basePath without param placeholders).

    endpoint: string

    Endpoint name within the group, e.g. "update".

    fullCollectionUrl: string

    Full collection URL matching the HTTP cache key format. Computed as baseUrl (stripped of trailing slash) + collectionPath.

    group: string

    Contract group name, e.g. "todos".

    headers: Readonly<Record<string, string>>

    Request headers from the call, e.g. { 'x-request-id': 'abc' }.

    method: string

    HTTP method in uppercase, e.g. "PATCH".

    operationId: string | null

    OpenAPI operationId, or null.

    params: Readonly<Record<string, unknown>>

    Actual route parameter values from the call, e.g. { id: 42 }.

    path: string

    Path template with colon placeholders, e.g. /api/todos/:id.

    pathParamNames: string[]

    Names of path parameters, e.g. ["id"].

    query: Readonly<Record<string, unknown>>

    Query parameters, e.g. { page: 1 }.

    tags: readonly string[]

    OpenAPI tags, or [].