@infrab4a/connect 5.4.0-beta.1 → 5.4.0-beta.3
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 +1 -5
- package/index.esm.js +1 -5
- package/package.json +1 -1
- package/src/domain/catalog/models/variant.d.ts +0 -2
package/index.cjs.js
CHANGED
|
@@ -871,11 +871,7 @@ class Variant extends ProductBase {
|
|
|
871
871
|
static get identifiersFields() {
|
|
872
872
|
return ['id', 'productId'];
|
|
873
873
|
}
|
|
874
|
-
}
|
|
875
|
-
tslib.__decorate([
|
|
876
|
-
classTransformer.Type(() => Product),
|
|
877
|
-
tslib.__metadata("design:type", Product)
|
|
878
|
-
], Variant.prototype, "product", void 0);
|
|
874
|
+
}
|
|
879
875
|
|
|
880
876
|
class Product extends ProductBase {
|
|
881
877
|
}
|
package/index.esm.js
CHANGED
|
@@ -847,11 +847,7 @@ class Variant extends ProductBase {
|
|
|
847
847
|
static get identifiersFields() {
|
|
848
848
|
return ['id', 'productId'];
|
|
849
849
|
}
|
|
850
|
-
}
|
|
851
|
-
__decorate([
|
|
852
|
-
Type(() => Product),
|
|
853
|
-
__metadata("design:type", Product)
|
|
854
|
-
], Variant.prototype, "product", void 0);
|
|
850
|
+
}
|
|
855
851
|
|
|
856
852
|
class Product extends ProductBase {
|
|
857
853
|
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { Product } from './product';
|
|
2
1
|
import { ProductBase } from './product-base';
|
|
3
2
|
import { VariantGrade } from './types';
|
|
4
3
|
export type ProductVariantIdentifiers = 'id' | 'productId';
|
|
5
4
|
export declare class Variant extends ProductBase<Variant, ProductVariantIdentifiers> {
|
|
6
5
|
productId: string;
|
|
7
6
|
grade?: VariantGrade[];
|
|
8
|
-
product?: Product;
|
|
9
7
|
static get identifiersFields(): ProductVariantIdentifiers[];
|
|
10
8
|
}
|