UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

18 lines (17 loc) 624 B
import { ApiStitchUserIdentity, Decoder } from "mongodb-stitch-core-sdk"; export interface StitchAdminUserProfile { readonly userType: string; readonly identities: ApiStitchUserIdentity[]; readonly data: object; readonly roles: StitchAdminRole[]; } export declare class StitchAdminUserProfileCodec implements Decoder<StitchAdminUserProfile> { decode(from: any): StitchAdminUserProfile; } export interface StitchAdminRole { readonly name: string; readonly groupId: string; } export declare class StitchAdminRoleCodec implements Decoder<StitchAdminRole> { decode(from: any): StitchAdminRole; }