Files
twenty/packages/twenty-server/src/engine/metadata-modules/page-layout-widget/dtos/workflow-version-configuration.dto.ts
T
neo773 323e66433e lint: migrate prettier to oxfmt (#20783)
Most changes are `implements` being unwrapped this is not a oxfmt
regression
Prettier in 3.7 (we're on 3.1) changed this behaviour prettier blog
[post](https://prettier.io/blog/2025/11/27/3.7.0#change-18094)

This unifies our linting tooling

---------

Co-authored-by: github-actions <github-actions@twenty.com>
Co-authored-by: Charles Bochet <charles@twenty.com>
2026-05-22 00:21:33 +02:00

15 lines
612 B
TypeScript

import { Field, ObjectType } from '@nestjs/graphql';
import { IsIn, IsNotEmpty } from 'class-validator';
import { type WorkflowVersionConfiguration } from 'twenty-shared/types';
import { WidgetConfigurationType } from 'src/engine/metadata-modules/page-layout-widget/enums/widget-configuration-type.type';
@ObjectType('WorkflowVersionConfiguration')
export class WorkflowVersionConfigurationDTO implements WorkflowVersionConfiguration {
@Field(() => WidgetConfigurationType)
@IsIn([WidgetConfigurationType.WORKFLOW_VERSION])
@IsNotEmpty()
configurationType: WidgetConfigurationType.WORKFLOW_VERSION;
}