Skip to content

Commit 5fe3f18

Browse files
author
Jicheng Lu
committed
minor change
1 parent 2e02360 commit 5fe3f18

File tree

3 files changed

+22
-19
lines changed

3 files changed

+22
-19
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
namespace BotSharp.Abstraction.Graph.Models;
2+
3+
public class GraphInstance
4+
{
5+
/// <summary>
6+
/// Graph id
7+
/// </summary>
8+
public string Id { get; set; }
9+
10+
/// <summary>
11+
/// Graph name
12+
/// </summary>
13+
public string Name { get; set; }
14+
15+
/// <summary>
16+
/// Graph description
17+
/// </summary>
18+
public string Description { get; set; }
19+
}

src/Plugins/BotSharp.Plugin.Membase/Services/DemoRuleGraph.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public DemoRuleGraph(
2222
_logger = logger;
2323
}
2424

25-
public string Name => "One Flow";
25+
public string Name => "Demo";
2626

2727
public async Task<RuleConfigModel> GetTopologyConfigAsync(RuleFlowConfigOptions? options = null)
2828
{
Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
using BotSharp.Abstraction.Graph.Models;
2+
13
namespace BotSharp.Plugin.Membase.Settings;
24

35
public class MembaseSettings
@@ -7,21 +9,3 @@ public class MembaseSettings
79
public string ApiKey { get; set; } = string.Empty;
810
public GraphInstance[] GraphInstances { get; set; } = [];
911
}
10-
11-
public class GraphInstance
12-
{
13-
/// <summary>
14-
/// Graph id
15-
/// </summary>
16-
public string Id { get; set; }
17-
18-
/// <summary>
19-
/// Graph name
20-
/// </summary>
21-
public string Name { get; set; }
22-
23-
/// <summary>
24-
/// Graph description
25-
/// </summary>
26-
public string Description { get; set; }
27-
}

0 commit comments

Comments
 (0)