@spiffcommerce/core 34.2.0-beta.8768fb84-fcf9-5f74-887a-269c132438f2 → 34.3.0-beta.1e05cef1-118d-5927-a0b1-6b2ca9f97366
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 +2 -1
- package/dist/index.js +182 -182
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1406 -1410
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2971,6 +2971,7 @@ interface Step<T extends AnyStepData = AnyStepData> {
|
|
|
2971
2971
|
relevantPanelName?: string;
|
|
2972
2972
|
silent?: boolean;
|
|
2973
2973
|
option?: OptionResource;
|
|
2974
|
+
overrideDefaultVariantId?: string;
|
|
2974
2975
|
optionId?: string;
|
|
2975
2976
|
stepName: string;
|
|
2976
2977
|
stepTitle: string;
|
|
@@ -4954,7 +4955,7 @@ declare class OptionService {
|
|
|
4954
4955
|
*/
|
|
4955
4956
|
getOption(id: string): Promise<undefined | OptionResource>;
|
|
4956
4957
|
getAssetTileImageForVariant(variant: VariantResource): Promise<string>;
|
|
4957
|
-
getDefaultVariant(option: OptionResource)
|
|
4958
|
+
getDefaultVariant: (option: OptionResource, overrideDefaultVariantId?: string) => VariantResource | undefined;
|
|
4958
4959
|
/**
|
|
4959
4960
|
* Returns the first variant marked as selected. This is used by most steps.
|
|
4960
4961
|
*/
|