mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
18 lines (17 loc) • 624 B
TypeScript
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;
}