f111440e00
* feat: wip impersonate user * feat: add ability to impersonate an user * fix: remove console.log * fix: unused import
12 lines
226 B
TypeScript
12 lines
226 B
TypeScript
import { ArgsType, Field } from '@nestjs/graphql';
|
|
|
|
import { IsNotEmpty, IsString } from 'class-validator';
|
|
|
|
@ArgsType()
|
|
export class ImpersonateInput {
|
|
@Field(() => String)
|
|
@IsNotEmpty()
|
|
@IsString()
|
|
userId: string;
|
|
}
|