mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
additional validations
This commit is contained in:
parent
f965e6c450
commit
29c104002d
@ -1,10 +1,13 @@
|
||||
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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user