import { Field, ObjectType } from '@nestjs/graphql'
import { User } from '@<%= npmScope %>/api/core/models'

@ObjectType()
export class InviteToken {
  @Field({ description: 'JWT Bearer token', nullable: true })
  token?: string

  @Field(() => User, { nullable: true })
  user?: User

  @Field({ nullable: true })
  organizationId?: string
} 