mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
14 lines
327 B
TypeScript
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
|
|
}
|