260322:1648 Correct Coresspondence / Doing RFA / Correct CI
This commit is contained in:
@@ -21,5 +21,5 @@ export class EvaluateWorkflowDto {
|
||||
@ApiProperty({ description: 'Context', example: { userId: 1 } })
|
||||
@IsObject()
|
||||
@IsOptional()
|
||||
context?: Record<string, any>;
|
||||
context?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
@@ -6,5 +6,5 @@ import { CreateWorkflowDefinitionDto } from './create-workflow-definition.dto';
|
||||
// PartialType จะทำให้ทุก field ใน CreateDto กลายเป็น Optional (?)
|
||||
// เหมาะสำหรับ PATCH method
|
||||
export class UpdateWorkflowDefinitionDto extends PartialType(
|
||||
CreateWorkflowDefinitionDto,
|
||||
CreateWorkflowDefinitionDto
|
||||
) {}
|
||||
|
||||
@@ -26,5 +26,5 @@ export class WorkflowTransitionDto {
|
||||
})
|
||||
@IsObject()
|
||||
@IsOptional()
|
||||
payload?: Record<string, any>;
|
||||
payload?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user