8000 Code Quality: Define enum for block types. · Issue #149 · softflow24/data-river · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Code Quality: Define enum for block types. #149
Open
@itsWindows11

Description

@itsWindows11

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of data-river are you using?

0.0.1

Describe your issue.

Currently, block types are worked with as plain strings as seen here:

https://github.com/softflow24/data-river/blob/development/packages%2Feditor%2Fsrc%2Fservices%2FReactFlowMapperService.ts#L22-L34

To make things easier, we can add an enum type we can use for comparison.

Paste Error from Terminal/Console

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0