Files
twenty/server/src/api/@generated/pipeline/pipeline-create-or-connect-without-pipeline-associations.input.ts
T
Charles Bochet 2395f791c8 Add Pipelines models in server (#182)
* Hide workspace and refresh token from schema

* Add pipe models and migrations

* Add seeds

* Update FE graphql schema
2023-06-02 11:20:21 +02:00

19 lines
760 B
TypeScript

import { Field } from '@nestjs/graphql';
import { InputType } from '@nestjs/graphql';
import { PipelineWhereUniqueInput } from './pipeline-where-unique.input';
import { Type } from 'class-transformer';
import { PipelineCreateWithoutPipelineAssociationsInput } from './pipeline-create-without-pipeline-associations.input';
@InputType()
export class PipelineCreateOrConnectWithoutPipelineAssociationsInput {
@Field(() => PipelineWhereUniqueInput, { nullable: false })
@Type(() => PipelineWhereUniqueInput)
where!: PipelineWhereUniqueInput;
@Field(() => PipelineCreateWithoutPipelineAssociationsInput, {
nullable: false,
})
@Type(() => PipelineCreateWithoutPipelineAssociationsInput)
create!: PipelineCreateWithoutPipelineAssociationsInput;
}