remove validation annotations

This commit is contained in:
Claus-Peter Huebner 2023-10-25 17:55:26 +02:00
parent 24fafb3187
commit 575cd29540
4 changed files with 0 additions and 12 deletions

View File

@ -1,13 +1,10 @@
import { IsString } from 'class-validator'
import { ArgsType, Field } from 'type-graphql'
@ArgsType()
export class OpenConnectionArgs {
@Field(() => String)
@IsString()
publicKey: string
@Field(() => String)
@IsString()
url: string
}

View File

@ -1,13 +1,10 @@
import { IsString, IsUUID } from 'class-validator'
import { Field, InputType } from 'type-graphql'
@InputType()
export class AuthenticationArgs {
@Field(() => String)
@IsString()
oneTimeCode: string
@Field(() => String)
@IsUUID('4')
uuid: string
}

View File

@ -1,13 +1,10 @@
import { IsString } from 'class-validator'
import { Field, InputType } from 'type-graphql'
@InputType()
export class OpenConnectionArgs {
@Field(() => String)
@IsString()
publicKey: string
@Field(() => String)
@IsString()
url: string
}

View File

@ -1,13 +1,10 @@
import { IsString } from 'class-validator'
import { Field, InputType } from 'type-graphql'
@InputType()
export class OpenConnectionCallbackArgs {
@Field(() => String)
@IsString()
oneTimeCode: string
@Field(() => String)
@IsString()
url: string
}