This PR is a bit messy: adding graphql schema adding create company creation on company select on People page some frontend refactoring to be continued --------- Co-authored-by: Charles Bochet <charles@twenty.com>
18 lines
539 B
TypeScript
18 lines
539 B
TypeScript
import * as TypeGraphQL from "type-graphql";
|
|
import * as GraphQLScalars from "graphql-scalars";
|
|
import { CompanyUpdateInput } from "../../../inputs/CompanyUpdateInput";
|
|
import { CompanyWhereUniqueInput } from "../../../inputs/CompanyWhereUniqueInput";
|
|
|
|
@TypeGraphQL.ArgsType()
|
|
export class UpdateOneCompanyArgs {
|
|
@TypeGraphQL.Field(_type => CompanyUpdateInput, {
|
|
nullable: false
|
|
})
|
|
data!: CompanyUpdateInput;
|
|
|
|
@TypeGraphQL.Field(_type => CompanyWhereUniqueInput, {
|
|
nullable: false
|
|
})
|
|
where!: CompanyWhereUniqueInput;
|
|
}
|