gradido/backend/src/graphql/arg/CommunityArgs.ts
einhornimmond 4e955d8d95 refactor
2024-02-16 00:42:49 +01:00

14 lines
327 B
TypeScript

import { IsBoolean, IsString } from 'class-validator'
import { ArgsType, Field } from 'type-graphql'
@ArgsType()
export class CommunityArgs {
@Field(() => String, { nullable: true })
@IsString()
communityIdentifier?: string | null
@Field(() => Boolean, { nullable: true })
@IsBoolean()
foreign?: boolean | null
}