@infrab4a/connect 5.3.5 → 5.3.6

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/index.cjs.js CHANGED
@@ -7570,6 +7570,10 @@ const fieldsConfiguration$2 = [
7570
7570
  }),
7571
7571
  },
7572
7572
  },
7573
+ { fullPrice: { columnName: 'full_price' } },
7574
+ { subscriberDiscountPercentage: { columnName: 'subscriber_discount_percentage' } },
7575
+ { subscriberPrice: { columnName: 'subscriber_price' } },
7576
+ { fullPriceDiscountPercentage: { columnName: 'full_price_discount_percentage' } },
7573
7577
  'published',
7574
7578
  {
7575
7579
  stock: {
package/index.esm.js CHANGED
@@ -7546,6 +7546,10 @@ const fieldsConfiguration$2 = [
7546
7546
  }),
7547
7547
  },
7548
7548
  },
7549
+ { fullPrice: { columnName: 'full_price' } },
7550
+ { subscriberDiscountPercentage: { columnName: 'subscriber_discount_percentage' } },
7551
+ { subscriberPrice: { columnName: 'subscriber_price' } },
7552
+ { fullPriceDiscountPercentage: { columnName: 'full_price_discount_percentage' } },
7549
7553
  'published',
7550
7554
  {
7551
7555
  stock: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "5.3.5",
3
+ "version": "5.3.6",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -5,7 +5,7 @@ import { FirestoreRepository, FirestoreSubRepository } from '../types';
5
5
  export declare const withHelpers: <TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<any, any[]> & TMixinBase) => {
6
6
  new (...args: any[]): {
7
7
  [x: string]: any;
8
- toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T> | QueryDocumentSnapshot<T>[]): T[];
8
+ toArray<T extends ModelBaseStructure<T, T["identifiersFields"][number]>>(snapShot: QuerySnapshot<T, import("firebase/firestore").DocumentData> | QueryDocumentSnapshot<T, import("firebase/firestore").DocumentData>[]): T[];
9
9
  isSubCollection<T_1 extends ModelBaseStructure<T_1, T_1["identifiersFields"][number]>, E extends ModelBaseStructure<E, E["identifiersFields"][number]>>(repository: FirestoreRepository<T_1> | FirestoreSubRepository<T_1, E>): repository is FirestoreSubRepository<T_1, E>;
10
10
  };
11
11
  } & TMixinBase;