Files
AX-Copilot-Codex/.decompiledproj/AxCopilot/Models/ClipboardHistorySettings.cs

17 lines
495 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace AxCopilot.Models;
public class ClipboardHistorySettings
{
[JsonPropertyName("enabled")]
public bool Enabled { get; set; } = true;
[JsonPropertyName("maxItems")]
public int MaxItems { get; set; } = 50;
[JsonPropertyName("excludePatterns")]
public List<string> ExcludePatterns { get; set; } = new List<string> { "^\\d{4}[\\s\\-]?\\d{4}[\\s\\-]?\\d{4}[\\s\\-]?\\d{4}$", "^(?:\\d{1,3}\\.){3}\\d{1,3}$" };
}