mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 13:13:45 -05:00
Merge pull request #14453 from overleaf/ab-admin-flag-managed
[web] Easily identify managed users and groups in admin and Front GitOrigin-RevId: 9137a680f902a92adcc434aacd6c35726a2f5dbe
This commit is contained in:
parent
8b5278c076
commit
9787edcc8e
3 changed files with 18 additions and 0 deletions
11
services/web/types/admin/subscription.ts
Normal file
11
services/web/types/admin/subscription.ts
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
import { GroupPolicy } from '../subscription/dashboard/subscription'
|
||||||
|
import { TeamInvite } from './team-invite'
|
||||||
|
|
||||||
|
export type Subscription = {
|
||||||
|
_id: string
|
||||||
|
teamInvites: TeamInvite[]
|
||||||
|
groupPolicy: GroupPolicy
|
||||||
|
admin_id: string
|
||||||
|
groupPlan: boolean
|
||||||
|
customAccount: boolean
|
||||||
|
}
|
3
services/web/types/admin/team-invite.ts
Normal file
3
services/web/types/admin/team-invite.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export type TeamInvite = {
|
||||||
|
email: string
|
||||||
|
}
|
4
services/web/types/admin/user.ts
Normal file
4
services/web/types/admin/user.ts
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
export type User = {
|
||||||
|
_id: string
|
||||||
|
email: string
|
||||||
|
}
|
Loading…
Reference in a new issue