export const PAGE_TYPES = [
  { value: 'principal', label: 'Principal' },
  { value: 'ecommerce', label: 'Ecommerce' },
  { value: 'checkout', label: 'Shopcart Checkout' },
  { value: 'producto', label: 'Producto' },
  { value: 'formulario', label: 'Formulario' },
] as const;
Object.freeze(PAGE_TYPES);

export const PAGE_TYPES_MAP = PAGE_TYPES.reduce((acc, type) => {
  acc[type.label] = type.value;
  return acc;
}, {}) as Record<(typeof PAGE_TYPES)[number]['label'], (typeof PAGE_TYPES)[number]['value']>;

Object.freeze(PAGE_TYPES_MAP);
