* 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
33 lines
1.6 KiB
TypeScript
33 lines
1.6 KiB
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { InputType } from '@nestjs/graphql';
|
|
import { CommentThreadTargetCreateWithoutCommentThreadInput } from './comment-thread-target-create-without-comment-thread.input';
|
|
import { Type } from 'class-transformer';
|
|
import { CommentThreadTargetCreateOrConnectWithoutCommentThreadInput } from './comment-thread-target-create-or-connect-without-comment-thread.input';
|
|
import { CommentThreadTargetCreateManyCommentThreadInputEnvelope } from './comment-thread-target-create-many-comment-thread-input-envelope.input';
|
|
import { CommentThreadTargetWhereUniqueInput } from './comment-thread-target-where-unique.input';
|
|
|
|
@InputType()
|
|
export class CommentThreadTargetUncheckedCreateNestedManyWithoutCommentThreadInput {
|
|
@Field(() => [CommentThreadTargetCreateWithoutCommentThreadInput], {
|
|
nullable: true,
|
|
})
|
|
@Type(() => CommentThreadTargetCreateWithoutCommentThreadInput)
|
|
create?: Array<CommentThreadTargetCreateWithoutCommentThreadInput>;
|
|
|
|
@Field(() => [CommentThreadTargetCreateOrConnectWithoutCommentThreadInput], {
|
|
nullable: true,
|
|
})
|
|
@Type(() => CommentThreadTargetCreateOrConnectWithoutCommentThreadInput)
|
|
connectOrCreate?: Array<CommentThreadTargetCreateOrConnectWithoutCommentThreadInput>;
|
|
|
|
@Field(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope, {
|
|
nullable: true,
|
|
})
|
|
@Type(() => CommentThreadTargetCreateManyCommentThreadInputEnvelope)
|
|
createMany?: CommentThreadTargetCreateManyCommentThreadInputEnvelope;
|
|
|
|
@Field(() => [CommentThreadTargetWhereUniqueInput], { nullable: true })
|
|
@Type(() => CommentThreadTargetWhereUniqueInput)
|
|
connect?: Array<CommentThreadTargetWhereUniqueInput>;
|
|
}
|