GitHub

DaffProductDriverResponse

The driver response model that contains all products returned by the platform.

API

interface DaffProductDriverResponse<T extends DaffProduct = DaffProduct> {
  id: T['id']
  products: T[]
}

Properties

Name Type Description
id T['id'] The ID of the "main" product. That is, the ID that was passed into the driver call.
products T[] The list of products. Contains the main product referenced by `id` and possibly additional products that were nested inside the main product. Does not guarantee uniqueness; duplicates may appear.