Skip to content

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

418 B
Raw Blame
import { ObjectType, ID, Field } from '@nestjs/graphql';

@ObjectType()
export class InvitedUser {
  @Field(() => ID, {
    description: 'Admin UID',
  })
  adminUid: string;

  @Field({
    description: 'Admin email',
  })
  adminEmail: string;

  @Field({
    description: 'Invitee email',
  })
  inviteeEmail: string;

  @Field({
    description: 'Date when the user invitation was sent',
  })
  invitedOn: Date;
}