Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

225 B
Raw Blame
import { ObjectType, OmitType } from '@nestjs/graphql';
import { User } from 'src/user/user.model';

@ObjectType()
export class Admin extends OmitType(User, [
  'isAdmin',
  'currentRESTSession',
  'currentGQLSession',
]) {}