Spaces:
Build error
Build error
twenty / packages /twenty-server /src /engine /metadata-modules /logic-function /dtos /create-logic-function-from-source.input.ts
| import { Field, InputType } from '@nestjs/graphql'; | |
| import { | |
| IsNotEmpty, | |
| IsNumber, | |
| IsObject, | |
| IsOptional, | |
| IsString, | |
| IsUUID, | |
| Max, | |
| Min, | |
| } from 'class-validator'; | |
| import graphqlTypeJson from 'graphql-type-json'; | |
| import { | |
| CronTriggerSettings, | |
| DatabaseEventTriggerSettings, | |
| HttpRouteTriggerSettings, | |
| ServerRouteTriggerSettings, | |
| ToolTriggerSettings, | |
| WorkflowActionTriggerSettings, | |
| } from 'twenty-shared/application'; | |
| import type { JsonbProperty } from 'src/engine/workspace-manager/workspace-migration/universal-flat-entity/types/jsonb-property.type'; | |
| import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars'; | |
| import { LogicFunctionSourceInput } from 'src/engine/metadata-modules/logic-function/dtos/logic-function-source.input'; | |
| () | |
| export class CreateLogicFunctionFromSourceInput { | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| id?: string; | |
| () | |
| () | |
| (() => UUIDScalarType, { nullable: true }) | |
| universalIdentifier?: string; | |
| () | |
| () | |
| () | |
| name: string; | |
| () | |
| () | |
| ({ nullable: true }) | |
| description?: string; | |
| () | |
| ({ nullable: true }) | |
| (1) | |
| (900) | |
| () | |
| timeoutSeconds?: number; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| source?: JsonbProperty<LogicFunctionSourceInput>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| cronTriggerSettings?: JsonbProperty<CronTriggerSettings>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| databaseEventTriggerSettings?: JsonbProperty<DatabaseEventTriggerSettings>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| httpRouteTriggerSettings?: JsonbProperty<HttpRouteTriggerSettings>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| serverRouteTriggerSettings?: JsonbProperty<ServerRouteTriggerSettings>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| toolTriggerSettings?: JsonbProperty<ToolTriggerSettings>; | |
| () | |
| (() => graphqlTypeJson, { nullable: true }) | |
| () | |
| workflowActionTriggerSettings?: JsonbProperty<WorkflowActionTriggerSettings>; | |
| } | |