@squidcloud/client
    Preparing search index...

    Interface DocIdAndData<T>

    Represents a docId and the data to be inserted. If the docId is not provided, it will be generated on the server in case the integration supports it. Read more about docId in the documentation.

    interface DocIdAndData<T extends DocumentData> {
        data: T;
        id?: DocIdOrDocIdObj;
    }

    Type Parameters

    Index

    Properties

    Properties

    data: T

    Data associated with the document.

    Optional document ID. If not provided, it may be generated by the server.