0f9c6dede7
* Clean BE post refactor to remove Hasura * Add server CI
12 lines
358 B
TypeScript
12 lines
358 B
TypeScript
import { Field } from '@nestjs/graphql';
|
|
import { ArgsType } from '@nestjs/graphql';
|
|
import { CompanyCreateInput } from './company-create.input';
|
|
import { Type } from 'class-transformer';
|
|
|
|
@ArgsType()
|
|
export class CreateOneCompanyArgs {
|
|
@Field(() => CompanyCreateInput, { nullable: false })
|
|
@Type(() => CompanyCreateInput)
|
|
data!: CompanyCreateInput;
|
|
}
|