2cd081234f
* chore: wip refacto in modules * fix: rollback port * fix: jwt guard in wrong folder * chore: rename folder exception-filter in filters * fix: tests are running * fix: excessive stack depth comparing types * fix: auth issue * chore: move createUser in UserService * fix: test * fix: guards * fix: jwt guard don't handle falsy user
26 lines
1.2 KiB
TypeScript
26 lines
1.2 KiB
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';
|
|
import { Type } from 'class-transformer';
|
|
import { CommentThreadTargetUpdateWithoutCommentThreadInput } from './comment-thread-target-update-without-comment-thread.input';
|
|
import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';
|
|
|
|
@InputType()
|
|
export class CommentThreadTargetUpsertWithWhereUniqueWithoutCommentThreadInput {
|
|
@Field(() => CommentThreadTargetWhereUniqueInput, { nullable: false })
|
|
@Type(() => CommentThreadTargetWhereUniqueInput)
|
|
where!: CommentThreadTargetWhereUniqueInput;
|
|
|
|
@Field(() => CommentThreadTargetUpdateWithoutCommentThreadInput, {
|
|
nullable: false,
|
|
})
|
|
@Type(() => CommentThreadTargetUpdateWithoutCommentThreadInput)
|
|
update!: CommentThreadTargetUpdateWithoutCommentThreadInput;
|
|
|
|
@Field(() => CommentThreadTargetCreateWithoutCommentThreadInput, {
|
|
nullable: false,
|
|
})
|
|
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
|
|
create!: CommentThreadTargetCreateWithoutCommentThreadInput;
|
|
}
|