UNPKG

@becomes/cms-cloud-client

Version:

SDK for accessing BCMS Cloud API

8 lines (7 loc) 350 B
import type { Instance } from '@bcms-cloud/instance'; import type { ShimUser, User, UserProtected } from './models'; export declare class UserFactory { static instance(data: Omit<User, '_id' | 'createdAt' | 'updatedAt'>): User; static toProtected(user: User): UserProtected; static toShimUser(user: User, instance: Instance): ShimUser; }