Remove unused files (#13612)

Remove a few unused files
This commit is contained in:
Félix Malfait
2025-08-04 22:35:36 +02:00
committed by GitHub
parent 69f2f94f50
commit 7383b0935c
4 changed files with 0 additions and 78 deletions
@@ -1,17 +0,0 @@
import { GraphQLID, GraphQLInputObjectType, GraphQLList } from 'graphql';
import { FilterIs } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/input/filter-is.input-type';
export const IDFilterType = new GraphQLInputObjectType({
name: 'IDFilter',
fields: {
eq: { type: GraphQLID },
gt: { type: GraphQLID },
gte: { type: GraphQLID },
in: { type: new GraphQLList(GraphQLID) },
lt: { type: GraphQLID },
lte: { type: GraphQLID },
neq: { type: GraphQLID },
is: { type: FilterIs },
},
});
@@ -1,37 +0,0 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsEmail, IsNotEmpty, IsOptional, IsString } from 'class-validator';
import { APP_LOCALES } from 'twenty-shared/translations';
@ArgsType()
export class CreateUserAndWorkspaceInput {
@Field(() => String)
@IsNotEmpty()
@IsEmail()
email: string;
@Field(() => String, { nullable: true })
@IsString()
@IsOptional()
firstName?: string;
@Field(() => String, { nullable: true })
@IsString()
@IsOptional()
lastName?: string;
@Field(() => String, { nullable: true })
@IsString()
@IsOptional()
picture?: string;
@Field(() => String, { nullable: true })
@IsString()
@IsOptional()
locale?: keyof typeof APP_LOCALES;
@Field(() => String, { nullable: true })
@IsString()
@IsOptional()
captchaToken?: string;
}
@@ -1,12 +0,0 @@
import { ArgsType, Field } from '@nestjs/graphql';
import { IsNotEmpty, IsString, MinLength } from 'class-validator';
@ArgsType()
export class WorkspaceInviteTokenInput {
@Field(() => String)
@IsString()
@IsNotEmpty()
@MinLength(10)
inviteToken: string;
}
@@ -1,12 +0,0 @@
import { Module } from '@nestjs/common';
import { ExceptionHandlerModule } from 'src/engine/core-modules/exception-handler/exception-handler.module';
import { useGraphQLErrorHandlerHook } from 'src/engine/core-modules/graphql/hooks/use-graphql-error-handler.hook';
import { ResolverValidationPipe } from 'src/engine/core-modules/graphql/pipes/resolver-validation.pipe';
@Module({
imports: [ExceptionHandlerModule],
exports: [useGraphQLErrorHandlerHook, ResolverValidationPipe],
providers: [ResolverValidationPipe],
})
export class EngineGraphQLModule {}