@nick848/sf-cli 1.0.4 → 1.0.8

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.mts CHANGED
@@ -1588,6 +1588,18 @@ declare class WorkflowEngine {
1588
1588
  * 获取当前状态
1589
1589
  */
1590
1590
  getState(): WorkflowState | null;
1591
+ /**
1592
+ * 获取所有活跃工作流
1593
+ */
1594
+ getAllActiveWorkflows(): Promise<WorkflowState[]>;
1595
+ /**
1596
+ * 解析变更记录
1597
+ */
1598
+ private parseChangeRecord;
1599
+ /**
1600
+ * 切换到指定工作流
1601
+ */
1602
+ switchTo(changeId: string): Promise<boolean>;
1591
1603
  /**
1592
1604
  * 获取允许的下一步
1593
1605
  */
package/dist/index.d.ts CHANGED
@@ -1588,6 +1588,18 @@ declare class WorkflowEngine {
1588
1588
  * 获取当前状态
1589
1589
  */
1590
1590
  getState(): WorkflowState | null;
1591
+ /**
1592
+ * 获取所有活跃工作流
1593
+ */
1594
+ getAllActiveWorkflows(): Promise<WorkflowState[]>;
1595
+ /**
1596
+ * 解析变更记录
1597
+ */
1598
+ private parseChangeRecord;
1599
+ /**
1600
+ * 切换到指定工作流
1601
+ */
1602
+ switchTo(changeId: string): Promise<boolean>;
1591
1603
  /**
1592
1604
  * 获取允许的下一步
1593
1605
  */