mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-29 05:35:41 +00:00
14 lines
288 B
TypeScript
14 lines
288 B
TypeScript
import { ArgsType, Field, Int, InputType } from 'type-graphql'
|
|
|
|
import { RoleNames } from '@enum/RoleNames'
|
|
|
|
@InputType()
|
|
@ArgsType()
|
|
export class SetUserRoleArgs {
|
|
@Field(() => Int)
|
|
userId: number
|
|
|
|
@Field(() => RoleNames, { nullable: true })
|
|
role: RoleNames | null | undefined
|
|
}
|