323e66433e
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>
15 lines
612 B
TypeScript
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;
|
|
}
|