From b0875a095bb3c01caa5d3474af7b99119eed216d Mon Sep 17 00:00:00 2001 From: Antigravity Date: Mon, 11 May 2026 18:05:36 +0000 Subject: [PATCH] refactor: move PlanConstants to Application layer --- .../Constants/PlanConstants.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/NexusReader.Application/Constants/PlanConstants.cs diff --git a/src/NexusReader.Application/Constants/PlanConstants.cs b/src/NexusReader.Application/Constants/PlanConstants.cs new file mode 100644 index 0000000..fdee337 --- /dev/null +++ b/src/NexusReader.Application/Constants/PlanConstants.cs @@ -0,0 +1,15 @@ +namespace NexusReader.Application.Constants; + +public static class PlanConstants +{ + public const string Free = "Free"; + public const string Pro = "Pro"; + public const string Enterprise = "Enterprise"; + + public static int GetTokenLimit(string planName) => planName switch + { + Pro => 100000, + Enterprise => 1000000, + _ => 10000 + }; +}