UNPKG

@becomes/cms-cloud-client

Version:

SDK for accessing BCMS Cloud API

16 lines (15 loc) 453 B
import type { FSDBEntity } from '@becomes/purple-cheetah-mod-fsdb/types'; import type { JWTRole } from '@becomes/purple-cheetah-mod-jwt/types'; import type { UserOrg } from './org'; export interface ShimUserPersonal { firstName: string; lastName: string; avatarUri: string; } export interface ShimUser extends FSDBEntity { username: string; email: string; personal: ShimUserPersonal; orgs: UserOrg[]; roles: JWTRole[]; }