Spaces:
Build error
Build error
twenty / packages /twenty-server /src /engine /metadata-modules /command-menu-item /dtos /create-command-menu-item.input.ts
| import { Field, Float, InputType } from '@nestjs/graphql'; | |
| import { | |
| IsBoolean, | |
| IsEnum, | |
| IsNotEmpty, | |
| IsNumber, | |
| IsObject, | |
| IsOptional, | |
| IsString, | |
| IsUUID, | |
| } from 'class-validator'; | |
| import GraphQLJSON from 'graphql-type-json'; | |
| import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars'; | |
| import { type CommandMenuItemPayload } from 'src/engine/metadata-modules/command-menu-item/dtos/command-menu-item-payload.union'; | |
| import { CommandMenuItemAvailabilityType } from 'src/engine/metadata-modules/command-menu-item/enums/command-menu-item-availability-type.enum'; | |
| import { EngineComponentKey } from 'src/engine/metadata-modules/command-menu-item/enums/engine-component-key.enum'; | |
| () | |
| export class CreateCommandMenuItemInput { | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| workflowVersionId?: string; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| frontComponentId?: string; | |
| (EngineComponentKey) | |
| () | |
| (() => EngineComponentKey) | |
| engineComponentKey: EngineComponentKey; | |
| () | |
| () | |
| () | |
| label: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| icon?: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| shortLabel?: string; | |
| () | |
| () | |
| (() => Float, { nullable: true }) | |
| position?: number; | |
| () | |
| () | |
| ({ nullable: true }) | |
| isPinned?: boolean; | |
| (CommandMenuItemAvailabilityType) | |
| () | |
| (() => CommandMenuItemAvailabilityType, { nullable: true }) | |
| availabilityType?: CommandMenuItemAvailabilityType; | |
| ({ each: true }) | |
| () | |
| (() => [String], { nullable: true }) | |
| hotKeys?: string[]; | |
| () | |
| () | |
| ({ nullable: true }) | |
| conditionalAvailabilityExpression?: string; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| availabilityObjectMetadataId?: string; | |
| () | |
| () | |
| (() => GraphQLJSON, { nullable: true }) | |
| payload?: CommandMenuItemPayload; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| pageLayoutId?: string; | |
| } | |