@jiway/firestorm-core - v1.1.1
    Preparing search index...

    Class DocumentRequest<T>

    Request for a single document from the DB

    Type Parameters

    • T

    Implements

    Index

    Constructors

    Properties

    Constructors

    • Creates a DocumentRequest

      Type Parameters

      • T

      Parameters

      • type: Type<T>

        Type of the ressource

      • basePath: Path

        The base path which is the path to the document initiating the request

      • ...relativePaths: PathLike[]

        Additionnal parts of the paths

      Returns DocumentRequest<T>

    Properties

    path: Path

    Path to the ressource

    requestType: Document = RequestType.Document

    Type of the request

    type: Type<T>

    Type of the ressource