@spiffcommerce/core 12.11.4 → 12.12.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/module.js CHANGED
@@ -816,6 +816,14 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
816
816
  weight
817
817
  }
818
818
  }
819
+ `}
820
+ ${ft`
821
+ fragment ModelAnimationFields on ModelAnimation {
822
+ from
823
+ to
824
+ loop
825
+ name
826
+ }
819
827
  `}
820
828
  query GetWorkflow($id: String!) {
821
829
  workflow(id: $id) {
@@ -827,9 +835,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
827
835
  ...LookAtAnimationFields
828
836
  }
829
837
  modelAnimation {
830
- from
831
- to
832
- loop
838
+ ...ModelAnimationFields
833
839
  }
834
840
  }
835
841
  globalPreviewConfig {
@@ -927,9 +933,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
927
933
  ...LookAtAnimationFields
928
934
  }
929
935
  modelAnimation {
930
- from
931
- to
932
- loop
936
+ ...ModelAnimationFields
933
937
  }
934
938
  regions {
935
939
  ...RegionFields
@@ -956,9 +960,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
956
960
  ...LookAtAnimationFields
957
961
  }
958
962
  modelAnimation {
959
- from
960
- to
961
- loop
963
+ ...ModelAnimationFields
962
964
  }
963
965
  overlayImageKey
964
966
  overlayImageUrl
@@ -989,9 +991,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
989
991
  ...LookAtAnimationFields
990
992
  }
991
993
  modelAnimation {
992
- from
993
- to
994
- loop
994
+ ...ModelAnimationFields
995
995
  }
996
996
  regions {
997
997
  ...RegionFields
@@ -1012,9 +1012,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1012
1012
  ...LookAtAnimationFields
1013
1013
  }
1014
1014
  modelAnimation {
1015
- from
1016
- to
1017
- loop
1015
+ ...ModelAnimationFields
1018
1016
  }
1019
1017
  targetMaterials
1020
1018
  varySelection
@@ -1032,9 +1030,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1032
1030
  ...LookAtAnimationFields
1033
1031
  }
1034
1032
  modelAnimation {
1035
- from
1036
- to
1037
- loop
1033
+ ...ModelAnimationFields
1038
1034
  }
1039
1035
  replaceProductModel
1040
1036
  varySelection
@@ -1053,9 +1049,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1053
1049
  }
1054
1050
  maxLength
1055
1051
  modelAnimation {
1056
- from
1057
- to
1058
- loop
1052
+ ...ModelAnimationFields
1059
1053
  }
1060
1054
  module
1061
1055
  regions {
@@ -1076,9 +1070,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1076
1070
  ...LookAtAnimationFields
1077
1071
  }
1078
1072
  modelAnimation {
1079
- from
1080
- to
1081
- loop
1073
+ ...ModelAnimationFields
1082
1074
  }
1083
1075
  regions {
1084
1076
  ...RegionFields
@@ -1105,9 +1097,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1105
1097
  ...LookAtAnimationFields
1106
1098
  }
1107
1099
  modelAnimation {
1108
- from
1109
- to
1110
- loop
1100
+ ...ModelAnimationFields
1111
1101
  }
1112
1102
  varySelections
1113
1103
  }
@@ -1125,9 +1115,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1125
1115
  ...LookAtAnimationFields
1126
1116
  }
1127
1117
  modelAnimation {
1128
- from
1129
- to
1130
- loop
1118
+ ...ModelAnimationFields
1131
1119
  }
1132
1120
  regions {
1133
1121
  ...RegionFields
@@ -1149,9 +1137,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1149
1137
  ...LookAtAnimationFields
1150
1138
  }
1151
1139
  modelAnimation {
1152
- from
1153
- to
1154
- loop
1140
+ ...ModelAnimationFields
1155
1141
  }
1156
1142
  regions {
1157
1143
  ...RegionFields
@@ -1191,9 +1177,7 @@ import{CommandContext as t,AssetType as A,BringForwardCommand as e,BringToFrontC
1191
1177
  maxSize
1192
1178
  minSize
1193
1179
  modelAnimation {
1194
- from
1195
- to
1196
- loop
1180
+ ...ModelAnimationFields
1197
1181
  }
1198
1182
  paths
1199
1183
  regions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spiffcommerce/core",
3
- "version": "12.11.4",
3
+ "version": "12.12.0",
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",
@@ -45,7 +45,7 @@
45
45
  "@parcel/transformer-typescript-tsc": "^2.8.0",
46
46
  "@parcel/transformer-typescript-types": "2.8.0",
47
47
  "@parcel/validator-typescript": "^2.8.0",
48
- "@spiffcommerce/preview": "^3.2.0",
48
+ "@spiffcommerce/preview": "^3.3.0",
49
49
  "@types/enzyme": "^3.10.12",
50
50
  "@types/jest": "^29.0.3",
51
51
  "@types/lodash.clonedeep": "^4.5.7",
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.0",
90
- "@spiffcommerce/papyrus": "^2.0.11",
90
+ "@spiffcommerce/papyrus": "^2.0.12",
91
91
  "cross-fetch": "^3.1.5",
92
92
  "graphql": "^16.6.0",
93
93
  "lodash.clonedeep": "^4.5.0",