Clean server post refactor to remove Hasura (#156)

* Clean BE post refactor to remove Hasura

* Add server CI
This commit is contained in:
Charles Bochet
2023-05-29 22:42:24 +02:00
committed by GitHub
parent 30d2337462
commit 0f9c6dede7
474 changed files with 7090 additions and 7202 deletions

View File

@ -7,34 +7,33 @@ import { HideField } from '@nestjs/graphql';
@InputType()
export class CompanyCreateWithoutPeopleInput {
@Field(() => String, { nullable: false })
id!: string;
@Field(() => String, {nullable:false})
id!: string;
@Field(() => Date, { nullable: true })
createdAt?: Date | string;
@Field(() => Date, {nullable:true})
createdAt?: Date | string;
@Field(() => Date, { nullable: true })
updatedAt?: Date | string;
@Field(() => Date, {nullable:true})
updatedAt?: Date | string;
@Field(() => Date, { nullable: true })
deletedAt?: Date | string;
@Field(() => Date, {nullable:true})
deletedAt?: Date | string;
@Field(() => String, { nullable: false })
name!: string;
@Field(() => String, {nullable:false})
name!: string;
@Field(() => String, { nullable: false })
domainName!: string;
@Field(() => String, {nullable:false})
domainName!: string;
@Field(() => String, { nullable: false })
address!: string;
@Field(() => String, {nullable:false})
address!: string;
@Field(() => Int, { nullable: true })
employees?: number;
@Field(() => Int, {nullable:true})
employees?: number;
@Field(() => UserCreateNestedOneWithoutCompaniesInput, { nullable: true })
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
@Field(() => UserCreateNestedOneWithoutCompaniesInput, {nullable:true})
accountOwner?: UserCreateNestedOneWithoutCompaniesInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput;
@HideField()
workspace!: WorkspaceCreateNestedOneWithoutCompaniesInput;
}