Files
twenty/server/src/core/@generated/comment-thread/comment-thread-upsert-without-comments.input.ts
T
2023-06-23 08:43:41 -07:00

18 lines
787 B
TypeScript

import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { CommentThreadUpdateWithoutCommentsInput } from './comment-thread-update-without-comments.input';
import { Type } from 'class-transformer';
import { CommentThreadCreateWithoutCommentsInput } from './comment-thread-create-without-comments.input';
@InputType()
export class CommentThreadUpsertWithoutCommentsInput {
@Field(() => CommentThreadUpdateWithoutCommentsInput, {nullable:false})
@Type(() => CommentThreadUpdateWithoutCommentsInput)
update!: CommentThreadUpdateWithoutCommentsInput;
@Field(() => CommentThreadCreateWithoutCommentsInput, {nullable:false})
@Type(() => CommentThreadCreateWithoutCommentsInput)
create!: CommentThreadCreateWithoutCommentsInput;
}