@spiffcommerce/core 14.7.4-beta.0 → 14.8.1
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/main.js +86 -63
- package/dist/module.js +42 -19
- package/dist/types.d.ts +13 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1074,6 +1074,7 @@ type ProductCollection = {
|
|
|
1074
1074
|
globalPropertyConfiguration?: GlobalPropertyConfiguration;
|
|
1075
1075
|
name: string;
|
|
1076
1076
|
products: Product[];
|
|
1077
|
+
transformCollection?: TransformCollection;
|
|
1077
1078
|
};
|
|
1078
1079
|
type GlobalPropertyState = {
|
|
1079
1080
|
id: string;
|
|
@@ -1093,6 +1094,18 @@ interface Vector3 {
|
|
|
1093
1094
|
y: number;
|
|
1094
1095
|
z: number;
|
|
1095
1096
|
}
|
|
1097
|
+
interface TransformCollection {
|
|
1098
|
+
id: string;
|
|
1099
|
+
name: string;
|
|
1100
|
+
transforms: TransformCollectionTransform[];
|
|
1101
|
+
}
|
|
1102
|
+
interface TransformCollectionTransform {
|
|
1103
|
+
id: string;
|
|
1104
|
+
name: string;
|
|
1105
|
+
position: Vector3;
|
|
1106
|
+
rotation: Vector3;
|
|
1107
|
+
scale: Vector3;
|
|
1108
|
+
}
|
|
1096
1109
|
interface StorageService {
|
|
1097
1110
|
/**
|
|
1098
1111
|
* Get a value.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spiffcommerce/core",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.8.1",
|
|
4
4
|
"description": "Core client API for interacting with the Spiff Commerce backend.",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@apollo/client": "^3.7.0",
|
|
90
|
-
"@spiffcommerce/papyrus": "
|
|
90
|
+
"@spiffcommerce/papyrus": "4.1.0",
|
|
91
91
|
"cross-fetch": "^3.1.5",
|
|
92
92
|
"graphql": "^16.6.0",
|
|
93
93
|
"lodash.clonedeep": "^4.5.0",
|