Spaces:
Build error
Build error
twenty / packages /twenty-server /src /engine /metadata-modules /object-metadata /dtos /create-object.input.ts
| import { Field, HideField, InputType } from '@nestjs/graphql'; | |
| import { Type } from 'class-transformer'; | |
| import { | |
| IsBoolean, | |
| IsNotEmpty, | |
| IsOptional, | |
| IsString, | |
| ValidateNested, | |
| } from 'class-validator'; | |
| import GraphQLJSON from 'graphql-type-json'; | |
| import { | |
| type FieldMetadataSettings, | |
| type FieldMetadataType, | |
| } from 'twenty-shared/types'; | |
| import { IsValidMetadataName } from 'src/engine/decorators/metadata/is-valid-metadata-name.decorator'; | |
| () | |
| export class CreateObjectInput { | |
| () | |
| () | |
| () | |
| () | |
| nameSingular: string; | |
| () | |
| () | |
| () | |
| () | |
| namePlural: string; | |
| () | |
| () | |
| () | |
| labelSingular: string; | |
| () | |
| () | |
| () | |
| labelPlural: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| description?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| icon?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| shortcut?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| color?: string; | |
| () | |
| applicationId?: string; | |
| () | |
| universalIdentifier?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| skipNameField?: boolean; | |
| () | |
| () | |
| ({ nullable: true }) | |
| isRemote?: boolean; | |
| () | |
| ({ nullable: true }) | |
| primaryKeyColumnType?: string; | |
| () | |
| (() => GraphQLJSON, { nullable: true }) | |
| primaryKeyFieldMetadataSettings?: FieldMetadataSettings<FieldMetadataType>; | |
| () | |
| () | |
| ({ nullable: true }) // Not nullable to me | |
| isLabelSyncedWithName?: boolean; | |
| } | |
| () | |
| export class CreateOneObjectInput { | |
| (() => CreateObjectInput) | |
| () | |
| (() => CreateObjectInput, { | |
| description: 'The object to create', | |
| }) | |
| object!: CreateObjectInput; | |
| } | |