summaryrefslogtreecommitdiff
path: root/packages/shared
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-02-08 08:47:00 -0800
committerFuwn <[email protected]>2026-02-08 08:47:00 -0800
commit14d91af510b0a53cada288d69f6cbd09b7b4615a (patch)
tree6d6cca5f286a031a1b829e526890af9c8900112a /packages/shared
parentfeat: add Umami analytics (production only) (diff)
downloadasa.news-14d91af510b0a53cada288d69f6cbd09b7b4615a.tar.xz
asa.news-14d91af510b0a53cada288d69f6cbd09b7b4615a.zip
feat: enforce tier-based history retention (14d free, 90d pro/dev)
Replace unlimited history claim with honest 90-day retention for paid tiers. Timeline and search RPCs now filter by tier-appropriate retention window.
Diffstat (limited to 'packages/shared')
-rw-r--r--packages/shared/source/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/shared/source/index.ts b/packages/shared/source/index.ts
index a8108fd..cf3a124 100644
--- a/packages/shared/source/index.ts
+++ b/packages/shared/source/index.ts
@@ -19,7 +19,7 @@ export const TIER_LIMITS = {
maximumFolders: 10000,
maximumMutedKeywords: 10000,
maximumCustomFeeds: 1000,
- historyRetentionDays: Infinity,
+ historyRetentionDays: 90,
refreshIntervalSeconds: 300,
allowsAuthenticatedFeeds: true,
allowsExport: true,
@@ -32,7 +32,7 @@ export const TIER_LIMITS = {
maximumFolders: 10000,
maximumMutedKeywords: 10000,
maximumCustomFeeds: 1000,
- historyRetentionDays: Infinity,
+ historyRetentionDays: 90,
refreshIntervalSeconds: 300,
allowsAuthenticatedFeeds: true,
allowsExport: true,