• Maps a FutureResponse DTO to an IFutureModelOptions object.

    Parameters

    Returns IFutureModelOptions<Record<string, unknown>>

    • a valid IFutureModelOptions that can be used to instantiate a new model.

    Remarks

    This function will perform any type conversion or data mapping required by the IKosDataModel. For example, date conversion or changes in interfaces can be managed at this layer rather than having the models deal with the various versions of the interface directly.

    Params

    dto - the Data Transfer Object received from the backend