summaryrefslogtreecommitdiff
path: root/apps/web/lib/types/user-profile.ts
blob: 68eeb758a2a81e1ca29fce1536ea5f037e898061 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export interface UserProfile {
  identifier: string
  email: string | null
  displayName: string | null
  tier: "free" | "pro" | "developer"
  feedCount: number
  folderCount: number
  mutedKeywordCount: number
  customFeedCount: number
  stripeSubscriptionStatus: string | null
  stripeCurrentPeriodEnd: string | null
}

export interface MutedKeyword {
  identifier: string
  keyword: string
  createdAt: string
}