-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Import Node
type from planx-core
#3656
Conversation
Removed vultr server and associated DNS entries |
c38bec5
to
d94c320
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main file updated in this PR.
export interface Response { | ||
question: Node & { id: NodeId }; | ||
selections: Array<Node & { id: NodeId }>; | ||
hidden: boolean; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pulled out here to reuse existing types, rather than redefine them (as seen in editor.planx.uk/src/types.ts
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice, long overdue improvement - thanks !!
/** | ||
* Looser Node type with `any` data | ||
* @deprecated Should share type with PlanX core once `Value` is retired and Flow Graph is typed | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
➕
What does this PR do?
Node
withplanx-core
Store
namespace