@aicacia/db
    Preparing search index...

    Interface HttpSourceAdapterConfig

    interface HttpSourceAdapterConfig {
        baseUrl: string;
        collectionPath: string;
        eventSourceConstructor?: new (
            url: string | URL,
            eventSourceInitDict?: EventSourceInit,
        ) => EventSource;
        fetcher?: (
            input: RequestInfo | URL,
            init?: RequestInit,
        ) => Promise<Response>;
        headers?: Record<string, string>;
        itemPath?: string;
        keyField?: string;
        live?: HttpSourceAdapterLiveConfig;
        queryParams?: Record<string, string | number | boolean>;
        requestFactory?: (
            op: HttpOperation,
            config: HttpSourceAdapterConfig,
            payload?: unknown,
            id?: string,
            query?: unknown,
        ) => RequestInit;
        requestInit?: RequestInit;
        usePutForUpdate?: boolean;
        webSocketConstructor?: new (
            url: string | URL,
            protocols?: string | string[],
        ) => WebSocket;
    }
    Index

    Properties

    baseUrl: string
    collectionPath: string
    eventSourceConstructor?: new (
        url: string | URL,
        eventSourceInitDict?: EventSourceInit,
    ) => EventSource
    fetcher?: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>
    headers?: Record<string, string>
    itemPath?: string
    keyField?: string
    queryParams?: Record<string, string | number | boolean>
    requestFactory?: (
        op: HttpOperation,
        config: HttpSourceAdapterConfig,
        payload?: unknown,
        id?: string,
        query?: unknown,
    ) => RequestInit
    requestInit?: RequestInit
    usePutForUpdate?: boolean
    webSocketConstructor?: new (
        url: string | URL,
        protocols?: string | string[],
    ) => WebSocket