Skip to content

Commit 17171a5

Browse files
authored
Merge pull request #332 from ForgeRock/add-node-states-back
chore: add-back-node-states
2 parents 39ce7e0 + 0ea7df7 commit 17171a5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@forgerock/davinci-client': patch
3+
---
4+
5+
add-back-node-states-api

packages/davinci-client/src/types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
1+
/* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
32
*
43
* This software may be modified and distributed under the terms
54
* of the MIT license. See the LICENSE file for details.
@@ -28,7 +27,7 @@ export type ContinueNode = nodes.ContinueNode;
2827
export type ErrorNode = nodes.ErrorNode;
2928
export type SuccessNode = nodes.SuccessNode;
3029
export type FailureNode = nodes.FailureNode;
31-
30+
export type NodeStates = ContinueNode | ErrorNode | StartNode | SuccessNode | FailureNode;
3231
export type Collectors = nodes.Collectors;
3332
export type DaVinciValidationError = nodes.DaVinciError;
3433

0 commit comments

Comments
 (0)