@infrab4a/connect 4.7.0 → 4.8.0-beta.0

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
@@ -2249,9 +2249,6 @@ class UpdateUserImage {
2249
2249
  }
2250
2250
 
2251
2251
  class LineItem extends Product {
2252
- get pricePaidWithDiscount() {
2253
- return this.pricePaid - this.discount;
2254
- }
2255
2252
  }
2256
2253
 
2257
2254
  class ShippingMethod extends BaseModel {
@@ -5238,6 +5235,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
5238
5235
  { fullPriceDiscountPercentage: { columnName: 'full_price_discount_percentage' } },
5239
5236
  { subscriberPrice: { columnName: 'subscriber_price' } },
5240
5237
  'published',
5238
+ 'outlet',
5241
5239
  'sku',
5242
5240
  {
5243
5241
  stock: {
package/index.esm.js CHANGED
@@ -2225,9 +2225,6 @@ class UpdateUserImage {
2225
2225
  }
2226
2226
 
2227
2227
  class LineItem extends Product {
2228
- get pricePaidWithDiscount() {
2229
- return this.pricePaid - this.discount;
2230
- }
2231
2228
  }
2232
2229
 
2233
2230
  class ShippingMethod extends BaseModel {
@@ -5214,6 +5211,7 @@ class ProductHasuraGraphQLRepository extends withCrudHasuraGraphQL(withHasuraGra
5214
5211
  { fullPriceDiscountPercentage: { columnName: 'full_price_discount_percentage' } },
5215
5212
  { subscriberPrice: { columnName: 'subscriber_price' } },
5216
5213
  'published',
5214
+ 'outlet',
5217
5215
  'sku',
5218
5216
  {
5219
5217
  stock: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrab4a/connect",
3
- "version": "4.7.0",
3
+ "version": "4.8.0-beta.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -13,7 +13,7 @@
13
13
  "class-transformer": "^0.5.1",
14
14
  "date-fns": "^2.28.0",
15
15
  "debug": "^4.3.4",
16
- "firebase": "^9.9.0",
16
+ "firebase": "^10.7.0",
17
17
  "gql-query-builder": "3.7.0",
18
18
  "lodash": "^4.17.21",
19
19
  "reflect-metadata": "^0.1.13",
@@ -33,6 +33,7 @@ export declare class ProductBase<ChildProduct extends ModelBaseStructure<ChildPr
33
33
  gender?: ProductGender;
34
34
  shoppingCount?: number;
35
35
  metadata: ProductMetadata;
36
+ outlet?: boolean;
36
37
  private reviewsTotal?;
37
38
  get evaluation(): ProductEvaluation;
38
39
  set evaluation(evaluation: ProductEvaluation);
@@ -4,7 +4,5 @@ export declare class LineItem extends Product {
4
4
  quantity: number;
5
5
  isGift?: boolean;
6
6
  pricePaid?: number;
7
- discount?: number;
8
7
  image?: string;
9
- get pricePaidWithDiscount(): number;
10
8
  }