调整 .gitignore 以适配 backends 目录结构
将 MiGu.Server 相关忽略规则迁移至 backends/MiGu.Server,并新增对 .tmp-build* 和 /.cursor/rules 的忽略,优化敏感数据与临时文件的管理。
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
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" })
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user