Files
twenty/server/src/api/@generated/workspace/find-first-workspace.args.ts
T
2023-05-26 14:00:32 +02:00

32 lines
1.1 KiB
TypeScript

import { Field } from '@nestjs/graphql';
import { ArgsType } from '@nestjs/graphql';
import { WorkspaceWhereInput } from './workspace-where.input';
import { Type } from 'class-transformer';
import { WorkspaceOrderByWithRelationInput } from './workspace-order-by-with-relation.input';
import { WorkspaceWhereUniqueInput } from './workspace-where-unique.input';
import { Int } from '@nestjs/graphql';
import { WorkspaceScalarFieldEnum } from './workspace-scalar-field.enum';
@ArgsType()
export class FindFirstWorkspaceArgs {
@Field(() => WorkspaceWhereInput, {nullable:true})
@Type(() => WorkspaceWhereInput)
where?: WorkspaceWhereInput;
@Field(() => [WorkspaceOrderByWithRelationInput], {nullable:true})
orderBy?: Array<WorkspaceOrderByWithRelationInput>;
@Field(() => WorkspaceWhereUniqueInput, {nullable:true})
cursor?: WorkspaceWhereUniqueInput;
@Field(() => Int, {nullable:true})
take?: number;
@Field(() => Int, {nullable:true})
skip?: number;
@Field(() => [WorkspaceScalarFieldEnum], {nullable:true})
distinct?: Array<keyof typeof WorkspaceScalarFieldEnum>;
}