@spiffcommerce/core 14.11.0 → 14.12.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 +1 -1
- package/dist/module.js +12 -12
- package/dist/types.d.ts +10 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -2171,6 +2171,16 @@ export interface Bundle {
|
|
|
2171
2171
|
* @param index The index to insert the workflow experience at.
|
|
2172
2172
|
*/
|
|
2173
2173
|
insertWorkflowExperience(experience: WorkflowExperience, index: number): Promise<void>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Replaces a workflow experience at the given index with the given workflow experience. This essentially removes the old one and inserts the new one.
|
|
2176
|
+
* @param index The index to replace the workflow experience at.
|
|
2177
|
+
* @param experience The workflow experience to replace the old one with.
|
|
2178
|
+
*/
|
|
2179
|
+
replaceWorkflowExperience(index: number, experience: WorkflowExperience): Promise<void>;
|
|
2180
|
+
/**
|
|
2181
|
+
* Swaps the workflow experiences at the given indices.
|
|
2182
|
+
*/
|
|
2183
|
+
swapWorkflowExperiences(a: number, b: number): Promise<void>;
|
|
2174
2184
|
/**
|
|
2175
2185
|
* Returns all workflow experiences currently added to this bundle.
|
|
2176
2186
|
*/
|