@or-sdk/flows 0.24.7-368.0 → 0.24.7-370.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/package.json +1 -1
- package/src/Flows.ts +2 -2
package/package.json
CHANGED
package/src/Flows.ts
CHANGED
|
@@ -262,7 +262,7 @@ export class Flows implements Taggable<Flow> {
|
|
|
262
262
|
/**
|
|
263
263
|
* List unused step templates from flow source
|
|
264
264
|
* ```typescript
|
|
265
|
-
* const result =
|
|
265
|
+
* const result = Flows.getUnusedStepTemplates(source);
|
|
266
266
|
* ```
|
|
267
267
|
*/
|
|
268
268
|
public static listUnusedStepTemplates(source: Flow): StepTemplateRaw[] {
|
|
@@ -274,7 +274,7 @@ export class Flows implements Taggable<Flow> {
|
|
|
274
274
|
*
|
|
275
275
|
* Can delete specific templates passed as 2nd argument otherwise deletes all unused templates
|
|
276
276
|
* ```typescript
|
|
277
|
-
* const result =
|
|
277
|
+
* const result = Flows.deleteUnusedStepTemplates(source, unusedTemplatesArr);
|
|
278
278
|
* ```
|
|
279
279
|
*/
|
|
280
280
|
public static deleteUnusedStepTemplates(source: Flow, stepTemplates: StepTemplateToDelete[] = []): Flow {
|