jina-ai / dashboard

Interactive UI for analyzing Jina logs, designing Flows and viewing Hub images
https://dashboard.jina.ai
Apache License 2.0
118 stars 60 forks source link

ActionTypes should be generated dynamically #191

Closed BastinJafari closed 3 years ago

BastinJafari commented 3 years ago

Right now you have to write down the action types manually like

export type FlowActionTypes = | LoadFlowAction | CreateNewFlowAction | UpdateFlowChartAction | UpdateSelectedFlowAction | DuplicateFlowAction | DeleteFlowAction | UpdateNodeAction | DeleteNodeAction | RerenderAction | ImportFlowAction | SetFlowArgumentsAction

It would be nice to generate this type dynamically out of an object or a list.

jina-bot commented 3 years ago

This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days