将 MiGu.Server 相关忽略规则迁移至 backends/MiGu.Server,并新增对 .tmp-build* 和 /.cursor/rules 的忽略,优化敏感数据与临时文件的管理。
18 lines
554 B
C#
18 lines
554 B
C#
namespace MiGu.Server.Configs;
|
|
|
|
public record CustomWidget(
|
|
string Id, string Name, string SchemaJson, string LayoutJson,
|
|
List<string> BindToScopes);
|
|
|
|
public record CustomWidgetConfig(List<CustomWidget> Items)
|
|
{
|
|
public static CustomWidgetConfig Default() => new(
|
|
Items: new List<CustomWidget>
|
|
{
|
|
new("widget-call-button", "呼叫按钮",
|
|
"{\"fields\":[{\"name\":\"siteId\"}]}",
|
|
"{\"x\":0,\"y\":0,\"w\":2,\"h\":1}",
|
|
new List<string> { "RCSMonitor" })
|
|
});
|
|
}
|