export { CustomerService } from './CustomerService';
export { CustomerStore } from './CustomerStore';
export type { ICustomer } from '../../types/CalendarTypes';

// DI registration helper
import type { Builder } from '@novadi/core';
import { IStore } from '../../storage/IStore';
import { IEntityService } from '../../storage/IEntityService';
import type { ICustomer, ISync } from '../../types/CalendarTypes';
import { CustomerStore } from './CustomerStore';
import { CustomerService } from './CustomerService';

export function registerCustomers(builder: Builder): void {
  builder.registerType(CustomerStore).as<IStore>();
  builder.registerType(CustomerService).as<IEntityService<ICustomer>>();
  builder.registerType(CustomerService).as<IEntityService<ISync>>();
  builder.registerType(CustomerService).as<CustomerService>();
}
