@spiffcommerce/core 3.1.0 → 3.3.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/main.js +7 -7
- package/dist/module.js +22 -22
- package/dist/types.d.ts +13 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1364,6 +1364,12 @@ export abstract class StepHandle<T extends _AnyStepData1> {
|
|
|
1364
1364
|
* @returns The type of the step handle.
|
|
1365
1365
|
*/
|
|
1366
1366
|
getType(): _StepType1;
|
|
1367
|
+
/**
|
|
1368
|
+
* Fires any configured animations on the 3D preview for this step.
|
|
1369
|
+
* This includes camera & model animations. If the preview is unavailable
|
|
1370
|
+
* this function will do nothing.
|
|
1371
|
+
*/
|
|
1372
|
+
executeAnimations(): void;
|
|
1367
1373
|
}
|
|
1368
1374
|
export class BulkStepHandle extends StepHandle<_BulkStepData1> {
|
|
1369
1375
|
constructor(manager: WorkflowManager, step: _Step1<_BulkStepData1>);
|
|
@@ -1720,6 +1726,13 @@ export interface WorkflowExperience {
|
|
|
1720
1726
|
* @param metadata
|
|
1721
1727
|
*/
|
|
1722
1728
|
onDesignFinished(product: Product, onProgressUpdate: DesignCreationProgressUpdate, selections: WorkflowSelections, metadata?: WorkflowMetadata | undefined): Promise<DesignCreationMessage>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Returns the metadata associated with this workflow experience.
|
|
1731
|
+
* This is a combination of the metadata from the workflow, and the selections made by the user.
|
|
1732
|
+
*/
|
|
1733
|
+
getExportedData(): Map<string, {
|
|
1734
|
+
[key: string]: string;
|
|
1735
|
+
}>;
|
|
1723
1736
|
}
|
|
1724
1737
|
export const getWorkflow: (id: string) => Promise<_Workflow1>;
|
|
1725
1738
|
/**
|