import { IModule } from 'angular';
import { Magento2ProductAttributesApiService } from './magento2.product.attributes.api.service';
import { AttributesComponent } from './attributes.component';

/**
 * Module combining all parts of the <attributes-component>
 */
export const AttributesModule: IModule = angular
  .module('AttributesModule', [])
  .component('beyerAttributes', AttributesComponent)
  .service('magento2ProductAttributesApiService', Magento2ProductAttributesApiService)
  .value('API_URL', '//')
  .value('API_PRODUCT_ATTRIBUTES_ENDPOINT', 'rest/V1/products/attributes')
;
