Spaces:
Build error
Build error
twenty / packages /twenty-server /src /engine /metadata-modules /object-metadata /dtos /update-object.input.ts
| import { Field, InputType } from '@nestjs/graphql'; | |
| import { Type } from 'class-transformer'; | |
| import { | |
| IsBoolean, | |
| IsNotEmpty, | |
| IsOptional, | |
| IsString, | |
| IsUUID, | |
| ValidateNested, | |
| } from 'class-validator'; | |
| import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars'; | |
| import { IsValidMetadataName } from 'src/engine/decorators/metadata/is-valid-metadata-name.decorator'; | |
| () | |
| export class UpdateObjectPayload { | |
| () | |
| () | |
| ({ nullable: true }) | |
| labelSingular?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| labelPlural?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| () | |
| nameSingular?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| () | |
| namePlural?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| description?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| icon?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| shortcut?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| color?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| isActive?: boolean; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| labelIdentifierFieldMetadataId?: string; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| imageIdentifierFieldMetadataId?: string | null; | |
| () | |
| () | |
| ({ nullable: true }) | |
| isLabelSyncedWithName?: boolean; | |
| () | |
| () | |
| ({ nullable: true }) | |
| isSearchable?: boolean; | |
| } | |
| () | |
| export class UpdateOneObjectInput { | |
| (() => UpdateObjectPayload) | |
| () | |
| (() => UpdateObjectPayload) | |
| update: UpdateObjectPayload; | |
| () | |
| (() => UUIDScalarType, { | |
| description: 'The id of the object to update', | |
| }) | |
| () | |
| id!: string; | |
| } | |