graycoreio/daffodil

View on GitHub
libs/analytics-provider-data-layer/src/lib/layers/ecommerce/impression.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { DataLayerProduct } from './product/product';

export interface ProductImpression extends DataLayerProduct{
  list: string;
  position: number;
}

export interface EcommerceDataLayerImpression {
  ecommerce: {
    impressions?: ProductImpression[];
  };
}