parts and areas tested

This commit is contained in:
2025-11-24 21:04:14 +03:00
parent a5a7a7e7b5
commit eedfed1a65
131 changed files with 5429 additions and 471 deletions

View File

@@ -0,0 +1,11 @@
import { InputType, Field, ID } from '@nestjs/graphql';
@InputType()
export class CreateCompanyInput {
@Field()
name: string;
}

View File

@@ -0,0 +1,14 @@
import { Field, ObjectType } from "@nestjs/graphql";
import { Int } from "@nestjs/graphql";
import { Company } from "@/models/company.model";
@ObjectType()
export class ListCompanyResponse {
@Field(() => [Company], { nullable: true })
data?: Company[];
@Field(() => Int, { nullable: true })
totalCount?: number;
}

View File

@@ -0,0 +1,9 @@
import { InputType, Field, ID } from '@nestjs/graphql';
@InputType()
export class UpdateCompanyInput {
@Field({ nullable: true })
name?: string;
}