import { BDProductService } from '@agiliza/api/domain'

type ExtendedState = BDProductService

export interface BDProductServiceState extends ExtendedState {}

export const initialState: BDProductServiceState =
  process.env.NODE_ENV === 'development'
    ? {
        id: '',
        description: 'TEST',
        unit: '10',
        monthlySales: { amount: '10', price: '2000' },
        stock: { amount: '20', price: '3000' },
        variableCosts: { amount: '30', price: '4000' },
      }
    : {
        id: '',
        description: '',
        unit: '',
        monthlySales: { amount: '', price: '' },
        stock: { amount: '', price: '' },
        variableCosts: { amount: '', price: '' },
      }
