@spiffcommerce/core 16.0.2 → 16.1.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/dist/index.d.ts +11 -2
- package/dist/index.js +579 -563
- package/dist/index.umd.cjs +65 -55
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -943,9 +943,17 @@ type ProductCollectionResource = {
|
|
|
943
943
|
id: string;
|
|
944
944
|
globalPropertyConfiguration?: GlobalPropertyConfiguration;
|
|
945
945
|
name: string;
|
|
946
|
-
|
|
946
|
+
productCollectionProducts: ProductCollectionProductResource[];
|
|
947
947
|
transformCollection?: TransformCollection;
|
|
948
948
|
};
|
|
949
|
+
type ProductCollectionProductResource = {
|
|
950
|
+
id: string;
|
|
951
|
+
productCollection?: ProductCollectionResource;
|
|
952
|
+
productCollectionId?: string;
|
|
953
|
+
product: Product;
|
|
954
|
+
productId: string;
|
|
955
|
+
workflowId?: string;
|
|
956
|
+
};
|
|
949
957
|
type GlobalPropertyState = {
|
|
950
958
|
id: string;
|
|
951
959
|
aspects: GlobalPropertyStateAspect[];
|
|
@@ -1570,7 +1578,8 @@ declare class ProductCollection {
|
|
|
1570
1578
|
*/
|
|
1571
1579
|
declare class CollectionProduct {
|
|
1572
1580
|
private readonly product;
|
|
1573
|
-
|
|
1581
|
+
private readonly productResource;
|
|
1582
|
+
constructor(productCollectionProduct: ProductCollectionProductResource);
|
|
1574
1583
|
/**
|
|
1575
1584
|
* The ID of the product in SpiffCommerce.
|
|
1576
1585
|
* @returns
|