This commit is contained in:
@@ -54,10 +54,13 @@ namespace Nodify.Calculator.NodeHandlers
|
||||
var op = new AuthOperationViewModel();
|
||||
op.Input.Add(new ConnectorViewModel { Title = "", Shape = ConnectorShape.Triangle });
|
||||
op.Output.Add(new ConnectorViewModel { Title = "", Shape = ConnectorShape.Triangle, IsInput = false });
|
||||
// Data inputs
|
||||
var labels = new[] { "Base URL", "Auth Type", "Token", "API Key", "Username", "Password" };
|
||||
foreach (var label in labels)
|
||||
op.Input.Add(new ConnectorViewModel { Title = label, ConnectorColor = Color.Orange });
|
||||
// Data inputs — each colored by its semantic type
|
||||
op.Input.Add(new ConnectorViewModel { Title = "Base URL", ConnectorColor = NodeColors.String, DataType = "string" });
|
||||
op.Input.Add(new ConnectorViewModel { Title = "Auth Type", ConnectorColor = NodeColors.Long, DataType = "string" });
|
||||
op.Input.Add(new ConnectorViewModel { Title = "Token", ConnectorColor = NodeColors.String, DataType = "string" });
|
||||
op.Input.Add(new ConnectorViewModel { Title = "API Key", ConnectorColor = NodeColors.String, DataType = "string" });
|
||||
op.Input.Add(new ConnectorViewModel { Title = "Username", ConnectorColor = NodeColors.String, DataType = "string" });
|
||||
op.Input.Add(new ConnectorViewModel { Title = "Password", ConnectorColor = NodeColors.String, DataType = "string" });
|
||||
return op;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user