Merge pull request #18161 from overleaf/jel-subscription-dash-admin

[web] Subscription dash message when viewing as admin

GitOrigin-RevId: 699a523d7ac8d1a71e9ba14c7b8a66b39142958a
This commit is contained in:
Jessica Lawshe
2024-05-31 08:04:23 +00:00
committed by Copybot
parent c85f4ab5e5
commit cbe5cefb9a
5 changed files with 156 additions and 52 deletions
@@ -73,14 +73,18 @@ export type GroupSubscription = RecurlySubscription & {
teamNotice?: string
}
export type ManagedGroupSubscription = Omit<GroupSubscription, 'admin_id'> & {
export type ManagedGroupSubscription = {
_id: string
userIsGroupMember: boolean
planLevelName: string
admin_id: User
admin_id: {
email: string
}
features: {
groupSSO: boolean | null
managedUsers: boolean | null
}
teamName?: string
}
export type MemberGroupSubscription = Omit<GroupSubscription, 'admin_id'> & {