@spiffcommerce/core 0.10.80 → 0.10.82
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/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1330,6 +1330,17 @@ export interface WorkflowExperience {
|
|
|
1330
1330
|
* @param scene The scene you want the steps for.
|
|
1331
1331
|
*/
|
|
1332
1332
|
getStepsByScene(scene: StepGroup): StepHandle<_AnyStepData1>[];
|
|
1333
|
+
/**
|
|
1334
|
+
* Saves this experience to storage. This may be local or remote depending
|
|
1335
|
+
* on configuration.
|
|
1336
|
+
* @param title The title for the saved design.
|
|
1337
|
+
*/
|
|
1338
|
+
save(title: string): Promise<void>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Returns a copy of the currently loaded design as a new, seperated workflow experience with
|
|
1341
|
+
* a fresh transaction.
|
|
1342
|
+
*/
|
|
1343
|
+
copy(): Promise<WorkflowExperience>;
|
|
1333
1344
|
/**
|
|
1334
1345
|
* Creates a data URL preview for the current design.
|
|
1335
1346
|
*/
|