@nicefer/types 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/products.js CHANGED
@@ -4,3 +4,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  ;
5
5
  ;
6
6
  ;
7
+ ;
@@ -35,6 +35,7 @@ export interface ProductInDB {
35
35
  optionsToSelect: ProductOptionToSelect[];
36
36
  /** Peso en libras */
37
37
  weightLbs?: number;
38
+ /** @deprecated */
38
39
  ccy: PaymentInDB['ccy'];
39
40
  status: 'active' | 'inactive' | 'discontinued';
40
41
  tags: string[];
@@ -65,7 +66,7 @@ export interface ProductVariantInDB {
65
66
  }[];
66
67
  /**
67
68
  * Warehouses dónde está disponible esta variante.
68
- * Cada ```key``` del objeto es el id del warehouse y su valor será {@link ProductVariantWarehouseFK}.
69
+ * Cada ```key``` del objeto es el id del warehouse y su valor será {@link VariantWarehouseFK}.
69
70
  *
70
71
  * @note Se usa esta nueva manera para poder usar los FieldValue (serverTimestamp, etc) de Firestore,
71
72
  * ya que en los arrays no funcionan.
@@ -98,6 +99,7 @@ export interface VariantWarehouseFK {
98
99
  name: string;
99
100
  stock: number;
100
101
  price: number;
102
+ priceUSD: number;
101
103
  lastPrice?: number;
102
104
  lastPriceUSD?: number;
103
105
  supplierPriceUSD: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",